Function at 0x427bd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42a638
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x435390]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435390]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x100]
mov ebp, dword [esp + 0x104]
mov esi, ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x10]
push 0x1388
mov dword [esp + 0x34], edx
xor ebx, ebx
push ebx
lea edx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
push edx
push 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x428088
lea ecx, [ecx]
cmp eax, 0x102
je 0x427f86
cmp eax, ebx
jl 0x428088
cmp eax, 4
jge 0x428088
cmp eax, 3
jl 0x428088
cmp dword [ebp + 0x2024], ebx
je 0x427d04
mov ecx, dword [ebp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp + 0x2020]
sub ecx, ebx
je 0x427cf2
dec ecx
je 0x427ccc
dec ecx
jne 0x428088
cmp eax, ebx
je 0x428088
mov edx, dword [esp + 0x18]
cmp edx, dword [ebp + 0x201c]
jne 0x428088
jmp 0x427cfa
cmp eax, ebx
je 0x428088
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x428088
mov dword [ebp + 0x1018], eax
mov dword [ebp + 0x2020], 2
jmp 0x427d04
cmp eax, ebx
je 0x428088
mov dword [ebp + 0x2020], 1
mov eax, dword [ebp + 0x2020]
dec eax
je 0x427f1c
dec eax
jne 0x428088
mov byte [esp + 0x74], al
lea eax, [esp + 0xd8]
push 0x48
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0xe4], ebx
call fcn.0040e69d
add esp, 4
cmp eax, ebx
je 0x4281a7
mov dword [esp + 0xdc], eax
mov dword [eax], eax
mov eax, dword [esp + 0xdc]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [eax + 8], eax
mov ecx, dword [esp + 0xdc]
mov byte [ecx + 0x44], 1
mov edx, dword [esp + 0xdc]
mov byte [edx + 0x45], 1
mov dword [esp + 0xf8], 2
lea eax, [ebp + 0x18]
push eax
lea edi, [esp + 0x78]
call fcn.00427760
mov dword [esp + 0xf8], 3
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0xffffffff
call fcn.00401c60
mov byte [esp + 0xf8], 4
push 0x1000
call fcn.0040e678
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x1000
call fcn.00426eb0
mov byte [esp + 0xf8], 5
cmp byte [esp + 0x74], 0
je 0x427fab
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x42812a
mov edx, dword [esi]
mov edx, dword [edx]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
push ecx
push eax
mov ecx, esi
call edx
test al, al
je 0x4280b2
mov ecx, dword [esp + 0x24]
push 0x1000
lea esi, [ebp + 0x101c]
push esi
lea eax, [esp + 0x50]
push eax
call fcn.00427110
mov edx, dword [ebp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push edx
mov dword [ebp + 0x201c], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov byte [esp + 0xf8], 0x12
mov eax, dword [esp + 0x48]
test eax, eax
je 0x427e64
push eax
call fcn.0040ec51
add esp, 4
mov dword [esp + 0x48], 0
mov byte [esp + 0xf8], 3
lea esi, [esp + 0x58]
call fcn.0040b3d0
mov dword [esp + 0xf8], 0xffffffff
lea eax, [esp + 0xd8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xf8], 0x15
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x28]
lea esi, [esp + 0xe0]
call fcn.00407fe0
mov dword [esp + 0xf8], 0xffffffff
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0040e683
add esp, 4
test ebx, ebx
je 0x427f01
mov edx, dword [esp + 0x18]
cmp edx, dword [ebp + 0x201c]
jne 0x427f01
mov eax, dword [ebp + 0x10]
push eax
mov dword [ebp + 0x2024], 0
mov dword [ebp + 0x2020], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
jmp 0x427f86
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x428088
cmp eax, 0x3e5
jne 0x428088
jmp 0x427f7c
mov edx, dword [ebp + 0x14]
push ebp
lea edi, [ebp + 0x1018]
push edi
push 0x2000
lea ecx, [ebp + 0x18]
push ecx
push edx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x427f63
cmp dword [edi], ebx
je 0x427f63
mov eax, dword [ebp + 0x10]
push eax
mov dword [ebp + 0x2024], ebx
mov dword [ebp + 0x2020], 2
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x427f86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
jne 0x428088
cmp eax, 0x3e5
jne 0x428088
mov dword [ebp + 0x2024], 1
push 0x1388
push ebx
lea ecx, [esp + 0x34]
push ecx
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x428088
mov esi, dword [esp + 0x28]
jmp 0x427c60
push 0xd
mov eax, str.IPC_MSG_REPLY
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], 1
call fcn.00406ef0
push 0x42fc08
push 0x42fa80
lea esi, [esp + 0x50]
call fcn.00426a90
mov ecx, dword [esp + 0x24]
push 0x1000
lea esi, [ebp + 0x101c]
push esi
lea edx, [esp + 0x50]
push edx
call fcn.00427110
mov edx, dword [ebp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push edx
mov dword [ebp + 0x201c], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0xf8], 6
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x428025
push eax
call fcn.0040ec51
add esp, 4
mov dword [esp + 0x48], ebx
mov byte [esp + 0xf8], 3
lea esi, [esp + 0x58]
call fcn.0040b3d0
or ebx, 0xffffffff
mov dword [esp + 0xf8], ebx
lea eax, [esp + 0xd8]
mov dword [esp + 0x20], eax
mov dword [esp + 0xf8], 9
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x24]
lea esi, [esp + 0xe0]
call fcn.00407fe0
mov dword [esp + 0xf8], ebx
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0040e683
add esp, 4
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0040e68e
add esp, 0xe8
ret 8
mov byte [esp + 0xf8], 0xe
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4280cf
push eax
call fcn.0040ec51
add esp, 4
mov dword [esp + 0x48], ebx
mov byte [esp + 0xf8], 3
lea esi, [esp + 0x58]
call fcn.0040b3d0
or ebx, 0xffffffff
mov dword [esp + 0xf8], ebx
lea edx, [esp + 0xd8]
mov dword [esp + 0x20], edx
mov dword [esp + 0xf8], 0x11
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x24]
mov esi, edx
call fcn.00407fe0
mov dword [esp + 0xf8], ebx
mov eax, dword [esp + 0xdc]
push eax
jmp 0x428080
mov byte [esp + 0xf8], 0xa
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x428147
push eax
call fcn.0040ec51
add esp, 4
mov dword [esp + 0x48], ebx
mov byte [esp + 0xf8], 3
lea esi, [esp + 0x58]
call fcn.0040b3d0
or ebx, 0xffffffff
mov dword [esp + 0xf8], ebx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0xf8], 0xd
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x24]
lea esi, [esp + 0xe0]
call fcn.00407fe0
mov dword [esp + 0xf8], ebx
mov edx, dword [esp + 0xdc]
push edx
jmp 0x428080
push ebx
lea ecx, [esp + 0x40]
call fcn.00401d70
push 0x4318c0
lea eax, [esp + 0x40]
push eax
call fcn.0041018a
int3