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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5eea26
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, ecx
push ebx
lea ecx, [esp + 0x148]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x60], eax
call fcn.004fe170
mov dword [esp + 0x1e8], 0
test esi, esi
je 0x5948d5
mov dword [esp + 0x24], esi
jmp 0x5948fe
lea ecx, [esp + 0x144]
call fcn.004902e0
movzx ecx, ax
push ecx
call fcn.00509d00
mov ecx, eax
call fcn.00509ed0
mov esi, eax
test eax, eax
jne 0x5948fa
mov esi, dword [edi + 0x24]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x594929
lea ecx, [esp + 0x144]
call fcn.004fc930
movzx edx, ax
push edx
call fcn.00509d00
mov ecx, eax
call fcn.00509ed0
test eax, eax
jne 0x594929
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
test esi, esi
jne 0x594939
test eax, eax
je 0x595697
mov ecx, ebx
call fcn.004fcdf0
test eax, eax
je 0x594a0c
lea ecx, [esp + 0xd8]
call fcn.004f9eb0
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x10]
push ecx
push eax
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x150]
push eax
mov byte [esp + 0x1f8], 1
call fcn.00593d40
xor esi, esi
add esp, 0x10
cmp dword [esp + 0xd8], esi
jle 0x5949ae
jmp 0x594990
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx + esi*4]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
inc esi
cmp esi, dword [esp + 0xd8]
jl 0x594990
lea ecx, [esp + 0xd8]
call fcn.004f9f00
lea ecx, [esp + 0x124]
push ecx
mov ecx, ebx
call fcn.004fcfb0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 2
call fcn.004fe3c0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 1
call fcn.005bd9f0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1e8], 0
call fcn.00483100
mov esi, dword [esp + 0x24]
xor edi, edi
test byte [esp + 0x170], 1
mov dword [esp + 0x60], edi
je 0x594a24
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x144]
call fcn.004fc520
lea ecx, [esp + 0x144]
mov dword [esp + 0x5c], eax
call fcn.004fc570
fild dword [esp + 0x148]
mov edx, dword [esp + 0x154]
mov dword [esp + 0x64], eax
fst qword [esp + 0x4c]
mov dword [esp + 0x38], edx
fild dword [esp + 0x150]
mov dword [esp + 0xb4], edi
fstp qword [esp + 0x10c]
fld st(0)
fadd st(1)
fst qword [esp + 0x124]
fild dword [esp + 0x14c]
fst qword [esp + 0x3c]
fldz
fst qword [esp + 0x104]
fst qword [esp + 0x114]
fst qword [esp + 0xf4]
fstp qword [esp + 0xfc]
cmp esi, edi
je 0x594b25
mov eax, dword [esi + 8]
cmp eax, edi
je 0x594ab7
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
jmp 0x594abb
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fdivp st(3)
fxch st(2)
fstp qword [esp + 0x104]
cmp eax, edi
je 0x594ad7
mov edx, dword [eax + 0x34]
mov dword [esp + 0x10], edx
jmp 0x594adb
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
cmp eax, edi
je 0x594aee
mov ecx, dword [eax + 0x20]
and ecx, 0xffff0000
jmp 0x594af0
xor ecx, ecx
test ecx, 0x10000
je 0x594b1a
cmp eax, edi
je 0x594b11
fdivr st(2)
mov eax, dword [eax + 0x38]
mov dword [esp + 0xb4], eax
fstp qword [esp + 0xf4]
jmp 0x594b27
xor eax, eax
mov dword [esp + 0xb4], eax
fdivr st(2)
fstp qword [esp + 0xf4]
jmp 0x594b27
fstp st(2)
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x594b77
mov eax, dword [eax + 8]
cmp eax, edi
je 0x594b3f
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
jmp 0x594b43
mov dword [esp + 0x10], edi
fidiv dword [esp + 0x10]
fstp qword [esp + 0x114]
cmp eax, edi
je 0x594b66
mov edx, dword [eax + 0x34]
mov dword [esp + 0x10], edx
fidiv dword [esp + 0x10]
fstp qword [esp + 0xfc]
jmp 0x594b7b
mov dword [esp + 0x10], edi
fidiv dword [esp + 0x10]
fstp qword [esp + 0xfc]
jmp 0x594b7b
fstp st(1)
fstp st(0)
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x148]
call fcn.004fc400
lea ecx, [esp + 0x144]
call fcn.004feb00
fild dword [esp + 0x158]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 4]
fstp qword [esp + 0xbc]
fld qword [esp + 0x15c]
mov dword [esp + 0x58], edx
fst qword [esp + 0xec]
mov dword [esp + 0x7c], edi
fldz
mov dword [esp + 0x80], edi
fucompp
fnstsw ax
test ah, 0x44
jp 0x594bde
xor edi, edi
jmp 0x594be3
mov edi, 1
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x14], edi
call fcn.004fc580
push eax
lea ecx, [esp + 0xd0]
call fcn.004fb290
mov bl, byte [esp + 0x16f]
mov byte [esp + 0x1e8], 3
mov byte [esp + 0x16], bl
test edi, edi
je 0x594c44
fld qword [esp + 0xec]
lea ecx, [esp + 0x54]
push ecx
fchs
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xd8]
fstp qword [eax]
mov dword [esp + 0x28], esp
call fcn.004fb690
mov al, bl
and al, 1
mov byte [esp + 0x17], al
je 0x594c5f
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0xd0]
call fcn.004fbbc0
and bl, 2
mov byte [esp + 0x15], bl
je 0x594c79
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xd0]
call fcn.004fbc10
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xd0]
call fcn.004f5db0
mov edx, dword [eax + 4]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x124], edx
call fcn.004f5db0
cmp dword [esp + 0x5c], 0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
mov dword [esp + 0x30], 0
fst qword [esp + 0x84]
fst qword [esp + 0x6c]
fild dword [esp + 0x120]
fstp qword [esp + 0xe4]
jle 0x595205
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
jmp 0x594cf7
fld qword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov al, byte [ebx + edx]
cmp al, 0xa
jne 0x594d25
fstp qword [esp + 0x6c]
inc ebx
fld qword [esp + 0xbc]
fadd qword [esp + 0x3c]
fsubr qword [esp + 0xe4]
fstp qword [esp + 0xe4]
jmp 0x5951f9
movsx esi, al
fstp st(0)
mov ecx, esi
shr ecx, 7
not cl
and cl, 1
mov byte [esp + 0x23], cl
je 0x594df6
test edi, edi
je 0x594de9
mov ecx, edi
call fcn.004fbfc0
mov ecx, edi
test eax, 0x20000
je 0x594dba
lea edx, [esp + 0xb8]
push edx
push esi
call fcn.00508720
fild dword [esp + 0x148]
mov esi, eax
inc ebx
add esi, esi
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x30], ebx
jle 0x594da7
fimul dword [esp + 0xb8]
mov ecx, edi
fstp qword [esp + 0x4c]
call fcn.004fbfe0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x594dd8
fdivr qword [esp + 0x4c]
mov eax, dword [0x638e9c]
fstp qword [esp + 0x4c]
fld qword [esp + 0x4c]
mov dword [esp + 0x78], eax
jmp 0x594e36
push esi
call fcn.00508740
fld qword [esp + 0x4c]
mov esi, eax
mov eax, dword [0x638e9c]
add esi, esi
inc ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], eax
jmp 0x594e36
mov eax, dword [0x638e9c]
fstp st(0)
fld qword [esp + 0x4c]
mov dword [esp + 0x78], eax
jmp 0x594e36
fld qword [esp + 0x4c]
inc ebx
mov dword [esp + 0x30], ebx
xor esi, esi
jmp 0x594e36
mov cl, byte [ebx + edx + 1]
inc ebx
inc ebx
cmp dword [esp + 0x28], 0
mov byte [esp + 0x35], al
mov byte [esp + 0x34], cl
mov dword [esp + 0x30], ebx
je 0x594e2d
movzx edx, word [esp + 0x34]
mov ecx, dword [esp + 0x28]
push edx
call fcn.00508740
mov esi, eax
mov eax, dword [0x638e9c]
add esi, esi
mov dword [esp + 0x78], eax
jmp 0x594e2f
xor esi, esi
fld qword [esp + 0x124]
fst qword [esp + 0x134]
test esi, esi
jg 0x594e4d
fadd qword [esp + 0x10c]
jmp 0x5951f1
xor ecx, ecx
fstp st(0)
mov eax, esi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1e8], 4
test eax, eax
je 0x594ea4
push fcn.00440ab0
push fcn.004e79a0
push esi
lea ebx, [eax + 4]
push 0x10
push ebx
mov dword [eax], esi
call fcn.005c3e4c
mov dword [esp + 0x2c], ebx
jmp 0x594eac
mov dword [esp + 0x2c], 0
xor edi, edi
cmp esi, edi
mov byte [esp + 0x1e8], 3
mov dword [esp + 0x68], edi
jle 0x5951b3
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
test byte [ebx + eax], 0x80
jne 0x594fba
test edi, edi
je 0x594fb8
mov ecx, dword [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.0052dea0
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e8], 5
je 0x594f2d
cmp byte [esp + 0x17], 0
je 0x594f15
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x98]
call fcn.00530b50
cmp byte [esp + 0x15], 0
je 0x594f2d
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.00530cb0
cmp dword [esp + 0x10], 0
je 0x594f57
fld qword [esp + 0xec]
lea ecx, [esp + 0x54]
push ecx
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xa0]
fstp qword [eax]
mov dword [esp + 0x28], esp
call fcn.0052fe10
cmp dword [ebp + 0x14], 0
jne 0x594f80
cmp dword [esp + 0x60], 0
je 0x594f6b
cmp dword [esp + 0x38], 0
jne 0x594f80
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
call edx
jmp 0x594fa0
mov edi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.00532260
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.0056c870
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 3
call fcn.00532fd0
mov eax, dword [esp + 0x78]
xor edi, edi
movzx ecx, byte [ebx + eax]
movzx eax, byte [ebx + eax + 1]
and ecx, 0x7f
and eax, 0x7f
cmp byte [esp + 0x23], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], eax
fild dword [esp + 0x1c]
je 0x595035
fmul qword [esp + 0x104]
sub eax, dword [esp + 0xb4]
mov dword [esp + 0x74], eax
fadd qword [esp + 0x6c]
fldz
fcom st(1)
fnstsw ax
fld qword [0x5f3df0]
test ah, 0x41
jp 0x595007
fadd st(2), st(0)
jmp 0x595009
fsub st(2), st(0)
fxch st(2)
call fcn.005c3ce0
fild dword [esp + 0x74]
mov dword [esp + 0x7c], eax
fmul qword [esp + 0xf4]
fadd qword [esp + 0xe4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x595083
faddp st(1)
jmp 0x595085
fmul qword [esp + 0x114]
fadd qword [esp + 0x6c]
fldz
fcom st(1)
fnstsw ax
fld qword [0x5f3df0]
test ah, 0x41
jp 0x595055
fadd st(2), st(0)
jmp 0x595057
fsub st(2), st(0)
fxch st(2)
call fcn.005c3ce0
fild dword [esp + 0x74]
mov dword [esp + 0x7c], eax
fmul qword [esp + 0xfc]
fadd qword [esp + 0xe4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x595083
faddp st(1)
jmp 0x595085
fsubrp st(1)
call fcn.005c3ce0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
mov edx, edi
shl edx, 4
lea ecx, [esp + 0x7c]
lea ebx, [edx + eax]
push ecx
mov ecx, ebx
call fcn.0056fa20
test byte [ebx + 2], 8
je 0x5950b8
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], edx
jmp 0x5950bf
mov eax, dword [esp + 0x38]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x68]
add eax, 2
inc edi
cmp eax, esi
mov dword [esp + 0x68], eax
jl 0x594ec2
test edi, edi
je 0x5951b3
mov ecx, dword [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.0052dea0
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e8], 6
je 0x59512c
cmp byte [esp + 0x17], 0
je 0x595114
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x98]
call fcn.00530b50
cmp byte [esp + 0x15], 0
je 0x59512c
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.00530cb0
cmp dword [esp + 0x10], 0
je 0x595156
fld qword [esp + 0xec]
lea ecx, [esp + 0x54]
push ecx
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xa0]
fstp qword [eax]
mov dword [esp + 0x28], esp
call fcn.0052fe10
cmp dword [ebp + 0x14], 0
jne 0x59517f
cmp dword [esp + 0x60], 0
je 0x59516a
cmp dword [esp + 0x38], 0
jne 0x59517f
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
call edx
jmp 0x59519f
mov esi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.00532260
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.0056c870
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 3
call fcn.00532fd0
cmp dword [esp + 0x2c], 0
je 0x5951db
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00440ab0
push ecx
push 0x10
push eax
call fcn.005c3de9
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
fld qword [esp + 0x10c]
mov ebx, dword [esp + 0x30]
fadd qword [esp + 0x134]
mov edi, dword [esp + 0x24]
fadd qword [esp + 0x6c]
fstp qword [esp + 0x6c]
cmp ebx, dword [esp + 0x5c]
jl 0x594cf0
jmp 0x595207
fstp st(0)
test byte [esp + 0x170], 2
je 0x595337
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x190]
call fcn.004fe170
mov eax, dword [esp + 0x178]
sar eax, 1
mov bl, 7
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], bl
mov dword [esp + 0x1c0], eax
call fcn.00500270
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x190]
mov byte [esp + 0x1ec], 8
call fcn.004fc6a0
push 4
lea ecx, [esp + 0x128]
call fcn.00459330
push eax
lea ecx, [esp + 0x9c]
call fcn.0052ddc0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 9
call fcn.00459330
push eax
lea ecx, [esp + 0x98]
call fcn.005332e0
mov edx, dword [esp + 0x178]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x9c]
call fcn.00533040
cmp dword [ebp + 0x14], 0
je 0x5952e4
mov esi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.00532260
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.0056c870
jmp 0x5952f7
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x94]
push edx
call eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 8
call fcn.00532fd0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], bl
call fcn.00500bd0
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e8], 3
call fcn.004fe500
jmp 0x595683
cmp dword [esp + 0x60], 0
je 0x595683
cmp dword [ebp + 0x14], 0
jne 0x595683
lea ecx, [esp + 0x134]
call fcn.00500270
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 0xa
call fcn.004fc6a0
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x190]
call fcn.00517b20
cmp dword [esp + 0x38], 0
mov byte [esp + 0x1e8], 0xb
jne 0x5953e2
mov eax, dword [esp + 0x178]
fld qword [esp + 0x15c]
sub esp, 8
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1b4], eax
mov eax, esp
lea ecx, [esp + 0x194]
fstp qword [eax]
mov dword [esp + 0x6c], esp
call fcn.00517c40
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x18c]
push edx
call eax
jmp 0x59565b
lea ecx, [esp + 0x3c]
call fcn.004f9eb0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x1ec], 0xc
call fcn.0056b900
lea ecx, [esp + 0xbc]
call fcn.004f9eb0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xd
call fcn.004f9eb0
push 1
push 0
push 0
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1f8], 0xe
call fcn.0053c860
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
mov byte [esp + 0x1e8], 0xf
jle 0x5954f1
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + ebx*4]
push 0
push 0
push 0
push 0
lea edx, [esp + 0xcc]
push edx
push ecx
lea ecx, [esp + 0xac]
call fcn.0053eba0
xor esi, esi
cmp dword [esp + 0xbc], esi
jle 0x5954da
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
mov byte [esp + 0x1e8], 0x10
test eax, eax
je 0x5954b0
mov edx, dword [esp + 0xc4]
mov ecx, dword [edx + esi*4]
push ecx
mov ecx, eax
call fcn.0051a020
mov edi, eax
jmp 0x5954b2
xor edi, edi
mov edx, dword [esp + 0x84]
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1ec], 0xf
call fcn.005c2c20
inc esi
mov dword [eax], edi
cmp esi, dword [esp + 0xbc]
jl 0x595480
lea ecx, [esp + 0xbc]
call fcn.004f9f00
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x595451
lea ecx, [esp + 0x3c]
call fcn.004f9f00
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x194]
call fcn.005180f0
lea ecx, [esp + 0x84]
call fcn.004f9f00
fld qword [esp + 0x15c]
mov edx, dword [esp + 0x18]
fstp qword [esp + 0x124]
mov esi, dword [esp + 0x178]
xor edi, edi
cmp dword [esp + 0x3c], edi
mov dword [0x6390b8], edi
mov dword [0x6390bc], edi
mov dword [edx + 0xc], 1
jle 0x595605
mov ebx, edx
mov eax, dword [esp + 0x44]
fld qword [esp + 0x124]
mov eax, dword [eax + edi*4]
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + edi*4]
mov dword [eax + 0x20], esi
sub esp, 8
mov eax, esp
fstp qword [eax]
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + edi*4]
mov dword [esp + 0x6c], esp
call fcn.00517c40
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x59559b
add eax, 0x14
jmp 0x59559d
xor eax, eax
push eax
lea ecx, [esp + 0x50]
call fcn.005bebf0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x1e8], 0x11
test eax, eax
je 0x5955d8
add eax, 0xffffffec
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp eax, dword [ecx]
jne 0x5955cd
xor eax, eax
jmp 0x5955d0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x5955b7
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edi*4]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push ecx
mov ecx, ebx
call edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1e8], 0xf
call fcn.00440ab0
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x595559
lea ecx, [esp + 0x3c]
call fcn.004f9f00
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 0xe
call fcn.0053c9a0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xd
call fcn.00483100
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1e8], 0xc
call fcn.00483100
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e8], 0xb
call fcn.00483100
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e8], 0xa
call fcn.0051a750
lea ecx, [esp + 0x134]
mov byte [esp + 0x1e8], 3
call fcn.00500bd0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1e8], 0
call fcn.004fb2f0
lea ecx, [esp + 0x144]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.004fe500
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.005c3bb6
mov esp, ebp
pop ebp
ret 0x10