Function at 0x44d840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65264e
mov eax, dword fs:[0]
push eax
sub esp, 0xf10
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0xf08], eax
push ebx
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0xf20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0043b930
test eax, eax
je 0x44ec39
xor ebx, ebx
cmp dword [esi + 0x34c], ebx
jne 0x44ec34
cmp dword [esi + 0x348], ebx
je 0x44da08
mov edi, dword [esi]
lea edx, [esp + 0x34]
push edx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xac
mov ecx, esi
mov dword [esp + 0x28], ebx
add edi, 0x10
call fcn.005673b0
mov ecx, eax
call fcn.0053ff30
mov ecx, dword [esi + 4]
mov edx, dword [edi]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x44d8f4
mov dword [esi + 0x340], eax
mov dword [esi + 0x348], ebx
cmp dword [esi + 0x1a4], ebx
jne 0x44da08
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x18]
push ecx
push ebx
push str.low_button
push 6
push 1
push eax
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x18], ebx
je 0x44da08
lea eax, [esp + 0x8e4]
push eax
call dword [0x65b33c]
mov ecx, dword [esp + 0x18]
call fcn.0053ff30
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x24]
push edx
mov dword [esi + 0x1a4], eax
call fcn.0052a1f0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8f0], ecx
mov ecx, edi
mov dword [esp + 0x8e4], ebx
mov dword [esp + 0x8e8], ebx
mov dword [esp + 0x8ec], eax
mov dword [esp + 0x18], 1
call fcn.0043adf0
cmp eax, 1
je 0x44d9b0
inc dword [esp + 0x18]
mov ecx, edi
call fcn.005673b0
mov edi, eax
mov ecx, edi
call fcn.0043adf0
cmp eax, 1
jne 0x44d997
mov eax, dword [esi + 0x1a4]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push 1
lea ecx, [esp + 0x8ec]
push ecx
push ebx
push 0x55
mov dword [esp + 0x908], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
mov dword [esp + 0x910], eax
mov eax, dword [esi + 4]
push eax
mov ecx, esi
call edx
mov edx, dword [esi + 0x1a4]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push 1
push 1
push ebx
push 0x58
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, esi
call edx
cmp dword [esi + 0x184], ebx
je 0x44ec2c
mov ecx, esi
call fcn.00449d70
mov ecx, esi
call fcn.0044a330
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push 1
push ebx
push 0xc
push 0x8c
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x334]
je 0x44da77
mov ecx, esi
cmp eax, ebx
je 0x44da5b
push 0x13
jmp 0x44da5d
push 0x14
push ebx
push ebx
call fcn.0043ae30
mov ecx, dword [esi + 0x68]
push eax
call fcn.004c9d00
mov eax, dword [esp + 0x14]
mov dword [esi + 0x334], eax
cmp byte [esi + 0x1e0], bl
lea eax, [esi + 0x1e0]
je 0x44dadd
lea edx, [esp + 0x8e4]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44da90
mov eax, dword [esi + 0x200]
push eax
lea ecx, [esp + 0x8e8]
push ecx
mov ecx, dword [esi + 0x17c]
call fcn.004ced00
mov edi, eax
cmp edi, ebx
je 0x44dadd
mov ecx, edi
call fcn.004cdc80
cmp eax, 6
jne 0x44dadd
mov ecx, edi
call fcn.004cdcb0
test eax, eax
jne 0x44dadd
mov byte [esi + 0x1e0], bl
mov dword [esi + 0x200], ebx
mov edi, dword [0x65b388]
mov ebx, dword [0x65b380]
lea esp, [esp]
mov ecx, dword [esi + 0x68]
call fcn.004c6c70
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x68]
push edx
call fcn.004c96d0
mov ecx, dword [esi + 0x68]
lea eax, [esp + 0x8e4]
push eax
call fcn.004c9630
test eax, eax
je 0x44eba7
lea esp, [esp]
mov eax, dword [esp + 0x8e4]
cmp eax, 0x2a
ja case.default.0x44db30
jmp dword [eax*4 + 0x44ec60]
mov ecx, dword [esp + 0x8e8]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esi + 0x198]
push 1
push ecx
push 0
push 0x11d
push eax
jmp 0x44eb6b
mov edi, dword [esp + 0x8e8]
lea eax, [esp + 0x3c]
push eax
call dword [0x65b33c]
mov ecx, edi
call fcn.004cdc80
cmp eax, 4
jne case.default.0x44db30
mov ecx, dword [esi + 0x198]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push 1
push 0
push 0
push 0x117
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x198]
push 0
lea edx, [esp + 0x54]
push edx
mov edx, dword [esi + 4]
push 0
push 0x112
push ecx
push edx
mov ecx, esi
call eax
lea ecx, [esp + 0xcc]
push ecx
mov ecx, edi
call fcn.004d10a0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], edx
fld dword [esp + 0x5c]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call fcn.005af050
fld dword [esp + 0x60]
mov dword [esp + 0x3c], eax
call fcn.005af050
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004d2010
mov eax, dword [esp + 0x3c]
add dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x38]
push eax
push 1
push ecx
mov ecx, dword [esi + 0x198]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esi + 4]
push 0x11d
push ecx
push eax
jmp 0x44eb6f
cmp dword [esi + 0x1a8], 0
jne 0x44ddbc
cmp dword [esi + 0x1ac], 0
jne 0x44ddbc
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0
push str.FE_Script
push 0x22
push 1
push eax
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je case.default.0x44db30
call fcn.0053ff30
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push 0
lea edx, [esi + 0x1c0]
push edx
push 0
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0x1a
push edi
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x8f4]
mov ecx, dword [0x842660]
push 0x65e4f8
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90c]
push eax
call fcn.00512b70
mov ecx, dword [esi + 0x1b4]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 4]
push 0
push ecx
push 0
push 0x140
push edi
push eax
mov ecx, esi
call edx
mov edx, dword [esi + 0x198]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push 0
push edx
mov edx, dword [eax + 0x10]
push 0
push 0x143
push edi
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
xor ebx, ebx
add eax, 0x104
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ecx]
mov ecx, dword [esi + 4]
push 0
push eax
push ebx
push 0x149
push edi
push ecx
mov ecx, esi
call edx
add dword [esp + 0x14], 4
inc ebx
cmp ebx, 0x10
jl 0x44dd42
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0x90c]
push edx
mov edx, dword [eax + 0x10]
push 0
push 0x141
push edi
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0x142
push edi
push edx
mov ecx, esi
call eax
mov dword [esi + 0x1a8], edi
jmp case.default.0x44db30
push 0x65e4d4
call fcn.005127b0
add esp, 4
jmp case.default.0x44db30
mov eax, dword [esi + 0x1a8]
test eax, eax
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0xb0]
push ecx
push 0
push 0
push 0
push 3
push eax
mov eax, dword [esi + 4]
push eax
mov ecx, esi
call edx
mov dword [esi + 0x1a8], 0
jmp case.default.0x44db30
cmp dword [esi + 0x1a8], 0
jne 0x44ddbc
cmp dword [esi + 0x1ac], 0
jne 0x44ddbc
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x30]
push ecx
push 0
push str.KCS_Script
push 0xc
push 1
push eax
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je case.default.0x44db30
call fcn.0053ff30
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 4]
push 0
lea edx, [esi + 0x1c0]
push edx
push 0
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0x1a
push edi
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x8f4]
push 0x65e4c4
push eax
lea ecx, [esp + 0x90c]
push ecx
mov ecx, dword [0x842660]
call fcn.00512b70
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x90c]
push ecx
push 1
push 0x9b
push edi
push eax
mov ecx, esi
call edx
mov edx, dword [esi + 0x1b8]
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x1bc]
push 0
push edx
mov edx, dword [esi + 4]
push ecx
push 0xa6
push edi
push edx
mov ecx, esi
call eax
mov dword [esi + 0x1ac], edi
jmp case.default.0x44db30
mov eax, dword [esi + 0x1ac]
test eax, eax
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0xb8]
push ecx
push 0
push 0
push 0
push 3
push eax
mov eax, dword [esi + 4]
push eax
mov ecx, esi
call edx
mov dword [esi + 0x1ac], 0
jmp case.default.0x44db30
mov eax, dword [esp + 0x8e8]
mov dword [esi + 0x50], eax
jmp case.default.0x44db30
mov edi, dword [esp + 0x8f4]
test edi, edi
jne 0x44df4e
lea ecx, [esi + 0x204]
push 0x24
push ecx
call fcn.0050cd20
add esp, 8
jmp case.default.0x44db30
cmp byte [edi], 0
jne 0x44df69
lea edx, [esi + 0x204]
push 0x24
push edx
call fcn.0050cd20
add esp, 8
jmp case.default.0x44db30
mov ecx, esi
sub ecx, edi
mov eax, edi
lea edx, [ecx + 0x204]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x44df75
mov edx, dword [edi + 0x20]
mov dword [esi + 0x224], edx
jmp case.default.0x44db30
mov eax, dword [esi + 0x70]
push 0
push 0
push 0x465
push eax
call edi
jmp case.default.0x44db30
mov ecx, dword [0x8211a4]
cmp dword [ecx + 0xa520], 0
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x50]
push eax
push 0
lea ecx, [esi + 0x33c]
push ecx
mov ecx, dword [esi + 0x1a0]
lea eax, [esi + 0x338]
push eax
mov eax, dword [esi + 4]
push 0x79
push ecx
push eax
mov ecx, esi
call edx
movzx edx, word [esp + 0x8ec]
lea ecx, [esp + 0x50]
push ecx
movzx ecx, word [esp + 0x8ec]
shl edx, 0x10
push 0
or edx, ecx
push edx
mov edx, dword [esi + 0x1a0]
push 4
push 0x85
jmp 0x44eb65
mov eax, dword [0x8211a4]
cmp dword [eax + 0xa520], 0
je case.default.0x44db30
movzx ecx, word [esi + 0x33c]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc0]
push eax
movzx eax, word [esi + 0x338]
push 0
shl ecx, 0x10
or ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x1a0]
push 4
push 0x85
push ecx
push eax
jmp 0x44eb6f
mov ebx, dword [esp + 0x8f4]
mov ecx, esi
call fcn.00449d70
cmp byte [esi + 0x1e0], 0
lea edi, [esi + 0x1e0]
je 0x44e0b2
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 4]
push 1
push 0
push 0
push 0x59
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x200]
push 1
push eax
push edi
mov ecx, esi
call fcn.0043ae30
mov ecx, dword [esi + 0x68]
push eax
call fcn.004c9d00
test ebx, ebx
je 0x44e10f
mov edx, edi
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x44e0c0
mov ecx, dword [ebx + 0x20]
mov dword [esi + 0x200], ecx
cmp byte [ebx], 0
je case.default.0x44db30
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 4]
push 1
push 1
push 0
push 0x59
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0x200]
push 0
push eax
lea eax, [esi + 0x1e0]
push eax
jmp 0x44e189
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 4]
push 1
push 1
push 0
push 0x8d
push ecx
mov byte [edi], 0
mov dword [esi + 0x200], 0
push eax
jmp 0x44eb6f
cmp byte [esi + 0x1e0], 0
lea edi, [esi + 0x1e0]
je case.default.0x44db30
mov ecx, esi
call fcn.00449d70
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esi + 4]
push 1
push 1
push 0
push 0x59
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x200]
push 0
push eax
push edi
mov ecx, esi
call fcn.0043ae30
mov ecx, dword [esi + 0x68]
push eax
call fcn.004c9d00
jmp case.default.0x44db30
mov ecx, dword [esp + 0x8e8]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esi + 0x198]
push 0
push ecx
push 0
push 0x113
push eax
jmp 0x44eb6b
mov eax, dword [esp + 0x8e8]
mov ebx, 1
cmp eax, 0xffffffff
jne 0x44e20c
mov edi, dword [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.0043adf0
cmp eax, ebx
je 0x44e208
jmp 0x44e1f0
add dword [esp + 0x24], ebx
mov ecx, edi
call fcn.005673b0
mov edi, eax
mov ecx, edi
call fcn.0043adf0
cmp eax, ebx
jne 0x44e1f0
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x1a0]
push ebx
push eax
mov eax, dword [esi + 0x1a4]
push eax
mov eax, dword [esi + 4]
push 0x7c
push ecx
push eax
jmp 0x44eb6f
mov edx, dword [esi + 0x1ac]
test edx, edx
je case.default.0x44db30
mov ecx, dword [esp + 0x8e8]
mov eax, dword [esi + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x8f4]
mov dword [esp + 0x7c], eax
mov edi, dword [ecx]
mov dword [esp + 0x84], edi
mov ecx, dword [ecx + 4]
mov edi, dword [esi]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0xac]
push ecx
push 1
lea ecx, [esp + 0x84]
push ecx
push 0
push 0xa7
push edx
mov edx, dword [edi + 0x10]
push eax
jmp 0x44eb6f
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x8e8]
mov edi, dword [esi]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x8f4]
mov dword [esp + 0x70], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0x78], edx
mov eax, dword [eax + 4]
push 1
lea edx, [esp + 0x74]
push edx
push 0
push 0xa7
mov ecx, esi
mov dword [esp + 0x8c], eax
add edi, 0x10
call fcn.005673b0
mov ecx, eax
call fcn.0053ff30
mov edx, dword [edi]
push eax
mov eax, dword [esi + 4]
push eax
jmp 0x44eb6f
mov eax, dword [esi + 0x1a4]
test eax, eax
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0xbc]
push ecx
push 0
push 0
push 0
push 3
push eax
mov eax, dword [esi + 4]
push eax
mov ecx, esi
call edx
mov dword [esi + 0x1a4], 0
jmp case.default.0x44db30
mov eax, dword [esp + 0x8e8]
mov ecx, dword [esi + 0x70]
push eax
push 0
push 0x467
push ecx
call edi
jmp case.default.0x44db30
mov edx, dword [esi + 0x70]
push 0
push 0
push 0x468
push edx
call edi
jmp case.default.0x44db30
mov eax, dword [esp + 0x8f4]
mov ecx, dword [esi + 0x70]
push 1
push 0
push 0
push eax
push str.open
push ecx
call dword [0x65b328]
mov edx, dword [esi + 0x70]
push eax
push edx
call fcn.0050d0b0
add esp, 8
jmp case.default.0x44db30
mov eax, dword [esi + 0x70]
mov edi, dword [esp + 0x8f4]
push eax
call dword [0x65b454]
test eax, eax
je case.default.0x44db30
call dword [0x65b450]
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44e3b0
sub eax, edx
add eax, 8
push eax
push 0x42
call dword [0x65b178]
mov ebx, eax
test ebx, ebx
je 0x44e3ec
push ebx
call dword [0x65b174]
mov cl, byte [edi]
mov byte [eax], cl
inc edi
inc eax
test cl, cl
jne 0x44e3d2
push ebx
call dword [0x65b170]
push ebx
push 1
call dword [0x65b44c]
call dword [0x65b448]
jmp case.default.0x44db30
mov ecx, dword [esp + 0x8e8]
mov dword [esi + 0x39c], ecx
jmp case.default.0x44db30
mov ecx, esi
call fcn.0044a3f0
mov ecx, esi
call fcn.0044c7c0
mov ecx, esi
call fcn.0044a840
mov ecx, esi
call fcn.0044a550
jmp case.default.0x44db30
mov edi, dword [esp + 0x8f4]
mov eax, dword [edi]
mov ecx, dword [esi + 0x340]
lea edx, [esp + 0xdc]
push edx
push eax
call fcn.0051f1f0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x4dc]
push ecx
mov ecx, dword [esi + 0x340]
push edx
call fcn.0051f1f0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0xdc]
push ecx
push 0x449e20
mov dword [esp + 0x8e4], eax
mov eax, dword [esi + 0x70]
push eax
push 0xd6
push 0xfffffffffffffffa
push eax
call dword [0x65b334]
push eax
call ebx
cmp eax, 1
jne 0x44e4d1
mov edx, dword [edi + 8]
mov ecx, dword [esi + 0x1b4]
push eax
push edx
call fcn.00502780
mov ecx, dword [edi]
lea eax, [esp + 0xdc]
push eax
push ecx
mov ecx, dword [esi + 0x340]
call fcn.0051f0b0
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x340]
lea edx, [esp + 0x4dc]
push edx
push eax
call fcn.0051f0b0
jmp case.default.0x44db30
mov ecx, dword [edi + 8]
push 0
push ecx
mov ecx, dword [esi + 0x1b4]
call fcn.00502780
jmp case.default.0x44db30
mov eax, dword [esp + 0x8f4]
mov edx, dword [eax]
xor ecx, ecx
sub edx, ecx
mov edi, eax
je 0x44e50e
sub edx, 1
je 0x44e507
sub edx, 1
jne 0x44e510
lea ecx, [edx + 4]
jmp 0x44e510
mov ecx, 1
jmp 0x44e510
xor ecx, ecx
push ecx
lea edx, [eax + 4]
push edx
add eax, 0x104
push eax
mov eax, dword [esi + 0x70]
push eax
call dword [0x65b358]
mov ecx, dword [edi + 0x904]
cmp ecx, 0xffffffff
je case.default.0x44db30
sub eax, 1
je 0x44e551
sub eax, 5
je 0x44e551
push 0
push ecx
mov ecx, dword [esi + 0x1b4]
call fcn.00502780
jmp case.default.0x44db30
push 1
push ecx
mov ecx, dword [esi + 0x1b4]
call fcn.00502780
jmp case.default.0x44db30
mov ecx, dword [0x8211a4]
mov eax, dword [ecx + 0x750]
test eax, eax
jne 0x44e5d0
mov eax, dword [esp + 0x8f4]
movzx edi, word [eax + 0x104]
movzx edx, word [eax + 0x100]
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
push 0
shl edi, 0x10
push 0x20
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
or edi, edx
mov edx, dword [esi + 4]
push 0
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esi + 4]
push 0
push edi
push ebx
push 0x8f
push ecx
push eax
jmp 0x44eb6f
cmp eax, 1
jne case.default.0x44db30
mov eax, dword [esp + 0x8f4]
mov ecx, dword [esi + 0x70]
push eax
push 0
push 0x46d
push ecx
call dword [0x65b37c]
jmp case.default.0x44db30
mov edx, dword [esp + 0x8e8]
mov eax, dword [esi + 0x70]
push edx
push 0
push 0x46c
push eax
call edi
jmp case.default.0x44db30
mov ecx, dword [esp + 0x8e8]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esi + 0x198]
push 1
push ecx
push 0
push 0x11e
push eax
jmp 0x44eb6b
mov edx, dword [esp + 0x8ec]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x8ec]
push 0
push edx
mov edx, dword [esi + 0x1a0]
push ecx
push 0x96
jmp 0x44eb65
mov eax, dword [0x8211a4]
cmp dword [eax + 0xa520], 0
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x58]
push eax
push 0
lea ecx, [esi + 0x33c]
push ecx
mov ecx, dword [esi + 0x1a0]
lea eax, [esi + 0x338]
push eax
mov eax, dword [esi + 4]
push 0x79
push ecx
push eax
mov ecx, esi
call edx
mov edx, dword [esp + 0x8e8]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x8f0]
push 0
push edx
mov edx, dword [esi + 0x1a0]
push ecx
push 0x85
jmp 0x44eb65
mov eax, dword [esi + 0x1a4]
test eax, eax
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x8ec]
push 0
push ecx
push 0
push 0x58
push eax
mov eax, dword [esi + 4]
push eax
jmp 0x44eb6f
mov edi, dword [esp + 0x8f4]
mov edx, dword [esi + 0x19c]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push 0
push edi
push 0
push 0xd2
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call edx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je case.default.0x44db30
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push 0
push edi
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x19c]
push 0xd1
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x180]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov ebx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x44e780
mov ecx, dword [esi + 0x180]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx]
test eax, eax
je 0x44e793
cmp eax, ecx
je 0x44e798
call fcn.005aec38
cmp dword [esp + 0x2c], edi
je case.default.0x44db30
test ebx, ebx
je case.default.0x44db30
lea ecx, [esp + 0x28]
call fcn.005131b0
mov edx, dword [eax + 0x20]
push edx
lea ecx, [esp + 0x2c]
call fcn.005131b0
mov ecx, dword [esi + 0x17c]
push eax
call fcn.004ced00
mov edi, eax
test edi, edi
je 0x44e82d
mov ecx, edi
call fcn.004cdc80
add eax, 0xfffffff7
cmp eax, 1
ja 0x44e82d
mov ecx, edi
call fcn.004d1290
cmp eax, dword [esp + 0x34]
jne 0x44e82d
mov ecx, edi
call fcn.004d14e0
mov edi, eax
call dword [0x65b524]
mov ecx, dword [esp + 0x14]
add ecx, edi
cmp ecx, eax
ja 0x44e80b
xor ecx, ecx
jmp 0x44e80d
sub ecx, eax
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, dword [esi + 0x68]
add edx, edx
add edx, edx
mov eax, 0x10624dd3
mul edx
shr edx, 6
push edx
call fcn.004c6e30
xor ebx, ebx
push 0
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x30]
call fcn.0048ac40
mov eax, dword [esp + 0x28]
jmp 0x44e780
cmp dword [esi + 0x1a4], 0
je case.default.0x44db30
mov ecx, dword [esp + 0x8e8]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esi + 0x1a0]
push 0
push ecx
push 0
push 0x98
push eax
jmp 0x44eb6b
mov ebx, dword [esi + 0x3a0]
test ebx, ebx
je 0x44e8a4
mov ecx, ebx
call fcn.00410630
push ebx
call fcn.005ae7f2
add esp, 4
mov dword [esi + 0x3a0], 0
lea eax, [esp + 0xa0c]
push eax
push 0x104
call dword [0x65b134]
mov ecx, dword [0x8211a4]
push str.activate.dat
add ecx, 0x860
push ecx
lea edx, [esp + 0x90c]
push 2
push edx
call fcn.0050c120
push 0x788
call fcn.005ae818
add esp, 0x14
mov dword [esp + 0x34], eax
mov dword [esp + 0xf28], 0
test eax, eax
je 0x44e929
lea ecx, [esp + 0x904]
push ecx
mov ecx, dword [esi + 0x70]
lea edx, [esp + 0xa10]
push edx
push ecx
mov ecx, eax
call fcn.00410480
mov dword [esp + 0xf28], 0xffffffff
mov dword [esi + 0x3a0], eax
jmp case.default.0x44db30
xor eax, eax
mov dword [esp + 0xf28], 0xffffffff
mov dword [esi + 0x3a0], eax
jmp case.default.0x44db30
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je case.default.0x44db30
mov eax, dword [esp + 0x8f4]
lea edx, [eax + 0x800]
push edx
push eax
call fcn.00410720
jmp case.default.0x44db30
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je case.default.0x44db30
mov eax, dword [esp + 0x8e8]
push eax
call fcn.00410a00
jmp case.default.0x44db30
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je case.default.0x44db30
mov eax, dword [esp + 0x8f4]
lea edx, [eax + 0x800]
push edx
push eax
call fcn.00410a60
jmp case.default.0x44db30
cmp dword [esi + 0x3a0], 0
je case.default.0x44db30
mov eax, dword [esp + 0x8e8]
mov edi, eax
test eax, eax
je case.default.0x44db30
mov dword [eax], 0
mov ecx, dword [esi + 0x3a0]
call fcn.00410d40
test eax, eax
jne 0x44ea00
mov ecx, dword [esi + 0x3a0]
call fcn.00410e50
test eax, eax
je case.default.0x44db30
mov dword [edi], 1
jmp case.default.0x44db30
mov dword [edi], 2
jmp case.default.0x44db30
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je case.default.0x44db30
cmp dword [esi + 0x340], 0
je case.default.0x44db30
call fcn.004111b0
mov ecx, dword [esi + 0x340]
push eax
mov eax, dword [esp + 0x8ec]
push eax
call fcn.0051f0b0
jmp case.default.0x44db30
cmp dword [esi + 0x3a0], 0
je case.default.0x44db30
mov edi, dword [esp + 0x8e8]
lea ecx, [esp + 0xb14]
push 0x400
push ecx
call fcn.0050cd20
mov eax, dword [esi + 0x70]
add esp, 8
lea edx, [esp + 0xb14]
push edx
push 0x449f00
push eax
push 0xd5
push 0xfffffffffffffffa
push eax
call dword [0x65b334]
push eax
call ebx
cmp eax, 1
jne 0x44eb07
mov ecx, dword [esi + 0x3a0]
lea eax, [esp + 0xb14]
push eax
call fcn.00410cf0
mov ecx, dword [esi + 0x3a0]
call fcn.00411110
test eax, eax
jne 0x44ead7
mov ecx, dword [esi + 0x70]
push 0x10
push 0x65e4a4
push 0x65e47c
push ecx
call dword [0x65b358]
mov dword [edi], 0xfffffff6
jmp case.default.0x44db30
mov ecx, dword [esi + 0x3a0]
call fcn.00410d40
mov edx, dword [0x8211a4]
mov dword [edx + 0x78f4], eax
mov ecx, dword [0x8211a4]
xor eax, eax
cmp dword [ecx + 0x78f4], eax
setne al
lea eax, [eax + eax - 1]
mov dword [edi], eax
jmp case.default.0x44db30
mov dword [edi], 0
jmp case.default.0x44db30
mov ebx, dword [esi + 0x3a0]
test ebx, ebx
je case.default.0x44db30
mov ecx, ebx
call fcn.00410630
push ebx
call fcn.005ae7f2
add esp, 4
mov dword [esi + 0x3a0], 0
jmp case.default.0x44db30
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0x20
push 0
push ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0x97
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0x68]
lea eax, [esp + 0x8e4]
push eax
call fcn.004c6b00
lea ecx, [esp + 0x8e4]
push ecx
mov ecx, dword [esi + 0x68]
call fcn.004c9630
mov edi, dword [0x65b388]
mov ebx, dword [0x65b380]
test eax, eax
jne 0x44db20
mov ecx, dword [esi + 0x68]
call fcn.004c6c60
test eax, eax
jne 0x44daf0
mov eax, dword [esi + 0x1a8]
test eax, eax
jne 0x44ebd3
cmp dword [esi + 0x1ac], eax
je 0x44ec10
test eax, eax
jne 0x44ebd3
mov eax, dword [esi + 0x1ac]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0x17
push eax
mov eax, dword [esi + 4]
push eax
mov ecx, esi
mov dword [esp + 0x44], 0xcccccccc
call edx
mov eax, dword [esp + 0x28]
cmp dword [esi + 0x1b0], eax
je 0x44ec10
mov ecx, dword [esi + 0x68]
push eax
push 0x65e470
call fcn.004c6a00
mov ecx, esi
call fcn.0044a3f0
mov ecx, esi
call fcn.0044c7c0
mov ecx, esi
call fcn.0044a840
mov ecx, esi
call fcn.0044a550
mov ecx, dword [esi + 0x68]
call fcn.004c6dc0
mov eax, 1
mov ecx, dword [esp + 0xf20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf08]
xor ecx, esp
call fcn.005ae766
mov esp, ebp
pop ebp
ret 8