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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d4e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
xor edi, edi
lea ecx, [esp + 0x208]
mov dword [esp + 0x2c0], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0x47ae147b
mov dword [esp + 0x80], 0x3f847ae1
call fcn.004ccd50
lea eax, [esi + 0x2d0]
lea ecx, [esp + 0x208]
push eax
mov byte [esp + 0x2c4], 1
call fcn.004b7e30
lea ecx, [esp + 0x208]
push ecx
lea ecx, [ebp + 0x14]
call fcn.004b8ab0
mov al, byte [ebp + 0xc]
test al, al
je 0x4eecd6
lea edx, [esp + 0x7c]
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x210]
call fcn.004b8180
fld qword [ebp + 0x14]
fadd qword [esp + 0x74]
fstp qword [ebp + 0x14]
fld qword [ebp + 0x1c]
fadd qword [esp + 0x7c]
fstp qword [ebp + 0x1c]
push 0xb90
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, edi
mov byte [esp + 0x2c0], 2
je 0x4eecfc
mov ecx, eax
call fcn.004ad990
jmp 0x4eecfe
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov ecx, eax
push ebx
mov byte [esp + 0x2c4], 1
mov dword [esi + 0x364], eax
call fcn.004ae2f0
push 0xb90
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x70], eax
cmp eax, edi
mov byte [esp + 0x2c0], 3
je 0x4eed3d
mov ecx, eax
call fcn.004ad990
jmp 0x4eed3f
xor eax, eax
push ebx
mov ecx, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c4], 1
call fcn.004ae2f0
lea ecx, [esp + 0x120]
call fcn.004ccd50
lea ecx, [esp + 0x88]
mov byte [esp + 0x2c0], 4
call fcn.004b1760
push fcn.004b17b0
push fcn.004b1760
push 2
lea ecx, [esp + 0x44]
push 0x1c
push ecx
mov byte [esp + 0x2d4], 5
call fcn.005c1f9f
push fcn.004b17b0
push fcn.004b1760
push 2
lea edx, [esp + 0xb0]
push 0x1c
push edx
mov byte [esp + 0x2d4], 6
call fcn.005c1f9f
mov ecx, ebx
mov byte [esp + 0x2c0], 7
call fcn.004ae9a0
lea ecx, [esp + 0x148]
mov dword [esp + 0x10], eax
call fcn.0050ae90
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
mov byte [esp + 0x2c4], 8
call fcn.004af220
lea ecx, [ebp + 0x14]
push eax
push ecx
call fcn.004edbc0
add esp, 0xc
test al, al
je 0x4ef99f
lea ecx, [esp + 0x38]
call fcn.004b1a10
lea ecx, [esp + 0x54]
call fcn.004b1a10
lea ecx, [esp + 0x148]
call fcn.0050c430
lea edx, [esp + 0x38]
push edx
call fcn.004aef00
fstp qword [esp + 0x20]
lea eax, [esp + 0x58]
push eax
call fcn.004aef00
fcomp qword [esp + 0x24]
add esp, 8
fnstsw ax
test ah, 1
je 0x4eee81
cmp dword [esp + 0x40], edi
jle 0x4eeeee
xor esi, esi
mov eax, dword [esp + 0x3c]
sub esp, 8
sub esp, 8
lea ecx, [esp + 0x158]
fld dword [eax + esi + 8]
fstp qword [esp + 8]
fld dword [eax + esi + 4]
fstp qword [esp]
call fcn.0050c450
mov eax, dword [esp + 0x40]
inc edi
add esi, 0xc
cmp edi, eax
jl 0x4eee4e
jmp 0x4eeeee
mov eax, dword [esp + 0x5c]
xor edi, edi
test eax, eax
jle 0x4eeebe
xor esi, esi
mov eax, dword [esp + 0x58]
sub esp, 8
sub esp, 8
lea ecx, [esp + 0x158]
fld dword [eax + esi + 8]
fstp qword [esp + 8]
fld dword [eax + esi + 4]
fstp qword [esp]
call fcn.0050c450
mov eax, dword [esp + 0x5c]
inc edi
add esi, 0xc
cmp edi, eax
jl 0x4eee8d
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x8c]
call fcn.004b1870
lea edx, [esp + 0x54]
lea ecx, [esp + 0x38]
push edx
call fcn.004b1870
lea eax, [esp + 0x88]
lea ecx, [esp + 0x54]
push eax
call fcn.004b1870
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x15c]
call fcn.0050c4b0
lea ecx, [esp + 0x120]
push ecx
push 0x3fb99999
push 0x9999999a
lea ecx, [ebp + 0x14]
call fcn.004b90d0
fld qword [esp + 0x138]
fmul qword [0x5e2790]
fadd qword [esp + 0x120]
fstp qword [esp + 0x1c]
fld qword [esp + 0x140]
fmul qword [0x5e2790]
mov ecx, dword [esp + 0x20]
fadd qword [esp + 0x128]
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea ecx, [esp + 0x158]
call fcn.0050b0c0
cmp eax, 0xffffffff
jne 0x4eefc2
mov edx, dword [ebp + 0x40]
lea eax, [esp + 0x38]
lea ecx, [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.004ee000
add esp, 0x14
test al, al
je 0x4ef99f
fld qword [ebp + 0x44]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x54]
lea eax, [ebp + 0x14]
push edx
push eax
sub esp, 8
fchs
fstp qword [esp]
push ecx
call fcn.004ee000
add esp, 0x14
test al, al
je 0x4ef99f
jmp 0x4ef017
lea ecx, [ebp + 0x14]
call fcn.004b8a40
mov ecx, dword [ebp + 0x48]
lea edx, [esp + 0x38]
lea eax, [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x44]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.004ee000
add esp, 0x14
test al, al
je 0x4ef99f
fld qword [ebp + 0x3c]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x54]
lea edx, [ebp + 0x14]
push ecx
push edx
sub esp, 8
fchs
fstp qword [esp]
push eax
call fcn.004ee000
add esp, 0x14
test al, al
je 0x4ef99f
lea ecx, [esp + 0x38]
call fcn.004b1a10
lea ecx, [esp + 0x54]
call fcn.004b1a10
mov ecx, dword [esp + 0x40]
mov eax, 4
cmp ecx, eax
jl 0x4ef99f
cmp dword [esp + 0x5c], eax
jl 0x4ef99f
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [edi + 0x364]
call fcn.004aeb50
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.004aeb50
lea eax, [esp + 0xa4]
mov ecx, ebx
push eax
call fcn.004af410
lea ecx, [esp + 0x88]
lea edx, [esp + 0xa4]
push ecx
lea eax, [ebp + 0x14]
push edx
push eax
call fcn.004ee8b0
add esp, 0xc
test al, al
je 0x4ef99f
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
call fcn.005a6eb0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
call fcn.005a6eb0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
call fcn.004ee9b0
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [edi + 0x364]
call fcn.004af230
lea edx, [esp + 0x54]
mov ecx, esi
push edx
call fcn.004af230
lea eax, [esp + 0x88]
mov ecx, ebx
push eax
call fcn.004af670
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], 0x64
test eax, eax
je 0x4ef11e
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x90]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
jle 0x4ef20f
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
xor ebx, ebx
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x40]
lea esi, [ebx + eax]
call fcn.005a6eb0
mov eax, dword [esp + 0x3c]
lea edx, [edi + edi*2]
lea ecx, [eax + edx*4]
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [ebx + eax]
and ecx, 6
cmp cl, 4
jne 0x4ef1f6
fld dword [ebx + eax + 8]
sub esp, 8
lea ecx, [esp + 0x150]
fstp qword [esp]
fld dword [ebx + eax + 4]
sub esp, 8
fstp qword [esp]
call fcn.0050b0c0
cmp eax, 0xffffffff
jne 0x4ef1b8
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 0x364]
jmp 0x4ef1c1
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004af430
mov eax, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x48], 0x64
je 0x4ef1e5
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
jmp 0x4ef1fa
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
add ebx, 0xc
dec ecx
mov dword [esp + 0x34], ecx
jne 0x4ef144
mov ebx, dword [ebp + 0x10]
mov al, byte [ebp + 8]
mov esi, dword [esp + 0x18]
test al, al
je 0x4ef22f
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x364]
push edx
call fcn.004ae790
jmp 0x4ef54b
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 3
jle 0x4ef54b
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4ef25c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xc4]
xor esi, esi
cmp eax, esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], esi
je 0x4ef28e
push eax
call sub.mfc42u.dll_operatordelete
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0xb0]
add esp, 4
mov ecx, dword [esp + 0x10]
xor edi, edi
xor eax, eax
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], eax
mov edx, dword [ecx + 8]
cmp edx, edi
jle 0x4ef34b
mov edx, ecx
xor ebx, ebx
mov eax, dword [edx + 4]
jmp 0x4ef2bf
mov esi, dword [esp + 0xac]
add eax, ebx
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
lea ecx, [esi + 1]
mov edx, dword [eax + 4]
push ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
call fcn.005a6eb0
mov eax, dword [esp + 0xa8]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [eax + 4]
lea ecx, [eax + ebx]
mov esi, dword [eax + ebx]
mov edx, dword [ecx + 4]
mov dword [esp + 0xe0], edx
mov edx, esi
mov ecx, dword [ecx + 8]
and edx, 6
cmp dl, 4
mov dword [esp + 0xe4], ecx
je 0x4ef344
mov ecx, dword [esp + 0x10]
inc edi
add ebx, 0xc
cmp edi, dword [ecx + 8]
jl 0x4ef2b8
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x10]
inc edi
cmp edi, dword [edx + 8]
jge 0x4ef3c5
lea ebx, [edi + edi*2]
shl ebx, 2
jmp 0x4ef364
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0xffffffffffffffff
mov esi, dword [edx + 4]
add ecx, esi
mov esi, eax
inc eax
mov edx, dword [ecx]
push eax
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc8]
call fcn.005a6eb0
mov eax, dword [esp + 0xc4]
lea edx, [esi + esi*2]
inc edi
add ebx, 0xc
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], edx
mov ecx, dword [eax + 8]
cmp edi, ecx
jl 0x4ef35d
lea ecx, [esp + 0x38]
lea edx, [esp + 0xa4]
push ecx
lea eax, [ebp + 0x14]
push edx
push eax
call fcn.004edbc0
add esp, 0xc
test al, al
je 0x4ef99f
lea ecx, [esp + 0x38]
call fcn.004b1a10
lea ecx, [esp + 0x54]
call fcn.004b1a10
lea ecx, [esp + 0x38]
lea edx, [ebp + 0x14]
push ecx
push edx
push 0
push 0
push 0
call fcn.004ee000
add esp, 0x14
test al, al
je 0x4ef99f
lea eax, [esp + 0x54]
lea ecx, [ebp + 0x14]
push eax
push ecx
push 0
push 0
push 0
call fcn.004ee000
add esp, 0x14
test al, al
je 0x4ef99f
cmp dword [esp + 0x40], 4
jl 0x4ef99f
cmp dword [esp + 0x5c], 4
jl 0x4ef99f
lea edx, [esp + 0x38]
lea eax, [esp + 0x148]
push edx
push eax
call fcn.004eeb70
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x150]
push ecx
push edx
mov esi, eax
call fcn.004eeb70
add esp, 0x10
cmp eax, esi
jne 0x4ef4d3
lea eax, [esp + 0x38]
push eax
call fcn.004aef00
fstp qword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
call fcn.004aef00
fstp qword [esp + 0xe4]
add esp, 8
lea ecx, [esp + 0x148]
call fcn.0050b080
fsubr qword [esp + 0x1c]
lea ecx, [esp + 0x148]
fabs
fstp qword [esp + 0x1c]
call fcn.0050b080
fsubr qword [esp + 0xdc]
fabs
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x4ef505
jmp 0x4ef4d5
jle 0x4ef505
lea edx, [esp + 0x38]
lea ecx, [esp + 0x88]
push edx
call fcn.004b1870
lea eax, [esp + 0x54]
lea ecx, [esp + 0x38]
push eax
call fcn.004b1870
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x58]
call fcn.004b1870
lea edx, [esp + 0x38]
lea eax, [esp + 0xc0]
push edx
lea ecx, [esp + 0x14c]
push eax
push ecx
call fcn.004ee9b0
mov eax, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, dword [eax + 0x364]
push edx
call fcn.004ae790
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004ae790
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, ebx
call fcn.004afae0
test eax, eax
jne 0x4ef55a
xor edi, edi
jmp 0x4ef5af
push 0
mov ecx, ebx
call fcn.004afa70
mov ecx, dword [esi + 0x364]
push eax
call fcn.004af890
push 0
mov ecx, ebx
call fcn.004afa70
mov edi, dword [esp + 0x14]
push eax
mov ecx, edi
call fcn.004af890
push 1
mov ecx, ebx
call fcn.004afa70
mov ecx, dword [esi + 0x364]
push eax
call fcn.004af890
push 1
mov ecx, ebx
call fcn.004afa70
push eax
mov ecx, edi
call fcn.004af890
mov edi, 2
mov al, byte [ebp + 0xc]
test al, al
je 0x4ef6d7
lea edx, [ebp + 0x14]
lea ecx, [esp + 0xf8]
push edx
call fcn.004b86c0
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x210]
mov byte [esp + 0x2c8], 9
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x47ae147b
mov dword [esp + 0x88], 0xbf947ae1
call fcn.004b8180
fld qword [esp + 0xf8]
fadd qword [esp + 0x74]
mov ecx, ebx
fstp qword [esp + 0xf8]
fld qword [esp + 0x100]
fadd qword [esp + 0x7c]
fstp qword [esp + 0x100]
call fcn.004afa60
cmp edi, eax
mov dword [esp + 0x10], eax
jge 0x4ef6be
push edi
mov ecx, ebx
call fcn.004afa70
mov ecx, eax
fld qword [ecx]
fld qword [ecx + 8]
fsub qword [ebp + 0x1c]
fmul qword [ebp + 0x2c]
fxch st(1)
fsub qword [ebp + 0x14]
fmul qword [ebp + 0x34]
fsubp st(1)
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x4ef679
push ecx
mov ecx, dword [esi + 0x364]
jmp 0x4ef6b0
fld qword [ecx]
fld qword [ecx + 8]
fsub qword [esp + 0x100]
fmul qword [esp + 0x110]
fxch st(1)
fsub qword [esp + 0xf8]
fmul qword [esp + 0x118]
fsubp st(1)
fcomp qword [0x5e2798]
fnstsw ax
test ah, 1
je 0x4ef6b5
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004af890
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4ef644
lea ecx, [esp + 0xf8]
mov byte [esp + 0x2c0], 8
call fcn.0042bd50
jmp 0x4ef7e5
mov ecx, ebx
call fcn.004afa60
cmp edi, eax
mov dword [esp + 0x10], eax
jge 0x4ef7e5
push edi
mov ecx, ebx
call fcn.004afa70
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004cccd0
mov ecx, esi
call fcn.004b1ce0
cmp eax, 1
je 0x4ef753
mov ecx, esi
call fcn.004b1ce0
cmp eax, 2
je 0x4ef753
mov ecx, esi
call fcn.004b1ce0
cmp eax, 7
je 0x4ef728
mov ecx, esi
call fcn.004b1ce0
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jmp 0x4ef79d
lea edx, [esp + 0xdc]
mov ecx, esi
push edx
call fcn.004b1c90
push eax
lea eax, [esp + 0xfc]
push esi
push eax
call fcn.004ccdc0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esp, 0xc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x158]
call fcn.0050b0c0
cmp eax, 0xffffffff
push esi
jne 0x4ef7cf
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x364]
jmp 0x4ef7d3
mov ecx, dword [esp + 0x18]
call fcn.004af890
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4ef6ea
mov ecx, ebx
call fcn.004af860
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], 0
jle 0x4ef8e8
mov edx, dword [esp + 0x34]
mov ecx, ebx
push edx
call fcn.004af870
mov dword [esp + 0x84], eax
lea esi, [esp + 0x258]
mov edi, 4
mov ecx, esi
call fcn.004cccd0
add esi, 0x18
dec edi
jne 0x4ef81f
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x258]
push eax
call fcn.004b3f90
xor edi, edi
lea esi, [esp + 0x258]
mov dword [esp + 0x70], 4
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edx, dword [esi + 0xc]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe0], edx
push edx
mov edx, dword [esp + 0x20]
push eax
mov dword [esp + 0x28], ecx
push ecx
push edx
lea ecx, [esp + 0x158]
call fcn.0050b0c0
cmp eax, 0xffffffff
jne 0x4ef895
inc edi
jmp 0x4ef896
dec edi
mov eax, dword [esp + 0x70]
add esi, 0x18
dec eax
mov dword [esp + 0x70], eax
jne 0x4ef851
cmp edi, 4
jne 0x4ef8bd
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
push eax
mov ecx, dword [ecx + 0x364]
jmp 0x4ef8ce
cmp edi, 0xfffffffc
jne 0x4ef8d3
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
push edx
call fcn.004af690
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4ef800
lea ecx, [esp + 0x148]
mov byte [esp + 0x2c0], 7
call fcn.0050af80
push fcn.004b17b0
push 2
lea eax, [esp + 0xac]
push 0x1c
push eax
mov byte [esp + 0x2d0], 6
call fcn.005c2021
push fcn.004b17b0
push 2
lea ecx, [esp + 0x40]
push 0x1c
push ecx
mov byte [esp + 0x2d0], 5
call fcn.005c2021
lea ecx, [esp + 0x88]
mov byte [esp + 0x2c0], 4
call fcn.004b17b0
lea ecx, [esp + 0x120]
mov byte [esp + 0x2c0], 1
call fcn.0042bd50
lea ecx, [esp + 0x208]
mov byte [esp + 0x2c0], 0
call fcn.0042bd50
lea ecx, [ebp + 0x14]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.0042bd50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x364]
test ecx, ecx
je 0x4ef9b4
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ef9c3
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x2c0], 7
mov dword [esi + 0x364], ecx
lea ecx, [esp + 0x148]
call fcn.0050af80
push fcn.004b17b0
push 2
lea edx, [esp + 0xac]
push 0x1c
push edx
mov byte [esp + 0x2d0], 6
call fcn.005c2021
push fcn.004b17b0
push 2
lea eax, [esp + 0x40]
push 0x1c
push eax
mov byte [esp + 0x2d0], 5
call fcn.005c2021
lea ecx, [esp + 0x88]
mov byte [esp + 0x2c0], 4
call fcn.004b17b0
lea ecx, [esp + 0x120]
mov byte [esp + 0x2c0], 1
call fcn.0042bd50
lea ecx, [esp + 0x208]
mov byte [esp + 0x2c0], 0
call fcn.0042bd50
lea ecx, [ebp + 0x14]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x44