Function at 0x5917cf
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x591802
mov eax, 0x760402
push eax
push 1
mov ebx, 0x158
call fcn.00606bc0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 0
push 6
call dword [sym.imp.kernel32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x591844
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x591857
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x59197e
push reloc.wsock32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x59187c
mov eax, 0x760402
push eax
push 1
mov ebx, 0x158
call fcn.00606bc0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 4
push 0
push 4
push 0
push 0xffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5918cd
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5918e0
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x59191c
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 4
mov eax, 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x591952
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x591974
push 6
call fcn.005fffca
add esp, 4
mov eax, 1
jmp 0x591a8d
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x5919b4
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 4
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x5919e2
push 6
call fcn.005fffca
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x760425]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
push 4
fld qword [ebp - 0x1c]
call fcn.004c58cd
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x591a2a
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x591a4c
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x591a6e
push 6
call fcn.005fffca
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x760425]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.004c58cd
jmp 0x591a8d
mov esp, ebp
pop ebp
ret 4