Function at 0x41fd30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7b5fb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x564
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x584]
mov ebx, ecx
xor esi, esi
lea ecx, [esp + 0x50]
mov al, byte [edi]
push esi
mov byte [esp + 0x54], al
call fcn.00404e60
mov ecx, dword [0x7e565c]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.00404c60
mov dl, byte [esp + 0x13]
mov dword [esp + 0x57c], esi
push esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x64], dl
call fcn.00404e60
mov eax, dword [esp + 0x58]
mov byte [esp + 0x57c], 1
cmp eax, esi
je 0x41fdc6
cmp dword [esp + 0x54], esi
je 0x41fdba
lea ecx, [esp + 0x50]
call fcn.0040b450
mov eax, dword [esp + 0x54]
jmp 0x41fdbf
mov eax, 0x7e5658
push eax
call dword [sym.imp.user32.dll_CharLowerA]
mov eax, dword [0x8b1594]
mov ecx, dword [0x8b1598]
cmp eax, esi
jne 0x41fdda
mov eax, 0x7e5658
push ecx
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.00428220
cmp eax, esi
jl 0x41fe34
mov ecx, dword [0x7e565c]
mov eax, dword [0x8b1598]
push ecx
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.0040b2a0
mov ecx, dword [0x7e565c]
mov byte [esp + 0x57c], 2
push ecx
push esi
push eax
lea ecx, [esp + 0x6c]
call fcn.00404c60
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 1
call fcn.00404e60
jmp 0x41fe4a
mov edx, dword [0x7e565c]
lea eax, [esp + 0x50]
push edx
push esi
push eax
lea ecx, [esp + 0x6c]
call fcn.00404c60
cmp dword [esp + 0x68], esi
jbe 0x41ffa6
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x74], cl
lea ecx, [esp + 0x74]
call fcn.00404e60
push 1
lea edx, [esp + 0x17]
push esi
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x588], 3
mov byte [esp + 0x1f], 0x3a
call fcn.00428220
cmp eax, 0xffffffff
jne 0x41ff04
or ecx, eax
mov edi, 0x82b660
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x82b660
lea ecx, [esp + 0x6c]
call fcn.00428220
cmp eax, 0xffffffff
jne 0x41ff04
or ecx, eax
mov edi, 0x82b65c
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x82b65c
lea ecx, [esp + 0x6c]
call fcn.00428220
cmp eax, 0xffffffff
jne 0x41ff04
cmp dword [0x8b1598], esi
jbe 0x41feec
mov eax, dword [0x7e565c]
lea ecx, [esp + 0x70]
push eax
push esi
push 0x8b1590
call fcn.00404c60
mov ecx, dword [0x7e565c]
lea edx, [esp + 0x60]
push ecx
push esi
push edx
lea ecx, [esp + 0x7c]
call fcn.004147b0
jmp 0x41ff19
mov eax, dword [0x7e565c]
lea ecx, [esp + 0x60]
push eax
push esi
push ecx
lea ecx, [esp + 0x7c]
call fcn.00404c60
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], esi
cmp eax, esi
jne 0x41ff2a
mov eax, 0x7e5658
push esi
push 0x80
push 3
push esi
push esi
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41ffd6
lea edx, [esp + 0x70]
push 0x82b724
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0040b4d0
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x57c], 4
cmp eax, esi
jne 0x41ff77
mov eax, 0x7e5658
push eax
call fcn.0045afa0
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x57c], 3
push 1
call fcn.00404e60
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x580], 1
call fcn.00404e60
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x580], 0
call fcn.00404e60
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x580], 0xffffffff
call fcn.00404e60
xor al, al
jmp 0x420b9f
push ebp
mov ecx, ebx
call fcn.0044d300
mov cl, byte [0x870c08]
xor eax, eax
mov byte [esp + 0x198], cl
mov ecx, 0x7f
lea edi, [esp + 0x199]
mov ebx, dword [sym.imp.kernel32.dll_ReadFile]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x1c]
push esi
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x20]
push 4
push eax
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420260
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1a0]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x40], cl
push esi
lea ecx, [esp + 0x44]
mov byte [esp + eax + 0x19c], 0
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x48]
call fcn.00401b40
test al, al
je 0x4200a4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
mov ecx, eax
lea esi, [esp + 0x198]
mov edx, ecx
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]
lea ecx, [esp + 0x44]
call fcn.00405070
xor esi, esi
push 0x8b1680
mov byte [esp + 0x580], 5
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x48], esi
jne 0x4200cd
push 0x8b1680
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x42024d
mov al, byte [esp + 0x40]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00404e60
mov ecx, dword [0x7e565c]
lea edx, [esp + 0x40]
push ecx
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.00404c60
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 6
call fcn.004268f0
push eax
call dword [sym.imp.user32.dll_CharLowerA]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, 0x8b1660
mov dword [esp + 0x1c], esi
call fcn.00428a20
mov eax, dword [0x8b1664]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jne 0x420204
push 0x58
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov byte [esp + 0x57c], 7
je 0x42015a
mov ecx, eax
call fcn.00458c90
jmp 0x42015c
xor eax, eax
mov byte [esp + 0x57c], 6
mov dword [esp + 0x14], eax
mov dword [eax + 0x28], esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test al, al
jne 0x420195
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x42018c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esp + 0x14], esi
jmp 0x42022f
mov eax, dword [esp + 0x14]
mov ecx, 0x8b1660
push eax
call fcn.00428870
cmp eax, 0xffffffff
jne 0x42022f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov edi, eax
add eax, 0x18
push eax
push ecx
mov ecx, 0x8b1660
call fcn.00428a20
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x8b1670
mov eax, dword [edx + 0x1c]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x1c], eax
call fcn.0042b0d0
mov eax, dword [0x8b1674]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x4201f5
inc dword [ecx + 0x10]
cmp edi, esi
je 0x42022f
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
jmp 0x42022f
mov ecx, dword [ecx + 0x1c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ecx
push edx
push eax
mov ecx, 0x8b1670
call fcn.0042b0d0
mov eax, dword [0x8b1674]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x42022f
inc dword [ecx + 0x10]
push 0x8b1680
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 5
call fcn.00404e60
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x580], 3
call fcn.00404e60
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x42049a
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1a0]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x40], cl
push esi
lea ecx, [esp + 0x44]
mov byte [esp + eax + 0x19c], 0
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], ecx
push ecx
lea ecx, [esp + 0x48]
call fcn.00401b40
test al, al
je 0x4202fc
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov ecx, eax
lea esi, [esp + 0x198]
mov edx, ecx
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]
lea ecx, [esp + 0x44]
call fcn.00405070
xor esi, esi
push 0x8b1680
mov byte [esp + 0x580], 8
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x48], esi
jne 0x420325
push 0x8b1680
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x420487
lea eax, [esp + 0x40]
lea ecx, [esp + 0x28]
push eax
call fcn.004267d0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 9
call fcn.004268f0
push eax
call dword [sym.imp.user32.dll_CharLowerA]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, 0x8b1660
mov dword [esp + 0x1c], esi
call fcn.00428a20
mov eax, dword [0x8b1664]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x42043e
push 0x58
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, esi
mov byte [esp + 0x57c], 0xa
je 0x420398
mov ecx, eax
call fcn.00458c90
jmp 0x42039a
xor eax, eax
mov byte [esp + 0x57c], 9
mov dword [esp + 0x14], eax
mov dword [eax + 0x28], esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
test al, al
jne 0x4203d3
cmp ecx, esi
je 0x4203ca
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esp + 0x14], esi
jmp 0x420469
push ecx
mov ecx, 0x8b1660
call fcn.00428870
cmp eax, 0xffffffff
jne 0x420469
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov edi, eax
add eax, 0x18
push eax
push edx
mov ecx, 0x8b1660
call fcn.00428a20
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x40]
mov dword [esp + 0x18], ecx
push eax
mov ecx, 0x8b1670
call fcn.0042b0d0
mov eax, dword [0x8b1674]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x42042f
inc dword [ecx + 0x10]
cmp edi, esi
je 0x420469
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
jmp 0x420469
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x8b1670
mov dword [esp + 0x1c], eax
call fcn.0042b0d0
mov eax, dword [0x8b1674]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x420469
inc dword [ecx + 0x10]
push 0x8b1680
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 8
call fcn.00404e60
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x580], 3
call fcn.00404e60
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push ebp
call ebx
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x1a0]
push eax
push ecx
push ebp
call ebx
mov edx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + edx + 0x19c], 0
mov byte [esp + 0x2c], al
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [esp + 0x30]
call fcn.00404eb0
push 0x8b1430
mov byte [esp + 0x580], 0xb
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x30], esi
jne 0x42052a
push 0x8b1430
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x420691
lea edx, [esp + 0x28]
lea ecx, [esp + 0x40]
push edx
call fcn.004267d0
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x580], 0xc
call fcn.004268f0
push eax
call dword [sym.imp.user32.dll_CharLowerA]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x8b1410
mov dword [esp + 0x1c], esi
call fcn.004291a0
mov eax, dword [0x8b1414]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x420648
push 0x1d8
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, esi
mov byte [esp + 0x57c], 0xd
je 0x4205a0
mov ecx, eax
call fcn.00434b10
jmp 0x4205a2
xor eax, eax
mov byte [esp + 0x57c], 0xc
mov dword [esp + 0x14], eax
mov dword [eax + 0x28], esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test al, al
jne 0x4205db
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x4205d2
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esp + 0x14], esi
jmp 0x420673
mov eax, dword [esp + 0x14]
mov ecx, 0x8b1410
push eax
call fcn.00428ff0
cmp eax, 0xffffffff
jne 0x420673
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
lea ecx, [edi + 0x18]
push ecx
push edx
mov ecx, 0x8b1410
call fcn.004291a0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x40]
mov dword [esp + 0x18], ecx
push eax
mov ecx, 0x8b1420
call fcn.0042cbc0
mov eax, dword [0x8b1424]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x420639
inc dword [ecx + 0x10]
cmp edi, esi
je 0x420673
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
jmp 0x420673
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x8b1420
mov dword [esp + 0x1c], eax
call fcn.0042cbc0
mov eax, dword [0x8b1424]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x420673
inc dword [ecx + 0x10]
push 0x8b1430
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x580], 0xb
call fcn.00404e60
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 3
call fcn.00404e60
lea ecx, [esp + 0x398]
call fcn.0041bd00
lea ecx, [esp + 0x88]
mov byte [esp + 0x57c], 0xe
call fcn.0044a3d0
lea eax, [esp + 0x13]
lea ecx, [esp + 0x188]
push eax
mov byte [esp + 0x580], 0xf
call fcn.00428190
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x57c], 0x10
or ah, 0x40
lea ecx, [esp + 0xb4]
mov dword [esp + 0x88], 0x7e5e80
mov dword [esp + 0x8c], eax
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], esi
mov dword [esp + 0x180], esi
mov byte [esp + 0x170], 0
mov byte [esp + 0x171], 1
mov dword [esp + 0x16c], esi
call fcn.00426a70
lea ecx, [esp + 0x110]
call fcn.00426a70
mov dword [esp + 0x174], esi
mov byte [esp + 0x172], 1
mov dword [esp + 0x184], esi
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x40]
push 4
push edx
mov byte [esp + 0x58c], 0x11
push ebp
mov dword [esp + 0x4c], esi
call ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x420837
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420822
lea edx, [esp + 0x1c]
push esi
push edx
push eax
lea eax, [esp + 0x1a4]
push eax
push ebp
call ebx
mov ecx, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
push esi
mov byte [esp + 0x2c], dl
mov byte [esp + ecx + 0x19c], 0
lea ecx, [esp + 0x2c]
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x198]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00404eb0
lea ecx, [esp + 0x28]
mov byte [esp + 0x57c], 0x12
push ecx
lea ecx, [esp + 0x8c]
call fcn.00418610
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 0x11
call fcn.00404e60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x420787
lea edx, [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0x40]
push 4
push eax
push ebp
call ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x420907
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x4208f2
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1a0]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x19c], 0
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x198]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00404eb0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x398]
push eax
mov byte [esp + 0x580], 0x13
call fcn.0041c640
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 0x11
call fcn.00404e60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x420857
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x4209a7
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1a0]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x19c], 0
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x198]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00404eb0
push esi
lea eax, [esp + 0x2c]
push 1
push eax
mov ecx, 0x8b13d8
mov byte [esp + 0x588], 0x14
call fcn.00427da0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 0x11
call fcn.00404e60
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x88]
push 4
push edx
push ebp
call ebx
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x8c]
push 4
push ecx
push ebp
call ebx
lea edx, [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0x20]
push 4
push eax
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420a07
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1a0]
push eax
push edx
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov byte [esp + eax + 0x198], 0
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push ebp
mov dword [esp + 0x2c], esi
call ebx
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x420aa7
lea ecx, [esp + 0x1c]
push esi
push ecx
lea edx, [esp + 0x1a0]
push eax
push edx
push ebp
call ebx
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + eax + 0x19c], 0
call fcn.00404e60
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x198]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00404eb0
push esi
lea eax, [esp + 0x2c]
push 1
push eax
mov ecx, 0x8b1558
mov byte [esp + 0x588], 0x15
call fcn.004278d0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x580], 0x11
call fcn.00404e60
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
mov byte [esp + 0x57c], 0xe
mov dword [esp + 0x88], 0x7e5e80
lea ecx, [esp + 0x178]
push 1
push ecx
mov ecx, 0x8b15e0
mov byte [esp + 0x584], 0x17
call fcn.0040d170
lea edx, [esp + 0x17c]
push 1
push edx
mov ecx, 0x8b15e0
call fcn.0040d170
lea eax, [esp + 0x180]
push 1
push eax
mov ecx, 0x8b1448
call fcn.004277e0
lea ecx, [esp + 0x184]
push 1
push ecx
mov ecx, 0x8b15e0
call fcn.0040d170
lea ecx, [esp + 0x188]
call fcn.00735c50
lea ecx, [esp + 0x188]
mov byte [esp + 0x57c], 0x16
call fcn.0071a830
lea ecx, [esp + 0x88]
mov byte [esp + 0x57c], 0xe
call fcn.0044a500
lea ecx, [esp + 0x398]
mov byte [esp + 0x57c], 3
call fcn.0041be10
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x580], 1
call fcn.00404e60
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x580], 0
call fcn.00404e60
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x580], 0xffffffff
call fcn.00404e60
mov al, 1
mov ecx, dword [esp + 0x574]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x570
ret 4