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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0
mov dword [esp + 0xc], ecx
je 0x47aebf
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 1
jmp 0x47b3cf
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x10]
test edx, 0x100
jne 0x47afa8
mov ebx, dword [eax + 8]
dec ebx
test dl, 1
jne 0x47b0ab
test ebx, ebx
js 0x47b3bd
lea esi, [esp + 0x38]
jmp 0x47aef7
dec ebx
js 0x47b3bd
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [esp + 0x20]
push ebx
push edx
call dword [eax + 8]
mov byte [esp + 0x50], 0
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x47b405
mov ecx, dword [0x8783b4]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x8783b0]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x54]
push ecx
push esi
call dword [esp + eax*4 + 0x1c]
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x58], edi
test edi, edi
je 0x47af70
cmp edi, 1
jne 0x47b405
cmp dword [esp + 0x54], 1
jne 0x47aef0
jmp 0x47b3dd
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x28], eax
jne 0x47aef0
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push eax
push dword [esp + 0x30]
call fcn.004b35a0
add esp, 0x10
test eax, eax
jne 0x47aef0
mov eax, dword [esp + 0xc]
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edi
jmp 0x47b3cf
test dl, 1
jne 0x47b1a3
mov dword [esp + 0x38], 0
lea edi, [esp + 0x38]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00614ed0
mov ecx, edi
call fcn.00615000
mov edi, eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 8]
dec esi
jns 0x47aff6
lea ecx, [esp + 0x38]
call fcn.00614fe0
jmp 0x47b3bd
dec esi
mov ebx, dword [ebp + 8]
js 0x47afdc
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push esi
push ebx
call dword [eax + 0xc]
mov byte [esp + 0x70], 0
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x47b405
mov ecx, dword [0x8783ac]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x8783a8]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x3c]
push ecx
call dword [esp + eax*4 + 0x1c]
add esp, 0xc
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
test ebx, ebx
je 0x47b070
cmp ebx, 1
jne 0x47b405
cmp dword [esp + 0x74], 1
jne 0x47aff0
jmp 0x47b3f1
cmp edi, dword [esp + 0x28]
jne 0x47aff0
push edi
push dword [esp + 0x3c]
push dword [esp + 0x2c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x47aff0
mov eax, dword [esp + 0xc]
mov dword [eax + 4], esi
mov dword [eax + 0xc], ebx
lea ecx, [esp + 0x38]
call fcn.00614fe0
jmp 0x47b3cf
test ebx, ebx
js 0x47b3bd
xor edi, edi
jmp 0x47b0fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x30]
push dword [esp + 0x30]
mov dword [esp + 0x50], ecx
call fcn.004b35a0
mov ecx, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x47b390
lea ecx, [esi + 1]
dec esi
test eax, eax
cmovs edi, ecx
cmovns ebx, esi
cmp ebx, edi
jl 0x47b3bd
mov eax, ebx
sub eax, edi
mov esi, eax
shr esi, 0x1f
add esi, eax
sar esi, 1
add esi, edi
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [esp + 0x20]
push esi
push edx
call dword [eax + 8]
mov byte [esp + 0x60], 0
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x47b405
mov ecx, dword [0x8783b4]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x8783b0]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x40]
push ecx
call dword [esp + eax*4 + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
test ecx, ecx
je 0x47b0c0
cmp ecx, 1
jne 0x47b405
mov eax, 0xffffffff
cmp dword [esp + 0x64], 1
jne 0x47b0e6
movsd xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0xc]
movsd qword [eax + 4], xmm0
mov dword [eax + 0xc], ecx
jmp 0x47b3cf
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
add esi, 4
je 0x47b25b
js 0x47b40a
lea eax, [esi + esi]
push eax
call fcn.0051c3d0
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x10]
and ecx, 3
je 0x47b37f
xor edx, edx
nop
mov word [eax], 0
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
inc edx
cmp ecx, edx
jne 0x47b1f0
mov ecx, esi
sub ecx, edx
cmp dword [ebp + 0x10], 0xfffffffc
ja 0x47b258
nop
mov word [eax], 0
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov dword [esp + 0x14], edx
mov word [eax + 2], 0
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov dword [esp + 0x14], edx
mov word [eax + 2], 0
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov dword [esp + 0x14], edx
mov word [eax + 2], 0
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
add ecx, 0xfffffffc
jne 0x47b210
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + 8]
dec ebx
js 0x47b37b
mov dword [esp + 0x44], esi
xor edi, edi
jmp 0x47b2c9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
push dword [esp + 0x44]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
mov dword [esp + 0x50], ecx
call fcn.004b3910
add esp, 0x10
mov ecx, dword [esp + 0x48]
sub eax, ecx
sar eax, 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push ecx
call fcn.004b35a0
mov ecx, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x47b39c
lea ecx, [esi + 1]
dec esi
test eax, eax
cmovs edi, ecx
cmovns ebx, esi
cmp ebx, edi
jl 0x47b37b
mov eax, ebx
sub eax, edi
mov esi, eax
shr esi, 0x1f
add esi, eax
sar esi, 1
add esi, edi
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [esp + 0x20]
push esi
push edx
call dword [eax + 0xc]
mov byte [esp + 0x80], 0
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x47b405
mov ecx, dword [0x8783ac]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x8783a8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x3c]
push ecx
call dword [esp + eax*4 + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
test ecx, ecx
je 0x47b270
cmp ecx, 1
jne 0x47b405
mov eax, 0xffffffff
cmp dword [esp + 0x84], 1
jne 0x47b2b5
movsd xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0xc]
movsd qword [eax + 4], xmm0
jmp 0x47b3a3
mov bl, 1
jmp 0x47b3a8
mov ecx, esi
cmp dword [ebp + 0x10], 0xfffffffc
jbe 0x47b210
jmp 0x47b258
mov eax, dword [esp + 0xc]
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
jmp 0x47b3cf
mov eax, dword [esp + 0xc]
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
xor ebx, ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47b3b9
push eax
call fcn.0051c570
add esp, 4
test bl, bl
je 0x47b3cf
mov eax, dword [esp + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov eax, dword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
movsd xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0xc]
movsd qword [eax + 4], xmm0
mov dword [eax + 0xc], edi
jmp 0x47b3cf
movsd xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0xc]
movsd qword [eax + 4], xmm0
jmp 0x47b09a
call fcn.00488d90
lea ecx, [esp + 0x10]
call fcn.005256b0
nop word cs:[eax + eax]
xor eax, eax
cmp dword [ecx + 4], 0
je 0x47b429
ret
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
ret