Function at 0x431980
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 0x431a77
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 0x431a9e
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 0x431aef
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 0x431b16
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 0x431b6a
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 0x431b89
mov edx, dword [esp + 0x44]
push edx
call fcn.00469458
add esp, 4
cmp dword [esp + 0xac], edi
mov eax, dword [esp + 0x98]
jae 0x431ba0
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 0x431bbd
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 0x431bde
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 0x431bf8
cmp dword [esi + 4], ebx
je 0x431bf8
cmp eax, ebx
jne 0x431bfe
mov byte [esp + 0x13], bl
jmp 0x431c1a
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 0x431c21
mov ecx, esi
call fcn.00431230
cmp dword [esp + 0x90], edi
jb 0x431c37
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 0x431c5c
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 0x431c85
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