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

Disassembly:
push 0xffffffffffffffff
push 0x44ae06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov eax, dword [0x45157c]
mov dword [esp + 0x38], 0
test eax, eax
je 0x4348c6
mov eax, dword [eax + 0x400]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x294]
push ebx
push ebp
push esi
push edi
or edi, 0xffffffff
cmp eax, edi
mov esi, 1
je 0x43499e
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x2a4]
mov dword [esp + 0x18], esi
cmp eax, edi
mov dword [esp + 0x50], esi
je 0x43626e
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, 0x4510c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2ac]
lea edx, [esp + 0x88]
not ecx
dec ecx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
mov edi, 0x4510c0
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 0x43626e
mov edi, 0x4510c0
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, 0x4510c0
mov byte [esp + ecx + 0x80], al
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4349c8
test cl, cl
je 0x43499a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4349c8
add eax, 2
add esi, 2
test cl, cl
jne 0x434976
xor eax, eax
jmp 0x4349cd
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2a4]
push ecx
lea eax, [esp + 0x194]
push edx
push eax
call fcn.004344a0
add esp, 0xc
test eax, eax
jne 0x4348e5
jmp 0x436307
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43626e
mov edx, dword [esp + 0x2a4]
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push 2
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 2
jb 0x43626e
cmp word [esp + 0x2c], 6
mov dword [esp + 0x18], 4
jne 0x43626e
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x34]
push 2
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 2
jb 0x43626e
mov eax, dword [esp + 0x2c]
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x10]
and edx, 0xffff
push 0
mov edi, eax
mov eax, dword [esp + 0x2a8]
push ecx
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x43626e
mov edx, dword [0x451574]
mov ebp, 3
mov dword [esp + 0x18], ebp
mov eax, edi
mov esi, dword [edx + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x434ad9
test cl, cl
je 0x434ad5
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x434ad9
add eax, 2
add esi, 2
test cl, cl
jne 0x434ab1
xor eax, eax
jmp 0x434ade
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push edi
je 0x434af1
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x43626e
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x2a8]
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x6c]
push 0
push eax
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
mov dword [esp + 0x18], ebp
jne 0x43626e
mov eax, dword [esp + 0x2a4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x34]
push 2
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 2
jb 0x43626e
mov esi, dword [esp + 0x2a8]
cmp dword [esi], 0
je 0x434ba1
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x434b8e
mov ecx, dword [esp + 0x2a4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2c]
and edx, 0xffff
xor eax, eax
mov dword [esi], edx
jmp 0x436307
mov eax, dword [0x451574]
mov ecx, dword [esp + 0x2c]
and ecx, 0xffff
mov dword [esp + 0x18], 6
cmp ecx, dword [eax + 0x1f0]
jne 0x43626e
mov dword [eax + 0x374], 1
call fcn.0041a970
call fcn.0041a980
push 0
call fcn.004325f0
push 0
call fcn.0043eab0
call fcn.00430c50
call fcn.00439a90
call fcn.00431870
push 0
call fcn.00431340
add esp, 0xc
test ax, ax
jne 0x43626e
call fcn.00431ef0
test eax, eax
jne 0x43626e
call fcn.0043e7f0
call fcn.00431fa0
test eax, eax
jne 0x43626e
call fcn.0042f8a0
test ax, ax
jne 0x43626e
call fcn.00431f20
push 0x64
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 1
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea edx, [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x2a4]
push 0
push edx
push 0x64
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 0x64
jb 0x43626e
mov edx, dword [0x45157c]
mov cl, byte [esi]
mov byte [edx + 0x26], cl
mov ecx, dword [0x45157c]
mov al, byte [esi + 1]
mov byte [ecx + 0x27], al
mov eax, dword [0x45157c]
mov dx, word [esi + 2]
mov word [eax + 0x28], dx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 4]
mov dword [edx + 0xb0], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 8]
mov dword [ecx + 0xb4], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0xc]
mov dword [eax + 0xd0], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x10]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x110], eax
mov eax, dword [0x45157c]
mov dx, word [esi + 0x18]
mov word [eax + 0x14c], dx
mov edx, dword [0x45157c]
mov cx, word [esi + 0x1a]
mov word [edx + 0x18c], cx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x190], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0x20]
mov dword [eax + 0x194], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x24]
mov dword [edx + 0x19c], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x1a0], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0x2c]
mov dword [eax + 0x1b4], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x30]
mov dword [edx + 0x1b8], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x1bc], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0x38]
mov dword [eax + 0x1c0], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x3c]
mov dword [edx + 0x1c4], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x1c8], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0x44]
mov dword [eax + 0x1cc], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x48]
mov dword [edx + 0x1d0], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x4d8], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0x50]
mov dword [eax + 0x4dc], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x54]
mov dword [edx + 0x4e0], ecx
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x504], eax
mov eax, dword [0x45157c]
mov edx, dword [esi + 0x5c]
mov dword [eax + 0x508], edx
mov edx, dword [0x45157c]
mov ecx, dword [esi + 0x60]
push esi
mov dword [edx + 0x50c], ecx
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [0x45157c]
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
mov eax, dword [esp + 0x2a4]
push 0
push edx
push 0x2c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 0x2c
jb 0x43626e
mov ecx, dword [0x45157c]
mov eax, dword [esi]
push esi
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x1c], eax
mov ecx, dword [0x45157c]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x20], eax
mov ecx, dword [0x45157c]
mov eax, dword [esi + 8]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x24], eax
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x28], eax
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x10]
mov edx, dword [ecx + 0x1c]
mov dword [edx], eax
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x14]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 4], eax
mov ecx, dword [0x45157c]
mov eax, dword [esi + 0x28]
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + 0x18]
mov dword [edx + 8], eax
mov edx, dword [0x45157c]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
add eax, 0x34
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
call dword [sym.imp.MSVCRT.dll_free]
push 0x1c
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [0x45157c]
mov ebx, dword [esp + 0x2ac]
mov esi, eax
add esp, 8
mov eax, dword [edx + 0x1c]
xor edi, edi
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jle 0x434f8a
xor ebp, ebp
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x1c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434f8a
cmp dword [esp + 0x10], 0x1c
jb 0x434f8a
mov edx, dword [0x45157c]
mov ecx, dword [esi]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 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 [0x45157c]
mov eax, dword [edx + 0x1c]
cmp edi, dword [eax + 0x2c]
jl 0x434f24
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [0x45157c]
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 0x43626e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jb 0x43626e
lea edx, [esp + 0x10]
push 0
push edx
push eax
mov eax, dword [0x45157c]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x2b0]
mov edx, dword [ecx + 0x258]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jb 0x43626e
mov ecx, dword [esp + 0x2a4]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x44]
push 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
mov eax, dword [esp + 0x3c]
xor edi, edi
xor esi, esi
or ebp, 0xffffffff
cmp eax, edi
mov dword [esp + 0x24], 1
jle 0x4350b4
mov ebx, dword [esp + 0x2a4]
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
lea edx, [esp + 0x70]
mov dword [esp + 0x29c], edi
push edx
push ebx
call fcn.004346d0
add esp, 8
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x4350ad
mov ecx, dword [0x45157c]
lea eax, [esp + 0x70]
push eax
push esi
mov edx, dword [ecx + 0x18]
push edx
call fcn.00404680
mov eax, dword [esp + 0x48]
add esp, 0xc
inc esi
mov dword [esp + 0x29c], ebp
cmp esi, eax
jl 0x43505e
jmp 0x4350b4
mov dword [esp + 0x29c], ebp
mov eax, dword [0x45157c]
mov ecx, dword [eax + 0x18]
cmp esi, dword [ecx + 0x264]
jge 0x435108
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
mov eax, ecx
mov dword [esp + 0x29c], 1
cmp esi, dword [eax + 0x264]
jge 0x435101
lea edx, [esp + 0x70]
push edx
push esi
push eax
call fcn.00404680
mov eax, dword [0x45157c]
add esp, 0xc
inc esi
mov eax, dword [eax + 0x18]
cmp esi, dword [eax + 0x264]
jl 0x4350e1
mov dword [esp + 0x29c], ebp
cmp dword [esp + 0x24], edi
je 0x43626e
mov eax, dword [esp + 0x2a4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x44]
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
jle 0x435201
mov ebp, dword [esp + 0x2a4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x24]
push 2
push edx
push ebp
call ebx
test eax, eax
je 0x4351f9
cmp dword [esp + 0x10], 2
jb 0x4351f9
mov eax, dword [esp + 0x1c]
test ax, ax
je 0x4351e0
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x4351f9
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push 0
and ecx, 0xffff
push eax
push ecx
push esi
push ebp
call ebx
test eax, eax
je 0x4351ef
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
and edx, 0xffff
cmp eax, edx
jb 0x4351ef
mov eax, dword [0x45157c]
push esi
push edi
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00404760
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jl 0x43515c
jmp 0x435201
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x24], 0
mov edx, dword [0x45157c]
mov eax, dword [edx + 0x18]
cmp edi, dword [eax + 0x278]
jge 0x435232
push 0x451398
push edi
push eax
call fcn.00404760
mov eax, dword [0x45157c]
add esp, 0xc
inc edi
mov eax, dword [eax + 0x18]
cmp edi, dword [eax + 0x278]
jl 0x435212
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43626e
xor esi, esi
call fcn.00423650
test eax, eax
je 0x43525e
mov edi, 2
cmp word [eax + 2], di
jb 0x435255
inc esi
call fcn.00423600
test eax, eax
jne 0x43524e
mov eax, dword [esp + 0x2a4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
cmp esi, dword [esp + 0x14]
je 0x4352a0
mov dword [esp + 0x18], 5
jmp 0x43626e
mov eax, dword [esp + 0x2a4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x64]
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x4c
call esi
push 0x5c
mov dword [esp + 0x38], eax
call esi
push 0x74
mov dword [esp + 0x40], eax
call esi
push 0x50
mov dword [esp + 0x64], eax
call esi
push 0x24
mov dword [esp + 0x54], eax
call esi
push 0x50
mov dword [esp + 0x64], eax
call esi
mov ecx, dword [0x45157c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
add esp, 0x18
mov edx, dword [ecx + 0xa0]
mov dword [esp + 0x64], 0
test eax, eax
mov dword [esp + 0x58], edx
jle 0x435cfb
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
push 0x4c
push ecx
push edx
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
cmp dword [esp + 0x10], 0x4c
jb 0x435cfb
mov edx, dword [esp + 0x2a4]
xor ebx, ebx
lea eax, [esp + 0x10]
push ebx
push eax
lea ecx, [esp + 0x1c]
push 2
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
cmp dword [esp + 0x10], 2
jb 0x435cfb
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x4353e2
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x2ac]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jb 0x435cfb
add dword [esp + 0x58], eax
mov ecx, dword [esp + 0x30]
or ebp, 0xffffffff
test dword [ecx + 0x38], 0x230
je 0x43542a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2a4]
lea edx, [esp + 0x10]
push 0
push edx
push 0x5c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
cmp dword [esp + 0x10], 0x5c
jb 0x435cfb
mov edx, dword [esp + 0x34]
mov ebp, dword [edx + 0x20]
jmp 0x435437
mov edi, dword [esp + 0x34]
mov ecx, 0x17
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
mov cx, word [eax + 4]
push ecx
call fcn.00423570
add esp, 4
xor esi, esi
xor edi, edi
test eax, eax
je 0x435468
mov edx, dword [esp + 0x30]
mov esi, dword [eax + 0x14]
mov al, byte [edx + 0x3c]
mov edi, dword [esi + 0x36]
test al, 8
jne 0x435468
mov dword [esi + 0x36], 0
mov eax, dword [esp + 0x30]
movsx ecx, word [eax]
mov edx, dword [eax + 0x40]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0xc]
push 0
push ebp
push ecx
mov cx, word [eax + 4]
push edx
mov dx, word [eax + 2]
push ecx
push edx
call fcn.0041adb0
add esp, 0x20
test esi, esi
je 0x435498
mov dword [esi + 0x36], edi
test eax, eax
jl 0x435ce9
mov ecx, dword [0x45157c]
test ebx, ebx
mov edx, dword [ecx + 0x1278]
mov ebp, dword [edx + eax*8]
mov eax, dword [esp + 0x30]
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 0x435536
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [ebp + 0x78]
test ecx, 0x230
je 0x43563d
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 0x435617
mov dword [ebp + 0xc0], 0x421290
mov ax, word [eax + 2]
cmp ax, 1
jne 0x43562d
mov dword [ebp + 0xc4], 0x421170
jmp 0x43563d
cmp ax, 2
jne 0x43563d
mov dword [ebp + 0xc4], 0x421290
test cl, 0x10
je 0x435763
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2a4]
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 0x435cfb
cmp dword [esp + 0x10], 0x74
jb 0x435cfb
mov ebx, dword [esp + 0x54]
mov eax, dword [ebp + 0x44]
push 0
push eax
mov ecx, dword [ebx + 0x20]
push ebp
push ecx
call fcn.0041cdd0
mov edx, dword [esp + 0x44]
add esp, 0x10
lea esi, [ebx + 0x24]
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]
mov ecx, 0x14
mov dword [ebp + 0x176], edx
lea edx, [ebp + 0x17e]
mov edi, edx
cmp eax, 5
rep movsd dword es:[edi], dword [esi]
jne 0x435712
mov eax, dword [ebp + 0x1aa]
mov ecx, dword [ebx + 0x48]
add eax, ecx
mov dword [ebp + 0x1a2], eax
jmp 0x435763
cmp eax, 0xd
jne 0x435739
cmp dword [edx], 0
je 0x435763
mov edx, dword [0x45157c]
mov ecx, dword [ebp + 0x182]
mov eax, dword [edx + 0x1278]
mov ecx, dword [eax + ecx*8]
mov dword [ebp + 0x182], ecx
jmp 0x435763
cmp eax, 0xe
jne 0x435763
mov ecx, dword [ebp + 0xd0]
test ecx, ecx
je 0x435763
mov eax, dword [esp + 0x2a4]
mov edx, dword [ecx]
push eax
push 0x1011
push ebp
call dword [edx + 0x54]
test eax, eax
je 0x435cfb
test byte [ebp + 0x78], 0x20
je 0x43585e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2a4]
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 0x435cfb
cmp dword [esp + 0x10], 0x50
jb 0x435cfb
mov eax, dword [ebp + 0xb8]
mov esi, dword [esp + 0x40]
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 0x43582d
xor ebx, ebx
mov bx, word [edx + 6]
add ebx, ecx
add ebx, edx
mov dword [eax + 0x14], ebx
jmp 0x435830
mov dword [eax + 0x14], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x435841
mov edx, dword [eax + 0x14]
add edx, ecx
mov dword [eax + 0x20], edx
jmp 0x435844
mov dword [eax + 0x20], edi
cmp dword [eax + 0x14], edi
je 0x43585e
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x43585e
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 0x4358ae
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2a4]
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 0x435cfb
cmp dword [esp + 0x10], 0x24
jb 0x435cfb
mov eax, dword [ebp + 0xbc]
mov esi, dword [esp + 0x4c]
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 0x4359d8
mov eax, dword [ebp + 0x80]
add eax, ebp
xor edi, edi
mov dword [esp + 0x60], eax
mov esi, dword [eax]
mov edx, dword [esp + 0x2a4]
push esi
push edx
call fcn.004346d0
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x435cfb
inc edi
add esi, 0x10
cmp edi, 0x1a
jl 0x4358ca
mov eax, dword [esp + 0x60]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
lea esi, [eax + 0x86]
mov eax, dword [esp + 0x2a4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x24]
push 2
push edx
push eax
call ebx
test eax, eax
je 0x43599a
cmp dword [esp + 0x10], 2
jb 0x43599a
cmp word [esp + 0x1c], 0
jbe 0x43598d
mov ecx, dword [esi]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x20]
and edx, 0xffff
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x24]
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 + 0x2b4]
push eax
call ebx
test eax, eax
je 0x435cfb
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
cmp eax, ecx
jb 0x435cfb
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
inc edi
add esi, 4
cmp edi, 0xa
jl 0x435902
mov eax, dword [esp + 0x24]
test eax, eax
je 0x435cfb
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2a4]
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 0x435cfb
cmp dword [esp + 0x10], 4
jb 0x435cfb
mov ax, word [ebp + 0x18]
cmp ax, 3
je 0x435a0a
cmp ax, 4
je 0x435a04
cmp ax, 5
je 0x435a04
cmp ax, 6
je 0x435a04
cmp ax, 7
je 0x435a04
cmp ax, 9
jne 0x435b22
cmp ax, 3
jne 0x435a28
mov eax, dword [ebp + 0x22e]
test eax, eax
je 0x435a28
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 + 0x2a4]
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 0x435cfb
cmp dword [esp + 0x10], 0x50
jb 0x435cfb
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 0x435b03
mov ecx, dword [esp + 0x2a4]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x4c]
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
cmp dword [esp + 0x10], 2
jb 0x435cfb
mov eax, dword [esp + 0x44]
test ax, ax
jbe 0x435b22
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x48]
add esp, 4
lea edx, [esp + 0x10]
and ecx, 0xffff
push 0
push edx
mov edx, dword [esp + 0x2ac]
push ecx
push eax
push edx
mov dword [ebp + 0x22e], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
cmp ecx, eax
jb 0x435cfb
jmp 0x435b22
cmp ax, 9
jne 0x435b22
mov ecx, dword [esp + 0x2a4]
push ecx
push ebp
call fcn.004408b0
add esp, 8
test eax, eax
je 0x435cfb
cmp word [ebp + 0x18], 8
jne 0x435b3f
mov edx, dword [esp + 0x2a4]
push edx
push ebp
call fcn.004371f0
test eax, eax
je 0x435cfb
cmp word [ebp + 0x18], 0x20
jl 0x435c14
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x70]
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
cmp dword [esp + 0x10], 4
jne 0x435cfb
movsx eax, word [ebp + 0x18]
mov edx, dword [0x451574]
lea ecx, [eax + eax*8]
shl ecx, 3
sub ecx, eax
mov eax, dword [edx + 0xe0]
mov edx, dword [esp + 0x68]
cmp edx, dword [eax + ecx*2 - 0x1138]
jne 0x435cf3
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x2b]
push 1
push ecx
push edx
mov byte [esp + 0x37], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435cfb
cmp dword [esp + 0x10], 1
jne 0x435cfb
mov al, byte [esp + 0x23]
test al, al
je 0x435c14
movsx eax, word [ebp + 0x18]
mov ecx, dword [0x45157c]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x1d4]
mov eax, dword [eax + edx*2 - 0x1158]
test eax, eax
je 0x435c1a
mov ecx, dword [esp + 0x2a4]
push ecx
push ebp
call eax
test eax, eax
je 0x435cfb
mov ecx, dword [0x45157c]
mov eax, dword [ebp + 0x78]
test ah, 2
je 0x435c50
mov edx, dword [ebp + 0xbc]
test byte [edx + ebp + 0x20], 1
mov eax, dword [ebp + 0xd4]
je 0x435c41
test eax, eax
je 0x435c50
push 0
push eax
mov eax, dword [ecx]
push eax
jmp 0x435c4b
test eax, eax
je 0x435c50
mov ecx, dword [ecx]
push 1
push eax
push ecx
call sub.MMFS2.dll_Ordinal_78
mov esi, dword [esp + 0x34]
xor edi, edi
cmp dword [esi + 0x54], edi
je 0x435c7c
cmp dword [ebp + 0x128], edi
jne 0x435c6d
push edi
push ebp
call fcn.00401a40
add esp, 8
mov ebp, dword [ebp + 0x128]
cmp ebp, edi
je 0x435cce
mov ecx, dword [esi + 0x54]
jmp 0x435cc3
cmp dword [esi + 0x58], edi
je 0x435cce
mov eax, dword [ebp + 0x78]
or byte [ebp + 0x7c], 1
test al, 0x20
jne 0x435cad
test ah, 2
jne 0x435cad
mov edx, dword [0x45157c]
movsx eax, word [ebp]
mov ecx, dword [edx + 0x1278]
push eax
mov dword [ecx + eax*8 + 4], edi
call fcn.0041c1b0
jmp 0x435cb3
push ebp
call fcn.004211e0
mov ebp, dword [ebp + 0x12c]
add esp, 4
cmp ebp, edi
je 0x435cce
mov ecx, dword [esi + 0x58]
mov eax, dword [ebp]
dec ecx
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x28], edi
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x43532c
jmp 0x435cfb
mov dword [esp + 0x18], 5
jmp 0x435cfb
mov dword [esp + 0x18], 3
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push edx
call esi
mov eax, dword [esp + 0x38]
push eax
call esi
mov ecx, dword [esp + 0x5c]
push ecx
call esi
mov edx, dword [esp + 0x4c]
push edx
call esi
mov eax, dword [esp + 0x5c]
push eax
call esi
mov ecx, dword [esp + 0x4c]
push ecx
call esi
mov eax, dword [esp + 0x40]
add esp, 0x18
test eax, eax
jne 0x43626e
mov esi, dword [0x45157c]
xor edi, edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x1278]
test eax, eax
jle 0x435d9b
mov ebx, 9
cmp dword [ecx], 0
jne 0x435d63
mov eax, dword [ecx + 8]
add ecx, 8
test eax, eax
je 0x435d59
mov eax, dword [ecx]
test byte [eax + 0x78], 0x10
je 0x435d93
cmp dword [eax + 0xcc], ebx
jne 0x435d93
mov edx, dword [eax + 0x1b2]
test edx, edx
je 0x435d93
mov esi, dword [esi + 0x1278]
mov edx, dword [esi + edx*8 - 8]
mov dword [eax + 0x1b2], edx
mov esi, dword [0x45157c]
mov eax, dword [esi + 0x3c]
inc edi
cmp edi, eax
jl 0x435d54
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x28], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jle 0x435e9f
mov eax, dword [esp + 0x2a4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x24]
push 4
push edx
push eax
call ebx
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x2a8]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push 0
push edx
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x4360dc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x4360dc
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cdq
sub eax, edx
mov esi, edi
sar eax, 1
test eax, eax
jle 0x435e7a
mov ecx, dword [0x45157c]
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 0x435e6c
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x435e6c
push eax
mov eax, dword [ecx]
push eax
call sub.MMFS2.dll_Ordinal_95
mov ecx, dword [0x45157c]
mov eax, dword [esp + 0x1c]
inc ebp
cdq
sub eax, edx
sar eax, 1
cmp ebp, eax
jl 0x435e38
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x45157c]
mov eax, dword [esp + 0x2c]
add esp, 4
inc eax
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x28], eax
cmp eax, dword [edx + 0x2c]
jl 0x435db7
mov esi, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push esi
mov ebp, 2
call ebx
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], 4
jb 0x43626e
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x435fe9
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x28], eax
push 0
push edx
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x43626e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x43626e
mov eax, dword [0x45157c]
mov esi, dword [esp + 0x28]
mov ebx, dword [eax + 0x58]
cmp word [ebx], 0xffff
je 0x435fc9
mov di, word [esi]
add esi, 2
test di, di
jl 0x435fbc
mov word [ebx + 6], di
mov eax, dword [0x45157c]
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 0x435fbc
mov word [ecx], ax
mov edx, dword [0x45157c]
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 0x435f87
add ebx, 0x76
cmp word [ebx], 0xffff
jne 0x435f27
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x2a8]
add esp, 4
mov ebp, 2
mov ecx, dword [0x451574]
lea eax, [ecx + 0x284]
mov ecx, dword [ecx + 0x284]
test ecx, ecx
je 0x436008
push eax
call fcn.0041cd50
add esp, 4
lea edx, [esp + 0x10]
push 0
mov edi, 4
push edx
lea eax, [esp + 0x1c]
push edi
push eax
push esi
call ebx
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], edi
jb 0x43626e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x436081
mov ecx, dword [0x451574]
add ecx, 0x284
push ecx
push eax
call fcn.0041cc80
mov ecx, dword [0x451574]
mov eax, dword [esp + 0x1c]
add esp, 8
lea edx, [esp + 0x10]
push 0
push edx
mov edx, dword [ecx + 0x284]
push eax
push edx
push esi
call ebx
test eax, eax
je 0x43626e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x43626e
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push esi
call ebx
test eax, eax
je 0x43626e
cmp dword [esp + 0x10], edi
jb 0x43626e
mov eax, dword [0x451578]
mov edi, dword [eax + 0x80]
mov eax, edi
mov cx, word [eax]
test cx, cx
je 0x4360c5
movsx ecx, cx
sub eax, ecx
mov cx, word [eax]
test cx, cx
jne 0x4360b8
mov ecx, dword [esp + 0x14]
sub eax, edi
cmp ecx, eax
je 0x4360f3
mov dword [esp + 0x18], 5
jmp 0x43626e
test edi, edi
je 0x43626e
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x43626e
test ecx, ecx
jbe 0x43620e
cmp word [edi], 0
je 0x43620e
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [edi + 4]
push ebp
push eax
push esi
call ebx
test eax, eax
je 0x436204
cmp dword [esp + 0x10], ebp
jb 0x436204
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [edi + 6]
push ebp
push edx
push esi
call ebx
test eax, eax
je 0x436204
cmp dword [esp + 0x10], ebp
jb 0x436204
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [edi + 8]
push ebp
push ecx
push esi
call ebx
test eax, eax
je 0x436204
cmp dword [esp + 0x10], ebp
jb 0x436204
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [edi + 0xa]
push ebp
push eax
push esi
call ebx
test eax, eax
je 0x436204
cmp dword [esp + 0x10], ebp
jb 0x436204
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 3]
mov dl, byte [edi + 2]
mov ebp, ecx
lea esi, [edi + 0xe]
add ebp, edx
test ebp, ebp
jle 0x4361e8
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esi + 0xa]
push 1
push ecx
push edx
call ebx
test eax, eax
je 0x436204
cmp dword [esp + 0x10], 1
jb 0x436204
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esi + 0xb]
push 1
push ecx
push edx
call ebx
test eax, eax
je 0x436204
cmp dword [esp + 0x10], 1
jb 0x436204
movsx eax, word [esi]
add esi, eax
dec ebp
test ebp, ebp
jg 0x43619a
movsx ecx, word [edi]
sub edi, ecx
cmp word [edi], 0
je 0x43620e
mov esi, dword [esp + 0x2a4]
mov ebp, 2
jmp 0x436105
mov dword [esp + 0x18], 1
jmp 0x43626e
mov edx, dword [0x451578]
mov eax, dword [edx + 0x80]
mov si, word [eax]
test si, si
je 0x43625e
mov edi, 0xfffffffa
xor edx, edx
lea ecx, [eax + 0xe]
mov dl, byte [eax + 2]
test edx, edx
jle 0x436251
cmp dword [ecx + 2], edi
jne 0x436249
mov ebx, dword [0x45157c]
mov bx, word [ebx + 0xd0]
mov word [eax + 6], bx
movsx ebx, word [ecx]
add ecx, ebx
dec edx
jne 0x436233
movsx ecx, si
sub eax, ecx
mov si, word [eax]
test si, si
jne 0x436227
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
mov edx, dword [0x451574]
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, esi
mov dword [edx + 0x374], esi
jne 0x436297
mov eax, dword [esp + 0x2a4]
cmp eax, 0xffffffff
je 0x436297
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4362e8
mov edx, dword [0x451540]
lea ecx, [esp + 0x90]
push 0x100
add eax, 0x81
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x45157c]
push 0x30
mov ecx, dword [eax + 0x4f4]
mov eax, dword [eax + 0xc]
mov edx, dword [ecx + 0x34]
mov ecx, dword [edx + 0x80]
lea edx, [esp + 0x94]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 6
call fcn.00425b40
add esp, 4
call fcn.00439a60
mov ecx, dword [0x45157c]
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x1270], esi
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x290
ret