Function at 0x42ffe0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x48]
test eax, eax
jl 0x430009
nop
call fcn.0045c590
mov eax, dword [esp]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
xor edx, edx
xor ebx, ebx
jmp 0x4300d5
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [eax + 0x1c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.00430b90
mov eax, dword [esp + 0xc]
cmp eax, 0x80
ja 0x43006b
test eax, eax
je 0x43005f
cmp eax, 0x80
jne 0x430077
lea eax, [0x4a05a8]
mov dword [esp], eax
call fcn.0045a250
jmp 0x4300b1
mov dword [esp + 0x4c], 0
add esp, 0x40
ret
cmp eax, 0x102
je 0x4300bd
cmp eax, 0xffffffff
je 0x4300a3
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [0x4302d0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.0045a250
jmp 0x4300b1
lea eax, [0x4a05ac]
mov dword [esp], eax
call fcn.0045a250
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x40
ret
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x40
ret
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x44]
mov esi, ebp
sub ebp, ebx
mov ebx, dword [esp + 0x48]
mov edi, ebx
sbb ebx, edx
xor edx, edx
mov edx, 0x1e
mov dword [esp + 0x28], edx
xor edx, edx
jmp 0x430213
cmp ebp, 0xf4240
xchg ebp, ebx
setae bl
xchg ebp, ebx
test ebx, ebx
sete bl
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x43011f
mov edx, 0x7fffffff
test edx, edx
sete bl
mov ebp, edx
sar edx, 0x1f
test edx, edx
sete dl
and edx, ebx
test dl, dl
je 0x430139
mov ebp, 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x1c0]
mov dword [esp + 0x30], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x1c4]
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebp
call fcn.00430c30
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x43003d
call fcn.0045c590
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x18]
sub eax, edx
mov ebx, dword [esp + 0x1c]
sbb ecx, ebx
mov ebp, dword [esp + 0x48]
cmp ebp, ecx
xchg esi, ebx
setl bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
mov ebx, dword [esp + 0x44]
cmp eax, ebx
setae dl
and edx, edi
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x4300c9
jmp 0x4302b5
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
test esi, esi
jl 0x4300f7
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edx
lea edi, [esi - 0x20]
mov dword [esp + 0x2c], edi
cmp edi, 0x20
sbb eax, eax
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp edi, 0x20
sbb edx, edx
mov ecx, dword [esp + 0x2c]
mov ebp, 0xf4240
shl ebp, cl
and ebp, eax
mov ecx, edi
mov eax, 0xf4240
shr eax, cl
and eax, edx
or eax, ebp
mov dword [esp + 0x2c], eax
cmp ebx, eax
sete dl
cmp esi, 0x20
sbb ebp, ebp
mov ecx, esi
mov edi, 0xf4240
shl edi, cl
and edi, ebp
mov ebp, dword [esp + 0x24]
cmp ebp, edi
xchg esi, ebx
setae bl
xchg esi, ebx
cmp ebx, eax
setg al
and esi, edx
or eax, esi
test al, al
je 0x4302ac
sub ebp, edi
mov eax, dword [esp + 0x2c]
sbb ebx, eax
cmp ecx, 0x20
sbb edx, edx
mov eax, 1
shl eax, cl
and edx, eax
mov eax, dword [esp + 0x20]
or edx, eax
jmp 0x4301fc
mov edx, dword [esp + 0x20]
jmp 0x4301fc
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x40
ret