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

Disassembly:
push 0xffffffffffffffff
push 0x47c261
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [0x4bc364]
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, 0x49b75c
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.0043bda0
push str._event
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0xc8], 3
call fcn.004022b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 4
call fcn.004014d0
mov eax, dword [esp + 0x2c]
mov edi, 0x10
cmp eax, edi
jb 0x431747
mov edx, dword [esp + 0x18]
push edx
call fcn.00469458
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 0x43176e
mov eax, dword [esp + 0x44]
push eax
call fcn.00469458
add esp, 4
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x34]
call fcn.0043bda0
push str._mutex
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xc8], 5
call fcn.004022b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xc8], 6
call fcn.004014d0
cmp dword [esp + 0x2c], edi
jb 0x4317bf
mov eax, dword [esp + 0x18]
push eax
call fcn.00469458
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 0x4317e6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00469458
add esp, 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
call fcn.0043bda0
push 0x49b77c
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xc8], 7
call fcn.004022b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 8
call fcn.004014d0
cmp dword [esp + 0x2c], edi
jb 0x43183a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00469458
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x431859
mov edx, dword [esp + 0x44]
push edx
call fcn.00469458
add esp, 4
cmp dword [esp + 0xac], edi
mov eax, dword [esp + 0x98]
jae 0x431870
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 0x43188b
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 0x4318a8
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 0x4318ca
cmp dword [esi + 4], ebx
je 0x4318ca
cmp eax, ebx
jne 0x4318d0
mov byte [esp + 0x13], bl
jmp 0x4318ec
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 0x4318f3
mov ecx, esi
call fcn.00431230
cmp dword [esp + 0x90], edi
jb 0x431909
mov eax, dword [esp + 0x7c]
push eax
call fcn.00469458
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x43192e
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00469458
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 0x431957
mov edx, dword [esp + 0x88]
push edx
call fcn.00469458
add esp, 4
mov ecx, dword [esp + 0xa4]
mov al, byte [esp + 3]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa0]
call fcn.0044ea24
add esp, 0xb0
ret