Function at 0x4360c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1714
call fcn.00447a20
push ebx
mov ebx, dword [esp + 0x1720]
push ebp
push esi
push edi
mov ecx, 0xe6
xor eax, eax
lea edi, [esp + 0x15c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1738]
mov ecx, dword [esp + 0x173c]
lea edx, [esp + 0x1c]
xor edi, edi
push edx
push ebx
mov dword [esp + 0x164], 0x898a
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x436143
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x160], eax
mov dword [esp + 0x10], edi
jmp 0x43697b
cmp esi, edi
je 0x43614e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x1728]
mov ecx, ebp
call fcn.0041ce90
test eax, eax
jne 0x436171
mov dword [esp + 0x10], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
mov eax, dword [esp + 0x1730]
mov ecx, 0x50
lea esi, [esp + 0x1c]
lea edi, [esp + 0x270]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x17c8]
mov ecx, 0x50
add edi, 0x428
lea esi, [esp + 0x1c]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x436252
mov ecx, dword [esp + 0x1734]
mov dl, byte [ebx]
mov eax, ebx
mov cl, byte [ecx]
cmp cl, dl
jne 0x4361d8
mov edx, dword [esp + 0x1734]
sub edx, ebx
test cl, cl
je 0x4361d8
cmp byte [eax], 0
je 0x4361ec
mov cl, byte [edx + eax + 1]
mov bl, byte [eax + 1]
inc eax
cmp cl, bl
je 0x4361c3
cmp byte [eax], 0
je 0x4361ec
lea edx, [esp + 0x16c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [esp + 0x1c], 0x10
jne 0x436252
lea eax, [esp + 0x48]
lea ecx, [esp + 0x16c]
push eax
push ecx
call fcn.004484b0
add esp, 8
test eax, eax
je 0x436252
lea edx, [esp + 0x16c]
push 0x4ab1fc
push edx
call fcn.004484b0
add esp, 8
test eax, eax
je 0x436252
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x16b]
lea eax, [esp + eax + 0x16b]
cmp cl, 0x5c
je 0x43624f
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x5c
jne 0x436246
mov byte [eax], 0
lea ecx, [esp + 0x4f4]
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00437f40
mov ecx, dword [esp + 0x1740]
mov edx, dword [esp + 0x1744]
add esp, 8
lea eax, [esp + 0x4f4]
push eax
push ecx
push edx
lea eax, [esp + 0x604]
push 0x4aed48
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp + 0x17c8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
lea ecx, [esp + 0x5f8]
mov eax, dword [edx]
push ecx
push 0xffffffffffffffea
push 0x403
push eax
call ebx
mov edx, dword [ebp + 0x17c8]
mov ecx, dword [esp + 0x3c]
xor esi, esi
mov dword [edx + 0x680], ecx
mov dword [edx + 0x684], esi
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x4362ed
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x17c8]
sub ecx, eax
mov dword [edx + 0x680], ecx
mov dword [edx + 0x684], esi
mov eax, dword [ebp + 0x17c8]
push esi
push esi
push 0x418
mov dword [eax + 0x688], esi
mov dword [eax + 0x68c], esi
mov ecx, dword [ebp + 0x17c8]
mov edx, dword [ecx]
push edx
call ebx
mov eax, dword [ebp + 0x17c8]
push esi
mov ecx, dword [eax + 0x574]
mov dword [esp + 0x4f4], ecx
mov ecx, ebp
call fcn.0041d040
lea edx, [esp + 0x15c]
push 0x398
push edx
mov ecx, ebp
call fcn.0041ceb0
test eax, eax
jne 0x436355
mov dword [esp + 0x10], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
mov eax, dword [ebp + 0x661c]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
cmp eax, esi
jne 0x43639b
mov ecx, ebp
call fcn.0041ce90
test eax, eax
je 0x436433
push 0x14
call edi
mov eax, dword [ebp + 0x17c8]
mov ecx, esi
inc esi
cmp ecx, dword [eax + 0x8a0]
jg 0x436433
mov eax, dword [ebp + 0x661c]
test eax, eax
je 0x436367
xor esi, esi
cmp dword [ebp + 0x6624], esi
je 0x4363b4
mov dword [esp + 0x10], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
mov eax, dword [ebp + 0x6398]
cmp eax, esi
je 0x4364ca
cmp eax, 0xb7
mov dword [esp + 0x160], eax
je 0x43644a
cmp eax, 0x50
je 0x43644a
mov edx, dword [esp + 0x1738]
mov ecx, dword [esp + 0x173c]
cmp ecx, edx
mov dword [esp + 0x160], eax
jae 0x43641b
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x15c]
push eax
push 0xfffffc18
push 0x41e
push ecx
call ebx
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x1714
ret
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x15c]
push edx
push 0xfffffc0e
push 0x41e
push eax
call ebx
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
mov ecx, dword [ebp + 0x17c8]
cmp dword [ecx + 0x574], esi
jne 0x4364ca
mov eax, dword [ebp + 0x1c]
lea edx, [ebp + 0x6394]
push edx
push 0xfffffbf8
push 0x41e
push eax
call ebx
mov ecx, dword [ebp + 0x17c8]
mov dword [ecx + 0x574], eax
mov edx, dword [ebp + 0x17c8]
mov ecx, dword [esp + 0x173c]
mov eax, dword [edx + 0x574]
mov edx, dword [esp + 0x1738]
mov dword [esp + 0x4f0], eax
mov eax, dword [esp + 0x1734]
push ecx
mov ecx, dword [esp + 0x1734]
push edx
mov edx, dword [esp + 0x1734]
push eax
push ecx
push edx
push ebp
call fcn.004360c0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
mov ecx, dword [ebp + 0x17c8]
mov eax, dword [ecx + 0x574]
cmp eax, 0x26c0
je 0x43650f
cmp eax, 0x26d4
je 0x4364ea
mov dword [ecx + 0x574], esi
cmp eax, 0x26ca
je 0x4364f8
cmp eax, 0x26d4
jne 0x43650f
pop edi
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
cmp dword [ebp + 0x6620], esi
jne 0x436528
mov dword [esp + 0x10], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
test byte [esp + 0x1c], 0x10
je 0x436546
pop edi
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret
xor esi, esi
mov ecx, 0x40a
push esi
xor eax, eax
lea edi, [esp + 0x700]
push esi
push 3
push esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x173c]
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x718], 0x899e
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x4365c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
mov dword [esp + 0x160], eax
jne 0x4365a1
mov dword [esp + 0x160], 2
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x15c]
push ecx
push 0xfffffc0e
push 0x41e
push edx
call ebx
mov dword [ebp + 0x6620], esi
jmp 0x43696d
push esi
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.0041d040
push esi
push esi
push esi
call fcn.00428ee0
add esp, 0xc
mov dword [esp + 0x720], eax
mov edi, 0xfc0
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x6624], esi
jne 0x43696d
cmp dword [ebp + 0x6398], esi
jne 0x4367c9
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x72c]
push edi
push ecx
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43692a
mov eax, dword [ebp + 0x17c8]
cmp dword [eax + 0x568], esi
jne 0x43696d
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 0x700], eax
je 0x4366e4
mov edx, dword [esp + 0x720]
lea ecx, [esp + 0x724]
push eax
push ecx
push edx
mov dword [esp + 0x724], esi
call fcn.00428ee0
mov dword [esp + 0x72c], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, esi
je 0x436725
mov eax, dword [ebp + 0x17c8]
cmp dword [eax + 0x8ac], esi
je 0x436725
mov edx, dword [eax + 0x8b0]
cmp edx, 1
jne 0x4366f1
mov ecx, dword [eax + 0x8bc]
cmp ecx, esi
je 0x4366f1
mov eax, dword [esp + 0x700]
push eax
call fcn.0042ae00
mov ecx, dword [esp + 0x700]
mov dword [esp + 0x710], eax
mov eax, dword [ebp + 0x17c8]
push 1
lea edx, [esp + 0x728]
push ecx
mov ecx, dword [eax + 0x8bc]
push edx
call fcn.0042a390
jmp 0x436725
mov dword [esp + 0x718], 1
jmp 0x436725
cmp edx, esi
jne 0x436725
mov eax, dword [eax + 0x8b8]
cmp eax, esi
je 0x436725
mov ecx, dword [esp + 0x700]
lea edx, [esp + 0x724]
push ecx
lea ecx, [esp + 0x728]
push edx
push ecx
mov ecx, eax
call fcn.004299b0
mov dword [esp + 0x710], eax
mov ecx, dword [ebp + 0x594c]
lea edx, [esp + 0x6fc]
push 0x1028
push edx
mov dword [esp + 0x70c], esi
call fcn.0042cfc0
test eax, eax
je 0x436815
mov eax, dword [ebp + 0x17c8]
mov edx, dword [eax + 0x688]
add edx, edi
mov dword [eax + 0x688], edx
mov ecx, dword [eax + 0x68c]
adc ecx, esi
mov dword [eax + 0x68c], ecx
mov eax, dword [ebp + 0x17c8]
mov ecx, dword [eax + 0x684]
mov edx, dword [eax + 0x680]
push ecx
mov ecx, dword [eax + 0x68c]
push edx
mov edx, dword [eax + 0x688]
push ecx
push edx
call fcn.0042d7b0
add esp, 0x10
cmp eax, 0x64
jle 0x4367a2
mov eax, 0x64
push esi
push eax
mov eax, dword [ebp + 0x17c8]
push 0x418
mov ecx, dword [eax]
push ecx
call ebx
cmp dword [esp + 0x718], esi
jne 0x436822
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4365e7
mov edx, dword [ebp + 0x17c8]
mov eax, dword [ebp + 0x6398]
push esi
push 0xc9
mov dword [edx + 0x690], eax
mov ecx, dword [ebp + 0x17c8]
push 0x418
mov edx, dword [ecx]
push edx
call ebx
mov ebp, dword [ebp + 0x17c8]
push ebp
push 0xffffe19f
mov eax, dword [ebp + 4]
push 0x41e
push eax
call ebx
mov dword [esp + 0x10], 1
jmp 0x436971
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1714
ret
mov eax, dword [ebp + 0x661c]
xor esi, esi
test eax, eax
jne 0x43685e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebp
call fcn.0041ce90
test eax, eax
je 0x4368b3
push 0x14
call edi
mov ecx, dword [ebp + 0x17c8]
mov edx, esi
inc esi
cmp edx, dword [ecx + 0x8a0]
jg 0x4368b3
mov eax, dword [ebp + 0x661c]
test eax, eax
je 0x436834
mov eax, dword [ebp + 0x6398]
test eax, eax
je 0x436971
cmp eax, 0x6c6b1
jne 0x4368d5
mov eax, dword [ebp + 0x17c8]
push 0
push 0xc9
push 0x418
mov ecx, dword [eax]
push ecx
call ebx
mov edx, dword [esp + 0x1738]
mov eax, dword [esp + 0x173c]
mov ebp, dword [ebp + 0x17c8]
cmp eax, edx
push ebp
jae 0x4368c0
push 0xffffe5f5
mov eax, dword [ebp + 4]
push 0x41e
push eax
call ebx
mov dword [esp + 0x10], 0
jmp 0x436971
mov ecx, dword [ebp + 4]
push 0xffffe5f6
push 0x41e
push ecx
call ebx
jmp 0x436971
mov edx, dword [ebp + 0x17c8]
push 0
push 0xc9
push 0x418
mov dword [edx + 0x690], eax
mov eax, dword [ebp + 0x17c8]
mov ecx, dword [eax]
push ecx
call ebx
mov edx, dword [esp + 0x1738]
mov eax, dword [esp + 0x173c]
mov ebp, dword [ebp + 0x17c8]
cmp eax, edx
push ebp
jae 0x436918
push 0xffffe19f
jmp 0x4368a8
mov ecx, dword [ebp + 4]
push 0xffffe1a0
push 0x41e
push ecx
call ebx
jmp 0x436971
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
mov dword [esp + 0x704], eax
jne 0x436946
mov dword [esp + 0x704], 0x1e
mov ecx, ebp
call fcn.0041ce90
test eax, eax
je 0x43696d
mov ecx, dword [ebp + 0x594c]
lea edx, [esp + 0x6fc]
push 0x1028
push edx
call fcn.0042cfc0
test eax, eax
jne 0x436971
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x436982
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1714
ret