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

Disassembly:
push 0xffffffffffffffff
push 0x44ba06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
mov eax, dword [0x452594]
mov dword [esp + 0x34], 0
test eax, eax
je 0x435166
mov eax, dword [eax + 0x400]
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [esp + 0x2a4]
push ebp
push esi
cmp ebx, 0xffffffff
push edi
mov esi, 1
je 0x435181
mov dword [esp + 0x44], esi
jmp 0x4351ad
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2b0]
push ecx
lea eax, [esp + 0x1a0]
push edx
push eax
call fcn.00434d40
add esp, 0xc
test eax, eax
je 0x436d11
mov ebx, dword [esp + 0x2b0]
cmp ebx, 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], esi
je 0x436c78
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, 0x4520d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x94]
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov edi, 0x4520d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
cmp eax, ecx
jb 0x436c78
mov edi, 0x4520d8
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, 0x4520d8
mov byte [esp + ecx + 0x8c], al
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x435255
test cl, cl
je 0x435251
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x435255
add eax, 2
add esi, 2
test cl, cl
jne 0x435231
xor eax, eax
jmp 0x43525a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x436c78
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push 2
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 2
jb 0x436c78
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 4
and eax, 0x7fff
cmp ax, 0xa
mov dword [esp + 0x28], eax
jne 0x436c78
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x30]
push 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 2
jb 0x436c78
mov ecx, dword [esp + 0x28]
and ecx, 0xffff
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push 0
and eax, 0xffff
push edx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x436c78
mov edx, dword [0x45258c]
mov ebp, 3
mov dword [esp + 0x24], ebp
mov eax, edi
mov esi, dword [edx + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x435358
test cl, cl
je 0x435354
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x435358
add eax, 2
add esi, 2
test cl, cl
jne 0x435334
xor eax, eax
jmp 0x43535d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push edi
je 0x435370
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x436c83
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x78]
push 0
push eax
push 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x24], 3
jne 0x436c78
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x30]
push 2
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 2
jb 0x436c78
mov esi, dword [esp + 0x2b4]
cmp dword [esi], 0
je 0x43540f
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4353fc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x28]
and edx, 0xffff
xor eax, eax
mov dword [esi], edx
jmp 0x436d11
mov eax, dword [0x45258c]
mov ecx, dword [esp + 0x28]
and ecx, 0xffff
mov ebp, 6
mov edx, dword [eax + 0x1f0]
mov dword [esp + 0x24], ebp
cmp ecx, edx
jne 0x436c83
mov dword [eax + 0x374], 1
call fcn.0041ade0
call fcn.0041adf0
push 0
call fcn.00432d00
push 0
call fcn.0043f5d0
call fcn.00431300
call fcn.0043a4e0
call fcn.00431f50
push 0
call fcn.004319f0
add esp, 0xc
test ax, ax
jne 0x436c78
call fcn.004325f0
test eax, eax
jne 0x436c78
call fcn.0043f310
call fcn.004326a0
test eax, eax
jne 0x436c78
call fcn.0042ff50
test ax, ax
jne 0x436c78
call fcn.00432620
push 0x68
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], 1
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea edx, [esp + 0x10]
mov esi, eax
push 0
push edx
push 0x68
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 0x68
jb 0x436c78
mov ecx, dword [0x452594]
mov al, byte [esi]
mov byte [ecx + 0x26], al
mov eax, dword [0x452594]
mov dl, byte [esi + 1]
mov byte [eax + 0x27], dl
mov edx, dword [0x452594]
mov cx, word [esi + 2]
mov word [edx + 0x28], cx
mov ecx, dword [0x452594]
mov eax, dword [esi + 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 8]
mov dword [eax + 0xb4], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xd4], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esi + 0x14]
mov edx, dword [0x452594]
add eax, ecx
mov dword [edx + 0xd8], eax
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x110], eax
mov eax, dword [0x452594]
mov dx, word [esi + 0x1c]
mov word [eax + 0x14c], dx
mov edx, dword [0x452594]
mov cx, word [esi + 0x1e]
mov word [edx + 0x18c], cx
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x190], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 0x24]
mov dword [eax + 0x194], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0x28]
mov dword [edx + 0x19c], ecx
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x1a0], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 0x30]
mov dword [eax + 0x1b4], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0x34]
mov dword [edx + 0x1b8], ecx
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x1bc], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 0x3c]
mov dword [eax + 0x1c0], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0x40]
mov dword [edx + 0x1c4], ecx
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x1c8], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 0x48]
mov dword [eax + 0x1cc], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0x4c]
mov dword [edx + 0x1d0], ecx
mov ecx, dword [0x452594]
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x4d8], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 0x54]
mov dword [eax + 0x4dc], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0x58]
mov dword [edx + 0x4e0], ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [0x452594]
push esi
mov dword [ecx + 0x504], eax
mov eax, dword [0x452594]
mov edx, dword [esi + 0x60]
mov dword [eax + 0x508], edx
mov edx, dword [0x452594]
mov ecx, dword [esi + 0x64]
mov dword [edx + 0x50c], ecx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [0x452594]
push 0x2c
mov ecx, dword [eax + 0xd0]
mov dword [eax + 0x430], ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 8
lea edx, [esp + 0x10]
mov esi, eax
push 0
push edx
push 0x2c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 0x2c
jb 0x436c78
mov eax, dword [0x452594]
mov edx, dword [esi]
push esi
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov eax, dword [0x452594]
mov edx, dword [esi + 4]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x20], edx
mov eax, dword [0x452594]
mov edx, dword [esi + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x24], edx
mov eax, dword [0x452594]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x28], edx
mov eax, dword [0x452594]
mov edx, dword [esi + 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], edx
mov eax, dword [0x452594]
mov edx, dword [esi + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [0x452594]
mov edx, dword [esi + 0x28]
mov ecx, dword [eax + 0x1c]
lea eax, [esi + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [0x452594]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax]
add edx, 0x34
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call dword [sym.imp.MSVCRT.dll_free]
push 0x1c
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [0x452594]
mov esi, eax
add esp, 8
xor edi, edi
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x2c]
test eax, eax
jle 0x4357f6
xor ebp, ebp
lea eax, [esp + 0x10]
push 0
push eax
push 0x1c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4357f6
cmp dword [esp + 0x10], 0x1c
jb 0x4357f6
mov ecx, dword [0x452594]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esi]
mov eax, dword [edx + 0x30]
mov dword [eax + ebp + 4], ecx
mov edx, dword [esi + 4]
add eax, ebp
inc edi
add ebp, 0x54
mov dword [eax + 8], edx
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x30], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x34], ecx
mov edx, dword [0x452594]
mov eax, dword [edx + 0x1c]
cmp edi, dword [eax + 0x2c]
jl 0x435790
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [0x452594]
add esp, 4
mov dword [esp + 0x14], 0x10
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0x18]
push 0
push ecx
push 0x10
mov ecx, dword [eax + 0x25c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jb 0x436c78
lea edx, [esp + 0x10]
push 0
push edx
push eax
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x258]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x436c78
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x44]
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x3c]
xor edi, edi
xor esi, esi
or ebp, 0xffffffff
cmp eax, edi
mov dword [esp + 0x30], 1
jle 0x43590e
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edi
lea eax, [esp + 0x7c]
mov dword [esp + 0x2a8], edi
push eax
push ebx
call fcn.00434f70
add esp, 8
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x435907
mov edx, dword [0x452594]
lea ecx, [esp + 0x7c]
push ecx
push esi
mov eax, dword [edx + 0x18]
push eax
call fcn.004046d0
mov eax, dword [esp + 0x48]
add esp, 0xc
inc esi
mov dword [esp + 0x2a8], ebp
cmp esi, eax
jl 0x4358b5
jmp 0x43590e
mov dword [esp + 0x2a8], ebp
mov eax, dword [0x452594]
mov ecx, dword [eax + 0x18]
cmp esi, dword [ecx + 0x264]
jge 0x435965
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edi
mov eax, ecx
mov dword [esp + 0x2a8], 1
cmp esi, dword [eax + 0x264]
jge 0x43595e
lea edx, [esp + 0x7c]
push edx
push esi
push eax
call fcn.004046d0
mov eax, dword [0x452594]
add esp, 0xc
inc esi
mov eax, dword [eax + 0x18]
cmp esi, dword [eax + 0x264]
jl 0x43593e
mov dword [esp + 0x2a8], ebp
cmp dword [esp + 0x30], edi
je 0x436c78
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x44]
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
jle 0x435a50
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x34]
push 2
push ecx
push ebx
call ebp
test eax, eax
je 0x435a48
cmp dword [esp + 0x10], 2
jb 0x435a48
mov eax, dword [esp + 0x2c]
test ax, ax
je 0x435a2f
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x435a48
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push 0
and eax, 0xffff
push edx
push eax
push esi
push ebx
call ebp
test eax, eax
je 0x435a3e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x435a3e
mov edx, dword [0x452594]
push esi
push edi
mov eax, dword [edx + 0x18]
push eax
call fcn.004047b0
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jl 0x4359ab
jmp 0x435a50
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x30], 0
mov ecx, dword [0x452594]
mov eax, dword [ecx + 0x18]
cmp edi, dword [eax + 0x278]
jge 0x435a82
push 0x4523a8
push edi
push eax
call fcn.004047b0
mov edx, dword [0x452594]
add esp, 0xc
inc edi
mov eax, dword [edx + 0x18]
cmp edi, dword [eax + 0x278]
jl 0x435a61
mov eax, dword [esp + 0x30]
test eax, eax
je 0x436c78
xor esi, esi
call fcn.00423cf0
test eax, eax
je 0x435aae
mov edi, 2
cmp word [eax + 2], di
jb 0x435aa5
inc esi
call fcn.00423ca0
test eax, eax
jne 0x435a9e
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
cmp esi, dword [esp + 0x14]
je 0x435ae6
mov ebp, 5
jmp 0x436c83
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x68]
push 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x4c
call esi
push 0x5c
mov dword [esp + 0x20], eax
call esi
push 0x74
mov dword [esp + 0x40], eax
call esi
push 0x50
mov dword [esp + 0x60], eax
call esi
push 0x24
mov dword [esp + 0x5c], eax
call esi
push 0x50
mov dword [esp + 0x70], eax
call esi
mov ecx, dword [0x452594]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
add esp, 0x18
mov edx, dword [ecx + 0xa0]
mov dword [esp + 0x70], 0
test eax, eax
mov dword [esp + 0x5c], edx
jle 0x436572
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push 0
push eax
push 0x4c
push ecx
push ebx
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 0x4c
jb 0x436572
mov ecx, dword [esp + 0x2b0]
xor ebx, ebx
lea edx, [esp + 0x10]
push ebx
push edx
lea eax, [esp + 0x1c]
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 2
jb 0x436572
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x435c1a
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x60]
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x2b8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jb 0x436572
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
or ebp, 0xffffffff
test dword [eax + 0x38], 0x230
je 0x435c62
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2b0]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x5c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 0x5c
jb 0x436572
mov ecx, dword [esp + 0x34]
mov ebp, dword [ecx + 0x20]
jmp 0x435c6f
mov edi, dword [esp + 0x34]
mov ecx, 0x17
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x18]
mov ax, word [edx + 4]
push eax
call fcn.00423c10
add esp, 4
xor esi, esi
xor edi, edi
test eax, eax
je 0x435ca0
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + 0x14]
mov al, byte [ecx + 0x3c]
mov edi, dword [esi + 0x36]
test al, 8
jne 0x435ca0
mov dword [esi + 0x36], 0
mov eax, dword [esp + 0x18]
movsx edx, word [eax]
mov ecx, dword [eax + 0x40]
push edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
push 0
push ebp
push edx
mov dx, word [eax + 4]
mov ax, word [eax + 2]
push ecx
push edx
push eax
call fcn.0041b230
add esp, 0x20
test esi, esi
je 0x435cd0
mov dword [esi + 0x36], edi
test eax, eax
jl 0x436560
mov ecx, dword [0x452594]
test ebx, ebx
mov edx, dword [ecx + 0x1278]
mov ebp, dword [edx + eax*8]
mov eax, dword [esp + 0x18]
mov cx, word [eax]
mov word [ebp], cx
mov dx, word [eax + 6]
mov word [ebp + 0x1a], dx
mov ecx, dword [eax + 8]
mov dword [ebp + 0x48], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x4c], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x50], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x54], edx
mov ecx, dword [eax + 0x18]
mov dword [ebp + 0x58], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp + 0x5c], edx
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x60], ecx
mov edx, dword [eax + 0x24]
lea ecx, [eax + 0x28]
mov dword [ebp + 0x64], edx
lea edx, [ebp + 0x68]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [eax + 0x38]
mov dword [ebp + 0x78], edx
mov cx, word [eax + 0x3c]
mov word [ebp + 0x7c], cx
mov edx, dword [eax + 0x44]
mov dword [ebp + 0xb4], edx
mov dword [ebp + 0x2c], ebx
je 0x435d6e
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [ebp + 0x78]
test ecx, 0x230
je 0x435e75
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov dword [ebp + 0xc8], edx
mov edx, dword [eax + 8]
mov dword [ebp + 0xcc], edx
mov edx, dword [eax + 0xc]
mov dword [ebp + 0xd8], edx
mov edx, dword [eax + 0x10]
mov dword [ebp + 0xdc], edx
mov edx, dword [eax + 0x14]
mov dword [ebp + 0xe0], edx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0xe4], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp + 0xe8], edx
mov edx, dword [eax + 0x20]
mov dword [ebp + 0xec], edx
mov edx, dword [eax + 0x24]
mov dword [ebp + 0xf0], edx
mov edx, dword [eax + 0x28]
mov dword [ebp + 0xf4], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp + 0xf8], edx
mov edx, dword [eax + 0x30]
mov dword [ebp + 0x104], edx
mov edx, dword [eax + 0x34]
mov dword [ebp + 0x108], edx
mov edx, dword [eax + 0x38]
mov dword [ebp + 0x10c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp + 0x110], edx
mov edx, dword [eax + 0x40]
mov dword [ebp + 0x114], edx
mov edx, dword [eax + 0x44]
mov dword [ebp + 0x118], edx
mov edx, dword [eax + 0x48]
mov dword [ebp + 0x11c], edx
mov edx, dword [eax + 0x4c]
mov dword [ebp + 0x120], edx
mov edx, dword [eax + 0x50]
mov dword [ebp + 0x120], edx
mov dword [ebp + 0xfc], 1
cmp word [eax], 0
je 0x435e4f
mov dword [ebp + 0xc0], 0x4218b0
mov ax, word [eax + 2]
cmp ax, 1
jne 0x435e65
mov dword [ebp + 0xc4], 0x421790
jmp 0x435e75
cmp ax, 2
jne 0x435e75
mov dword [ebp + 0xc4], 0x4218b0
test cl, 0x10
je 0x435fae
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2b0]
lea eax, [esp + 0x10]
push 0
push eax
push 0x74
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 0x74
jb 0x436572
mov ebx, dword [esp + 0x50]
mov eax, dword [ebp + 0x44]
push 0
push eax
mov ecx, dword [ebx + 0x20]
push ebp
push ecx
call fcn.0041d240
mov edx, dword [esp + 0x44]
add esp, 0x10
mov eax, dword [edx + 0x20]
mov dword [ebp + 0xec], eax
mov ecx, dword [ebx]
mov dword [ebp + 0x130], ecx
mov edx, dword [ebx + 4]
mov dword [ebp + 0x134], edx
mov eax, dword [ebx + 8]
mov dword [ebp + 0x140], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0x14c], ecx
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x150], edx
mov ax, word [ebx + 0x14]
mov word [ebp + 0x154], ax
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebp + 0xcc]
mov dword [ebp + 0x172], ecx
mov edx, dword [ebx + 0x1c]
cmp eax, 5
mov dword [ebp + 0x176], edx
jne 0x435f2f
mov ecx, dword [ebp + 0x1aa]
mov dword [esp + 0x74], ecx
lea edx, [ebp + 0x17e]
lea esi, [ebx + 0x24]
mov ecx, 0x14
mov edi, edx
cmp eax, 5
rep movsd dword es:[edi], dword [esi]
jne 0x435f5d
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x1aa], eax
mov edx, dword [ebx + 0x48]
add edx, eax
mov dword [ebp + 0x1a2], edx
jmp 0x435fae
cmp eax, 0xd
jne 0x435f84
cmp dword [edx], 0
je 0x435fae
mov ecx, dword [0x452594]
mov eax, dword [ebp + 0x182]
mov edx, dword [ecx + 0x1278]
mov eax, dword [edx + eax*8]
mov dword [ebp + 0x182], eax
jmp 0x435fae
cmp eax, 0xe
jne 0x435fae
mov ecx, dword [ebp + 0xd0]
test ecx, ecx
je 0x435fae
mov eax, dword [esp + 0x2b0]
mov edx, dword [ecx]
push eax
push 0x1011
push ebp
call dword [edx + 0x54]
test eax, eax
je 0x436572
test byte [ebp + 0x78], 0x20
je 0x4360a9
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2b0]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x50
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 0x50
jb 0x436572
mov eax, dword [ebp + 0xb8]
mov esi, dword [esp + 0x48]
add eax, ebp
xor edi, edi
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov dword [eax + 0x2c], edx
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x34]
mov dword [eax + 0x34], edx
mov ecx, dword [esi + 0x38]
mov dword [eax + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [eax + 0x3c], edx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x40], ecx
mov edx, dword [esi + 0x44]
mov dword [eax + 0x44], edx
mov ecx, dword [esi + 0x48]
mov dword [eax + 0x48], ecx
mov edx, dword [esi + 0x4c]
mov dword [eax + 0x4c], edx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp + 0x44]
cmp ecx, edi
je 0x436078
xor ebx, ebx
mov bx, word [edx + 6]
add ebx, ecx
add ebx, edx
mov dword [eax + 0x14], ebx
jmp 0x43607b
mov dword [eax + 0x14], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x43608c
mov edx, dword [eax + 0x14]
add edx, ecx
mov dword [eax + 0x20], edx
jmp 0x43608f
mov dword [eax + 0x20], edi
cmp dword [eax + 0x14], edi
je 0x4360a9
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x4360a9
mov eax, dword [eax + 0x44]
movsx ecx, word [ecx + eax*2 + 8]
mov dword [ebp + 0xdc], ecx
mov eax, dword [ebp + 0x78]
test ah, 2
je 0x4360f9
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2b0]
lea edx, [esp + 0x10]
push 0
push edx
push 0x24
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 0x24
jb 0x436572
mov eax, dword [ebp + 0xbc]
mov esi, dword [esp + 0x58]
add eax, ebp
mov ecx, 9
mov edi, eax
rep movsd dword es:[edi], dword [esi]
and byte [eax + 0x20], 0xfb
mov eax, dword [ebp + 0x78]
test ah, 1
je 0x436223
mov eax, dword [ebp + 0x80]
add eax, ebp
xor edi, edi
mov dword [esp + 0x6c], eax
mov esi, dword [eax]
mov edx, dword [esp + 0x2b0]
push esi
push edx
call fcn.00434f70
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x436572
inc edi
add esi, 0x10
cmp edi, 0x1a
jl 0x436115
mov eax, dword [esp + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
lea esi, [eax + 0x86]
mov eax, dword [esp + 0x2b0]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x34]
push 2
push edx
push eax
call ebx
test eax, eax
je 0x4361e5
cmp dword [esp + 0x10], 2
jb 0x4361e5
cmp word [esp + 0x2c], 0
jbe 0x4361d8
mov ecx, dword [esi]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x30]
and edx, 0xffff
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x34]
add esp, 8
lea ecx, [esp + 0x10]
and edx, 0xffff
push 0
push ecx
push edx
mov dword [esi], eax
push eax
mov eax, dword [esp + 0x2c0]
push eax
call ebx
test eax, eax
je 0x436572
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x436572
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
inc edi
add esi, 4
cmp edi, 0xa
jl 0x43614d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x436572
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2b0]
lea edx, [esp + 0x10]
push 0
push edx
add eax, 0x68
push 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 4
jb 0x436572
mov ax, word [ebp + 0x18]
cmp ax, 3
je 0x436255
cmp ax, 4
je 0x43624f
cmp ax, 5
je 0x43624f
cmp ax, 6
je 0x43624f
cmp ax, 7
je 0x43624f
cmp ax, 9
jne 0x43636d
cmp ax, 3
jne 0x436273
mov eax, dword [ebp + 0x22e]
test eax, eax
je 0x436273
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp + 0x22e], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2b0]
lea edx, [esp + 0x10]
push 0
push edx
push 0x50
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 0x50
jb 0x436572
mov esi, dword [esp + 0x38]
mov ecx, 0x14
lea edi, [ebp + 0x1f2]
rep movsd dword es:[edi], dword [esi]
mov ax, word [ebp + 0x18]
cmp ax, 3
jne 0x43634e
mov ecx, dword [esp + 0x2b0]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x5c]
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 2
jb 0x436572
mov eax, dword [esp + 0x54]
test ax, ax
jbe 0x43636d
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x58]
add esp, 4
lea edx, [esp + 0x10]
and ecx, 0xffff
push 0
push edx
mov edx, dword [esp + 0x2b8]
push ecx
push eax
push edx
mov dword [ebp + 0x22e], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
cmp ecx, eax
jb 0x436572
jmp 0x43636d
cmp ax, 9
jne 0x43636d
mov ecx, dword [esp + 0x2b0]
push ecx
push ebp
call fcn.004413b0
add esp, 8
test eax, eax
je 0x436572
cmp word [ebp + 0x18], 8
jne 0x43638a
mov edx, dword [esp + 0x2b0]
push edx
push ebp
call fcn.00437c40
test eax, eax
je 0x436572
cmp word [ebp + 0x18], 0x20
jl 0x43645a
mov edx, dword [esp + 0x2b0]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x48]
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 4
jne 0x436572
movsx eax, word [ebp + 0x18]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*8]
mov eax, dword [0x45258c]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x40]
cmp eax, dword [ecx + edx*2 - 0x11b4]
jne 0x43656a
mov eax, dword [esp + 0x2b0]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x27]
push 1
push edx
push eax
mov byte [esp + 0x33], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436572
cmp dword [esp + 0x10], 1
jne 0x436572
mov al, byte [esp + 0x1f]
test al, al
je 0x43645a
movsx eax, word [ebp + 0x18]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*8]
mov ecx, dword [0x452594]
mov eax, dword [ecx + 0x1d4]
mov eax, dword [eax + edx*2 - 0x11d8]
test eax, eax
je 0x436460
mov ecx, dword [esp + 0x2b0]
push ecx
push ebp
call eax
test eax, eax
je 0x436572
mov ecx, dword [0x452594]
mov eax, dword [ebp + 0x78]
mov edi, dword [esp + 0x34]
test ah, 2
je 0x4364c3
mov esi, dword [ebp + 0xbc]
mov al, byte [ebp + 0x7c]
add esi, ebp
test al, 4
je 0x43649c
mov eax, dword [ebp + 0xd4]
test eax, eax
je 0x43649c
mov edx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push edx
push eax
mov eax, dword [ecx]
push eax
call sub.MMFS2.dll_Ordinal_83
mov ecx, dword [0x452594]
test byte [esi + 0x20], 1
mov eax, dword [ebp + 0xd4]
je 0x4364b4
test eax, eax
je 0x4364c3
mov ecx, dword [ecx]
push 0
push eax
push ecx
jmp 0x4364be
test eax, eax
je 0x4364c3
mov edx, dword [ecx]
push 1
push eax
push edx
call sub.MMFS2.dll_Ordinal_78
mov eax, dword [edi + 0x54]
xor esi, esi
cmp eax, esi
je 0x4364ed
cmp dword [ebp + 0x128], esi
jne 0x4364de
push esi
push ebp
call fcn.00401a60
add esp, 8
mov ebp, dword [ebp + 0x128]
cmp ebp, esi
je 0x43653f
mov edx, dword [edi + 0x54]
jmp 0x436534
cmp dword [edi + 0x58], esi
je 0x43653f
mov eax, dword [ebp + 0x78]
or byte [ebp + 0x7c], 1
test al, 0x20
jne 0x43651e
test ah, 2
jne 0x43651e
mov ecx, dword [0x452594]
movsx eax, word [ebp]
mov edx, dword [ecx + 0x1278]
push eax
mov dword [edx + eax*8 + 4], esi
call fcn.0041c620
jmp 0x436524
push ebp
call fcn.00421800
mov ebp, dword [ebp + 0x12c]
add esp, 4
cmp ebp, esi
je 0x43653f
mov edx, dword [edi + 0x58]
mov eax, dword [ebp]
dec edx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
inc eax
mov dword [esp + 0x20], esi
cmp eax, ecx
mov dword [esp + 0x70], eax
jge 0x436572
mov ebx, dword [esp + 0x2b0]
jmp 0x435b6b
mov dword [esp + 0x24], 5
jmp 0x436572
mov dword [esp + 0x24], 3
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
mov ecx, dword [esp + 0x38]
push ecx
call esi
mov edx, dword [esp + 0x58]
push edx
call esi
mov eax, dword [esp + 0x54]
push eax
call esi
mov ecx, dword [esp + 0x68]
push ecx
call esi
mov edx, dword [esp + 0x4c]
push edx
call esi
mov eax, dword [esp + 0x38]
add esp, 0x18
test eax, eax
jne 0x436c78
mov esi, dword [0x452594]
xor edi, edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x1278]
test eax, eax
jle 0x436612
mov ebx, 9
cmp dword [ecx], 0
jne 0x4365da
mov eax, dword [ecx + 8]
add ecx, 8
test eax, eax
je 0x4365d0
mov eax, dword [ecx]
test byte [eax + 0x78], 0x10
je 0x43660a
cmp dword [eax + 0xcc], ebx
jne 0x43660a
mov edx, dword [eax + 0x1b2]
test edx, edx
je 0x43660a
mov esi, dword [esi + 0x1278]
mov edx, dword [esi + edx*8 - 8]
mov dword [eax + 0x1b2], edx
mov esi, dword [0x452594]
mov eax, dword [esi + 0x3c]
inc edi
cmp edi, eax
jl 0x4365cb
mov eax, dword [esi + 0x1c]
mov ebx, dword [esp + 0x2b0]
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jle 0x43670f
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
push 0
push ecx
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436ab1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x436ab1
mov eax, ecx
xor ebp, ebp
cdq
sub eax, edx
mov esi, edi
sar eax, 1
test eax, eax
jle 0x4366ea
mov ecx, dword [0x452594]
mov edx, dword [ecx + 0x1278]
xor eax, eax
mov ax, word [esi]
add esi, 2
mov eax, dword [edx + eax*8]
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x4366dc
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x4366dc
push eax
mov eax, dword [ecx]
push eax
call sub.MMFS2.dll_Ordinal_95
mov ecx, dword [0x452594]
mov eax, dword [esp + 0x18]
inc ebp
cdq
sub eax, edx
sar eax, 1
cmp ebp, eax
jl 0x4366a8
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x452594]
mov eax, dword [esp + 0x24]
add esp, 4
inc eax
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x20], eax
cmp eax, dword [edx + 0x2c]
jl 0x43662f
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x43684a
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x20], eax
push 0
push edx
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x436c78
mov eax, dword [0x452594]
mov esi, dword [esp + 0x20]
mov ebx, dword [eax + 0x58]
cmp word [ebx], 0xffff
je 0x436835
mov di, word [esi]
add esi, 2
test di, di
jl 0x436828
mov word [ebx + 6], di
mov eax, dword [0x452594]
mov ecx, edi
add esi, 2
mov edx, dword [eax + 0x1278]
and ecx, 0xffff
mov ebp, dword [edx + ecx*8]
mov edx, dword [eax + 0x58]
mov ecx, ebx
mov eax, 0x22b63cbf
sub ecx, edx
mov word [ebp + 0x16], 0x8000
imul ecx
sar edx, 4
mov eax, edx
lea ecx, [ebp + 0x16]
shr eax, 0x1f
add edx, eax
or edx, 0xffff8000
mov word [ebp + 0x14], dx
mov ax, word [esi - 2]
test ax, ax
jl 0x436828
mov word [ecx], ax
mov edx, dword [0x452594]
mov ecx, eax
add esi, 2
mov edx, dword [edx + 0x1278]
and ecx, 0xffff
mov ecx, dword [edx + ecx*8]
mov word [ecx + 0x16], 0x8000
mov word [ecx + 0x14], di
add ecx, 0x16
mov edi, eax
mov ax, word [esi - 2]
test ax, ax
jge 0x4367f3
add ebx, 0x76
cmp word [ebx], 0xffff
jne 0x436793
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov ebx, dword [esp + 0x2b4]
add esp, 4
mov ecx, dword [0x45258c]
mov eax, dword [ecx + 0x284]
test eax, eax
je 0x43685f
call fcn.00433650
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x6c]
push 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x64]
test eax, eax
je 0x436a52
add eax, 0xff
mov ecx, dword [0x45258c]
cdq
and edx, 0xff
add ecx, 0x284
add eax, edx
push ecx
sar eax, 8
shl eax, 0xa
add eax, 8
push eax
call fcn.0041d130
add esp, 8
test eax, eax
je 0x436c78
mov edx, dword [0x45258c]
mov eax, dword [esp + 0x64]
xor ebp, ebp
mov edi, dword [edx + 0x284]
mov dword [esp + 0x20], ebp
test eax, eax
mov dword [esp + 0x40], edi
mov dword [edi], eax
mov dword [edi + 4], 0x100
jle 0x436a52
xor esi, esi
lea ecx, [esp + 0x10]
push esi
push ecx
lea edx, [esp + 0x1c]
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436a52
cmp dword [esp + 0x10], 4
jb 0x436a52
mov eax, dword [esp + 0x14]
test eax, eax
je 0x436964
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x436c78
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x436c78
test esi, esi
mov dword [edi + ebp*4 + 8], esi
je 0x436a38
cmp dword [esi + 4], 0xc
jne 0x436a38
mov eax, dword [esi]
xor ebp, ebp
test eax, eax
jle 0x436a38
lea edi, [esi + 8]
or ecx, 0xffffffff
xor eax, eax
mov edx, esi
repne scasb al, byte es:[edi]
mov eax, dword [esi + 4]
xor edi, edi
imul eax, ebp
not ecx
dec ecx
push edi
add edx, ecx
lea ecx, [esp + 0x18]
lea ebx, [eax + edx + 9]
mov edx, dword [esp + 0x2b4]
lea eax, [esp + 0x14]
push eax
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x14]
test eax, eax
je 0x436a20
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x436c78
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2b0]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x436c78
mov dword [ebx], edi
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], ecx
mov eax, dword [esi]
inc ebp
cmp ebp, eax
jl 0x436986
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov eax, dword [edi]
mov ebx, dword [esp + 0x2b0]
inc ebp
cmp ebp, eax
mov dword [esp + 0x20], ebp
jl 0x4368f3
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x1c]
push 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov ecx, dword [0x452590]
mov edi, dword [ecx + 0x80]
mov eax, edi
mov cx, word [eax]
test cx, cx
je 0x436a9d
movsx edx, cx
sub eax, edx
mov cx, word [eax]
test cx, cx
jne 0x436a90
mov ecx, dword [esp + 0x14]
sub eax, edi
cmp ecx, eax
je 0x436ac8
mov ebp, 5
jmp 0x436c83
test edi, edi
je 0x436c78
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x436c7f
test ecx, ecx
jbe 0x436be5
cmp word [edi], 0
je 0x436be5
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
push 0
mov ebp, 2
push eax
lea ecx, [edi + 4]
push ebp
push ecx
push ebx
call esi
test eax, eax
je 0x436c71
cmp dword [esp + 0x10], ebp
jb 0x436c71
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [edi + 6]
push ebp
push eax
push ebx
call esi
test eax, eax
je 0x436c71
cmp dword [esp + 0x10], ebp
jb 0x436c71
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [edi + 8]
push ebp
push edx
push ebx
call esi
test eax, eax
je 0x436c71
cmp dword [esp + 0x10], ebp
jb 0x436c71
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [edi + 0xa]
push ebp
push ecx
push ebx
call esi
test eax, eax
je 0x436c71
cmp dword [esp + 0x10], ebp
jb 0x436c71
xor edx, edx
xor eax, eax
mov dl, byte [edi + 3]
mov al, byte [edi + 2]
mov ebp, edx
lea esi, [edi + 0xe]
add ebp, eax
test ebp, ebp
jle 0x436bd6
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esi + 0xa]
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c71
cmp dword [esp + 0x10], 1
jb 0x436c71
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esi + 0xb]
push 1
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c71
cmp dword [esp + 0x10], 1
jb 0x436c71
movsx edx, word [esi]
add esi, edx
dec ebp
test ebp, ebp
jg 0x436b7e
movsx eax, word [edi]
sub edi, eax
cmp word [edi], 0
jne 0x436ada
mov ecx, dword [0x452590]
mov eax, dword [ecx + 0x80]
mov si, word [eax]
test si, si
je 0x436c35
mov edi, 0xfffffffa
xor edx, edx
lea ecx, [eax + 0xe]
mov dl, byte [eax + 2]
test edx, edx
jle 0x436c28
cmp dword [ecx + 2], edi
jne 0x436c20
mov ebp, dword [0x452594]
mov bp, word [ebp + 0xd0]
mov word [eax + 6], bp
movsx ebp, word [ecx]
add ecx, ebp
dec edx
jne 0x436c0a
movsx edx, si
sub eax, edx
mov si, word [eax]
test si, si
jne 0x436bfe
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x70]
push 4
push ecx
push ebx
mov dword [esp + 0x7c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436c78
cmp dword [esp + 0x10], 4
jb 0x436c78
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x436c78
xor ebp, ebp
mov dword [esp + 0x4c], 1
jmp 0x436c83
mov ebp, 1
jmp 0x436c83
mov ebx, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x24]
mov edx, dword [0x45258c]
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
mov dword [edx + 0x374], esi
jne 0x436ca5
cmp ebx, 0xffffffff
je 0x436ca5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, esi
je 0x436cf3
mov ecx, dword [0x452558]
lea eax, [esp + 0x9c]
push 0x100
add ebp, 0x81
push eax
push ebp
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x452594]
push 0x30
mov edx, dword [eax + 0x4f4]
mov ecx, dword [edx + 0x34]
mov edx, dword [ecx + 0x80]
lea ecx, [esp + 0xa0]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 6
call fcn.00426310
add esp, 4
call fcn.0043a4b0
mov eax, dword [0x452594]
mov dword [eax + 0x1270], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret