Function at 0x4568c0
Capabilities:
Enumerate pe sections
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c8
mov eax, dword [0x4efca4]
xor eax, esp
mov dword [esp + 0x4c4], eax
mov eax, dword [0x4f3bec]
mov dword [esp + 0x50], edx
mov dword [esp + 0x80], 0
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
push edi
test eax, eax
je 0x456907
mov eax, dword [eax + 0x400]
mov dword [esp + 0x8c], eax
cmp esi, 0xffffffff
je 0x456919
mov dword [esp + 0x88], 1
jmp 0x456940
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c4]
call fcn.00456380
add esp, 4
test eax, eax
je 0x456b83
mov esi, dword [esp + 0x10]
mov eax, 1
mov edi, eax
cmp esi, 0xffffffff
je 0x458acb
mov ecx, str.MMF2Position:
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456958
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0xc]
push 0
push eax
sub ecx, edx
mov dword [esp + 0x68], edi
push ecx
lea eax, [esp + 0xbc]
push eax
push esi
call edi
test eax, eax
je 0x458ac2
mov ecx, str.MMF2Position:
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456990
sub ecx, edx
cmp dword [esp + 0xc], ecx
jb 0x458ac2
cmp ecx, 0x10
jae 0x458b8b
mov byte [esp + ecx + 0xb0], al
mov esi, 2
mov ecx, str.MMF2Position:
lea eax, [esp + 0xb0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4569e3
test dl, dl
je 0x4569df
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4569e3
add eax, 2
add ecx, esi
test dl, dl
jne 0x4569c4
xor eax, eax
jmp 0x4569e8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x458adc
push eax
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
je 0x458adc
cmp dword [esp + 0xc], esi
jb 0x458adc
mov ax, word [esp + 0x50]
mov ecx, 0x7fff
and ax, cx
mov esi, 4
mov dword [esp + 0x14], esi
mov word [esp + 0x50], ax
cmp ax, 0x14
jne 0x458adc
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
je 0x458adc
cmp dword [esp + 0xc], 2
jb 0x458adc
movzx eax, word [esp + 0x44]
push 1
push eax
call fcn.0049277a
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x38], esi
push 0
push eax
movzx eax, word [esp + 0x4c]
push eax
push esi
push dword [esp + 0x20]
call edi
test eax, eax
je 0x458ad8
movzx eax, word [esp + 0x44]
cmp dword [esp + 0xc], eax
jb 0x458ad8
mov eax, dword [0x4f3be4]
mov dword [esp + 0x14], 3
mov ecx, dword [eax + 0x80]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x456add
test dx, dx
je 0x456ad9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x456add
add eax, 4
add ecx, 4
test dx, dx
jne 0x456ab7
xor esi, esi
jmp 0x456ae2
sbb esi, esi
or esi, 1
push dword [esp + 0x38]
call fcn.00492790
add esp, 4
test esi, esi
jne 0x458ad8
push esi
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
je 0x458ad8
cmp dword [esp + 0xc], 4
jb 0x458ad8
mov eax, dword [esp + 0x9c]
mov esi, 3
cmp eax, dword [esp + 0x8c]
jne 0x458adc
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
je 0x458adc
cmp dword [esp + 0xc], 2
jb 0x458adc
mov esi, dword [esp + 0x58]
cmp dword [esi], 0
je 0x456b99
cmp dword [esp + 0x88], 0
jne 0x456b7c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [esp + 0x44]
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.00488295
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4f3be4]
mov esi, 6
movzx eax, word [esp + 0x44]
mov dword [esp + 0x14], esi
cmp eax, dword [ecx + 0x1f0]
jne 0x458adc
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 1
mov dword [ecx + 0x3b4], 1
push dword [0x4f3bb4]
call esi
push 0
push 2
push dword [0x4f3bb4]
call esi
mov ecx, dword [0x4f3be8]
or edx, 0xffffffff
push 0
call fcn.0042c290
mov eax, dword [0x4f3be4]
add esp, 4
test byte [eax + 0x16], 1
jne 0x456c04
call fcn.0043c890
xor ecx, ecx
call fcn.00452f90
mov eax, dword [0x4f3be8]
cmp dword [eax + 0x8fc], 0
je 0x456c2d
call fcn.004502d0
mov eax, dword [0x4f3be8]
mov dword [eax + 0x8fc], 0
call fcn.0045d740
call fcn.004518e0
xor ecx, ecx
call fcn.00451100
test ax, ax
jne 0x458ad8
mov eax, dword [0x4f3bec]
cmp dword [eax + 0x1a8], 0
jne 0x456c68
push 1
push dword [0x4f3bbc]
call dword [sym.imp.MMFS2.dll_Ordinal_68]
call fcn.00434ac0
mov ecx, dword [0x4f3be8]
or edx, 0xffffffff
push 0
call fcn.0042c290
add esp, 4
call fcn.004526f0
test eax, eax
jne 0x458ad8
call fcn.0044ebf0
test ax, ax
jne 0x458ad8
call fcn.00431260
push 0x68
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 1
call fcn.0049276f
mov esi, dword [esp + 0x64]
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
push 0
push eax
push 0x68
push edi
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458acf
cmp dword [esp + 0xc], 0x68
jb 0x4586ec
mov eax, dword [0x4f3bec]
movzx ecx, byte [edi]
mov byte [eax + 0x26], cl
mov eax, dword [0x4f3bec]
movzx ecx, byte [edi + 1]
mov byte [eax + 0x27], cl
mov eax, dword [0x4f3bec]
movzx ecx, word [edi + 2]
mov word [eax + 0x28], cx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 4]
mov dword [eax + 0xb0], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 8]
mov dword [eax + 0xb4], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xd0], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0xd4], ecx
call fcn.00407b60
mov ecx, dword [edi + 0x14]
add ecx, eax
mov eax, dword [0x4f3bec]
mov dword [eax + 0xd8], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x110], ecx
mov eax, dword [0x4f3bec]
movzx ecx, word [edi + 0x1c]
mov word [eax + 0x14c], cx
mov eax, dword [0x4f3bec]
movzx ecx, word [edi + 0x1e]
mov word [eax + 0x18c], cx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x190], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x194], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x19c], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x1a0], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x30]
mov dword [eax + 0x1b4], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x1b8], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x38]
mov dword [eax + 0x1bc], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x3c]
mov dword [eax + 0x1c0], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x40]
mov dword [eax + 0x1c4], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x1c8], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x1cc], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x1d0], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x50]
mov dword [eax + 0x4d8], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x54]
mov dword [eax + 0x4dc], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x58]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edi + 0x5c]
mov eax, dword [0x4f3bec]
push edi
mov dword [eax + 0x504], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x60]
mov dword [eax + 0x508], ecx
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x64]
mov dword [eax + 0x50c], ecx
call fcn.00492790
mov ecx, dword [0x4f3bec]
add esp, 4
mov eax, dword [ecx + 0xd0]
push 0x2c
mov dword [ecx + 0x430], eax
call fcn.0049276f
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
push 0
push eax
push 0x2c
push edi
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 0x2c
jb 0x4586ec
mov eax, dword [0x4f3bec]
push edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 8]
mov dword [ecx + 0x24], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x28], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x10]
mov dword [ecx], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x4f3bec]
movups xmm0, xmmword [edi + 0x18]
mov eax, dword [eax + 0x1c]
movups xmmword [eax + 0x34], xmm0
call fcn.00492790
add esp, 4
push 0x1c
call fcn.0049276f
mov edi, eax
mov dword [esp + 0x28], 0
mov eax, dword [0x4f3bec]
add esp, 4
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x2c], 0
jle 0x456fe2
mov dword [esp + 0x68], 0
nop word [eax + eax]
push 0
lea eax, [esp + 0x10]
push eax
push 0x1c
push edi
push dword [esp + 0x20]
call esi
test eax, eax
je 0x456fe2
cmp dword [esp + 0xc], 0x1c
jb 0x456fe2
mov eax, dword [0x4f3bec]
mov edx, dword [esp + 0x68]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x30]
mov eax, dword [edi]
add ecx, edx
add edx, 0x60
mov dword [esp + 0x68], edx
mov dword [ecx + 4], eax
mov eax, dword [edi + 4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x18]
mov dword [ecx + 0x34], eax
mov eax, dword [0x4f3bec]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x1c]
cmp ecx, dword [eax + 0x2c]
jl 0x456f70
push edi
call fcn.00492790
add esp, 4
mov dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [0x4f3bec]
push 0x10
mov eax, dword [eax + 0x18]
push dword [eax + 0x25c]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
mov eax, dword [esp + 0x20]
cmp dword [esp + 0xc], eax
jb 0x4586ec
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x18]
push dword [eax + 0x258]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x20]
jb 0x4586ec
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
xor edi, edi
mov dword [esp + 0x6c], 1
cmp dword [esp + 0x78], edi
jle 0x4570e8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa0]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
call fcn.004566a0
mov esi, eax
mov dword [esp + 0x6c], esi
test esi, esi
je 0x4570e4
mov ecx, dword [0x4f3bec]
lea eax, [esp + 0xa0]
push eax
mov edx, edi
mov ecx, dword [ecx + 0x18]
call fcn.004070a0
inc edi
add esp, 4
cmp edi, dword [esp + 0x78]
jl 0x457092
mov esi, dword [esp + 0x60]
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x264]
jge 0x457135
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
nop
lea ecx, [esp + 0xa0]
mov edx, edi
push ecx
mov ecx, eax
call fcn.004070a0
mov eax, dword [0x4f3bec]
inc edi
add esp, 4
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x264]
jl 0x457110
cmp dword [esp + 0x6c], 0
je 0x4586ec
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
xor edi, edi
cmp dword [esp + 0x78], edi
jle 0x457224
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x45721c
cmp dword [esp + 0xc], 2
jb 0x45721c
mov ax, word [esp + 0x34]
test ax, ax
je 0x457203
movzx eax, ax
push eax
call fcn.0049276f
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x45721c
push 0
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457210
movzx eax, word [esp + 0x34]
cmp dword [esp + 0xc], eax
jb 0x457210
mov ecx, dword [0x4f3bec]
mov edx, edi
push dword [esp + 0x28]
mov ecx, dword [ecx + 0x18]
call fcn.00407190
add esp, 4
push dword [esp + 0x28]
call fcn.00492790
add esp, 4
inc edi
cmp edi, dword [esp + 0x78]
jl 0x457176
jmp 0x457224
push dword [esp + 0x28]
call fcn.00492790
add esp, 4
mov dword [esp + 0x6c], 0
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x278]
jge 0x457256
push 0x4df498
mov edx, edi
mov ecx, eax
call fcn.00407190
mov eax, dword [0x4f3bec]
inc edi
add esp, 4
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x278]
jl 0x457234
cmp dword [esp + 0x6c], 0
je 0x4586ec
xor edi, edi
call fcn.0043de50
mov eax, dword [0x4f3be4]
mov dword [eax + 0x1a0], edi
call fcn.0043dee0
mov ecx, eax
test ecx, ecx
je 0x457298
nop
cmp word [ecx + 2], 2
lea eax, [edi + 1]
cmovb eax, edi
mov edi, eax
call fcn.0043dee0
mov ecx, eax
test ecx, ecx
jne 0x457280
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
cmp edi, dword [esp + 0x20]
je 0x4572d3
mov edi, dword [esp + 0x18]
mov esi, 5
jmp 0x458ae1
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
push 0x4c
call fcn.0049276f
add esp, 4
mov dword [esp + 0x70], eax
push 0x5c
call fcn.0049276f
add esp, 4
mov dword [esp + 0x48], eax
push 0x74
call fcn.0049276f
add esp, 4
mov dword [esp + 0x28], eax
push 0x50
call fcn.0049276f
add esp, 4
mov dword [esp + 0x74], eax
push 0x24
call fcn.0049276f
add esp, 4
mov dword [esp + 0x68], eax
push 0x50
call fcn.0049276f
mov dword [esp + 0x28], eax
add esp, 4
cmp dword [esp + 0x90], 0
mov eax, dword [0x4f3bec]
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0xa0]
mov dword [esp + 0x84], eax
jle 0x4586cc
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_83]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_78]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
nop word [eax + eax]
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 1
push eax
push 0x4c
push dword [esp + 0x7c]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586d5
cmp dword [esp + 0xc], 0x4c
jb 0x457e5b
xor eax, eax
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 2
jb 0x457e5b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x457444
push eax
call fcn.0049276f
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push 0
push eax
push dword [esp + 0x28]
push dword [esp + 0x90]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
mov eax, dword [esp + 0x20]
cmp dword [esp + 0xc], eax
jb 0x457e5b
add dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
test dword [eax + 0x38], 0x230
je 0x457489
mov edi, dword [esp + 0x48]
lea eax, [esp + 0xc]
push 0
push eax
push 0x5c
push edi
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 0x5c
jb 0x457e5b
mov eax, dword [edi + 0x20]
mov dword [esp + 0x64], eax
jmp 0x457496
push 0x5c
push 0
push edi
call fcn.00489e90
add esp, 0xc
mov eax, dword [esp + 0x70]
mov edx, dword [0x4f3be4]
movzx ecx, word [eax + 4]
movzx eax, cx
mov dword [esp + 0x3c], ecx
cmp ax, word [edx + 0x194]
jb 0x4574b8
xor eax, eax
jmp 0x4574d1
mov ecx, eax
mov eax, dword [edx + 0x198]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x3c]
imul eax, eax, 0x2c
add eax, dword [edx + 0x400]
xor edi, edi
movzx edx, cx
mov dword [esp + 0x3c], edi
test eax, eax
je 0x45750a
mov edi, dword [eax + 0x14]
test edi, edi
je 0x4586a5
mov eax, dword [edi + 0x36]
movzx edx, cx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
test byte [ecx + 0x3c], 8
jne 0x45750e
mov dword [edi + 0x36], 0
movzx edx, word [ecx + 4]
jmp 0x45750e
mov ecx, dword [esp + 0x70]
movsx eax, word [ecx]
push eax
push dword [ecx + 0x40]
push 0
push dword [esp + 0x70]
push dword [ecx + 0x14]
push dword [ecx + 0xc]
mov cx, word [ecx + 2]
call fcn.00432fa0
add esp, 0x18
mov ecx, eax
test edi, edi
je 0x45753a
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x36], eax
test ecx, ecx
js 0x4586bf
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x1278]
mov edi, dword [eax + ecx*8]
mov ecx, dword [esp + 0x70]
movzx eax, word [ecx]
mov word [edi], ax
movzx eax, word [ecx + 6]
mov word [edi + 0x1a], ax
mov eax, dword [ecx + 8]
mov dword [edi + 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x4c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x50], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x54], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x58], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x60], eax
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x64], eax
movups xmm0, xmmword [ecx + 0x28]
movups xmmword [edi + 0x68], xmm0
mov edx, dword [ecx + 0x38]
mov dword [edi + 0x78], edx
movzx eax, word [ecx + 0x3c]
mov word [edi + 0x7c], ax
mov eax, dword [ecx + 0x44]
mov dword [edi + 0xb4], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x4575c8
push eax
call fcn.00492790
mov edx, dword [edi + 0x78]
add esp, 4
test edx, 0x230
je 0x4576ca
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 4]
mov dword [edi + 0xc8], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0xcc], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xd8], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0xdc], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0xe0], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0xe4], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0xe8], eax
mov eax, dword [ecx + 0x20]
mov dword [edi + 0xec], eax
mov eax, dword [ecx + 0x24]
mov dword [edi + 0xf0], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0xf4], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0xf8], eax
mov eax, dword [ecx + 0x30]
mov dword [edi + 0x104], eax
mov eax, dword [ecx + 0x34]
mov dword [edi + 0x108], eax
mov eax, dword [ecx + 0x38]
mov dword [edi + 0x10c], eax
mov eax, dword [ecx + 0x3c]
mov dword [edi + 0x110], eax
mov eax, dword [ecx + 0x40]
mov dword [edi + 0x114], eax
mov eax, dword [ecx + 0x44]
mov dword [edi + 0x118], eax
mov eax, dword [ecx + 0x48]
mov dword [edi + 0x11c], eax
mov eax, dword [ecx + 0x4c]
mov dword [edi + 0x120], eax
mov eax, dword [ecx + 0x50]
mov dword [edi + 0x120], eax
mov dword [edi + 0xfc], 1
cmp word [ecx], 0
je 0x4576a6
mov dword [edi + 0xc0], 0x43aac0
movzx eax, word [ecx + 2]
cmp eax, 1
jne 0x4576bb
mov dword [edi + 0xc4], 0x43a930
jmp 0x4576ca
cmp eax, 2
jne 0x4576ca
mov dword [edi + 0xc4], 0x43aac0
test dl, 0x10
je 0x45783d
push 0
lea eax, [esp + 0x10]
push eax
push 0x74
push dword [esp + 0x34]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 0x74
jb 0x457e5b
mov eax, dword [esp + 0x28]
mov edx, edi
push 0
push dword [edi + 0x44]
mov ecx, dword [eax + 0x20]
call fcn.00435710
mov ecx, dword [esp + 0x50]
add esp, 8
mov eax, dword [ecx + 0x24]
mov dword [edi + 0xf0], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0xf4], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0xf8], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [edi + 0xec], eax
mov eax, dword [ecx]
mov dword [edi + 0x130], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x134], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x140], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x14c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x150], eax
mov ax, word [ecx + 0x14]
mov word [edi + 0x154], ax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x172], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x176], eax
mov eax, dword [edi + 0xcc]
cmp eax, 5
jne 0x45779b
mov edx, dword [edi + 0x1aa]
mov dword [esp + 0x7c], edx
jmp 0x45779f
mov edx, dword [esp + 0x7c]
movups xmm0, xmmword [ecx + 0x24]
movups xmmword [edi + 0x17e], xmm0
movups xmm0, xmmword [ecx + 0x34]
movups xmmword [edi + 0x18e], xmm0
movups xmm0, xmmword [ecx + 0x44]
movups xmmword [edi + 0x19e], xmm0
movups xmm0, xmmword [ecx + 0x54]
movups xmmword [edi + 0x1ae], xmm0
movups xmm0, xmmword [ecx + 0x64]
movups xmmword [edi + 0x1be], xmm0
jne 0x4577eb
mov dword [edi + 0x1aa], edx
mov eax, dword [ecx + 0x48]
add eax, edx
mov dword [edi + 0x1a2], eax
jmp 0x45783d
cmp eax, 0xd
jne 0x457815
cmp dword [edi + 0x17e], 0
je 0x45783d
mov eax, dword [0x4f3bec]
mov ecx, dword [edi + 0x182]
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + ecx*8]
mov dword [edi + 0x182], eax
jmp 0x45783d
cmp eax, 0xe
jne 0x45783d
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x45783d
push dword [esp + 0x10]
mov eax, dword [ecx]
push 0x1011
push edi
mov eax, dword [eax + 0x54]
call eax
test eax, eax
je 0x457e5b
test byte [edi + 0x78], 0x20
je 0x45793a
push 0
lea eax, [esp + 0x10]
push eax
push 0x50
push dword [esp + 0x80]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 0x50
jb 0x457e5b
mov ecx, dword [edi + 0xb8]
mov edx, dword [esp + 0x74]
add ecx, edi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [esp + 0x74]
mov edx, dword [edi + 0x44]
cmp dword [eax + 0x14], 0
je 0x457906
mov esi, dword [esp + 0x74]
movzx eax, word [edx + 6]
add eax, dword [esi + 0x14]
mov esi, dword [esp + 0x60]
add eax, edx
jmp 0x457908
xor eax, eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x45791d
mov edx, dword [ecx + 0x14]
add edx, eax
jmp 0x45791f
xor edx, edx
mov dword [ecx + 0x20], edx
cmp dword [ecx + 0x14], 0
je 0x45793a
test edx, edx
je 0x45793a
mov eax, dword [ecx + 0x44]
movzx eax, word [edx + eax*2 + 8]
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x457b2e
push 0
lea eax, [esp + 0x10]
push eax
push 0x24
push dword [esp + 0x74]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 0x24
jb 0x457e5b
mov edx, dword [edi + 0xbc]
xor ecx, ecx
add edx, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp word [edx + 0x18], 0xd
jne 0x45798e
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x68]
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [eax + 0x20]
mov dword [edx + 0x20], eax
cmp word [edx + 0x18], 0xd
jne 0x457af1
push 0
lea eax, [esp + 0x10]
push eax
push 0xc
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 0xc
jb 0x457e5b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4579fd
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [esp + 0x2c]
cmp eax, dword [esp + 0xa0]
je 0x457a27
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x4f3bec]
mov edx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x18]
call fcn.0043e070
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x457a27
mov edx, dword [esp + 0x30]
or word [edx + 0x20], 0x40
jmp 0x457a2b
mov edx, dword [esp + 0x30]
mov dword [edx + 0x1c], ecx
test ecx, ecx
je 0x457a42
mov eax, dword [ecx]
push dword [esp + 0xa4]
call dword [eax + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x457aff
mov dword [esp + 0x3c], 0
jle 0x457aff
nop
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x68], 0
push eax
push 4
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 4
jb 0x457e5b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x457ac2
mov eax, dword [ecx]
push dword [esp + 0x3c]
mov eax, dword [eax + 0x18]
call eax
sub eax, 0
je 0x457ab1
sub eax, 1
je 0x457ad6
sub eax, 1
jne 0x457ac2
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x64]
push dword [esp + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0xa8]
jl 0x457a60
jmp 0x457afb
mov ecx, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x64]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
push dword [esp + 0x40]
call dword [eax + 0x44]
jmp 0x457ac2
test ecx, ecx
je 0x457aff
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x457b1e
push dword [edx + 0x1c]
push dword [edx + 0x18]
push eax
mov eax, dword [0x4f3bec]
push dword [eax]
call dword [esp + 0x90]
mov eax, dword [esp + 0x30]
mov ecx, 0xfffb
and word [eax + 0x20], cx
mov eax, dword [edi + 0x78]
test eax, 0x100
je 0x457d5f
mov eax, dword [edi + 0x80]
add eax, edi
mov dword [esp + 0x3c], 0x1a
cmp word [esp + 0x50], 0xb
mov dword [esp + 0x2c], eax
jb 0x457b80
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 4
jb 0x457e5b
mov eax, dword [esp + 0x2c]
push dword [eax]
call fcn.00492790
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
shl eax, 4
push eax
call fcn.0049276f
mov ecx, eax
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x30], ecx
mov dword [eax], ecx
cmp dword [esp + 0x3c], 0
jle 0x457bf1
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.004566a0
mov dword [esp + 0x6c], eax
test eax, eax
je 0x457e5b
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
inc eax
add ecx, 0x10
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x3c]
jl 0x457bc0
cmp dword [esp + 0x6c], 0
je 0x457e5b
cmp word [esp + 0x50], 0x14
mov dword [esp + 0x54], 0xa
jb 0x457c33
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 4
jb 0x457e5b
mov ecx, dword [esp + 0x2c]
call fcn.00402b30
push 4
push dword [esp + 0x58]
call fcn.0049277a
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [ecx + 0x86], eax
test eax, eax
je 0x457d35
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x8a], eax
cmp dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
jle 0x457d35
nop dword [eax]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457d35
cmp dword [esp + 0xc], 2
jb 0x457d35
cmp word [esp + 0x34], 0
jbe 0x457d22
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x86]
push dword [eax + ecx*4]
call fcn.00492790
movzx eax, word [esp + 0x38]
add esp, 4
push eax
call fcn.0049276f
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x86]
push 0
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x86]
push dword [eax + edx*4]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
movzx eax, word [esp + 0x34]
cmp dword [esp + 0xc], eax
jb 0x457e5b
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x54]
jl 0x457c80
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x34]
push 4
add eax, 0x68
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 4
jb 0x457e5b
movzx eax, word [edi + 0x18]
cmp ax, 3
je 0x457d8d
cmp ax, 4
je 0x457daa
cmp ax, 5
je 0x457daa
cmp ax, 6
je 0x457daa
cmp ax, 7
je 0x457daa
cmp ax, 9
jne 0x4584ae
jmp 0x457daa
mov eax, dword [edi + 0x22e]
test eax, eax
je 0x457daa
push eax
call fcn.00492790
add esp, 4
mov dword [edi + 0x22e], 0
push 0
lea eax, [esp + 0x10]
push eax
push 0x50
push dword [esp + 0x30]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 0x50
jb 0x457e5b
push 0x50
push dword [esp + 0x28]
lea eax, [edi + 0x1f2]
push eax
call fcn.00489ff0
movzx eax, word [edi + 0x18]
add esp, 0xc
cmp ax, 3
jne 0x458463
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 2
jb 0x457e5b
mov ax, word [esp + 0x5c]
test ax, ax
je 0x45847c
movzx eax, ax
push eax
call fcn.0049276f
add esp, 4
mov ecx, eax
lea eax, [esp + 0xc]
mov dword [edi + 0x22e], ecx
push 0
push eax
movzx eax, word [esp + 0x64]
push eax
push ecx
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
movzx eax, word [esp + 0x5c]
cmp dword [esp + 0xc], eax
jae 0x45847c
mov edi, dword [esp + 0x1c]
push dword [esp + 0x70]
call fcn.00492790
add esp, 4
push dword [esp + 0x48]
call fcn.00492790
add esp, 4
push dword [esp + 0x28]
call fcn.00492790
add esp, 4
push dword [esp + 0x74]
call fcn.00492790
add esp, 4
push dword [esp + 0x68]
call fcn.00492790
add esp, 4
push dword [esp + 0x24]
call fcn.00492790
add esp, 4
test edi, edi
jne 0x4586ec
mov eax, dword [0x4f3bec]
mov edx, dword [eax + 0x1278]
cmp dword [eax + 0x3c], edi
jle 0x457f08
nop
mov ecx, dword [edx]
test ecx, ecx
jne 0x457ed0
mov ecx, dword [edx + 8]
add edx, 8
test ecx, ecx
je 0x457ec6
test byte [ecx + 0x78], 0x10
je 0x457efe
cmp dword [ecx + 0xcc], 9
jne 0x457efe
mov esi, dword [ecx + 0x1b2]
test esi, esi
je 0x457efe
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + esi*8 - 8]
mov dword [ecx + 0x1b2], eax
mov eax, dword [0x4f3bec]
inc edi
cmp edi, dword [eax + 0x3c]
jl 0x457ec0
mov esi, dword [esp + 0x60]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x58], 0
cmp dword [eax + 0x2c], 0
jle 0x458025
nop dword [eax]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
push dword [esp + 0x28]
call fcn.0049276f
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x80], edi
push 0
push eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586df
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x20]
jb 0x4586df
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
mov dword [esp + 0x40], edi
sar eax, 1
mov dword [esp + 0x38], 0
test eax, eax
jle 0x458002
mov edi, dword [0x4f3bec]
mov esi, dword [esp + 0x40]
nop dword [eax + eax]
movzx ecx, word [esi]
lea esi, [esi + 2]
mov eax, dword [edi + 0x1278]
mov eax, dword [eax + ecx*8]
cmp dword [eax + 0xbc], 0
je 0x457fe1
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x457fe1
push eax
push dword [edi]
call dword [sym.imp.MMFS2.dll_Ordinal_95]
mov edi, dword [0x4f3bec]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cdq
inc ecx
sub eax, edx
mov dword [esp + 0x38], ecx
sar eax, 1
cmp ecx, eax
jl 0x457fb0
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x80]
push edi
call fcn.00492790
mov eax, dword [0x4f3bec]
add esp, 4
mov edi, dword [esp + 0x58]
inc edi
mov dword [esp + 0x58], edi
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax + 0x2c]
jl 0x457f20
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
mov eax, dword [esp + 0x20]
test eax, eax
je 0x458183
push eax
call fcn.0049276f
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x80], edi
push 0
push eax
push dword [esp + 0x28]
push edi
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x20]
jb 0x4586ec
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x28], eax
cmp word [eax], 0xffff
je 0x458174
nop dword [eax + eax]
movzx ecx, word [edi]
add edi, 2
mov dword [esp + 0x40], ecx
test cx, cx
js 0x45815d
mov word [eax + 6], cx
mov edx, dword [0x4f3bec]
movzx ecx, cx
mov eax, dword [edx + 0x1278]
mov esi, dword [eax + ecx*8]
mov eax, 0xe070381d
mov ecx, dword [esp + 0x28]
sub ecx, dword [edx + 0x58]
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
or eax, 0xffff8000
mov word [esi + 0x14], ax
add esi, 0x16
mov eax, 0xffff8000
mov word [esi], ax
mov eax, dword [esp + 0x40]
movzx edx, word [edi]
add edi, 2
movzx eax, ax
mov dword [esp + 0x38], eax
test dx, dx
js 0x458159
nop dword [eax]
mov word [esi], dx
mov eax, dword [0x4f3bec]
movzx ecx, dx
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + ecx*8]
mov ecx, dword [esp + 0x38]
mov word [eax + 0x14], cx
lea esi, [eax + 0x16]
mov eax, 0xffff8000
mov word [esi], ax
movzx eax, dx
movzx edx, word [edi]
add edi, 2
mov dword [esp + 0x38], eax
test dx, dx
jns 0x458120
mov eax, dword [esp + 0x28]
add eax, 0x92
mov dword [esp + 0x28], eax
cmp word [eax], 0xffff
jne 0x4580b0
mov esi, dword [esp + 0x60]
push dword [esp + 0x80]
call fcn.00492790
add esp, 4
mov eax, dword [0x4f3be4]
cmp dword [eax + 0x284], 0
je 0x458196
call fcn.00454670
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4583ed
mov ecx, dword [0x4f3be4]
add eax, 0xff
cdq
and edx, 0xff
mov dword [esp + 0x40], ecx
push 1
lea edi, [edx + eax]
and edi, 0xffffff00
lea eax, [edi*4 + 8]
push eax
call fcn.0049277a
add esp, 8
test eax, eax
jne 0x45821b
call fcn.004aefaf
lea eax, [edi*4 + 8]
push 1
push eax
call fcn.0049277a
add esp, 8
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x284], eax
test eax, eax
je 0x4586ec
mov eax, dword [0x4f3be4]
mov ecx, dword [eax + 0x284]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x7c], ecx
mov dword [ecx + 4], edi
xor edi, edi
mov dword [ecx], eax
mov dword [esp + 0x68], edi
test eax, eax
jle 0x4583ed
xor eax, eax
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4583ed
cmp dword [esp + 0xc], 4
jb 0x4583ed
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4582c7
push eax
call fcn.0049276f
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x4586ec
push 0
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x28]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x20]
jb 0x4586ec
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
mov dword [eax + edi*4 + 8], ecx
test ecx, ecx
je 0x4583e0
cmp dword [ecx + 4], 0xc
jne 0x4583e0
xor edx, edx
mov dword [esp + 0x58], edx
cmp dword [ecx], edx
jle 0x4583e0
mov edi, dword [esp + 0x60]
lea eax, [ecx + 8]
nop word [eax + eax]
mov esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x40], eax
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x458310
mov eax, dword [ecx + 4]
sub esi, dword [esp + 0x40]
imul eax, edx
push 0
sar esi, 1
mov dword [esp + 0x3c], 0
add eax, ecx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call edi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4583aa
add eax, eax
push eax
call fcn.0049276f
mov ecx, eax
add esp, 4
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4586ec
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
add eax, eax
push eax
push ecx
push dword [esp + 0x20]
call edi
test eax, eax
je 0x4586ec
mov eax, dword [esp + 0x20]
add eax, eax
cmp dword [esp + 0xc], eax
jb 0x4586ec
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
inc edx
mov dword [ecx + esi*2 + 0xa], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + esi*2 + 0xe], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], edx
lea eax, [ecx + 8]
cmp edx, dword [ecx]
jl 0x458300
mov eax, dword [esp + 0x7c]
mov esi, edi
mov edi, dword [esp + 0x68]
inc edi
mov dword [esp + 0x68], edi
cmp edi, dword [eax]
jl 0x458256
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
mov edi, dword [0x4f3be8]
mov edi, dword [edi + 0x80]
mov ecx, edi
mov dword [esp + 0x24], edi
movzx eax, word [ecx]
mov edx, eax
mov dword [esp + 0x40], edx
test ax, ax
je 0x458447
movsx eax, dx
sub ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x458434
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
sub ecx, edi
cmp eax, ecx
je 0x4586f9
mov edi, dword [esp + 0x18]
mov esi, 5
jmp 0x458ae1
cmp ax, 9
jne 0x45847c
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00466760
test eax, eax
je 0x457e5b
test dword [edi + 0x78], 0x200
je 0x4584ae
mov eax, dword [edi + 0xbc]
test byte [eax + edi + 0x20], 0x20
je 0x4584ae
mov eax, dword [edi + 0x8c]
push edi
call eax
test dword [edi + 0x78], 0x230
je 0x4584ae
mov dword [edi + 0xfc], 1
cmp word [edi + 0x18], 8
jne 0x4584c8
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.0045a1e0
test eax, eax
je 0x457e5b
cmp word [edi + 0x18], 0x20
jl 0x458583
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 4
jne 0x457e5b
movsx eax, word [edi + 0x18]
imul edx, eax, 0x92
mov eax, dword [0x4f3be4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x40]
cmp eax, dword [edx + ecx - 0x11b4]
jne 0x4586b2
push 0
lea eax, [esp + 0x10]
mov byte [esp + 0x53], 0
push eax
push 1
lea eax, [esp + 0x5b]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x457e5b
cmp dword [esp + 0xc], 1
jne 0x457e5b
cmp byte [esp + 0x4f], 0
je 0x458583
movsx eax, word [edi + 0x18]
mov edx, dword [0x4f3bec]
imul ecx, eax, 0x92
mov eax, dword [edx + 0x1d4]
mov eax, dword [ecx + eax - 0x11d8]
test eax, eax
je 0x458589
push dword [esp + 0x10]
push edi
call eax
test eax, eax
je 0x457e5b
mov edx, dword [0x4f3bec]
test dword [edi + 0x78], 0x200
je 0x4585c0
mov eax, dword [edi + 0xbc]
mov ax, word [eax + edi + 0x20]
and ax, 1
movzx ecx, ax
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x4585c0
test cx, cx
je 0x4585b7
push 0
jmp 0x4585b9
push 1
push eax
push dword [edx]
call dword [esp + 0x64]
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x54], 0
je 0x458619
mov ecx, dword [edi + 0x128]
test ecx, ecx
jne 0x4585eb
xor edx, edx
mov ecx, edi
call fcn.00401e40
mov ecx, dword [edi + 0x128]
mov eax, dword [esp + 0x48]
test ecx, ecx
je 0x4585f8
mov ecx, dword [ecx]
mov eax, dword [eax + 0x54]
dec eax
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x34]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x90]
jl 0x4573a0
xor edi, edi
jmp 0x457e5f
cmp dword [eax + 0x58], 0
je 0x4585f8
or word [edi + 0x7c], 1
test dword [edi + 0x78], 0x220
jne 0x45867a
mov eax, dword [0x4f3bec]
movsx esi, word [edi]
mov eax, dword [eax + 0x1278]
mov dword [eax + esi*8 + 4], 0
mov edx, esi
test edx, edx
jns 0x45864c
add edx, 0x1f
sar edx, 5
mov eax, dword [0x4f3bec]
mov ecx, dword [eax + 0x1168]
mov eax, dword [ecx + edx*4]
bts eax, esi
mov esi, dword [esp + 0x60]
mov dword [ecx + edx*4], eax
mov ecx, 1
mov eax, dword [0x4f3bec]
mov word [eax + 0xfe], cx
jmp 0x458681
mov ecx, edi
call fcn.0043a9b0
mov ecx, dword [edi + 0x12c]
test ecx, ecx
je 0x4585f8
mov edi, dword [esp + 0x48]
mov ecx, dword [ecx]
mov eax, dword [edi + 0x58]
mov edx, dword [ecx]
dec eax
push eax
push ecx
call dword [edx + 0x34]
jmp 0x4585fc
mov dword [esp + 0x14], 4
jmp 0x457e5b
mov dword [esp + 0x14], 3
jmp 0x457e5b
mov dword [esp + 0x14], 5
jmp 0x457e5b
mov edi, dword [esp + 0x40]
jmp 0x457e5f
mov edi, 1
jmp 0x457e5f
test edi, edi
je 0x4586ec
push edi
call fcn.00492790
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x458ae1
test eax, eax
je 0x45887b
test dx, dx
je 0x45887b
nop word [eax + eax]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [edi + 4]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 2
jb 0x458a82
cmp word [esp + 0x50], 0xc
lea ecx, [esp + 0xc]
push 0
lea eax, [edi + 8]
push ecx
jb 0x458786
push 4
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 4
jb 0x458a82
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [edi + 0xc]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 4
jmp 0x4587e9
push 2
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 2
jb 0x458a82
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [edi + 0xc]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 2
jb 0x458a82
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 2
jb 0x458a82
mov eax, dword [esp + 0x24]
add edi, 0x10
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
add eax, ecx
mov dword [esp + 0x38], eax
je 0x458864
push 0
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [edi + 0xa]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 1
jb 0x458a82
push 0
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [edi + 0xb]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x458a82
cmp dword [esp + 0xc], 1
jb 0x458a82
movsx eax, word [edi]
add edi, eax
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
test eax, eax
jg 0x458806
mov edi, dword [esp + 0x24]
movsx eax, word [edi]
sub edi, eax
mov dword [esp + 0x24], edi
cmp word [edi], 0
jne 0x458710
mov eax, dword [0x4f3be8]
mov edi, dword [eax + 0x80]
cmp word [edi], 0
je 0x4588c9
nop dword [eax]
movzx edx, byte [edi + 2]
lea ecx, [edi + 0x10]
test edx, edx
je 0x4588be
nop dword [eax + eax]
cmp dword [ecx + 2], 0xfffffffa
jne 0x4588b4
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0xd0]
mov dword [edi + 8], eax
movsx eax, word [ecx]
dec edx
add ecx, eax
test edx, edx
jg 0x4588a0
movsx eax, word [edi]
sub edi, eax
cmp word [edi], 0
jne 0x458890
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x9c], 0
push eax
push 4
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
cmp dword [esp + 0x98], 0
je 0x458abe
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + 0x978]
mov eax, dword [0x4f3be8]
mov eax, dword [eax + 0x974]
test eax, eax
je 0x4586ec
push 0
lea ecx, [esp + 0x10]
push ecx
push 8
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 8
jb 0x4586ec
mov ecx, dword [0x4f3be8]
mov eax, dword [ecx + 0x974]
cmp dword [eax], 0xd
jne 0x458aa6
push 0
lea eax, [esp + 0x10]
push eax
push 0xc
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 0xc
jb 0x4586ec
test edi, edi
je 0x4589a5
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x54]
call eax
cmp eax, dword [esp + 0xa0]
je 0x4589cc
mov ecx, dword [0x4f3be8]
call fcn.00430700
mov eax, dword [0x4f3bec]
mov edx, dword [esp + 0xa0]
mov ecx, dword [eax + 0x4f4]
mov ecx, dword [ecx + 0x34]
call fcn.0043e070
mov edi, eax
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0x978], edi
test edi, edi
je 0x4589ec
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0xa4]
call dword [eax + 0x38]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x458aaf
mov dword [esp + 0x54], 0
jle 0x458aaf
nop dword [eax]
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
push eax
push 4
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
je 0x4586ec
cmp dword [esp + 0xc], 4
jb 0x4586ec
test edi, edi
je 0x458a6e
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x54]
mov eax, dword [eax + 0x18]
call eax
sub eax, 0
je 0x458a5f
sub eax, 1
je 0x458a8d
sub eax, 1
jne 0x458a6e
push dword [esp + 0x24]
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x58]
call dword [eax + 0x40]
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0xa8]
jl 0x458a10
jmp 0x458aaf
mov edi, dword [esp + 0x18]
mov esi, 1
jmp 0x458ae1
movss xmm0, dword [esp + 0x24]
mov eax, dword [edi]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push dword [esp + 0x58]
call dword [eax + 0x44]
jmp 0x458a6e
test edi, edi
jne 0x458aaf
call fcn.00430700
mov eax, dword [0x4f3bec]
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x97c], 1
xor esi, esi
jmp 0x458adc
mov esi, 1
mov edi, esi
jmp 0x458ae1
mov esi, eax
jmp 0x458ae1
mov esi, 1
xor edi, edi
jmp 0x458ae1
mov esi, dword [esp + 0x14]
mov edi, 1
cmp dword [esp + 0x88], 0
mov eax, dword [0x4f3be4]
mov dword [eax + 0x3b4], 0
jne 0x458b0a
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x458b0a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x458b56
push 0x100
lea eax, [esp + 0xc4]
push eax
lea eax, [esi + 0x81]
push eax
push dword [0x4f3bb0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x4f3bec]
push 0x30
mov eax, dword [ecx + 0x4f4]
mov eax, dword [eax + 0x34]
push dword [eax + 0x80]
lea eax, [esp + 0xc8]
push eax
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 6
call fcn.00441c10
call fcn.0045d6d0
mov ecx, dword [0x4f3bec]
mov eax, edi
pop edi
pop esi
mov dword [ecx + 0x1270], 0
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.00488295
mov esp, ebp
pop ebp
ret
call fcn.00488807
int3