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

Disassembly:
push 0xffffffffffffffff
push 0x47c141
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, 0x49b788
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.0043bc20
push str._event
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0xc8], 3
call fcn.004022e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 4
call fcn.00401500
mov eax, dword [esp + 0x2c]
mov edi, 0x10
cmp eax, edi
jb 0x431917
mov edx, dword [esp + 0x18]
push edx
call fcn.00469348
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 0x43193e
mov eax, dword [esp + 0x44]
push eax
call fcn.00469348
add esp, 4
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x34]
call fcn.0043bc20
push str._mutex
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xc8], 5
call fcn.004022e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xc8], 6
call fcn.00401500
cmp dword [esp + 0x2c], edi
jb 0x43198f
mov eax, dword [esp + 0x18]
push eax
call fcn.00469348
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 0x4319b6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00469348
add esp, 4
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
call fcn.0043bc20
push 0x49b7a8
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xc8], 7
call fcn.004022e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 8
call fcn.00401500
cmp dword [esp + 0x2c], edi
jb 0x431a0a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x431a29
mov edx, dword [esp + 0x44]
push edx
call fcn.00469348
add esp, 4
cmp dword [esp + 0xac], edi
mov eax, dword [esp + 0x98]
jae 0x431a40
lea eax, [esp + 0x98]
push eax
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [esi], eax
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x431a5d
lea eax, [esp + 0x60]
push eax
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi + 4], eax
cmp dword [esp + 0x90], edi
mov eax, dword [esp + 0x7c]
jae 0x431a7e
lea eax, [esp + 0x7c]
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp dword [esi], ebx
mov dword [esi + 8], eax
je 0x431a98
cmp dword [esi + 4], ebx
je 0x431a98
cmp eax, ebx
jne 0x431a9e
mov byte [esp + 0x13], bl
jmp 0x431aba
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 0x431ac1
mov ecx, esi
call fcn.004310d0
cmp dword [esp + 0x90], edi
jb 0x431ad7
mov eax, dword [esp + 0x7c]
push eax
call fcn.00469348
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x431afc
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00469348
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 0x431b25
mov edx, dword [esp + 0x88]
push edx
call fcn.00469348
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.0044e944
add esp, 0xb0
ret