Function at 0x42f9b0
Capabilities:
Access peb ldr_data
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x479cd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [0x4b9314]
xor eax, esp
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, 0xf
mov dword [esp + 0xac], eax
push edi
mov esi, ecx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov eax, dword [esi + 0x10]
shl eax, 4
add eax, 0x498564
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x40]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 2
mov dword [esp + 0x40], edx
call fcn.00439300
push str._event
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0xc8], 3
call fcn.00402280
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 4
call fcn.004014b0
mov eax, dword [esp + 0x2c]
mov edi, 0x10
cmp eax, edi
jb 0x42faa9
mov edx, dword [esp + 0x18]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0xbc], 2
jb 0x42fad0
mov eax, dword [esp + 0x44]
push eax
call fcn.00466c9d
add esp, 4
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x34]
call fcn.00439300
push str._mutex
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xc8], 5
call fcn.00402280
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xc8], 6
call fcn.004014b0
cmp dword [esp + 0x2c], edi
jb 0x42fb21
mov eax, dword [esp + 0x18]
push eax
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0xbc], 2
jb 0x42fb48
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00466c9d
add esp, 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
call fcn.00439300
push 0x498584
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xc8], 7
call fcn.00402280
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 8
call fcn.004014b0
cmp dword [esp + 0x2c], edi
jb 0x42fb9c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x42fbbb
mov edx, dword [esp + 0x44]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0xac], edi
mov eax, dword [esp + 0x98]
jae 0x42fbd2
lea eax, [esp + 0x98]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi], eax
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x42fbed
lea eax, [esp + 0x60]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
cmp dword [esp + 0x90], edi
mov eax, dword [esp + 0x7c]
jae 0x42fc0a
lea eax, [esp + 0x7c]
push eax
push 0x1000
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp dword [esi], ebx
mov dword [esi + 8], eax
je 0x42fc2c
cmp dword [esi + 4], ebx
je 0x42fc2c
cmp eax, ebx
jne 0x42fc32
mov byte [esp + 0x13], bl
jmp 0x42fc4e
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0xc], eax
setne al
cmp al, bl
mov byte [esp + 0x13], al
jne 0x42fc55
mov ecx, esi
call fcn.0042f590
cmp dword [esp + 0x90], edi
jb 0x42fc6b
mov eax, dword [esp + 0x7c]
push eax
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x42fc90
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0xac], edi
pop edi
pop esi
mov dword [esp + 0x6c], ebp
pop ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
pop ebx
jb 0x42fcb9
mov edx, dword [esp + 0x88]
push edx
call fcn.00466c9d
add esp, 4
mov ecx, dword [esp + 0xa4]
mov al, byte [esp + 3]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044c1c4
add esp, 0xb0
ret