Function at 0x4038b0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4be306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov edx, dword [esp + 0x100]
push ebx
push ebp
push esi
xor esi, esi
push edi
lea eax, [esp + 0x40]
push esi
push eax
lea ecx, [esp + 0xc8]
push 0x20
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xce]
mov eax, dword [esp + 0xc8]
mov ebp, dword [esp + 0xca]
and ecx, 0xffff
and edx, 0xffff
and eax, 0xffff
and ebp, 0xffff
sub edx, ecx
sub ebp, eax
mov dword [esp + 0x44], edx
imul edx, ebp
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0x118]
and ebx, 0xffff
add edi, ebp
sub ebx, ecx
xor edx, edx
neg edi
dec ebx
mov dword [esp + 0x108], 3
imul ebx, dword [esp + 0x118]
add ebx, eax
mov eax, dword [esp + 0xc1]
and eax, 0xff
mov dword [esp + 0x2c], esi
dec eax
mov dword [esp + 0x28], esi
cmp eax, 0xef
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0x54], ebx
ja case.0x403a37.7
xor ecx, ecx
mov cl, byte [eax + 0x405894]
jmp dword [ecx*4 + 0x405878]
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x44], edx
test eax, eax
mov ebx, eax
jbe 0x403a81
push eax
call fcn.004b17cf
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x403b27
mov dword [esp + 0x30], ebx
test esi, esi
jbe 0x403aad
mov eax, dword [esp + 0x24]
push esi
test eax, eax
je 0x403a99
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403aa1
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x403b27
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x403aea
mov eax, dword [esp + 0x28]
test eax, eax
je 0x403acd
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403ada
mov edx, dword [esp + 0x10]
push edx
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x403b27
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x403b27
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x403b0a
mov ecx, dword [esp + 0x44]
push ecx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403b17
mov edx, dword [esp + 0x44]
push edx
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x2c], eax
je 0x403b27
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x403b55
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x110]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call ebx
jmp 0x403b62
mov esi, dword [esp + 0x110]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call ebx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call ebx
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x114]
mov ebx, dword [esp + 0x4c]
test eax, eax
je 0x403bd3
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push edi
push ecx
push 3
lea ecx, [esi + eax*4]
push edx
push ecx
call fcn.00405990
add esp, 0x1c
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
push ebx
push ebp
push edi
push eax
lea esi, [esi + edx*4]
push 0
push ecx
push esi
call fcn.00405990
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
push ebx
push ebp
push edi
push edx
push 1
push eax
push esi
call fcn.00405990
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
push ebx
push ebp
push edi
push ecx
push 2
push edx
push esi
call fcn.00405990
mov eax, dword [esp + 0x74]
add esp, 0x54
test eax, eax
je 0x403c2d
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x403c40
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4049be
jmp 0x4049b5
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], ecx
test eax, eax
mov ebx, eax
jbe 0x403c98
push eax
call fcn.004b17cf
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
je 0x403d3a
mov esi, dword [esp + 0x60]
mov dword [esp + 0x6c], ebx
test edi, edi
jbe 0x403cc0
test esi, esi
push edi
je 0x403cac
push esi
call fcn.004b0ac2
add esp, 8
jmp 0x403cb4
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x60], eax
je 0x403d3a
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x403cfd
mov eax, dword [esp + 0x64]
test eax, eax
je 0x403ce0
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403ced
mov eax, dword [esp + 0x10]
push eax
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x403d3a
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x403d3a
mov eax, dword [esp + 0x68]
test eax, eax
je 0x403d1d
mov edx, dword [esp + 0x14]
push edx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403d2a
mov eax, dword [esp + 0x14]
push eax
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x68], eax
je 0x403d3a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x403d68
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
jmp 0x403d75
mov esi, dword [esp + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
lea edx, [esp + 0x40]
push 0
push edx
lea eax, [esp + 0x8c]
push 0x1c
push eax
push esi
call edi
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x403de3
mov ecx, dword [esp + 0x68]
push 0
push ecx
call fcn.004037e0
add esp, 8
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x64]
push 0
push edx
call fcn.004037e0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
push 0
push eax
call fcn.004037e0
mov ecx, dword [esp + 0x6c]
push 0
push ecx
mov dword [esp + 0x4c], eax
call fcn.004037e0
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
add esp, 0x18
test eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edx
mov edi, eax
jbe 0x403e58
mov ecx, dword [esp + 0x20]
push eax
test ecx, ecx
je 0x403e40
push ecx
call fcn.004b0ac2
add esp, 8
jmp 0x403e48
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x403ee4
mov dword [esp + 0x30], edi
test esi, esi
jbe 0x403e84
mov eax, dword [esp + 0x24]
push esi
test eax, eax
je 0x403e70
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403e78
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x403ee4
mov dword [esp + 0x34], esi
test ebx, ebx
jbe 0x403eb0
mov eax, dword [esp + 0x28]
push ebx
test eax, eax
je 0x403e9c
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403ea4
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x403ee4
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x48]
test ecx, ecx
jbe 0x403ee4
mov eax, dword [esp + 0x2c]
push ecx
test eax, eax
je 0x403ecc
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x403ed4
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x2c], eax
je 0x403ee4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x403f01
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.004037e0
add esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004037e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.004037e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call fcn.004037e0
mov eax, dword [esp + 0x74]
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
je 0x403f44
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x403f55
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x403f66
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x403f77
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x68], ebx
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
je 0x4041e5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, ebp
cdq
idiv ecx
mov edi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
cdq
idiv ecx
imul ecx, ebp
mov dword [esp + 0x84], ecx
mov esi, eax
call fcn.004b17cf
mov edx, eax
mov ecx, edi
mov dword [esp + 0x20], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
cmp esi, ebx
mov dword [esp + 0x58], edx
jle 0x4040e5
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x404072
mov dword [esp + 0x7c], esi
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x404061
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
add eax, ecx
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x404033
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x7c]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x7c], esi
jne 0x404027
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x4040c3
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x4040c3
mov edi, dword [esp + 0x90]
mov ecx, edi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
add eax, edi
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x404090
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
add edx, edi
dec esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], esi
jne 0x404017
jmp 0x4040ec
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x98]
test esi, esi
je 0x4041be
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x404166
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x50], esi
test edi, edi
mov dword [esp + 0x14], 0
jle 0x404153
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, ecx
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x40411e
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x50]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x50], esi
jne 0x404112
jmp 0x40416d
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x4041be
test edi, edi
mov dword [esp + 0x14], 0
jle 0x4041be
mov esi, dword [esp + 0x90]
mov ecx, esi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, esi
inc ecx
cmp ecx, edi
mov dword [esp + 0x14], ecx
jl 0x40418b
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, ecx
mov esi, eax
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004b09d9
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, ebp
cdq
idiv ecx
mov edi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
cdq
idiv ecx
imul ecx, ebp
mov dword [esp + 0x84], ecx
mov esi, eax
call fcn.004b17cf
mov edx, eax
mov ecx, edi
mov dword [esp + 0x5c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x5c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x7c]
cmp esi, ebx
mov dword [esp + 0x1c], edx
jle 0x404324
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x4042b1
mov dword [esp + 0x18], esi
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x4042a0
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
add eax, ecx
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x404272
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x404266
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x404302
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x404302
mov edi, dword [esp + 0x90]
mov ecx, edi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
add eax, edi
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x4042cf
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
add edx, edi
dec esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], esi
jne 0x404256
jmp 0x40432b
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x98]
test esi, esi
je 0x4043fd
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x4043a5
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x18], esi
test edi, edi
mov dword [esp + 0x14], 0
jle 0x404392
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, ecx
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x40435d
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x404351
jmp 0x4043ac
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x4043fd
test edi, edi
mov dword [esp + 0x14], 0
jle 0x4043fd
mov esi, dword [esp + 0x90]
mov ecx, esi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, esi
inc ecx
cmp ecx, edi
mov dword [esp + 0x14], ecx
jl 0x4043ca
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x7c]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004b09d9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x80], eax
mov eax, ebp
cdq
idiv ecx
push ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
cdq
idiv ecx
imul ecx, ebp
mov dword [esp + 0x88], ecx
mov esi, eax
call fcn.004b17cf
mov edx, eax
mov ecx, ebx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
add esp, 8
and ecx, 3
mov dword [esp + 0x48], edx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
test esi, esi
jle 0x404559
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x4044e6
mov dword [esp + 0x18], esi
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x4044d5
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
add eax, ecx
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x4044a7
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x40449b
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x404537
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x404537
mov edi, dword [esp + 0x90]
mov ecx, edi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
add eax, edi
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x404504
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
add edx, edi
dec esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], esi
jne 0x40448b
jmp 0x404560
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x98]
test esi, esi
je 0x404632
mov esi, dword [esp + 0x58]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x4045da
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x18], esi
test edi, edi
mov dword [esp + 0x14], 0
jle 0x4045c7
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, ecx
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x404592
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x404586
jmp 0x4045e1
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x404632
test edi, edi
mov dword [esp + 0x14], 0
jle 0x404632
mov esi, dword [esp + 0x90]
mov ecx, esi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, esi
inc ecx
cmp ecx, edi
mov dword [esp + 0x14], ecx
jl 0x4045ff
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x7c]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004b09d9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov eax, ebp
cdq
idiv ecx
push ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
cdq
idiv ecx
imul ecx, ebp
mov dword [esp + 0x88], ecx
mov esi, eax
call fcn.004b17cf
mov edx, eax
mov ecx, ebx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
add esp, 8
and ecx, 3
mov dword [esp + 0x7c], edx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
test esi, esi
jle 0x40478b
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x404718
mov dword [esp + 0x18], esi
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x404707
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
add eax, ecx
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x4046d9
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x4046cd
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x404769
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x404769
mov edi, dword [esp + 0x90]
mov ecx, edi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
add eax, edi
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x404736
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
add edx, edi
dec esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], esi
jne 0x4046bd
jmp 0x404792
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x98]
test esi, esi
je 0x404864
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edx
test esi, esi
jle 0x40480c
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x18], esi
test edi, edi
mov dword [esp + 0x14], 0
jle 0x4047f9
mov ebx, ecx
mov esi, eax
mov edi, edx
add edx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, ecx
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x4047c4
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, ecx
dec esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x4047b8
jmp 0x404813
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x404864
test edi, edi
mov dword [esp + 0x14], 0
jle 0x404864
mov esi, dword [esp + 0x90]
mov ecx, esi
mov esi, eax
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
add eax, esi
inc ecx
cmp ecx, edi
mov dword [esp + 0x14], ecx
jl 0x404831
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x58]
mov edx, ecx
mov esi, eax
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004b09d9
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x58]
xor esi, esi
add esp, 4
lea edi, [eax + ecx*4]
mov eax, dword [esp + 0xd0]
cmp eax, esi
mov dword [esp + 0x18], edi
je 0x40491b
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp ecx, esi
jle 0x40498b
mov dword [esp + 0x1c], ecx
test ebp, ebp
jle 0x404902
mov esi, edi
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
xor edx, edx
add esi, 4
mov dh, byte [eax + ecx]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
xor ecx, ecx
mov cl, byte [eax + ebx]
mov ebx, dword [esp + 0x28]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + ebx]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esi - 4], edx
inc eax
dec ecx
mov dword [esp + 0x18], ecx
jne 0x4048c4
mov edx, dword [esp + 0x118]
mov ecx, dword [esp + 0x1c]
neg edx
dec ecx
lea edi, [edi + edx*4]
mov dword [esp + 0x1c], ecx
jne 0x4048ba
jmp 0x404989
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp ecx, esi
jle 0x40498b
mov dword [esp + 0x1c], ecx
jmp 0x40492d
xor esi, esi
cmp ebp, esi
jle 0x40496e
mov ecx, edi
mov esi, ebp
mov edi, dword [esp + 0x20]
xor edx, edx
xor ebx, ebx
add ecx, 4
mov dl, byte [eax + edi]
mov edi, dword [esp + 0x24]
or edx, 0xffffff00
mov bl, byte [eax + edi]
mov edi, dword [esp + 0x28]
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + edi]
shl edx, 8
or edx, ebx
inc eax
mov dword [ecx - 4], edx
dec esi
jne 0x404935
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x118]
neg ecx
lea edi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
jne 0x40492b
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x40499c
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x4049ad
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4049be
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x4049cf
push eax
call fcn.004b09d9
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
jmp 0x40572f
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x4c], edx
test eax, eax
mov ebx, eax
jbe 0x404a3b
push eax
call fcn.004b17cf
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
je 0x404add
mov esi, dword [esp + 0x60]
mov dword [esp + 0x6c], ebx
test edi, edi
jbe 0x404a63
test esi, esi
push edi
je 0x404a4f
push esi
call fcn.004b0ac2
add esp, 8
jmp 0x404a57
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x60], eax
je 0x404add
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x404aa0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x404a83
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404a90
mov edx, dword [esp + 0x10]
push edx
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x404add
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jbe 0x404add
mov eax, dword [esp + 0x68]
test eax, eax
je 0x404ac0
mov ecx, dword [esp + 0x4c]
push ecx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404acd
mov edx, dword [esp + 0x4c]
push edx
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x68], eax
je 0x404add
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x404b0b
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call edi
jmp 0x404b18
mov esi, dword [esp + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call edi
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call edi
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
push eax
push esi
call edi
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x404b72
mov ecx, dword [esp + 0x68]
push 0
push ecx
call fcn.004037e0
add esp, 8
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x64]
push 0
push edx
call fcn.004037e0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
push 0
push eax
call fcn.004037e0
mov ecx, dword [esp + 0x6c]
push 0
push ecx
mov dword [esp + 0x4c], eax
call fcn.004037e0
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
add esp, 0x18
test eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
mov edi, eax
jbe 0x404be7
mov ecx, dword [esp + 0x20]
push eax
test ecx, ecx
je 0x404bcf
push ecx
call fcn.004b0ac2
add esp, 8
jmp 0x404bd7
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x404c73
mov dword [esp + 0x30], edi
test esi, esi
jbe 0x404c13
mov eax, dword [esp + 0x24]
push esi
test eax, eax
je 0x404bff
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404c07
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x404c73
mov dword [esp + 0x34], esi
test ebx, ebx
jbe 0x404c3f
mov eax, dword [esp + 0x28]
push ebx
test eax, eax
je 0x404c2b
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404c33
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x404c73
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x404c73
mov eax, dword [esp + 0x2c]
push ecx
test eax, eax
je 0x404c5b
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404c63
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x2c], eax
je 0x404c73
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x404c90
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.004037e0
add esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004037e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.004037e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call fcn.004037e0
mov eax, dword [esp + 0x74]
add esp, 0x18
test eax, eax
je 0x404cd1
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x404ce2
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x404cf3
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x404d04
push eax
call fcn.004b09d9
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.00405af0
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x54]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esp + 0x10], edx
je 0x404dbd
mov eax, dword [esp + 0x44]
xor edi, edi
xor ecx, ecx
test eax, eax
jle 0x404e27
mov dword [esp + 0x1c], eax
test ebp, ebp
mov dword [esp + 0x18], 0
jle 0x404da0
mov esi, edx
cmp dword [esp + 0x3c], edi
jge 0x404da0
mov eax, dword [esp + 0x2c]
mov al, byte [edi + eax]
test al, al
jbe 0x404d8f
mov ebx, dword [esp + 0x20]
xor edx, edx
mov dl, byte [ecx + ebx]
mov ebx, dword [esp + 0x24]
mov dh, al
xor eax, eax
mov al, byte [ecx + ebx]
mov ebx, dword [esp + 0x28]
shl edx, 8
or edx, eax
xor eax, eax
mov al, byte [ecx + ebx]
shl edx, 8
or edx, eax
inc ecx
mov dword [esi], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add esi, 4
inc eax
inc edi
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x404d50
mov eax, dword [esp + 0x118]
neg eax
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
jne 0x404d42
jmp 0x404e27
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0x404e27
mov dword [esp + 0x18], ecx
test ebp, ebp
jle 0x404e0c
mov ecx, edx
mov esi, ebp
mov edi, dword [esp + 0x20]
xor edx, edx
xor ebx, ebx
add ecx, 4
mov dl, byte [eax + edi]
mov edi, dword [esp + 0x24]
or edx, 0xffffff00
mov bl, byte [eax + edi]
mov edi, dword [esp + 0x28]
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + edi]
shl edx, 8
or edx, ebx
inc eax
mov dword [ecx - 4], edx
dec esi
jne 0x404dd3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x118]
neg ecx
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
jne 0x404dcb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x404e38
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x404e49
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x404e5a
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4052b4
jmp 0x4052ab
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], ecx
test eax, eax
mov ebx, eax
jbe 0x404ebb
push eax
call fcn.004b17cf
add esp, 4
mov dword [esp + 0xa0], eax
test eax, eax
je 0x404f79
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xb0], ebx
test esi, esi
jbe 0x404eed
test edx, edx
push esi
je 0x404ecf
push edx
call fcn.004b0ac2
add esp, 8
jmp 0x404ed7
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0xa4], eax
je 0x404f79
mov dword [esp + 0xb4], esi
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x404f33
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x404f10
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404f1d
mov eax, dword [esp + 0x10]
push eax
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0xa8], eax
je 0x404f79
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x404f79
mov eax, dword [esp + 0xac]
test eax, eax
je 0x404f56
mov edx, dword [esp + 0x44]
push edx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x404f63
mov eax, dword [esp + 0x44]
push eax
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0xac], eax
je 0x404f79
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x404fad
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x110]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call ebx
jmp 0x404fba
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call ebx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call ebx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call ebx
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x405029
mov edx, dword [esp + 0xac]
push 0
push edx
call fcn.00403500
add esp, 8
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
push 0
push eax
call fcn.00403500
mov ecx, dword [esp + 0xac]
push 0
push ecx
mov dword [esp + 0x40], eax
call fcn.00403500
mov edx, dword [esp + 0xb8]
push 0
push edx
mov dword [esp + 0x4c], eax
call fcn.00403500
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x48]
add esp, 0x18
test eax, eax
mov dword [esp + 0x18], ecx
mov ebx, eax
jbe 0x4050ae
mov ecx, dword [esp + 0x20]
push eax
test ecx, ecx
je 0x405096
push ecx
call fcn.004b0ac2
add esp, 8
jmp 0x40509e
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x40513d
mov dword [esp + 0x30], ebx
test esi, esi
jbe 0x4050da
mov eax, dword [esp + 0x24]
push esi
test eax, eax
je 0x4050c6
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x4050ce
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x40513d
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x80]
test esi, esi
jbe 0x40510d
mov eax, dword [esp + 0x28]
push esi
test eax, eax
je 0x4050f9
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x405101
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x40513d
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x18]
test esi, esi
jbe 0x40513d
mov eax, dword [esp + 0x2c]
push esi
test eax, eax
je 0x405129
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x405131
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0x2c], eax
je 0x40513d
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x40515d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xac]
push edx
push eax
call fcn.00403500
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xa0]
push ecx
push edx
call fcn.00403500
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xac]
push eax
push ecx
call fcn.00403500
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xb8]
push edx
push eax
call fcn.00403500
mov eax, dword [esp + 0xb8]
add esp, 0x18
test eax, eax
je 0x4051aa
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4051be
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4051d2
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4051e6
push eax
call fcn.004b09d9
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.00405af0
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x114]
mov ebx, dword [esp + 0x4c]
test eax, eax
je 0x405227
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push edi
push ecx
push 3
lea ecx, [esi + eax*4]
push edx
push ecx
call fcn.00405990
add esp, 0x1c
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
push ebx
push ebp
push edi
push eax
lea esi, [esi + edx*4]
push 0
push ecx
push esi
call fcn.00405990
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
push ebx
push ebp
push edi
push edx
push 1
push eax
push esi
call fcn.00405990
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
push ebx
push ebp
push edi
push ecx
push 2
push edx
push esi
call fcn.00405990
mov eax, dword [esp + 0x74]
add esp, 0x54
test eax, eax
je 0x405281
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x405292
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4052a3
push eax
call fcn.004b09d9
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4052b4
push eax
call fcn.004b09d9
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00405af0
jmp 0x40572f
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], ecx
test eax, eax
mov edi, eax
jbe 0x405312
push eax
call fcn.004b17cf
add esp, 4
mov dword [esp + 0xa0], eax
test eax, eax
je 0x4053d0
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xb0], edi
test esi, esi
jbe 0x405344
test edx, edx
push esi
je 0x405326
push edx
call fcn.004b0ac2
add esp, 8
jmp 0x40532e
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0xa4], eax
je 0x4053d0
mov dword [esp + 0xb4], esi
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x40538a
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x405367
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x405374
mov eax, dword [esp + 0x10]
push eax
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0xa8], eax
je 0x4053d0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x54]
test eax, eax
jbe 0x4053d0
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4053ad
mov edx, dword [esp + 0x54]
push edx
push eax
call fcn.004b0ac2
add esp, 8
jmp 0x4053ba
mov eax, dword [esp + 0x54]
push eax
call fcn.004b17cf
add esp, 4
test eax, eax
mov dword [esp + 0xac], eax
je 0x4053d0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x405404
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x110]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
jmp 0x405411
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x40]
push 0
push edx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x405483
mov edx, dword [esp + 0xac]
push 0
push edx
call fcn.00403500
add esp, 8
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xa0]
push 0
push eax
call fcn.00403500
mov ecx, dword [esp + 0xac]
push 0
push ecx
mov dword [esp + 0x100], eax
call fcn.00403500
mov edx, dword [esp + 0xb8]
push 0
push edx
mov dword [esp + 0x10c], eax
call fcn.00403500
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x10c]
add esp, 0x18
mov dword [esp + 0xf8], eax
push ecx
push eax
mov eax, dword [esp + 0xf8]
push edx
push eax
lea ecx, [esp + 0xf0]
call fcn.00405b10
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x405510
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xac]
push ecx
push edx
call fcn.00403500
add esp, 8
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xa0]
push eax
push ecx
call fcn.00403500
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xac]
push edx
push eax
call fcn.00403500
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xb8]
push ecx
push edx
call fcn.00403500
add esp, 0x18
lea ecx, [esp + 0xa0]
call fcn.00405bf0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x40557f
mov eax, dword [esp + 0xec]
push 0
push eax
call fcn.00403730
add esp, 8
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xe0]
push 0
push ecx
call fcn.00403730
mov edx, dword [esp + 0xec]
push 0
push edx
mov dword [esp + 0x40], eax
call fcn.00403730
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xf8]
push 0
push eax
call fcn.00403730
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
add esp, 0x18
mov dword [esp + 0x38], eax
push ecx
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00405b10
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x4055f4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xec]
push ecx
push edx
call fcn.00403730
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xe0]
push eax
push ecx
call fcn.00403730
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xec]
push edx
push eax
call fcn.00403730
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xf8]
push ecx
push edx
call fcn.00403730
add esp, 0x18
lea ecx, [esp + 0xe0]
call fcn.00405bf0
mov eax, dword [esp + 0x114]
lea edi, [eax + ebx*4]
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esp + 0x18], edi
je 0x4056c5
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0x40572f
mov dword [esp + 0x1c], ecx
test ebp, ebp
jle 0x4056ac
mov esi, edi
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
xor ecx, ecx
add esi, 4
mov ch, byte [eax + edx]
mov edx, dword [esp + 0x20]
mov cl, byte [eax + edx]
xor edx, edx
mov dl, byte [eax + ebx]
mov ebx, dword [esp + 0x28]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + ebx]
shl ecx, 8
or ecx, edx
inc eax
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
jne 0x40566e
mov ecx, dword [esp + 0x118]
neg ecx
lea edi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x405664
jmp 0x40572f
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jle 0x40572f
mov dword [esp + 0x1c], ecx
test ebp, ebp
jle 0x405714
mov ecx, edi
mov esi, ebp
mov edi, dword [esp + 0x20]
xor edx, edx
xor ebx, ebx
add ecx, 4
mov dl, byte [eax + edi]
mov edi, dword [esp + 0x24]
or edx, 0xffffff00
mov bl, byte [eax + edi]
mov edi, dword [esp + 0x28]
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + edi]
shl edx, 8
or edx, ebx
inc eax
mov dword [ecx - 4], edx
dec esi
jne 0x4056db
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x118]
neg ecx
lea edi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
jne 0x4056d3
lea ecx, [esp + 0x20]
call fcn.00405bf0
lea ecx, [esp + 0x5c]
call fcn.00405bf0
lea ecx, [esp + 0xa0]
call fcn.00405bf0
lea ecx, [esp + 0xe0]
call fcn.00405bf0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x108], 2
call fcn.00405a90
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 1
call fcn.00405a90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x108], 0
call fcn.00405a90
lea ecx, [esp + 0x20]
mov dword [esp + 0x108], 0xffffffff
call fcn.00405a90
mov eax, 1
jmp 0x40585f
lea ecx, [esp + 0xe0]
mov byte [esp + 0x108], 2
call fcn.00405bf0
lea ecx, [esp + 0xe0]
call fcn.00405af0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 1
call fcn.00405a90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x108], 0
call fcn.00405a90
lea ecx, [esp + 0x20]
mov dword [esp + 0x108], 0xffffffff
call fcn.00405a90
mov eax, 1
jmp 0x40585f
lea ecx, [esp + 0xe0]
mov byte [esp + 0x108], 2
call fcn.00405a90
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 1
call fcn.00405a90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x108], 0
call fcn.00405a90
lea ecx, [esp + 0x20]
mov dword [esp + 0x108], 0xffffffff
call fcn.00405a90
xor eax, eax
mov ecx, dword [esp + 0x100]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfc
ret