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

Disassembly:
push 0xffffffffffffffff
push 0x44cf26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
mov eax, dword [0x453a14]
mov dword [esp + 0x34], 0
test eax, eax
je 0x435ce6
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 0x435d01
mov dword [esp + 0x44], esi
jmp 0x435d2d
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2b0]
push ecx
lea eax, [esp + 0x1a0]
push edx
push eax
call fcn.004358c0
add esp, 0xc
test eax, eax
je 0x437891
mov ebx, dword [esp + 0x2b0]
cmp ebx, 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], esi
je 0x4377f8
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, 0x453130
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 0x4377f8
mov edi, 0x453130
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 0x4377f8
mov edi, 0x453130
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, 0x453130
mov byte [esp + ecx + 0x8c], al
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x435dd5
test cl, cl
je 0x435dd1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x435dd5
add eax, 2
add esi, 2
test cl, cl
jne 0x435db1
xor eax, eax
jmp 0x435dda
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4377f8
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 0x4377f8
cmp dword [esp + 0x10], 2
jb 0x4377f8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 4
and eax, 0x7fff
cmp ax, 0xa
mov dword [esp + 0x28], eax
jne 0x4377f8
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 0x4377f8
cmp dword [esp + 0x10], 2
jb 0x4377f8
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 0x4377f8
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x4377f8
mov edx, dword [0x453a0c]
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 0x435ed8
test cl, cl
je 0x435ed4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x435ed8
add eax, 2
add esi, 2
test cl, cl
jne 0x435eb4
xor eax, eax
jmp 0x435edd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push edi
je 0x435ef0
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x437803
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x24], 3
jne 0x4377f8
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 0x4377f8
cmp dword [esp + 0x10], 2
jb 0x4377f8
mov esi, dword [esp + 0x2b4]
cmp dword [esi], 0
je 0x435f8f
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x435f7c
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 0x437891
mov eax, dword [0x453a0c]
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 0x437803
mov dword [eax + 0x374], 1
call fcn.0041bba0
call fcn.0041bbb0
push 0
call fcn.00433860
push 0
call fcn.0043fab0
call fcn.00431e60
call fcn.0043b060
call fcn.00432ab0
push 0
call fcn.00432550
add esp, 0xc
test ax, ax
jne 0x4377f8
call fcn.00433150
test eax, eax
jne 0x4377f8
call fcn.0043f7f0
call fcn.00433200
test eax, eax
jne 0x4377f8
call fcn.00430a80
test ax, ax
jne 0x4377f8
call fcn.00433180
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 0x4377f8
cmp dword [esp + 0x10], 0x68
jb 0x4377f8
mov ecx, dword [0x453a14]
mov al, byte [esi]
mov byte [ecx + 0x26], al
mov eax, dword [0x453a14]
mov dl, byte [esi + 1]
mov byte [eax + 0x27], dl
mov edx, dword [0x453a14]
mov cx, word [esi + 2]
mov word [edx + 0x28], cx
mov ecx, dword [0x453a14]
mov eax, dword [esi + 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 8]
mov dword [eax + 0xb4], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x453a14]
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 [0x453a14]
add eax, ecx
mov dword [edx + 0xd8], eax
mov ecx, dword [0x453a14]
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x110], eax
mov eax, dword [0x453a14]
mov dx, word [esi + 0x1c]
mov word [eax + 0x14c], dx
mov edx, dword [0x453a14]
mov cx, word [esi + 0x1e]
mov word [edx + 0x18c], cx
mov ecx, dword [0x453a14]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x190], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x24]
mov dword [eax + 0x194], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0x28]
mov dword [edx + 0x19c], ecx
mov ecx, dword [0x453a14]
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x1a0], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x30]
mov dword [eax + 0x1b4], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0x34]
mov dword [edx + 0x1b8], ecx
mov ecx, dword [0x453a14]
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x1bc], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x3c]
mov dword [eax + 0x1c0], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0x40]
mov dword [edx + 0x1c4], ecx
mov ecx, dword [0x453a14]
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x1c8], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x48]
mov dword [eax + 0x1cc], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0x4c]
mov dword [edx + 0x1d0], ecx
mov ecx, dword [0x453a14]
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x4d8], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x54]
mov dword [eax + 0x4dc], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0x58]
mov dword [edx + 0x4e0], ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [0x453a14]
push esi
mov dword [ecx + 0x504], eax
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x60]
mov dword [eax + 0x508], edx
mov edx, dword [0x453a14]
mov ecx, dword [esi + 0x64]
mov dword [edx + 0x50c], ecx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [0x453a14]
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 0x4377f8
cmp dword [esp + 0x10], 0x2c
jb 0x4377f8
mov eax, dword [0x453a14]
mov edx, dword [esi]
push esi
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov eax, dword [0x453a14]
mov edx, dword [esi + 4]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x20], edx
mov eax, dword [0x453a14]
mov edx, dword [esi + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x24], edx
mov eax, dword [0x453a14]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x28], edx
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], edx
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [0x453a14]
mov edx, dword [esi + 0x28]
mov ecx, dword [eax + 0x1c]
lea eax, [esi + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [0x453a14]
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 [0x453a14]
mov esi, eax
add esp, 8
xor edi, edi
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x2c]
test eax, eax
jle 0x436376
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 0x436376
cmp dword [esp + 0x10], 0x1c
jb 0x436376
mov ecx, dword [0x453a14]
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 [0x453a14]
mov eax, dword [edx + 0x1c]
cmp edi, dword [eax + 0x2c]
jl 0x436310
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [0x453a14]
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 0x4377f8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jb 0x4377f8
lea edx, [esp + 0x10]
push 0
push edx
push eax
mov eax, dword [0x453a14]
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 0x4377f8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x4377f8
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov eax, dword [esp + 0x3c]
xor edi, edi
xor esi, esi
or ebp, 0xffffffff
cmp eax, edi
mov dword [esp + 0x30], 1
jle 0x43648e
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.00435af0
add esp, 8
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x436487
mov edx, dword [0x453a14]
lea ecx, [esp + 0x7c]
push ecx
push esi
mov eax, dword [edx + 0x18]
push eax
call fcn.00404aa0
mov eax, dword [esp + 0x48]
add esp, 0xc
inc esi
mov dword [esp + 0x2a8], ebp
cmp esi, eax
jl 0x436435
jmp 0x43648e
mov dword [esp + 0x2a8], ebp
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x18]
cmp esi, dword [ecx + 0x264]
jge 0x4364e5
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edi
mov eax, ecx
mov dword [esp + 0x2a8], 1
cmp esi, dword [eax + 0x264]
jge 0x4364de
lea edx, [esp + 0x7c]
push edx
push esi
push eax
call fcn.00404aa0
mov eax, dword [0x453a14]
add esp, 0xc
inc esi
mov eax, dword [eax + 0x18]
cmp esi, dword [eax + 0x264]
jl 0x4364be
mov dword [esp + 0x2a8], ebp
cmp dword [esp + 0x30], edi
je 0x4377f8
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
jle 0x4365d0
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 0x4365c8
cmp dword [esp + 0x10], 2
jb 0x4365c8
mov eax, dword [esp + 0x2c]
test ax, ax
je 0x4365af
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x4365c8
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 0x4365be
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x4365be
mov edx, dword [0x453a14]
push esi
push edi
mov eax, dword [edx + 0x18]
push eax
call fcn.00404b80
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jl 0x43652b
jmp 0x4365d0
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x30], 0
mov ecx, dword [0x453a14]
mov eax, dword [ecx + 0x18]
cmp edi, dword [eax + 0x278]
jge 0x436602
push 0x453810
push edi
push eax
call fcn.00404b80
mov edx, dword [0x453a14]
add esp, 0xc
inc edi
mov eax, dword [edx + 0x18]
cmp edi, dword [eax + 0x278]
jl 0x4365e1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4377f8
xor esi, esi
call fcn.00424b20
test eax, eax
je 0x43662e
mov edi, 2
cmp word [eax + 2], di
jb 0x436625
inc esi
call fcn.00424ad0
test eax, eax
jne 0x43661e
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
cmp esi, dword [esp + 0x14]
je 0x436666
mov ebp, 5
jmp 0x437803
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
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 [0x453a14]
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 0x4370f2
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 0x4370f2
cmp dword [esp + 0x10], 0x4c
jb 0x4370f2
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 0x4370f2
cmp dword [esp + 0x10], 2
jb 0x4370f2
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x43679a
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 0x4370f2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jb 0x4370f2
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
or ebp, 0xffffffff
test dword [eax + 0x38], 0x230
je 0x4367e2
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 0x4370f2
cmp dword [esp + 0x10], 0x5c
jb 0x4370f2
mov ecx, dword [esp + 0x34]
mov ebp, dword [ecx + 0x20]
jmp 0x4367ef
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.00424a40
add esp, 4
xor esi, esi
xor edi, edi
test eax, eax
je 0x436820
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + 0x14]
mov al, byte [ecx + 0x3c]
mov edi, dword [esi + 0x36]
test al, 8
jne 0x436820
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.0041bff0
add esp, 0x20
test esi, esi
je 0x436850
mov dword [esi + 0x36], edi
test eax, eax
jl 0x4370e0
mov ecx, dword [0x453a14]
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 0x4368ee
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [ebp + 0x78]
test ecx, 0x230
je 0x4369f5
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 0x4369cf
mov dword [ebp + 0xc0], 0x4226a0
mov ax, word [eax + 2]
cmp ax, 1
jne 0x4369e5
mov dword [ebp + 0xc4], 0x422580
jmp 0x4369f5
cmp ax, 2
jne 0x4369f5
mov dword [ebp + 0xc4], 0x4226a0
test cl, 0x10
je 0x436b2e
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 0x4370f2
cmp dword [esp + 0x10], 0x74
jb 0x4370f2
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.0041e030
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 0x436aaf
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 0x436add
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x1aa], eax
mov edx, dword [ebx + 0x48]
add edx, eax
mov dword [ebp + 0x1a2], edx
jmp 0x436b2e
cmp eax, 0xd
jne 0x436b04
cmp dword [edx], 0
je 0x436b2e
mov ecx, dword [0x453a14]
mov eax, dword [ebp + 0x182]
mov edx, dword [ecx + 0x1278]
mov eax, dword [edx + eax*8]
mov dword [ebp + 0x182], eax
jmp 0x436b2e
cmp eax, 0xe
jne 0x436b2e
mov ecx, dword [ebp + 0xd0]
test ecx, ecx
je 0x436b2e
mov eax, dword [esp + 0x2b0]
mov edx, dword [ecx]
push eax
push 0x1011
push ebp
call dword [edx + 0x54]
test eax, eax
je 0x4370f2
test byte [ebp + 0x78], 0x20
je 0x436c29
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 0x4370f2
cmp dword [esp + 0x10], 0x50
jb 0x4370f2
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 0x436bf8
xor ebx, ebx
mov bx, word [edx + 6]
add ebx, ecx
add ebx, edx
mov dword [eax + 0x14], ebx
jmp 0x436bfb
mov dword [eax + 0x14], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x436c0c
mov edx, dword [eax + 0x14]
add edx, ecx
mov dword [eax + 0x20], edx
jmp 0x436c0f
mov dword [eax + 0x20], edi
cmp dword [eax + 0x14], edi
je 0x436c29
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x436c29
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 0x436c79
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 0x4370f2
cmp dword [esp + 0x10], 0x24
jb 0x4370f2
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 0x436da3
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.00435af0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x4370f2
inc edi
add esi, 0x10
cmp edi, 0x1a
jl 0x436c95
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 0x436d65
cmp dword [esp + 0x10], 2
jb 0x436d65
cmp word [esp + 0x2c], 0
jbe 0x436d58
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 0x4370f2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x4370f2
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
inc edi
add esi, 4
cmp edi, 0xa
jl 0x436ccd
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4370f2
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 0x4370f2
cmp dword [esp + 0x10], 4
jb 0x4370f2
mov ax, word [ebp + 0x18]
cmp ax, 3
je 0x436dd5
cmp ax, 4
je 0x436dcf
cmp ax, 5
je 0x436dcf
cmp ax, 6
je 0x436dcf
cmp ax, 7
je 0x436dcf
cmp ax, 9
jne 0x436eed
cmp ax, 3
jne 0x436df3
mov eax, dword [ebp + 0x22e]
test eax, eax
je 0x436df3
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 0x4370f2
cmp dword [esp + 0x10], 0x50
jb 0x4370f2
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 0x436ece
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 0x4370f2
cmp dword [esp + 0x10], 2
jb 0x4370f2
mov eax, dword [esp + 0x54]
test ax, ax
jbe 0x436eed
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 0x4370f2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
cmp ecx, eax
jb 0x4370f2
jmp 0x436eed
cmp ax, 9
jne 0x436eed
mov ecx, dword [esp + 0x2b0]
push ecx
push ebp
call fcn.00441800
add esp, 8
test eax, eax
je 0x4370f2
cmp word [ebp + 0x18], 8
jne 0x436f0a
mov edx, dword [esp + 0x2b0]
push edx
push ebp
call fcn.004387c0
test eax, eax
je 0x4370f2
cmp word [ebp + 0x18], 0x20
jl 0x436fda
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 0x4370f2
cmp dword [esp + 0x10], 4
jne 0x4370f2
movsx eax, word [ebp + 0x18]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*8]
mov eax, dword [0x453a0c]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x40]
cmp eax, dword [ecx + edx*2 - 0x11b4]
jne 0x4370ea
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 0x4370f2
cmp dword [esp + 0x10], 1
jne 0x4370f2
mov al, byte [esp + 0x1f]
test al, al
je 0x436fda
movsx eax, word [ebp + 0x18]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*8]
mov ecx, dword [0x453a14]
mov eax, dword [ecx + 0x1d4]
mov eax, dword [eax + edx*2 - 0x11d8]
test eax, eax
je 0x436fe0
mov ecx, dword [esp + 0x2b0]
push ecx
push ebp
call eax
test eax, eax
je 0x4370f2
mov ecx, dword [0x453a14]
mov eax, dword [ebp + 0x78]
mov edi, dword [esp + 0x34]
test ah, 2
je 0x437043
mov esi, dword [ebp + 0xbc]
mov al, byte [ebp + 0x7c]
add esi, ebp
test al, 4
je 0x43701c
mov eax, dword [ebp + 0xd4]
test eax, eax
je 0x43701c
mov edx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push edx
push eax
mov eax, dword [ecx]
push eax
call fcn.0044b726
mov ecx, dword [0x453a14]
test byte [esi + 0x20], 1
mov eax, dword [ebp + 0xd4]
je 0x437034
test eax, eax
je 0x437043
mov ecx, dword [ecx]
push 0
push eax
push ecx
jmp 0x43703e
test eax, eax
je 0x437043
mov edx, dword [ecx]
push 1
push eax
push edx
call fcn.0044b7a4
mov eax, dword [edi + 0x54]
xor esi, esi
cmp eax, esi
je 0x43706d
cmp dword [ebp + 0x128], esi
jne 0x43705e
push esi
push ebp
call fcn.00401a60
add esp, 8
mov ebp, dword [ebp + 0x128]
cmp ebp, esi
je 0x4370bf
mov edx, dword [edi + 0x54]
jmp 0x4370b4
cmp dword [edi + 0x58], esi
je 0x4370bf
mov eax, dword [ebp + 0x78]
or byte [ebp + 0x7c], 1
test al, 0x20
jne 0x43709e
test ah, 2
jne 0x43709e
mov ecx, dword [0x453a14]
movsx eax, word [ebp]
mov edx, dword [ecx + 0x1278]
push eax
mov dword [edx + eax*8 + 4], esi
call fcn.0041d410
jmp 0x4370a4
push ebp
call fcn.004225f0
mov ebp, dword [ebp + 0x12c]
add esp, 4
cmp ebp, esi
je 0x4370bf
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 0x4370f2
mov ebx, dword [esp + 0x2b0]
jmp 0x4366eb
mov dword [esp + 0x24], 5
jmp 0x4370f2
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 0x4377f8
mov esi, dword [0x453a14]
xor edi, edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x1278]
test eax, eax
jle 0x437192
mov ebx, 9
cmp dword [ecx], 0
jne 0x43715a
mov eax, dword [ecx + 8]
add ecx, 8
test eax, eax
je 0x437150
mov eax, dword [ecx]
test byte [eax + 0x78], 0x10
je 0x43718a
cmp dword [eax + 0xcc], ebx
jne 0x43718a
mov edx, dword [eax + 0x1b2]
test edx, edx
je 0x43718a
mov esi, dword [esi + 0x1278]
mov edx, dword [esi + edx*8 - 8]
mov dword [eax + 0x1b2], edx
mov esi, dword [0x453a14]
mov eax, dword [esi + 0x3c]
inc edi
cmp edi, eax
jl 0x43714b
mov eax, dword [esi + 0x1c]
mov ebx, dword [esp + 0x2b0]
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jle 0x43728f
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
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 0x437631
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x437631
mov eax, ecx
xor ebp, ebp
cdq
sub eax, edx
mov esi, edi
sar eax, 1
test eax, eax
jle 0x43726a
mov ecx, dword [0x453a14]
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 0x43725c
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x43725c
push eax
mov eax, dword [ecx]
push eax
call fcn.0044bb4c
mov ecx, dword [0x453a14]
mov eax, dword [esp + 0x18]
inc ebp
cdq
sub eax, edx
sar eax, 1
cmp ebp, eax
jl 0x437228
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x453a14]
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 0x4371af
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x4373ca
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 0x4377f8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x4377f8
mov eax, dword [0x453a14]
mov esi, dword [esp + 0x20]
mov ebx, dword [eax + 0x58]
cmp word [ebx], 0xffff
je 0x4373b5
mov di, word [esi]
add esi, 2
test di, di
jl 0x4373a8
mov word [ebx + 6], di
mov eax, dword [0x453a14]
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 0x4373a8
mov word [ecx], ax
mov edx, dword [0x453a14]
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 0x437373
add ebx, 0x76
cmp word [ebx], 0xffff
jne 0x437313
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 [0x453a0c]
mov eax, dword [ecx + 0x284]
test eax, eax
je 0x4373df
call fcn.004341d0
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4375d2
add eax, 0xff
mov ecx, dword [0x453a0c]
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.0041df20
add esp, 8
test eax, eax
je 0x4377f8
mov edx, dword [0x453a0c]
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 0x4375d2
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 0x4375d2
cmp dword [esp + 0x10], 4
jb 0x4375d2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4374e4
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x4377f8
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 0x4377f8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x4377f8
test esi, esi
mov dword [edi + ebp*4 + 8], esi
je 0x4375b8
cmp dword [esi + 4], 0xc
jne 0x4375b8
mov eax, dword [esi]
xor ebp, ebp
test eax, eax
jle 0x4375b8
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4375a0
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x4377f8
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 0x4377f8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x4377f8
mov dword [ebx], edi
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], ecx
mov eax, dword [esi]
inc ebp
cmp ebp, eax
jl 0x437506
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 0x437473
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov ecx, dword [0x453a10]
mov edi, dword [ecx + 0x80]
mov eax, edi
mov cx, word [eax]
test cx, cx
je 0x43761d
movsx edx, cx
sub eax, edx
mov cx, word [eax]
test cx, cx
jne 0x437610
mov ecx, dword [esp + 0x14]
sub eax, edi
cmp ecx, eax
je 0x437648
mov ebp, 5
jmp 0x437803
test edi, edi
je 0x4377f8
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4377ff
test ecx, ecx
jbe 0x437765
cmp word [edi], 0
je 0x437765
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 0x4377f1
cmp dword [esp + 0x10], ebp
jb 0x4377f1
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [edi + 6]
push ebp
push eax
push ebx
call esi
test eax, eax
je 0x4377f1
cmp dword [esp + 0x10], ebp
jb 0x4377f1
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [edi + 8]
push ebp
push edx
push ebx
call esi
test eax, eax
je 0x4377f1
cmp dword [esp + 0x10], ebp
jb 0x4377f1
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [edi + 0xa]
push ebp
push ecx
push ebx
call esi
test eax, eax
je 0x4377f1
cmp dword [esp + 0x10], ebp
jb 0x4377f1
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 0x437756
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 0x4377f1
cmp dword [esp + 0x10], 1
jb 0x4377f1
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 0x4377f1
cmp dword [esp + 0x10], 1
jb 0x4377f1
movsx edx, word [esi]
add esi, edx
dec ebp
test ebp, ebp
jg 0x4376fe
movsx eax, word [edi]
sub edi, eax
cmp word [edi], 0
jne 0x43765a
mov ecx, dword [0x453a10]
mov eax, dword [ecx + 0x80]
mov si, word [eax]
test si, si
je 0x4377b5
mov edi, 0xfffffffa
xor edx, edx
lea ecx, [eax + 0xe]
mov dl, byte [eax + 2]
test edx, edx
jle 0x4377a8
cmp dword [ecx + 2], edi
jne 0x4377a0
mov ebp, dword [0x453a14]
mov bp, word [ebp + 0xd0]
mov word [eax + 6], bp
movsx ebp, word [ecx]
add ecx, ebp
dec edx
jne 0x43778a
movsx edx, si
sub eax, edx
mov si, word [eax]
test si, si
jne 0x43777e
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 0x4377f8
cmp dword [esp + 0x10], 4
jb 0x4377f8
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4377f8
xor ebp, ebp
mov dword [esp + 0x4c], 1
jmp 0x437803
mov ebp, 1
jmp 0x437803
mov ebx, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x24]
mov edx, dword [0x453a0c]
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
mov dword [edx + 0x374], esi
jne 0x437825
cmp ebx, 0xffffffff
je 0x437825
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, esi
je 0x437873
mov ecx, dword [0x4539d8]
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 [0x453a14]
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.00427140
add esp, 4
call fcn.0043b030
mov eax, dword [0x453a14]
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