Function at 0x431280
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x54
mov eax, dword [0x6264e4]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
push ebx
mov ebx, dword [eax + 0x34c]
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x34], eax
mov eax, ebx
push edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4312d7
sub eax, esi
add eax, 0x20
push 8
push eax
call fcn.00435e90
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4316bc
push ebp
push 0x4e0744
push ebx
push 0x4e073c
push esi
call fcn.00436050
mov edi, eax
push str.CONNECT_REQUEST
push edi
call fcn.00435670
add esp, 0x1c
push esi
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenEventA]
push 0x100002
call ebp
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x43133e
mov dword [esp + 0x10], 0x7f6
jmp 0x4314b9
push str.CONNECT_ANSWER
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 0x100002
call ebp
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x43136b
mov dword [esp + 0x10], 0x7f7
jmp 0x4314b9
push str.CONNECT_DATA
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x431399
mov dword [esp + 0x10], 0x7f8
jmp 0x4314b9
push 4
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4313bd
mov dword [esp + 0x10], 0x7f9
jmp 0x4314b9
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x4313d9
mov dword [esp + 0x10], 0x7fe
jmp 0x4314b9
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x3e8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x431400
mov dword [esp + 0x10], 0x7fd
jmp 0x4314b9
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 0xa
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.00435fb0
push 0
push 0x4e0744
lea edx, [esp + 0x5c]
push edx
push 0x4e0744
push ebx
push 0x4e073c
push esi
call fcn.00436050
mov edi, eax
push str.DATA
push edi
call fcn.00435670
add esp, 0x30
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x431555
mov dword [esp + 0x10], 0x7fa
mov ebx, dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x431478
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x431489
push eax
call ebx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x431494
push eax
call ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43149f
push eax
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4314ae
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4314b9
push eax
call ebx
push esi
call fcn.00435f10
mov ebx, dword [esp + 0x14]
add esp, 4
test ebx, ebx
je 0x4314d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4314e5
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4314f0
push eax
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4314ff
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43150a
push eax
call esi
test ebx, ebx
je 0x4316bc
mov edx, dword [esp + 0x14]
mov ecx, dword [section..data]
push edx
cmp ebx, 0x7fc
jne 0x43168f
mov eax, dword [str.Cant_open_shared_memory__client_could_not_create__s_event___lu_]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x48]
mov eax, ebx
call fcn.00431040
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0047d9e4
add esp, 0x54
ret
push 0x3e84
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x43157c
mov dword [esp + 0x10], 0x7fb
jmp 0x43145f
push str.SERVER_WROTE
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 0x100002
call ebp
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4315a9
mov dword [esp + 0x10], 0x7fc
jmp 0x43145f
push str.SERVER_READ
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 0x100002
call ebp
mov ebx, eax
test ebx, ebx
jne 0x4315d4
mov dword [esp + 0x10], 0x7fc
jmp 0x431463
push str.CLIENT_WROTE
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 0x100002
call ebp
mov dword [esp + 0x20], eax
test eax, eax
jne 0x431601
mov dword [esp + 0x10], 0x7fc
jmp 0x431463
push str.CLIENT_READ
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 0x100002
call ebp
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x43162e
mov dword [esp + 0x10], 0x7fc
jmp 0x431463
push str.CONNECTION_CLOSED
push edi
call fcn.00435670
add esp, 8
push esi
push 0
push 0x100002
call ebp
mov ebp, eax
test ebp, ebp
jne 0x431659
mov dword [esp + 0x10], 0x7fc
jmp 0x431463
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ebp
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x54]
push edx
push eax
push ecx
push ebx
call fcn.00435de0
add esp, 0x20
mov dword [ebx], eax
jmp 0x4314b9
mov eax, dword [ebx*4 + 0x50f608]
push eax
push ecx
mov ecx, dword [esp + 0x44]
mov eax, ebx
call fcn.00431040
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0047d9e4
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047d9e4
add esp, 0x54
ret