Function at 0x450d00
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 [0x4b1ca0]
xor eax, esp
mov dword [esp + 0x4c4], eax
mov eax, dword [0x4b4b9c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], 0
push esi
mov esi, ecx
mov dword [esp + 8], esi
push edi
test eax, eax
je 0x450d44
mov eax, dword [eax + 0x400]
mov dword [esp + 0x88], eax
cmp esi, 0xffffffff
je 0x450d56
mov dword [esp + 0x80], 1
jmp 0x450d7d
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c4]
call fcn.00450920
add esp, 4
test eax, eax
je 0x450fc3
mov esi, dword [esp + 0xc]
mov eax, 1
mov edi, eax
cmp esi, 0xffffffff
je 0x452f2b
mov ecx, str.MMF2Position:
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450d95
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 8]
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 0x452f22
mov ecx, str.MMF2Position:
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450dd0
sub ecx, edx
cmp dword [esp + 8], ecx
jb 0x452f22
cmp ecx, 0x10
jae 0x452feb
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 0x450e23
test dl, dl
je 0x450e1f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x450e23
add eax, 2
add ecx, esi
test dl, dl
jne 0x450e04
xor eax, eax
jmp 0x450e28
sbb eax, eax
or eax, 1
test eax, eax
jne 0x452f3c
push eax
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452f3c
cmp dword [esp + 8], esi
jb 0x452f3c
mov ax, word [esp + 0x48]
mov ecx, 0x7fff
and ax, cx
mov esi, 4
mov dword [esp + 0x10], esi
mov word [esp + 0x48], ax
cmp ax, 0x14
jne 0x452f3c
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452f3c
cmp dword [esp + 8], 2
jb 0x452f3c
movzx eax, word [esp + 0x40]
push 1
push eax
call fcn.00478e79
add esp, 8
mov esi, eax
lea eax, [esp + 8]
mov dword [esp + 0x38], esi
push 0
push eax
movzx eax, word [esp + 0x48]
push eax
push esi
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452f38
movzx eax, word [esp + 0x40]
cmp dword [esp + 8], eax
jb 0x452f38
mov eax, dword [0x4b4b94]
mov dword [esp + 0x10], 3
mov ecx, dword [eax + 0x80]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x450f1d
test dx, dx
je 0x450f19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x450f1d
add eax, 4
add ecx, 4
test dx, dx
jne 0x450ef7
xor esi, esi
jmp 0x450f22
sbb esi, esi
or esi, 1
push dword [esp + 0x38]
call fcn.00478e8f
add esp, 4
test esi, esi
jne 0x452f38
push esi
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452f38
cmp dword [esp + 8], 4
jb 0x452f38
mov eax, dword [esp + 0x98]
mov esi, 3
cmp eax, dword [esp + 0x88]
jne 0x452f3c
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452f3c
cmp dword [esp + 8], 2
jb 0x452f3c
mov esi, dword [esp + 0x58]
cmp dword [esi], 0
je 0x450fd9
cmp dword [esp + 0x80], 0
jne 0x450fbc
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [esp + 0x40]
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.0047539e
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4b4b94]
mov esi, 6
movzx eax, word [esp + 0x40]
mov dword [esp + 0x10], esi
cmp eax, dword [ecx + 0x1f0]
jne 0x452f3c
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_191]
push 0
push 1
mov dword [ecx + 0x3b4], 1
push dword [0x4b4b64]
call esi
push 0
push 2
push dword [0x4b4b64]
call esi
mov ecx, dword [0x4b4b98]
or edx, 0xffffffff
push 0
call fcn.00428ee0
mov eax, dword [0x4b4b94]
add esp, 4
test byte [eax + 0x16], 1
jne 0x451044
call fcn.00437bd0
xor ecx, ecx
call fcn.0044dee0
mov eax, dword [0x4b4b98]
cmp dword [eax + 0x8fc], 0
je 0x45106d
call fcn.0044a3c0
mov eax, dword [0x4b4b98]
mov dword [eax + 0x8fc], 0
call fcn.00457380
call fcn.0044c390
xor ecx, ecx
call fcn.0044bab0
test ax, ax
jne 0x452f38
mov eax, dword [0x4b4b9c]
cmp dword [eax + 0x1a8], 0
jne 0x4510a8
push 1
push dword [0x4b4b6c]
call dword [sym.imp.MMFS2.dll_Ordinal_68]
call fcn.00431200
mov ecx, dword [0x4b4b98]
or edx, 0xffffffff
push 0
call fcn.00428ee0
add esp, 4
call fcn.0044d150
test eax, eax
jne 0x452f38
call fcn.00448780
test ax, ax
jne 0x452f38
call fcn.0042dbb0
push 0x68
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
call fcn.00478e6e
mov esi, dword [esp + 0x64]
add esp, 4
mov edi, eax
lea eax, [esp + 8]
push 0
push eax
push 0x68
push edi
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452f2f
cmp dword [esp + 8], 0x68
jb 0x452b4c
mov eax, dword [0x4b4b9c]
movzx ecx, byte [edi]
mov byte [eax + 0x26], cl
mov eax, dword [0x4b4b9c]
movzx ecx, byte [edi + 1]
mov byte [eax + 0x27], cl
mov eax, dword [0x4b4b9c]
movzx ecx, word [edi + 2]
mov word [eax + 0x28], cx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 4]
mov dword [eax + 0xb0], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 8]
mov dword [eax + 0xb4], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xd0], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0xd4], ecx
call fcn.004071b0
mov ecx, dword [edi + 0x14]
add ecx, eax
mov eax, dword [0x4b4b9c]
mov dword [eax + 0xd8], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x110], ecx
mov eax, dword [0x4b4b9c]
movzx ecx, word [edi + 0x1c]
mov word [eax + 0x14c], cx
mov eax, dword [0x4b4b9c]
movzx ecx, word [edi + 0x1e]
mov word [eax + 0x18c], cx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x190], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x194], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x19c], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0x1a0], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x30]
mov dword [eax + 0x1b4], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x34]
mov dword [eax + 0x1b8], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x38]
mov dword [eax + 0x1bc], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x3c]
mov dword [eax + 0x1c0], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x40]
mov dword [eax + 0x1c4], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x1c8], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x1cc], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x1d0], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x50]
mov dword [eax + 0x4d8], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x54]
mov dword [eax + 0x4dc], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x58]
mov dword [eax + 0x4e0], ecx
mov ecx, dword [edi + 0x5c]
mov eax, dword [0x4b4b9c]
push edi
mov dword [eax + 0x504], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x60]
mov dword [eax + 0x508], ecx
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x64]
mov dword [eax + 0x50c], ecx
call fcn.00478e8f
mov ecx, dword [0x4b4b9c]
add esp, 4
mov eax, dword [ecx + 0xd0]
push 0x2c
mov dword [ecx + 0x430], eax
call fcn.00478e6e
add esp, 4
mov edi, eax
lea eax, [esp + 8]
push 0
push eax
push 0x2c
push edi
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 0x2c
jb 0x452b4c
mov eax, dword [0x4b4b9c]
push edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4b4b9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [0x4b4b9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 8]
mov dword [ecx + 0x24], eax
mov eax, dword [0x4b4b9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x28], eax
mov eax, dword [0x4b4b9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x10]
mov dword [ecx], eax
mov eax, dword [0x4b4b9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [0x4b4b9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x4b4b9c]
movups xmm0, xmmword [edi + 0x18]
mov eax, dword [eax + 0x1c]
movups xmmword [eax + 0x34], xmm0
call fcn.00478e8f
add esp, 4
push 0x1c
call fcn.00478e6e
mov edi, eax
mov dword [esp + 0x30], 0
mov eax, dword [0x4b4b9c]
add esp, 4
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x2c], 0
jle 0x451422
mov dword [esp + 0x64], 0
nop word [eax + eax]
push 0
lea eax, [esp + 0xc]
push eax
push 0x1c
push edi
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x451422
cmp dword [esp + 8], 0x1c
jb 0x451422
mov eax, dword [0x4b4b9c]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x30]
mov eax, dword [edi]
add ecx, edx
add edx, 0x60
mov dword [esp + 0x64], 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 [0x4b4b9c]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x1c]
cmp ecx, dword [eax + 0x2c]
jl 0x4513b0
push edi
call fcn.00478e8f
add esp, 4
mov dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [0x4b4b9c]
push 0x10
mov eax, dword [eax + 0x18]
push dword [eax + 0x25c]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
mov eax, dword [esp + 0x1c]
cmp dword [esp + 8], eax
jb 0x452b4c
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x18]
push dword [eax + 0x258]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x1c]
jb 0x452b4c
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
xor edi, edi
mov dword [esp + 0x68], 1
cmp dword [esp + 0x78], edi
jle 0x451528
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xa0]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
call fcn.00450c40
mov esi, eax
mov dword [esp + 0x68], esi
test esi, esi
je 0x451524
mov ecx, dword [0x4b4b9c]
lea eax, [esp + 0xa0]
push eax
mov edx, edi
mov ecx, dword [ecx + 0x18]
call fcn.00406660
inc edi
add esp, 4
cmp edi, dword [esp + 0x78]
jl 0x4514d2
mov esi, dword [esp + 0x60]
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x264]
jge 0x451575
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.00406660
mov eax, dword [0x4b4b9c]
inc edi
add esp, 4
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x264]
jl 0x451550
cmp dword [esp + 0x68], 0
je 0x452b4c
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
xor edi, edi
cmp dword [esp + 0x78], edi
jle 0x451664
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x45165c
cmp dword [esp + 8], 2
jb 0x45165c
mov ax, word [esp + 0x30]
test ax, ax
je 0x451643
movzx eax, ax
push eax
call fcn.00478e6e
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x45165c
push 0
lea eax, [esp + 0xc]
push eax
movzx eax, word [esp + 0x38]
push eax
push ecx
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x451650
movzx eax, word [esp + 0x30]
cmp dword [esp + 8], eax
jb 0x451650
mov ecx, dword [0x4b4b9c]
mov edx, edi
push dword [esp + 0x28]
mov ecx, dword [ecx + 0x18]
call fcn.00406750
add esp, 4
push dword [esp + 0x28]
call fcn.00478e8f
add esp, 4
inc edi
cmp edi, dword [esp + 0x78]
jl 0x4515b6
jmp 0x451664
push dword [esp + 0x28]
call fcn.00478e8f
add esp, 4
mov dword [esp + 0x68], 0
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x278]
jge 0x451696
push 0x4a2840
mov edx, edi
mov ecx, eax
call fcn.00406750
mov eax, dword [0x4b4b9c]
inc edi
add esp, 4
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x278]
jl 0x451674
cmp dword [esp + 0x68], 0
je 0x452b4c
xor edi, edi
call fcn.00438d80
mov eax, dword [0x4b4b94]
mov dword [eax + 0x1a0], edi
call fcn.00438e10
mov ecx, eax
test ecx, ecx
je 0x4516d8
nop
cmp word [ecx + 2], 2
lea eax, [edi + 1]
cmovb eax, edi
mov edi, eax
call fcn.00438e10
mov ecx, eax
test ecx, ecx
jne 0x4516c0
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
cmp edi, dword [esp + 0x1c]
je 0x451713
mov edi, dword [esp + 0x14]
mov esi, 5
jmp 0x452f41
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
push 0x4c
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x6c], eax
push 0x5c
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x44], eax
push 0x74
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x28], eax
push 0x50
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x70], eax
push 0x24
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x64], eax
push 0x50
call fcn.00478e6e
mov dword [esp + 0x30], eax
add esp, 4
cmp dword [esp + 0x94], 0
mov eax, dword [0x4b4b9c]
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0xa0]
mov dword [esp + 0x84], eax
jle 0x452b2c
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_83]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_78]
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_286]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x1c], 1
push eax
push 0x4c
push dword [esp + 0x78]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b35
cmp dword [esp + 8], 0x4c
jb 0x4522dd
xor eax, eax
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 2
jb 0x4522dd
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x451894
push eax
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
push 0
push eax
push dword [esp + 0x24]
push dword [esp + 0x90]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
mov eax, dword [esp + 0x1c]
cmp dword [esp + 8], eax
jb 0x4522dd
add dword [esp + 0x84], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], 0xffffffff
test dword [eax + 0x38], 0x230
je 0x4518d9
mov edi, dword [esp + 0x44]
lea eax, [esp + 8]
push 0
push eax
push 0x5c
push edi
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 0x5c
jb 0x4522dd
mov eax, dword [edi + 0x20]
mov dword [esp + 0x50], eax
jmp 0x4518e6
push 0x5c
push 0
push edi
call fcn.00476a30
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov edx, dword [0x4b4b94]
movzx ecx, word [eax + 4]
movzx eax, cx
mov dword [esp + 0x34], ecx
cmp ax, word [edx + 0x194]
jb 0x451908
xor eax, eax
jmp 0x451921
mov ecx, eax
mov eax, dword [edx + 0x198]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x34]
imul eax, eax, 0x2c
add eax, dword [edx + 0x400]
xor edi, edi
movzx edx, cx
mov dword [esp + 0x34], edi
test eax, eax
je 0x45195a
mov edi, dword [eax + 0x14]
test edi, edi
je 0x452b05
mov eax, dword [edi + 0x36]
movzx edx, cx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
test byte [ecx + 0x3c], 8
jne 0x45195e
mov dword [edi + 0x36], 0
movzx edx, word [ecx + 4]
jmp 0x45195e
mov ecx, dword [esp + 0x6c]
movsx eax, word [ecx]
push eax
push dword [ecx + 0x40]
push 0
push dword [esp + 0x5c]
push dword [ecx + 0x14]
push dword [ecx + 0xc]
mov cx, word [ecx + 2]
call fcn.0042f770
add esp, 0x18
mov ecx, eax
test edi, edi
je 0x45198a
mov eax, dword [esp + 0x34]
mov dword [edi + 0x36], eax
test ecx, ecx
js 0x452b1f
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x1278]
mov edi, dword [eax + ecx*8]
mov ecx, dword [esp + 0x6c]
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 + 0x24]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x451a18
push eax
call fcn.00478e8f
mov edx, dword [edi + 0x78]
add esp, 4
test edx, 0x230
je 0x451b1a
mov ecx, dword [esp + 0x44]
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 0x451af6
mov dword [edi + 0xc0], 0x436320
movzx eax, word [ecx + 2]
cmp eax, 1
jne 0x451b0b
mov dword [edi + 0xc4], 0x436190
jmp 0x451b1a
cmp eax, 2
jne 0x451b1a
mov dword [edi + 0xc4], 0x436320
test dl, 0x10
je 0x451c8d
push 0
lea eax, [esp + 0xc]
push eax
push 0x74
push dword [esp + 0x34]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 0x74
jb 0x4522dd
mov eax, dword [esp + 0x28]
mov edx, edi
push 0
push dword [edi + 0x44]
mov ecx, dword [eax + 0x20]
call fcn.004319e0
mov ecx, dword [esp + 0x4c]
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 0x451beb
mov edx, dword [edi + 0x1aa]
mov dword [esp + 0x74], edx
jmp 0x451bef
mov edx, dword [esp + 0x74]
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 0x451c3b
mov dword [edi + 0x1aa], edx
mov eax, dword [ecx + 0x48]
add eax, edx
mov dword [edi + 0x1a2], eax
jmp 0x451c8d
cmp eax, 0xd
jne 0x451c65
cmp dword [edi + 0x17e], 0
je 0x451c8d
mov eax, dword [0x4b4b9c]
mov ecx, dword [edi + 0x182]
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + ecx*8]
mov dword [edi + 0x182], eax
jmp 0x451c8d
cmp eax, 0xe
jne 0x451c8d
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x451c8d
push dword [esp + 0xc]
mov eax, dword [ecx]
push 0x1011
push edi
mov eax, dword [eax + 0x54]
call eax
test eax, eax
je 0x4522dd
test byte [edi + 0x78], 0x20
je 0x451d87
push 0
lea eax, [esp + 0xc]
push eax
push 0x50
push dword [esp + 0x7c]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 0x50
jb 0x4522dd
mov ecx, dword [edi + 0xb8]
mov edx, dword [esp + 0x70]
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 + 0x70]
mov edx, dword [edi + 0x44]
cmp dword [eax + 0x14], 0
je 0x451d53
mov esi, dword [esp + 0x70]
movzx eax, word [edx + 6]
add eax, dword [esi + 0x14]
mov esi, dword [esp + 0x60]
add eax, edx
jmp 0x451d55
xor eax, eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x451d6a
mov edx, dword [ecx + 0x14]
add edx, eax
jmp 0x451d6c
xor edx, edx
mov dword [ecx + 0x20], edx
cmp dword [ecx + 0x14], 0
je 0x451d87
test edx, edx
je 0x451d87
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 0x451f7e
push 0
lea eax, [esp + 0xc]
push eax
push 0x24
push dword [esp + 0x70]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 0x24
jb 0x4522dd
mov edx, dword [edi + 0xbc]
xor ecx, ecx
add edx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp word [edx + 0x18], 0xd
jne 0x451ddb
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x64]
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 0x451f41
push 0
lea eax, [esp + 0xc]
push eax
push 0xc
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 0xc
jb 0x4522dd
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x451e4a
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [esp + 0x20]
cmp eax, dword [esp + 0xa0]
je 0x451e74
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x4b4b9c]
mov edx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x18]
call fcn.00438e60
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x451e74
mov edx, dword [esp + 0x24]
or word [edx + 0x20], 0x40
jmp 0x451e78
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1c], ecx
test ecx, ecx
je 0x451e8f
mov eax, dword [ecx]
push dword [esp + 0xa4]
call dword [eax + 0x38]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x451f4f
mov dword [esp + 0x34], 0
jle 0x451f4f
nop dword [eax]
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x54], 0
push eax
push 4
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 4
jb 0x4522dd
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x451f12
mov eax, dword [ecx]
push dword [esp + 0x34]
mov eax, dword [eax + 0x18]
call eax
sub eax, 0
je 0x451f01
sub eax, 1
je 0x451f26
sub eax, 1
jne 0x451f12
mov ecx, dword [esp + 0x20]
push dword [esp + 0x50]
push dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0xa8]
jl 0x451eb0
jmp 0x451f4b
mov ecx, dword [esp + 0x20]
movss xmm0, dword [esp + 0x50]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
push dword [esp + 0x38]
call dword [eax + 0x44]
jmp 0x451f12
test ecx, ecx
je 0x451f4f
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x451f6e
push dword [edx + 0x1c]
push dword [edx + 0x18]
push eax
mov eax, dword [0x4b4b9c]
push dword [eax]
call dword [esp + 0xac]
mov eax, dword [esp + 0x24]
mov ecx, 0xfffb
and word [eax + 0x20], cx
mov eax, dword [edi + 0x78]
test eax, 0x100
je 0x4521ab
mov eax, dword [edi + 0x80]
add eax, edi
mov dword [esp + 0x34], 0x1a
cmp word [esp + 0x48], 0xb
mov dword [esp + 0x20], eax
jb 0x451fd0
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 4
jb 0x4522dd
mov eax, dword [esp + 0x20]
push dword [eax]
call fcn.00478e8f
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
shl eax, 4
push eax
call fcn.00478e6e
mov ecx, eax
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x24], ecx
mov dword [eax], ecx
cmp dword [esp + 0x34], 0
jle 0x452041
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.00450c40
mov dword [esp + 0x68], eax
test eax, eax
je 0x4522dd
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
inc eax
add ecx, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x34]
jl 0x452010
cmp dword [esp + 0x68], 0
je 0x4522dd
cmp word [esp + 0x48], 0x14
mov dword [esp + 0x54], 0xa
jb 0x452083
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 4
jb 0x4522dd
mov ecx, dword [esp + 0x20]
call fcn.004027a0
push 4
push dword [esp + 0x58]
call fcn.00478e79
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [ecx + 0x86], eax
test eax, eax
je 0x452181
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x8a], eax
cmp dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
jle 0x452181
nop dword [eax]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452181
cmp dword [esp + 8], 2
jb 0x452181
cmp word [esp + 0x30], 0
jbe 0x45216e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x86]
push dword [eax + ecx*4]
call fcn.00478e8f
movzx eax, word [esp + 0x34]
add esp, 4
push eax
call fcn.00478e6e
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x86]
push 0
mov dword [ecx + edx*4], eax
lea eax, [esp + 0xc]
push eax
movzx eax, word [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x86]
push dword [eax + edx*4]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
movzx eax, word [esp + 0x30]
cmp dword [esp + 8], eax
jb 0x4522dd
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x54]
jl 0x4520d0
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x28]
push 4
add eax, 0x68
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 4
jb 0x4522dd
movzx eax, word [edi + 0x18]
cmp ax, 3
je 0x4521d9
cmp ax, 4
je 0x452222
cmp ax, 5
je 0x452222
cmp ax, 6
je 0x452222
cmp ax, 7
je 0x452222
cmp ax, 9
jne 0x45290e
jmp 0x452222
mov eax, dword [edi + 0x2dc]
test eax, eax
je 0x4521f6
push eax
call fcn.00478e8f
add esp, 4
mov dword [edi + 0x2dc], 0
mov eax, dword [edi + 0x2f0]
mov dword [esp + 0x50], eax
test eax, eax
je 0x452222
mov ecx, eax
call dword [esp + 0x7c]
push 0x10
push dword [esp + 0x54]
call fcn.00475679
add esp, 8
mov dword [edi + 0x2f0], 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x50
push dword [esp + 0x38]
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 0x50
jb 0x4522dd
push 0x50
push dword [esp + 0x30]
lea eax, [edi + 0x2a0]
push eax
call fcn.00476b90
movzx eax, word [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x2e4], 0
cmp ax, 3
jne 0x4528c3
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 2
jb 0x4522dd
mov ax, word [esp + 0x5c]
test ax, ax
je 0x4528dc
movzx eax, ax
push eax
call fcn.00478e6e
add esp, 4
mov ecx, eax
lea eax, [esp + 8]
mov dword [edi + 0x2dc], ecx
push 0
push eax
movzx eax, word [esp + 0x64]
push eax
push ecx
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
movzx eax, word [esp + 0x5c]
cmp dword [esp + 8], eax
jae 0x4528dc
mov edi, dword [esp + 0x18]
push dword [esp + 0x6c]
call fcn.00478e8f
add esp, 4
push dword [esp + 0x44]
call fcn.00478e8f
add esp, 4
push dword [esp + 0x28]
call fcn.00478e8f
add esp, 4
push dword [esp + 0x70]
call fcn.00478e8f
add esp, 4
push dword [esp + 0x64]
call fcn.00478e8f
add esp, 4
push dword [esp + 0x2c]
call fcn.00478e8f
add esp, 4
test edi, edi
jne 0x452b4c
mov eax, dword [0x4b4b9c]
mov edx, dword [eax + 0x1278]
cmp dword [eax + 0x3c], edi
jle 0x452389
mov ecx, dword [edx]
test ecx, ecx
jne 0x452351
mov ecx, dword [edx + 8]
add edx, 8
test ecx, ecx
je 0x452347
test byte [ecx + 0x78], 0x10
je 0x45237f
cmp dword [ecx + 0xcc], 9
jne 0x45237f
mov esi, dword [ecx + 0x1b2]
test esi, esi
je 0x45237f
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + esi*8 - 8]
mov dword [ecx + 0x1b2], eax
mov eax, dword [0x4b4b9c]
inc edi
cmp edi, dword [eax + 0x3c]
jl 0x452341
mov esi, dword [esp + 0x60]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x58], 0
cmp dword [eax + 0x2c], 0
jle 0x452496
nop
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
push dword [esp + 0x28]
call fcn.00478e6e
add esp, 4
mov edi, eax
lea eax, [esp + 8]
mov dword [esp + 0x7c], edi
push 0
push eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b3f
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x1c]
jb 0x452b3f
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
mov dword [esp + 0x3c], edi
sar eax, 1
mov dword [esp + 0x38], 0
test eax, eax
jle 0x452473
mov edi, dword [0x4b4b9c]
mov esi, dword [esp + 0x3c]
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 0x452455
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x452455
push eax
push dword [edi]
call dword [sym.imp.MMFS2.dll_Ordinal_95]
mov edi, dword [0x4b4b9c]
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 0x452424
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x7c]
push edi
call fcn.00478e8f
mov eax, dword [0x4b4b9c]
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 0x4523a0
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4525e3
push eax
call fcn.00478e6e
add esp, 4
mov edi, eax
lea eax, [esp + 8]
mov dword [esp + 0x7c], edi
push 0
push eax
push dword [esp + 0x24]
push edi
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x1c]
jb 0x452b4c
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x28], eax
cmp word [eax], 0xffff
je 0x4525d7
movzx ecx, word [edi]
add edi, 2
mov dword [esp + 0x3c], ecx
test cx, cx
js 0x4525c0
mov word [eax + 6], cx
mov edx, dword [0x4b4b9c]
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 + 0x3c]
movzx edx, word [edi]
add edi, 2
movzx eax, ax
mov dword [esp + 0x38], eax
test dx, dx
js 0x4525bc
mov word [esi], dx
mov eax, dword [0x4b4b9c]
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 0x452583
mov eax, dword [esp + 0x28]
add eax, 0x92
mov dword [esp + 0x28], eax
cmp word [eax], 0xffff
jne 0x452516
mov esi, dword [esp + 0x60]
push dword [esp + 0x7c]
call fcn.00478e8f
add esp, 4
mov eax, dword [0x4b4b94]
cmp dword [eax + 0x284], 0
je 0x4525f6
call fcn.0044ec10
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45284d
mov ecx, dword [0x4b4b94]
add eax, 0xff
cdq
and edx, 0xff
mov dword [esp + 0x3c], ecx
push 1
lea edi, [edx + eax]
and edi, 0xffffff00
lea eax, [edi*4 + 8]
push eax
call fcn.00478e79
add esp, 8
test eax, eax
jne 0x45267b
call fcn.004821fd
lea eax, [edi*4 + 8]
push 1
push eax
call fcn.00478e79
add esp, 8
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x284], eax
test eax, eax
je 0x452b4c
mov eax, dword [0x4b4b94]
mov ecx, dword [eax + 0x284]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], ecx
mov dword [ecx + 4], edi
xor edi, edi
mov dword [ecx], eax
mov dword [esp + 0x64], edi
test eax, eax
jle 0x45284d
xor eax, eax
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x45284d
cmp dword [esp + 8], 4
jb 0x45284d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x452727
push eax
call fcn.00478e6e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x452b4c
push 0
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0x24]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x1c]
jb 0x452b4c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edi*4 + 8], ecx
test ecx, ecx
je 0x452840
cmp dword [ecx + 4], 0xc
jne 0x452840
xor edx, edx
mov dword [esp + 0x58], edx
cmp dword [ecx], edx
jle 0x452840
mov edi, dword [esp + 0x60]
lea eax, [ecx + 8]
nop word [eax + eax]
mov esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x3c], eax
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x452770
mov eax, dword [ecx + 4]
sub esi, dword [esp + 0x3c]
imul eax, edx
push 0
sar esi, 1
mov dword [esp + 0x3c], 0
add eax, ecx
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45280a
add eax, eax
push eax
call fcn.00478e6e
mov ecx, eax
add esp, 4
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x452b4c
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x24]
add eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x452b4c
mov eax, dword [esp + 0x1c]
add eax, eax
cmp dword [esp + 8], eax
jb 0x452b4c
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
inc edx
mov dword [ecx + esi*2 + 0xa], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + esi*2 + 0xe], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
lea eax, [ecx + 8]
cmp edx, dword [ecx]
jl 0x452760
mov eax, dword [esp + 0x74]
mov esi, edi
mov edi, dword [esp + 0x64]
inc edi
mov dword [esp + 0x64], edi
cmp edi, dword [eax]
jl 0x4526b6
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
mov edi, dword [0x4b4b98]
mov edi, dword [edi + 0x80]
mov ecx, edi
mov dword [esp + 0x2c], edi
movzx eax, word [ecx]
mov edx, eax
mov dword [esp + 0x3c], edx
test ax, ax
je 0x4528a7
movsx eax, dx
sub ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x452894
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub ecx, edi
cmp eax, ecx
je 0x452b59
mov edi, dword [esp + 0x14]
mov esi, 5
jmp 0x452f41
cmp ax, 9
jne 0x4528dc
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.0046a6b0
test eax, eax
je 0x4522dd
test dword [edi + 0x78], 0x200
je 0x45290e
mov eax, dword [edi + 0xbc]
test byte [eax + edi + 0x20], 0x20
je 0x45290e
mov eax, dword [edi + 0x8c]
push edi
call eax
test dword [edi + 0x78], 0x230
je 0x45290e
mov dword [edi + 0xfc], 1
cmp word [edi + 0x18], 8
jne 0x452928
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.004544f0
test eax, eax
je 0x4522dd
cmp word [edi + 0x18], 0x20
jl 0x4529e3
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 4
jne 0x4522dd
movsx eax, word [edi + 0x18]
imul edx, eax, 0x92
mov eax, dword [0x4b4b94]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x3c]
cmp eax, dword [edx + ecx - 0x11b4]
jne 0x452b12
push 0
lea eax, [esp + 0xc]
mov byte [esp + 0x53], 0
push eax
push 1
lea eax, [esp + 0x5b]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x4522dd
cmp dword [esp + 8], 1
jne 0x4522dd
cmp byte [esp + 0x4f], 0
je 0x4529e3
movsx eax, word [edi + 0x18]
mov edx, dword [0x4b4b9c]
imul ecx, eax, 0x92
mov eax, dword [edx + 0x1d4]
mov eax, dword [ecx + eax - 0x11d8]
test eax, eax
je 0x4529e9
push dword [esp + 0xc]
push edi
call eax
test eax, eax
je 0x4522dd
mov edx, dword [0x4b4b9c]
test dword [edi + 0x78], 0x200
je 0x452a20
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 0x452a20
test cx, cx
je 0x452a17
push 0
jmp 0x452a19
push 1
push eax
push dword [edx]
call dword [esp + 0x64]
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x54], 0
je 0x452a79
mov ecx, dword [edi + 0x128]
test ecx, ecx
jne 0x452a4b
xor edx, edx
mov ecx, edi
call fcn.00401ce0
mov ecx, dword [edi + 0x128]
mov eax, dword [esp + 0x44]
test ecx, ecx
je 0x452a58
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 + 0x44]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x94]
jl 0x4517f0
xor edi, edi
jmp 0x4522e1
cmp dword [eax + 0x58], 0
je 0x452a58
or word [edi + 0x7c], 1
test dword [edi + 0x78], 0x220
jne 0x452ada
mov eax, dword [0x4b4b9c]
movsx esi, word [edi]
mov eax, dword [eax + 0x1278]
mov dword [eax + esi*8 + 4], 0
mov edx, esi
test edx, edx
jns 0x452aac
add edx, 0x1f
sar edx, 5
mov eax, dword [0x4b4b9c]
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 [0x4b4b9c]
mov word [eax + 0xfe], cx
jmp 0x452ae1
mov ecx, edi
call fcn.00436210
mov ecx, dword [edi + 0x12c]
test ecx, ecx
je 0x452a58
mov edi, dword [esp + 0x44]
mov ecx, dword [ecx]
mov eax, dword [edi + 0x58]
mov edx, dword [ecx]
dec eax
push eax
push ecx
call dword [edx + 0x34]
jmp 0x452a5c
mov dword [esp + 0x10], 4
jmp 0x4522dd
mov dword [esp + 0x10], 3
jmp 0x4522dd
mov dword [esp + 0x10], 5
jmp 0x4522dd
mov edi, dword [esp + 0x3c]
jmp 0x4522e1
mov edi, 1
jmp 0x4522e1
test edi, edi
je 0x452b4c
push edi
call fcn.00478e8f
add esp, 4
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x452f41
test eax, eax
je 0x452cdb
test dx, dx
je 0x452cdb
nop word [eax + eax]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [edi + 4]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 2
jb 0x452ee2
cmp word [esp + 0x48], 0xc
lea ecx, [esp + 8]
push 0
lea eax, [edi + 8]
push ecx
jb 0x452be6
push 4
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 4
jb 0x452ee2
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [edi + 0xc]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 4
jmp 0x452c49
push 2
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 2
jb 0x452ee2
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [edi + 0xc]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 2
jb 0x452ee2
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 2
jb 0x452ee2
mov eax, dword [esp + 0x2c]
add edi, 0x10
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
add eax, ecx
mov dword [esp + 0x38], eax
je 0x452cc4
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [edi + 0xa]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 1
jb 0x452ee2
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea eax, [edi + 0xb]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452ee2
cmp dword [esp + 8], 1
jb 0x452ee2
movsx eax, word [edi]
add edi, eax
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
test eax, eax
jg 0x452c66
mov edi, dword [esp + 0x2c]
movsx eax, word [edi]
sub edi, eax
mov dword [esp + 0x2c], edi
cmp word [edi], 0
jne 0x452b70
mov eax, dword [0x4b4b98]
mov edi, dword [eax + 0x80]
cmp word [edi], 0
je 0x452d29
nop dword [eax]
movzx edx, byte [edi + 2]
lea ecx, [edi + 0x10]
test edx, edx
je 0x452d1e
nop dword [eax + eax]
cmp dword [ecx + 2], 0xfffffffa
jne 0x452d14
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0xd0]
mov dword [edi + 8], eax
movsx eax, word [ecx]
dec edx
add ecx, eax
test edx, edx
jg 0x452d00
movsx eax, word [edi]
sub edi, eax
cmp word [edi], 0
jne 0x452cf0
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x94], 0
push eax
push 4
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
cmp dword [esp + 0x90], 0
je 0x452f1e
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + 0x978]
mov eax, dword [0x4b4b98]
mov eax, dword [eax + 0x974]
test eax, eax
je 0x452b4c
push 0
lea ecx, [esp + 0xc]
push ecx
push 8
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 8
jb 0x452b4c
mov ecx, dword [0x4b4b98]
mov eax, dword [ecx + 0x974]
cmp dword [eax], 0xd
jne 0x452f06
push 0
lea eax, [esp + 0xc]
push eax
push 0xc
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 0xc
jb 0x452b4c
test edi, edi
je 0x452e05
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x54]
call eax
cmp eax, dword [esp + 0xa0]
je 0x452e2c
mov ecx, dword [0x4b4b98]
call fcn.0042d120
mov eax, dword [0x4b4b9c]
mov edx, dword [esp + 0xa0]
mov ecx, dword [eax + 0x4f4]
mov ecx, dword [ecx + 0x34]
call fcn.00438e60
mov edi, eax
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0x978], edi
test edi, edi
je 0x452e4c
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0xa4]
call dword [eax + 0x38]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x452f0f
mov dword [esp + 0x54], 0
jle 0x452f0f
nop dword [eax]
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
push eax
push 4
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x452b4c
cmp dword [esp + 8], 4
jb 0x452b4c
test edi, edi
je 0x452ece
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x54]
mov eax, dword [eax + 0x18]
call eax
sub eax, 0
je 0x452ebf
sub eax, 1
je 0x452eed
sub eax, 1
jne 0x452ece
push dword [esp + 0x2c]
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 0x452e70
jmp 0x452f0f
mov edi, dword [esp + 0x14]
mov esi, 1
jmp 0x452f41
movss xmm0, dword [esp + 0x2c]
mov eax, dword [edi]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push dword [esp + 0x58]
call dword [eax + 0x44]
jmp 0x452ece
test edi, edi
jne 0x452f0f
call fcn.0042d120
mov eax, dword [0x4b4b9c]
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x97c], 1
xor esi, esi
jmp 0x452f3c
mov esi, 1
mov edi, esi
jmp 0x452f41
mov esi, eax
jmp 0x452f41
mov esi, 1
xor edi, edi
jmp 0x452f41
mov esi, dword [esp + 0x10]
mov edi, 1
cmp dword [esp + 0x80], 0
mov eax, dword [0x4b4b94]
mov dword [eax + 0x3b4], 0
jne 0x452f6a
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x452f6a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x452fb6
push 0x100
lea eax, [esp + 0xc4]
push eax
lea eax, [esi + 0x81]
push eax
push dword [0x4b4b60]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x4b4b9c]
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.0043c060
call fcn.00457310
mov ecx, dword [0x4b4b9c]
mov eax, edi
pop edi
pop esi
mov dword [ecx + 0x1270], 0
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.0047539e
mov esp, ebp
pop ebp
ret
call fcn.004757a8
int3