Function at 0x447850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d61d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x4478a3
xor al, al
jmp 0x447aaa
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
movlpd qword [esp + 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [esp + 0x2c], eax
push 0x4000
mov dword [esp + 0x34], eax
movupd xmmword [esp + 0x48], xmm0
mov byte [esp + 0x1b], 0
call fcn.004ad321
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], 0
push 0x4000
push 0
push esi
call fcn.004b5340
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x1c], ebp
cmp dword [edi + 0x1c], ebp
jb 0x447a45
ja 0x447920
cmp dword [edi + 0x18], ebp
jbe 0x447a45
nop
cmp byte [ebx + 0x9c], 0
jne 0x447a45
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push esi
call fcn.00464430
cmp byte [ebx + 0x9c], 0
mov esi, eax
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0xb0], ecx
jne 0x447a45
cmp esi, 0xffffffff
je 0x447a45
test esi, esi
je 0x4479ac
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x54]
push edx
push esi
push dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [esp + 0x60], 0
mov eax, dword [eax]
call eax
test al, al
je 0x447996
cmp dword [esp + 0x54], esi
je 0x4479da
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xb0], eax
jmp 0x447a45
cmp byte [edi + 0x28], 0
jne 0x447a45
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4479cc
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebx + 0x9c], 0
jne 0x447a45
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, 0xf
ja 0x447a45
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x447a1f
mov ecx, dword [edi + 0x18]
mov eax, ecx
mov ebp, dword [edi + 0x1c]
and eax, ebp
cmp eax, 0xffffffff
je 0x4479fe
add ecx, dword [edi + 0x20]
adc ebp, dword [edi + 0x24]
mov edx, dword [esp + 0x3c]
xor eax, eax
add edx, dword [edi + 0x20]
mov esi, dword [esi]
adc eax, dword [edi + 0x24]
push eax
push edx
mov eax, dword [esi + 8]
push ebp
push ecx
mov ecx, dword [ebx + 0x98]
call eax
test al, al
je 0x447a40
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 0x1c]
ja 0x447a45
jb 0x447a33
mov ebp, dword [esp + 0x3c]
cmp ebp, dword [edi + 0x18]
jae 0x447a49
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x447920
mov byte [esp + 0x17], 1
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447a5a
push eax
call fcn.004b1ec2
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [ebx + 0xb8], ebp
mov dword [ebx + 0xbc], eax
mov dword [esp + 0x58], 0
cmp ebp, dword [edi + 0x18]
jne 0x447a80
cmp eax, dword [edi + 0x1c]
jne 0x447a80
mov al, 1
jmp 0x447a82
xor al, al
cmp byte [esp + 0x17], 0
je 0x447a93
xor al, al
cmp byte [ebx + 0x9c], al
jne 0x447aa2
cmp byte [edi + 0x28], 0
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x6c], 0xffffffff
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x5c
ret 0xc