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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5db238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push esi
push edi
lea ecx, [esp + 0x240]
call fcn.0051dce0
mov ecx, dword [ebp + 0x20]
xor esi, esi
mov dword [esp + 0x538], esi
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x244]
call fcn.00520110
mov ecx, dword [esp + 0x2e4]
mov edx, dword [esp + 0x2e8]
mov eax, dword [esp + 0x2e0]
mov dword [esp + 0xfc], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x100], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x2ec]
mov dword [esp + 0x110], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x114], edx
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 0x10]
mov edx, ecx
mov dword [esp + 0x11c], ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov dword [esp + 0x128], eax
call dword [sym.imp.msvcrt.dll__hypot]
fst qword [esp + 0x118]
add esp, 0x10
fld qword [ebp + 8]
fdiv st(1)
lea eax, [esp + 0x4b0]
lea ecx, [esp + 0xf8]
push eax
push ecx
lea ecx, [esp + 0x248]
mov byte [esp + 0x540], 1
fstp qword [esp + 0x64]
fld qword [ebp + 0x10]
fdiv st(1)
fstp qword [esp + 0x6c]
fstp st(0)
call fcn.00525690
cmp eax, esi
je 0x556ec2
fld qword [esp + 0x110]
fmul qword [esp + eax*8 + 0x4a8]
lea eax, [esp + eax*8 + 0x4a8]
fadd st(0), st(0)
fsubr qword [ebp + 8]
fstp qword [ebp + 8]
fld qword [esp + 0x118]
fmul qword [eax]
mov ecx, dword [ebp + 0xc]
fadd st(0), st(0)
fsubr qword [ebp + 0x10]
fstp qword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
lea ecx, [esp + 0x250]
call fcn.0051df60
jmp 0x556ede
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x240]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.00555f30
add esp, 0x20
test al, al
je 0x557a26
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x254]
call fcn.00527050
lea ecx, [esp + 0xd0]
call fcn.004ccd50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x538], 2
call fcn.004ccd50
mov eax, dword [esp + 0x54]
mov byte [esp + 0x538], 3
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0xf0]
call fcn.004b8890
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0xc8]
call fcn.004b8890
mov dword [esp + 0x80], 0x5e2824
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], esi
mov ebx, dword [ebp + 0x28]
lea ecx, [esp + 0x80]
push ecx
push ebx
sub esp, 0x28
lea edx, [esp + 0xd8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x56c], 4
call fcn.004b86c0
sub esp, 0x28
mov byte [esp + 0x590], 5
mov ecx, esp
mov dword [esp + 0x84], esp
lea eax, [esp + 0x128]
push eax
call fcn.004b86c0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
sub esp, 0x10
mov byte [esp + 0x5a0], 4
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x2a8]
push ecx
call fcn.00556120
add esp, 0x6c
lea ecx, [esp + 0x18]
call fcn.0056ad00
mov dword [esp + 0x18], 0x5f0a28
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x538], 6
call fcn.0056b6a0
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x538], 7
jle 0x55714b
mov edx, dword [ebx + 4]
mov ecx, dword [edx + edi*4]
mov al, byte [ecx + 0x20]
test al, al
je 0x55713f
call fcn.0050b0a0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00527050
lea edx, [esp + 0xd0]
mov ecx, esi
push edx
call fcn.005258c0
test eax, eax
je 0x5570ff
mov dword [esp + 0x54], eax
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
call fcn.005258c0
test eax, eax
je 0x557117
mov eax, dword [eax + 0x5c]
jmp 0x55711e
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x5c]
lea edx, [esp + 0x1a0]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x58]
push ecx
push eax
push edx
mov dword [esp + 0x68], eax
call fcn.0056fae0
add esp, 0x10
xor esi, esi
mov eax, dword [ebx + 8]
inc edi
cmp edi, eax
jl 0x5570b4
lea ecx, [esp + 0x34]
call fcn.004b6ca0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1d0]
add ecx, eax
mov byte [esp + 0x538], 8
cmp ecx, 2
jge 0x557305
lea edx, [esp + 0x268]
lea ecx, [esp + 0x34]
push edx
call fcn.004b6d90
fld qword [esp + 0x5c]
fcomp qword [0x5e2798]
fld qword [esp + 0x64]
fnstsw ax
fcomp qword [0x5e2798]
test ah, 0x41
fnstsw ax
jne 0x5572c3
mov edi, dword [ebp + 0x24]
test ah, 0x41
mov ecx, edi
jne 0x557238
call fcn.0050b020
fld qword [eax + 0x18]
fsub qword [esp + 0xb0]
mov ecx, edi
fmul qword [esp + 0xc0]
fdiv qword [esp + 0xc8]
fadd qword [esp + 0xa8]
fstp qword [esp + 0xc]
call fcn.0050b020
fld qword [eax + 0x10]
fcomp qword [esp + 0xc]
mov ecx, edi
fnstsw ax
test ah, 0x41
jne 0x55721a
call fcn.0050b020
fld qword [eax + 0x18]
fsub qword [esp + 0xb0]
fmul qword [esp + 0xc0]
fdiv qword [esp + 0xc8]
fadd qword [esp + 0xa8]
jmp 0x557222
call fcn.0050b020
fld qword [eax + 0x10]
fstp qword [esp + 0x44]
mov ecx, edi
call fcn.0050b020
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
jmp 0x5573f8
call fcn.0050b020
fld qword [eax + 8]
fsub qword [esp + 0xd8]
mov ecx, edi
fmul qword [esp + 0xe8]
fdiv qword [esp + 0xf0]
fadd qword [esp + 0xd0]
fstp qword [esp + 0xc]
call fcn.0050b020
fld qword [eax + 0x10]
fcomp qword [esp + 0xc]
mov ecx, edi
fnstsw ax
test ah, 0x41
jne 0x55729d
call fcn.0050b020
fld qword [eax + 8]
fsub qword [esp + 0xd8]
fmul qword [esp + 0xe8]
fdiv qword [esp + 0xf0]
fadd qword [esp + 0xd0]
jmp 0x5572a5
call fcn.0050b020
fld qword [eax + 0x10]
fstp qword [esp + 0x44]
mov ecx, edi
call fcn.0050b020
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jmp 0x557400
mov edi, dword [ebp + 0x24]
test ah, 0x41
mov ecx, edi
jne 0x5572f1
call fcn.0050b020
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, edi
mov dword [esp + 0x38], edx
call fcn.0050b020
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
jmp 0x5573f8
call fcn.0050b020
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jmp 0x5572a9
fld qword [esp + 0x288]
fmul qword [0x5efac8]
fst qword [esp + 0x2c]
fsubr qword [esp + 0x1a0]
fst qword [esp + 0x34]
fld qword [esp + 0x290]
fmul qword [0x5efac8]
fld qword [esp + 0x1a8]
fsub st(1)
fst qword [esp + 0xc]
fstp qword [esp + 0x3c]
fld qword [esp + 0x2c]
fadd qword [esp + 0x1b0]
fst qword [esp + 0x2c]
fstp qword [esp + 0x44]
fadd qword [esp + 0x1b8]
fst qword [esp + 0x74]
fstp qword [esp + 0x4c]
fld qword [esp + 0x5c]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x5573ab
fld qword [esp + 0x64]
fcomp qword [0x5e2798]
fstp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x557399
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp 0x557400
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
jmp 0x557400
fstp st(0)
fld qword [esp + 0x64]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x5573e0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
jmp 0x557400
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov edi, dword [ebp + 0x24]
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.0050b020
push eax
call fcn.004b6bc0
add esp, 8
lea ecx, [esp + 0x1a0]
push ecx
push esi
mov ecx, edi
call fcn.0050c660
push 0x40340000
push esi
lea ecx, [esp + 0xd8]
call fcn.004b8ea0
push 0x40340000
push esi
lea ecx, [esp + 0xb0]
call fcn.004b8ea0
lea ecx, [esp + 0x308]
call fcn.00589140
sub esp, 0x20
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x55c], 9
call fcn.004b6cb0
lea eax, [esp + 0x260]
lea ecx, [esp + 0x1c0]
push eax
push ecx
lea ecx, [esp + 0x330]
call fcn.00589240
test al, al
jne 0x557585
lea ecx, [esp + 0x308]
mov byte [esp + 0x538], 8
call fcn.005891c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 7
call fcn.0042bd50
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x538], 6
call fcn.004b7310
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 4
mov dword [esp + 0x18], 0x5f0a28
call fcn.0056ad30
mov dword [esp + 0x80], 0x5e2824
mov eax, dword [esp + 0x84]
mov byte [esp + 0x538], 0xa
cmp eax, esi
je 0x557510
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x80], 0x5e262c
mov byte [esp + 0x538], 2
call fcn.0042bd50
lea ecx, [esp + 0xd0]
mov byte [esp + 0x538], 1
call fcn.0042bd50
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 0
call fcn.0042bd50
lea ecx, [esp + 0x240]
mov dword [esp + 0x538], 0xffffffff
call fcn.0051ddf0
xor eax, eax
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x20]
call fcn.0050b020
push eax
lea ecx, [esp + 0x1e4]
call fcn.004b6cb0
lea edx, [esp + 0x1e0]
lea ecx, [esp + 0x308]
push edx
mov byte [esp + 0x53c], 0xb
call fcn.00589fb0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1e0]
push eax
push ecx
call fcn.004b6bc0
add esp, 8
lea ecx, [esp + 0x370]
call fcn.0058dea0
mov eax, dword [ebx + 8]
xor edi, edi
xor esi, esi
cmp eax, edi
mov byte [esp + 0x538], 0xc
jle 0x557625
mov edx, dword [ebx + 4]
lea eax, [esp + 0x34]
push eax
mov edi, dword [edx + esi*4]
mov ecx, edi
call fcn.0050b0e0
test al, al
je 0x55761b
mov al, byte [edi + 0x3a]
test al, al
jne 0x55761b
mov ecx, edi
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x374]
call fcn.0058e080
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x5575ea
xor edi, edi
mov eax, dword [esp + 0x88]
xor esi, esi
cmp eax, edi
jle 0x557661
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + esi*4]
mov al, byte [ecx + 0x3a]
test al, al
jne 0x557655
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x374]
call fcn.0058e080
mov eax, dword [esp + 0x88]
inc esi
cmp esi, eax
jl 0x557632
mov dword [esp + 0x160], 0x5f07e0
mov dword [esp + 0x164], edi
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], edi
lea ecx, [esp + 0x178]
mov byte [esp + 0x538], 0xd
call fcn.004b6ca0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x120], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x154], edx
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x268]
mov dword [esp + 0x15c], ecx
push edx
lea ecx, [esp + 0x17c]
mov byte [esp + 0x53c], 0xe
mov dword [esp + 0x15c], eax
call fcn.004b6d90
fld qword [esp + 0x178]
fsub qword [0x5e7ac0]
lea ecx, [esp + 0x178]
fstp qword [esp + 0x178]
fld qword [esp + 0x180]
fsub qword [0x5e7ac0]
fstp qword [esp + 0x180]
fld qword [esp + 0x188]
fadd qword [0x5e7ac0]
fstp qword [esp + 0x188]
fld qword [esp + 0x190]
fadd qword [0x5e7ac0]
fstp qword [esp + 0x190]
call fcn.004b71f0
fstp qword [esp + 0xc]
lea ecx, [esp + 0x240]
call fcn.0056c990
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
fsubr qword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x134], ecx
mov ecx, dword [esp + 0x3b0]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x68]
push 0xffffffffffffffff
fstp qword [esp + 0x19c]
push ecx
lea ecx, [esp + 0x168]
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], eax
call fcn.0046d900
mov edx, dword [esp + 0x3b0]
mov ecx, dword [esp + 0x3ac]
mov eax, dword [esp + 0x164]
cmp edx, edi
je 0x557833
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x557826
mov ecx, dword [ebp + 0x24]
call fcn.0050b0a0
mov esi, eax
mov eax, dword [esp + 0x168]
mov ebx, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x168]
call fcn.0046d900
mov edx, dword [esp + 0x164]
mov dword [edx + ebx*4], esi
mov esi, 0x5e79c4
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], edi
lea eax, [esp + 0x120]
push 0x58be20
push eax
push fcn.00556aa0
push edi
push edi
push 0x3f847ae1
lea ecx, [esp + 0x388]
push 0x47ae147b
lea edx, [esp + 0xb0]
push ecx
lea eax, [esp + 0x260]
push edx
push eax
lea ecx, [esp + 0x330]
mov byte [esp + 0x560], 0xf
call fcn.0058c4f0
test al, al
jne 0x557a68
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x98]
mov byte [esp + 0x538], 0x10
cmp eax, edi
je 0x5578fd
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x94], esi
lea ecx, [esp + 0x178]
mov byte [esp + 0x538], 0x11
call fcn.0042bd50
lea ecx, [esp + 0x160]
mov dword [esp + 0x160], 0x5f07e0
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x164]
mov byte [esp + 0x538], 0x12
cmp eax, edi
je 0x55794f
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x370]
mov dword [esp + 0x160], esi
mov byte [esp + 0x538], 0xb
call fcn.0058df70
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x538], 9
call fcn.0042bd50
lea ecx, [esp + 0x308]
mov byte [esp + 0x538], 8
call fcn.005891c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 7
call fcn.0042bd50
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x538], 6
call fcn.004b7310
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 4
mov dword [esp + 0x18], 0x5f0a28
call fcn.0056ad30
mov dword [esp + 0x80], 0x5e2824
mov eax, dword [esp + 0x84]
mov byte [esp + 0x538], 0x13
cmp eax, edi
je 0x5579f7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x80], esi
mov byte [esp + 0x538], 2
call fcn.0042bd50
lea ecx, [esp + 0xd0]
mov byte [esp + 0x538], 1
call fcn.0042bd50
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 0
call fcn.0042bd50
lea ecx, [esp + 0x240]
mov dword [esp + 0x538], 0xffffffff
call fcn.0051ddf0
xor eax, eax
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x9c]
mov ebx, dword [ebp + 0x2c]
cmp eax, edi
mov dword [esp + 0x2c], edi
jle 0x557c78
mov dword [esp + 0x6c], 0
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x6c]
mov ecx, 0x10
lea edi, [esp + 0x200]
lea esi, [edx + eax]
lea edx, [esp + 0x240]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x28]
lea eax, [esp + 0x200]
push ecx
push edx
push eax
call fcn.005566b0
add esp, 0xc
test al, al
je 0x557c50
lea ecx, [esp + 0x200]
lea edx, [esp + 0x240]
push ecx
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00556aa0
fld qword [esp + 0x224]
fadd qword [ebp + 8]
mov ecx, dword [ebx + 8]
add esp, 0xc
mov eax, ecx
mov dword [esp + 0x74], eax
fstp qword [esp + 0x218]
fld qword [esp + 0x220]
fadd qword [ebp + 0x10]
lea esi, [eax + 1]
mov eax, dword [ebx + 4]
test esi, esi
fstp qword [esp + 0x220]
jne 0x557b40
test eax, eax
je 0x557b33
push eax
mov dword [esp + 0x10], ecx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x557c36
test eax, eax
jne 0x557b67
mov ecx, esi
shl ecx, 6
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00558ff0
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x557c36
mov edi, dword [ebx + 0xc]
cmp esi, edi
jg 0x557b9a
cmp ecx, esi
jge 0x557b8a
mov edx, esi
sub edx, ecx
shl ecx, 6
add ecx, eax
push edx
push ecx
call fcn.00558ff0
mov dword [ebx + 8], esi
jmp 0x557c36
jle 0x557b92
sub ecx, esi
mov dword [esp + 0xc], ecx
mov dword [ebx + 8], esi
jmp 0x557c36
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x557bc4
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x557bb8
mov eax, 4
jmp 0x557bc4
cmp eax, 0x400
jle 0x557bc4
mov eax, 0x400
add eax, edi
cmp esi, eax
mov dword [esp + 0x70], eax
jl 0x557bd2
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x70]
shl eax, 6
push eax
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 6
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x78]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
lea esi, [edx + 1]
mov edx, esi
mov dword [esp + 0xc], eax
sub edx, ecx
shl ecx, 6
add ecx, eax
push edx
push ecx
call fcn.00558ff0
mov eax, dword [ebx + 4]
push eax
call sub.mfc42u.dll_operatordelete
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
mov edi, dword [esp + 0x74]
mov eax, dword [ebx + 4]
shl edi, 6
add edi, eax
mov ecx, 0x10
lea esi, [esp + 0x200]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
inc eax
add edx, 0x40
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], edx
jl 0x557a86
mov esi, 0x5e79c4
mov ebx, dword [ebx + 8]
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x98]
mov byte [esp + 0x538], 0x14
test eax, eax
je 0x557c9e
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x94], esi
lea ecx, [esp + 0x178]
mov byte [esp + 0x538], 0x15
call fcn.0042bd50
lea edx, [esp + 0x160]
mov dword [esp + 0x160], 0x5f07e0
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x164]
mov byte [esp + 0x538], 0x16
test eax, eax
je 0x557cf0
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x370]
mov dword [esp + 0x160], esi
mov byte [esp + 0x538], 0xb
call fcn.0058df70
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x538], 9
call fcn.0042bd50
lea ecx, [esp + 0x308]
mov byte [esp + 0x538], 8
call fcn.005891c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 7
call fcn.0042bd50
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x538], 6
call fcn.004b7310
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 4
mov dword [esp + 0x18], 0x5f0a28
call fcn.0056ad30
mov dword [esp + 0x80], 0x5e2824
mov eax, dword [esp + 0x84]
mov byte [esp + 0x538], 0x17
test eax, eax
je 0x557d98
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x80], esi
mov byte [esp + 0x538], 2
call fcn.0042bd50
lea ecx, [esp + 0xd0]
mov byte [esp + 0x538], 1
call fcn.0042bd50
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 0
call fcn.0042bd50
lea ecx, [esp + 0x240]
mov dword [esp + 0x538], 0xffffffff
call fcn.0051ddf0
mov ecx, dword [esp + 0x530]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret