Function at 0x5679f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dc7e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0xffffffffffffffff
lea ecx, [edi + 0x190c]
push esi
mov dword [esp + 0xac], edi
mov dword [edi + 0x1908], esi
mov dword [esp + 0x2c], ecx
call fcn.0040bbc0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
cmp eax, esi
jne 0x567b6b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0xc88], esi
mov dword [edi + 0xc90], eax
mov dword [edi + 0xc8c], esi
mov dword [edi + 0xc94], ecx
mov eax, dword [edi + 0xc88]
lea edx, [edi + 8]
mov ecx, esi
mov dword [edi + 0xc98], esi
mov dword [edx], eax
mov eax, dword [edi + 0xc90]
mov dword [edi + 0xca0], esi
mov dword [edi + 0xc9c], esi
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0xc94]
mov dword [edi + 0xca4], esi
mov dword [edi + 0xca8], esi
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc98]
mov dword [edi + 0xcb0], esi
mov dword [edi + 0x30], esi
mov dword [edx + 0xc], ecx
lea edx, [edi + 0x18]
mov ecx, esi
mov dword [edi + 0xcac], 0x3ff00000
mov dword [edx], eax
mov eax, dword [edi + 0xca0]
mov dword [edi + 0xcb4], esi
mov dword [edi + 0x34], esi
mov dword [edx + 4], ecx
push 0xffffffffffffffff
push esi
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0040bbc0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 0xbff00000
push esi
push 0xbff00000
push esi
lea ecx, [esp + 0x1c0]
call fcn.004b6cd0
mov eax, dword [edi + 8]
lea edx, [esp + 0x1a0]
push edx
push eax
mov ecx, edi
mov dword [esp + 0x1d0], esi
call fcn.00464360
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.0042bd50
fld qword [0x5e2798]
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp eax, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], esi
jle 0x567bde
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
mov ecx, dword [eax + ecx*4]
call fcn.0050b020
mov ecx, eax
fld qword [ecx + 0x10]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x567bb9
fld qword [ecx + 0x10]
fstp qword [esp + 0x4c]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x567bce
fld qword [ecx + 0x18]
fstp qword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x567b93
fld qword [esp + 0x4c]
fadd qword [0x5e3e08]
mov eax, 0x5f07a0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
fstp qword [esp + 0x4c]
fld qword [esp + 0x5c]
fadd qword [0x5e3e08]
fstp qword [esp + 0x5c]
mov dword [esp + 0x1c8], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc8], 0x5e7a90
mov dword [esp + 0x190], 0x47ae147b
mov dword [esp + 0x194], 0x3f847ae1
mov dword [esp + 0x198], 0xd2f1a9fc
mov dword [esp + 0x19c], 0x3f50624d
mov dword [esp + 0x160], esi
mov dword [esp + 0x170], 0xd2f1a9fc
mov dword [esp + 0x174], 0xbf50624d
mov dword [esp + 0x178], 0x9374bc6a
mov dword [esp + 0x17c], 0x3ff00418
mov dword [esp + 0x180], 0xd2f1a9fc
mov dword [esp + 0x184], 0x3f50624d
mov dword [esp + 0x188], 0xd916872b
mov dword [esp + 0x18c], 0x3feff7ce
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 3
call fcn.004ccd50
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push 0x3f847ae1
push 0x47ae147b
push 0xbff00000
push esi
push 0x3f847ae1
push 0x47ae147b
push ecx
push edx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1e8], 4
call fcn.004b8890
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.0056a3e0
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
mov dword [esp + 0x28], eax
inc eax
push eax
lea ecx, [esp + 0x38]
call fcn.0054a8d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
shl eax, 4
add eax, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
fld qword [esp + 0x84]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
je 0x56816f
jmp 0x567d99
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x54], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x58], 0x40000000
test eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jle 0x56814a
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
call fcn.0050b020
push eax
lea ecx, [esp + 0xac]
call fcn.004b6cb0
mov eax, dword [ebx + 4]
mov byte [esp + 0x1c8], 5
mov ecx, dword [eax + esi*4]
lea eax, [eax + esi*4]
mov edx, dword [ecx + 0xa0]
mov ecx, dword [ecx + 0xa4]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
mov ecx, dword [edx + 0xac]
mov dword [esp + 0xc0], eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0xa8]
mov dword [esp + 0xc4], ecx
push edx
push eax
lea ecx, [esp + 0xd0]
call fcn.004b9130
test eax, eax
je 0x567f45
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 1
je 0x567e82
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
jmp 0x567e9e
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
jne 0x567ed1
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
jmp 0x567eed
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
fld qword [esp + 0x54]
fcomp qword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x567f19
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
fld qword [esp + 0x44]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x567f45
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 4
call fcn.0042bd50
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x567dcf
cmp dword [esp + 0x20], 0xffffffff
je 0x568059
fld qword [esp + 0x94]
fmul qword [esp + 0x54]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
fadd qword [esp + 0x80]
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x70]
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x5c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
shl esi, 4
add esi, ecx
mov dword [esi], edx
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
mov edx, eax
lea ecx, [eax + esi*4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + esi*4]
call fcn.0050b030
fld qword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
fsub qword [edx + 0xa0]
fadd qword [ecx + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [eax]
call fcn.0050b030
mov ecx, dword [ebx + 4]
push 0xffffffffffffffff
fld qword [esp + 0x1c]
mov edx, dword [ecx + esi*4]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
fsub qword [edx + 0xa8]
fadd qword [eax + 0x18]
lea eax, [esi + 1]
push eax
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
cmp dword [esp + 0x24], 0xffffffff
je 0x56814a
fld qword [esp + 0x94]
fmul qword [esp + 0x44]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
fadd qword [esp + 0x80]
lea edx, [esi + 1]
push edx
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
shl esi, 4
add esi, ecx
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x24]
fld qword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
fadd qword [ecx + 0xa0]
fstp qword [esp + 0x24]
call fcn.0050b030
fld qword [esp + 0x24]
fsub qword [eax + 0x10]
mov edx, dword [ebx + 4]
fstp qword [esp + 0x10]
mov ecx, dword [edx + esi*4]
fld qword [esp + 0x18]
fadd qword [ecx + 0xa8]
fstp qword [esp + 0x24]
call fcn.0050b030
fld qword [esp + 0x24]
mov esi, dword [esp + 0x38]
push 0xffffffffffffffff
fsub qword [eax + 0x18]
lea eax, [esi + 1]
lea ecx, [esp + 0x34]
push eax
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
fld qword [esp + 0x84]
fadd qword [0x5e7ac0]
fst qword [esp + 0x84]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
jne 0x567d97
xor esi, esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
fld qword [esp + 0x5c]
fadd qword [0x5e2858]
push 0xbff00000
push esi
push eax
push ecx
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.004b8890
fld qword [esp + 0x7c]
fcomp qword [0x5e2640]
fnstsw ax
test ah, 0x41
jne 0x568697
jmp 0x5681b6
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], 0x40000000
test eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
jle 0x568676
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi*4]
call fcn.0050b020
push eax
lea ecx, [esp + 0xac]
call fcn.004b6cb0
mov eax, dword [ebx + 4]
mov byte [esp + 0x1c8], 6
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0xa8]
mov eax, dword [ecx + 0xac]
mov dword [esp + 0xc0], edx
lea ecx, [esp + 0x7c]
lea edx, [esp + 0xa8]
push ecx
push edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xcc], eax
call fcn.004b9130
test eax, eax
je 0x568343
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 1
je 0x568280
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x56829c
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
jne 0x5682cf
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
jmp 0x5682eb
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
fld qword [esp + 0x44]
fcomp qword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x568317
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
fld qword [esp + 0x54]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
je 0x568343
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1c8], 4
call fcn.0042bd50
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x5681ec
cmp dword [esp + 0x24], 0xffffffff
je 0x568457
fld qword [esp + 0x94]
fmul qword [esp + 0x44]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x6c]
fadd qword [esp + 0x80]
lea eax, [esi + 1]
push eax
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x4c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
shl esi, 4
add esi, edx
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x24]
mov ecx, edx
mov ecx, dword [ecx + esi*4]
lea eax, [edx + esi*4]
mov dword [esp + 0x24], eax
call fcn.0050b030
fld qword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
fsub qword [ecx + 0xa0]
fadd qword [edx + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [eax]
call fcn.0050b030
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
fld qword [esp + 0x1c]
mov ecx, dword [edx + esi*4]
mov esi, dword [esp + 0x3c]
fsub qword [ecx + 0xa8]
lea edx, [esi + 1]
lea ecx, [esp + 0x34]
push edx
fadd qword [eax + 0x18]
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov eax, dword [esp + 0x34]
shl esi, 4
add esi, eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
cmp dword [esp + 0x20], 0xffffffff
je 0x568676
fld qword [esp + 0x94]
fmul qword [esp + 0x54]
mov esi, dword [esp + 0x70]
push 0xffffffffffffffff
fadd qword [esp + 0x80]
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x70]
fstp qword [esp + 0x18]
fld qword [esp + 0xa4]
fmul qword [esp + 0x5c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x20]
call fcn.0054a8d0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
shl esi, 4
add esi, ecx
mov dword [esi], edx
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
fld qword [esp + 0x10]
mov ecx, dword [eax + esi*4]
fadd qword [ecx + 0xa0]
fstp qword [esp + 0x4c]
call fcn.0050b030
fld qword [esp + 0x4c]
fsub qword [eax + 0x10]
mov ecx, dword [ebx + 4]
fstp qword [esp + 0x10]
mov esi, dword [ecx + esi*4]
mov ecx, esi
call fcn.0050b030
fld qword [esi + 0xa8]
mov ecx, dword [esp + 0x38]
fsub qword [eax + 0x18]
mov eax, dword [esp + 0x34]
lea esi, [ecx + 1]
test esi, esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], esi
fstp qword [esp + 0x18]
jne 0x568540
test eax, eax
je 0x568531
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
xor eax, eax
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
jmp 0x568652
test eax, eax
jne 0x56856e
mov edx, esi
shl edx, 4
push edx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x34], eax
push esi
push eax
call fcn.00505af0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
jmp 0x568652
cmp esi, dword [esp + 0x3c]
jg 0x5685a6
cmp ecx, esi
jge 0x568595
mov edx, esi
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00505af0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], esi
jmp 0x568652
jle 0x56859d
sub ecx, esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], esi
jmp 0x568652
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x5685d1
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5685c5
mov eax, 4
jmp 0x5685d1
cmp eax, 0x400
jle 0x5685d1
mov eax, 0x400
mov ecx, dword [esp + 0x3c]
add eax, ecx
cmp esi, eax
mov dword [esp + 0x24], eax
jl 0x5685e3
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x24]
shl edx, 4
push edx
call sub.mfc42u.dll_operatornew
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x5c], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, esi
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00505af0
mov eax, dword [esp + 0x34]
push eax
call sub.mfc42u.dll_operatordelete
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0xa8]
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
shl ecx, 4
add ecx, eax
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
fld qword [esp + 0x7c]
fsub qword [0x5e79e0]
fst qword [esp + 0x7c]
fcomp qword [0x5e2640]
fnstsw ax
test ah, 0x41
je 0x5681b4
xor esi, esi
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, edi
call fcn.005687d0
mov edx, dword [edi + 0x1908]
shl edx, 4
mov ecx, dword [edx + edi - 8]
lea eax, [edx + edi]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax - 4]
mov dword [eax + 8], ecx
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x1908]
inc eax
shl eax, 4
mov dword [eax + edi], esi
mov dword [eax + edi + 4], esi
mov ecx, dword [edi + 0x1908]
shl ecx, 4
mov edx, dword [ecx + edi + 0xc78]
lea eax, [ecx + edi]
mov dword [eax + 0xc88], edx
mov ecx, dword [eax + 0xc7c]
mov dword [eax + 0xc8c], ecx
mov edx, dword [edi + 0x1908]
add edx, 0xc9
mov ecx, dword [ebp + 0x24]
shl edx, 4
mov dword [edx + edi], esi
mov dword [edx + edi + 4], esi
mov eax, dword [edi + 0x1908]
inc eax
mov dword [edi + 0x1908], eax
mov eax, dword [ebp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.00568fe0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 3
call fcn.0042bd50
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1c8], 2
call fcn.004b90a0
mov edi, 0x5f07a0
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1c8], 7
cmp eax, esi
je 0x568786
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], 0x5e262c
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c8], 8
cmp eax, esi
je 0x5687ae
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c0]
pop edi
fld qword [esp + 0x40]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24