Function at 0x1004d620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009ed7f
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
call fcn.10038250
mov dword [esp + 0x268], 1
lea ecx, [esp + 0x44]
push str.clean_
push ecx
call fcn.1003d4e0
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1003d700
lea ecx, [esp + 0x54]
push 0x100ace48
push ecx
call fcn.1003d4e0
mov edx, dword [esp + 0x298]
mov eax, dword [esp + 0x294]
add esp, 0x18
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.10037450
lea edx, [esp + 0x44]
push 0x100ace4c
push edx
call fcn.1003d4e0
mov ebx, dword [esp + 0x298]
mov esi, dword [esp + 0x294]
add esp, 8
push ebx
push esi
lea eax, [esp + 0x4c]
push eax
call fcn.10037450
lea ecx, [esp + 0x44]
push 0x100ace48
push ecx
call fcn.1003d4e0
mov edx, dword [esp + 0x290]
mov eax, dword [esp + 0x28c]
add esp, 8
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.10037450
call fcn.10032350
push eax
lea ecx, [esp + 0x40]
call fcn.10032420
mov dword [esp + 0x268], 0xffffffff
lea edx, [esp + 0x3c]
push edx
call fcn.10034bc0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, esi
or eax, ebx
jne 0x1004d7e7
lea edx, [esp + 0x1d4]
push edx
call fcn.10034b70
mov dword [esp + 0x268], 4
lea eax, [esp + 0x1dc]
push 0x100adc24
push eax
call fcn.1003d4e0
add esp, 8
call fcn.10032350
push eax
lea ecx, [esp + 0x1d8]
call fcn.10032420
mov dword [esp + 0x268], 0xffffffff
lea ecx, [esp + 0x1d4]
push ecx
call fcn.10034bc0
xor eax, eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 0x28
mov esi, dword [esp + 0x28c]
mov ecx, dword [esp + 0x270]
cmp dword [ecx], 0
jne 0x1004d909
mov ecx, dword [esp + 0x294]
mov ebp, dword [ecx + 0xfc]
mov eax, dword [ecx + 0xf8]
cmp ebp, ebx
ja 0x1004d818
jb 0x1004d814
cmp eax, esi
jae 0x1004d818
mov esi, eax
jmp 0x1004d81a
mov ebp, ebx
mov edx, dword [esp + 0x278]
xor eax, eax
push 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x280]
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28c]
push 0x20
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x294]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ecx + 0x100]
push 0x90074
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x48]
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x54], esi
call dword [0x100c593c]
mov edi, eax
test edi, edi
jl 0x1004d968
mov ecx, dword [esp + 0x294]
mov edx, dword [ecx + 0x100]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esp + 0x34]
test edi, edi
jl 0x1004d968
add dword [esp + 0x27c], esi
mov eax, dword [esp + 0x28c]
adc dword [esp + 0x280], ebp
add dword [esp + 0x284], esi
adc dword [esp + 0x288], ebp
sub eax, esi
sbb ebx, ebp
mov dword [esp + 0x28c], eax
or eax, ebx
jne 0x1004d7e0
jmp 0x1004d762
lea eax, [esp + 0x14c]
push eax
call fcn.10034b70
mov dword [esp + 0x268], 2
lea ecx, [esp + 0x154]
push str._0__1_n
push ecx
call fcn.1003d4e0
add esp, 8
call fcn.10032350
push eax
lea ecx, [esp + 0x150]
call fcn.10032420
mov dword [esp + 0x268], 0xffffffff
lea edx, [esp + 0x14c]
push edx
call fcn.10034bc0
or eax, 0xffffffff
jmp 0x1004d7bb
lea eax, [esp + 0xc4]
push eax
call fcn.10034b70
mov dword [esp + 0x268], 3
lea ecx, [esp + 0xcc]
push 0x100ace50
push ecx
call fcn.1003d4e0
add esp, 8
push edi
lea edx, [esp + 0xd0]
push edx
call fcn.1004ec40
lea eax, [esp + 0xcc]
push 0x100ace54
push eax
call fcn.1003d4e0
add esp, 8
call fcn.10032350
push eax
lea ecx, [esp + 0xc8]
call fcn.10032420
mov dword [esp + 0x268], 0xffffffff
lea ecx, [esp + 0xc4]
push ecx
call fcn.10034bc0
or eax, 0xffffffff
jmp 0x1004d7bb