Function at 0x42cd60
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x48]
test eax, eax
jl 0x42cd89
nop
call fcn.00457bb0
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 0x42ce53
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [sub.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [eax + 0x1cc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.0042d910
mov eax, dword [esp + 0xc]
cmp eax, 0x80
ja 0x42cdeb
test eax, eax
je 0x42cddf
cmp eax, 0x80
jne 0x42cdf7
lea eax, [0x4a8f0c]
mov dword [esp], eax
call fcn.004557b0
jmp 0x42ce31
mov dword [esp + 0x4c], 0
add esp, 0x40
ret
cmp eax, 0x102
je 0x42ce3d
cmp eax, 0xffffffff
je 0x42ce23
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [0x42d050]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.004557b0
jmp 0x42ce31
lea eax, [0x4a8f10]
mov dword [esp], eax
call fcn.004557b0
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x40
ret
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x40
ret
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x18]
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 0x42cf91
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 0x42ce9d
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 0x42ceb7
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 + 0x1cc]
mov dword [esp + 0x30], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x1d0]
mov dword [esp + 0x34], eax
mov eax, dword [0x489f10]
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.0042d9b0
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x42cdbd
call fcn.00457bb0
mov eax, dword [esp]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
sbb edx, ebx
mov ebp, dword [esp + 0x48]
cmp ebp, edx
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 cl
and ecx, edi
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
je 0x42ce49
jmp 0x42d037
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 0x42ce75
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edx
lea edi, [esi - 0x20]
mov dword [esp + 0x2c], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp edi, 0x20
sbb eax, eax
mov edx, dword [esp + 0x2c]
cmp edx, 0x20
sbb ebp, ebp
mov ecx, edx
mov esi, 0xf4240
shl esi, cl
and esi, ebp
mov ecx, edi
mov edx, 0xf4240
shr edx, cl
and edx, eax
or edx, esi
mov dword [esp + 0x2c], edx
cmp ebx, edx
sete al
mov ecx, dword [esp + 0x28]
cmp ecx, 0x20
sbb ebp, ebp
mov esi, 0xf4240
shl esi, cl
and esi, ebp
mov ebp, dword [esp + 0x24]
cmp ebp, esi
xchg edi, ebx
setae bl
xchg edi, ebx
cmp ebx, edx
setg dl
and edi, eax
or edx, edi
test dl, dl
je 0x42d02e
sub ebp, esi
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 0x42cf7a
mov edx, dword [esp + 0x20]
jmp 0x42cf7a
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x40
ret