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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
push 0x40000
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 0x48]
call fcn.0040d572
test al, al
je 0x47bf74
lea ebp, [ebx + 0x18]
push 0x4000
mov ecx, ebp
call fcn.00410c9f
test al, al
je 0x47bf74
push edi
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x47ba1e
pop edi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x44
ret 0x14
mov eax, dword [esp + 0x58]
mov ecx, ebp
push esi
push 0
mov dword [ebx + 0x2c], eax
call fcn.0047e4a0
mov eax, dword [esp + 0x58]
lea esi, [ebx + 0x40]
lea ecx, [esi + 8]
mov dword [ebx + 0x54], eax
mov dword [esp + 0x40], esi
call fcn.0040d5be
mov dword [esi], 0x20
mov dword [esi + 4], 0
mov dword [esi + 0x30], 0
mov cl, byte [ebx + 0x510]
movzx eax, cl
and eax, 2
or eax, 0xc
shr eax, 1
and cl, 4
mov dword [esp + 0x28], eax
mov eax, 0
setne al
mov byte [esp + 0x5c], cl
add eax, 2
mov dword [esp + 0x34], eax
test cl, cl
je 0x47baa0
push 0x100
lea eax, [ebx + 0x78]
mov ecx, ebx
push eax
call fcn.0047b7b0
test al, al
je 0x47bf65
lea eax, [ebx + 0x200]
mov ecx, ebx
push 0x40
push eax
mov dword [esp + 0x38], eax
call fcn.0047b7b0
test al, al
je 0x47bf65
lea eax, [ebx + 0x388]
mov ecx, ebx
push 0x40
push eax
mov dword [esp + 0x34], eax
call fcn.0047b7b0
test al, al
je 0x47bf65
mov ecx, dword [edi + 4]
xorps xmm0, xmm0
mov eax, dword [edi]
movlpd qword [esp + 0x38], xmm0
mov byte [esp + 0x64], 0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jb 0x47bf02
ja 0x47bb0b
test eax, eax
je 0x47bf02
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x47bb8f
sub ecx, edi
sbb edx, eax
mov dword [esp + 0x3c], edx
jne 0x47bb3d
cmp ecx, 0x40000
jb 0x47bb8f
mov edx, dword [esi + 8]
xor ecx, ecx
sub edx, dword [esi + 0x10]
mov eax, 0x20
sub eax, dword [esi]
shr eax, 3
sub edx, eax
mov eax, dword [ebx]
sbb ecx, ecx
add edx, dword [esi + 0x28]
adc ecx, 0
add edx, dword [esi + 0x18]
mov dword [esp + 0x4c], edx
adc ecx, dword [esi + 0x1c]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x50]
push ecx
push ebx
call dword [eax + 0xc]
test eax, eax
jne 0x47bf5b
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov edx, dword [esi]
cmp edx, 8
jb 0x47bbdf
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jb 0x47bbaa
lea ecx, [esi + 8]
call fcn.0040d643
mov cl, al
jmp 0x47bbb0
mov cl, byte [eax]
inc eax
mov dword [esi + 8], eax
mov edi, dword [esi]
movzx edx, cl
mov ecx, 0x20
sub ecx, edi
mov eax, edx
shl eax, cl
or dword [esi + 0x30], eax
movzx ecx, byte [edx + 0x4d7208]
lea edx, [edi - 8]
mov eax, dword [esi + 4]
shl eax, 8
or ecx, eax
mov dword [esi], edx
mov dword [esi + 4], ecx
cmp edx, 8
jae 0x47bb96
mov eax, dword [esi + 0x30]
inc edx
mov ebx, eax
mov dword [esi], edx
shr ebx, 1
mov dword [esi + 0x30], ebx
test al, 1
je 0x47bc93
cmp byte [esp + 0x5c], 0
je 0x47bc0c
mov ecx, dword [esp + 0x14]
push esi
lea ecx, [ecx + 0x78]
call fcn.0047bf90
mov bl, al
jmp 0x47bc6a
cmp edx, 8
jb 0x47bc5d
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jb 0x47bc25
lea ecx, [esi + 8]
call fcn.0040d643
mov cl, al
jmp 0x47bc2b
mov cl, byte [eax]
inc eax
mov dword [esi + 8], eax
mov edx, dword [esi]
movzx eax, cl
mov ecx, 0x20
sub ecx, edx
mov ebx, eax
shl ebx, cl
add edx, 0xfffffff8
or ebx, dword [esi + 0x30]
mov dword [esi + 0x30], ebx
movzx ecx, byte [eax + 0x4d7208]
mov eax, dword [esi + 4]
shl eax, 8
or ecx, eax
mov dword [esi], edx
mov dword [esi + 4], ecx
cmp edx, 8
jae 0x47bc11
lea eax, [edx + 8]
mov dword [esi], eax
mov eax, ebx
shr eax, 8
mov dword [esi + 0x30], eax
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov byte [ecx + eax], bl
inc ecx
mov dword [ebp + 4], ecx
cmp ecx, dword [ebp + 8]
jne 0x47bc83
mov ecx, ebp
call fcn.00410d86
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add ecx, 1
jmp 0x47bed8
cmp edx, 8
jb 0x47bce4
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jb 0x47bcac
lea ecx, [esi + 8]
call fcn.0040d643
mov cl, al
jmp 0x47bcb2
mov cl, byte [eax]
inc eax
mov dword [esi + 8], eax
mov edx, dword [esi]
movzx eax, cl
mov ecx, 0x20
sub ecx, edx
mov ebx, eax
shl ebx, cl
add edx, 0xfffffff8
or ebx, dword [esi + 0x30]
mov dword [esi + 0x30], ebx
movzx ecx, byte [eax + 0x4d7208]
mov eax, dword [esi + 4]
shl eax, 8
or ecx, eax
mov dword [esi], edx
mov dword [esi + 4], ecx
cmp edx, 8
jae 0x47bc98
mov edi, dword [esp + 0x28]
mov ecx, edi
push esi
lea eax, [edx + edi]
mov dword [esi], eax
mov eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x30], eax
call fcn.0047bf90
mov ecx, edi
mov edx, 1
shl edx, cl
dec edx
shl eax, cl
mov ecx, dword [esp + 0x30]
and edx, ebx
add eax, edx
push esi
mov dword [esp + 0x5c], eax
call fcn.0047bf90
mov ebx, eax
cmp ebx, 0x3f
jne 0x47bd94
mov eax, dword [esi]
cmp eax, 8
jb 0x47bd7e
nop dword [eax]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jb 0x47bd44
lea ecx, [esi + 8]
call fcn.0040d643
mov cl, al
jmp 0x47bd4a
mov cl, byte [eax]
inc eax
mov dword [esi + 8], eax
mov edx, dword [esi]
movzx eax, cl
mov ecx, 0x20
sub ecx, edx
mov ebx, eax
shl ebx, cl
or ebx, dword [esi + 0x30]
mov dword [esi + 0x30], ebx
movzx ecx, byte [eax + 0x4d7208]
mov eax, dword [esi + 4]
shl eax, 8
or ecx, eax
lea eax, [edx - 8]
mov dword [esi + 4], ecx
mov dword [esi], eax
cmp eax, 8
jae 0x47bd30
jmp 0x47bd81
mov ebx, dword [esi + 0x30]
add eax, 8
mov dword [esi], eax
mov eax, ebx
shr eax, 8
movzx ebx, bl
mov dword [esi + 0x30], eax
add ebx, 0x3f
add ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
sub edi, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
sbb eax, edx
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], eax
jb 0x47bdc7
ja 0x47bdc0
cmp ebx, edi
jbe 0x47bdc7
mov byte [esp + 0x64], 1
mov ebx, edi
xor eax, eax
cmp eax, edx
jb 0x47be1c
mov edi, dword [esp + 0x58]
ja 0x47bdd7
cmp edi, ecx
jb 0x47be1c
test ebx, ebx
je 0x47bee3
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov byte [ecx + eax], 0
inc ecx
mov dword [ebp + 4], ecx
cmp ecx, dword [ebp + 8]
jne 0x47bdf9
mov ecx, ebp
call fcn.00410d86
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add ecx, 1
mov dword [esp + 0x44], ecx
adc edx, 0
xor eax, eax
dec ebx
mov dword [esp + 0x48], edx
cmp eax, edx
ja 0x47bdd7
jb 0x47be1c
cmp edi, ecx
jae 0x47bdd7
test ebx, ebx
je 0x47bee3
mov eax, dword [ebp + 4]
mov edi, ebx
sub eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 4]
cmp dword [esp + 0x58], eax
jb 0x47be5e
cmp byte [ebp + 0x24], 0
je 0x47bed6
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x58], eax
jae 0x47bed6
mov ecx, dword [esp + 0x10]
add ecx, eax
jmp 0x47be62
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 4]
sub eax, edx
cmp eax, ebx
jbe 0x47be92
mov eax, dword [ebp + 0x10]
sub eax, ecx
cmp eax, ebx
jbe 0x47be92
add ecx, dword [ebp]
add edx, dword [ebp]
add dword [ebp + 4], ebx
mov al, byte [ecx]
lea edx, [edx + 1]
mov byte [edx - 1], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x47be80
jmp 0x47bece
mov esi, dword [esp + 0x38]
mov edx, dword [ebp + 4]
xor edi, edi
cmp ecx, dword [ebp + 0x10]
cmovne edi, ecx
mov ecx, dword [ebp]
mov al, byte [edi + ecx]
mov byte [edx + ecx], al
inc edx
lea ecx, [edi + 1]
mov dword [ebp + 4], edx
mov dword [esp + 0x10], ecx
cmp edx, dword [ebp + 8]
jne 0x47bec5
mov ecx, ebp
call fcn.00410d86
mov ecx, dword [esp + 0x10]
sub esi, 1
jne 0x47be96
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add ecx, ebx
adc edx, 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
cmp edx, dword [esp + 0x1c]
ja 0x47befe
jb 0x47bef1
cmp ecx, dword [esp + 0x18]
jae 0x47befe
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
jmp 0x47bb23
mov ebx, dword [esp + 0x14]
mov ecx, ebp
call fcn.00410cdc
mov edi, eax
test edi, edi
jne 0x47bf59
cmp byte [ebx + 0x511], al
je 0x47bf40
cmp byte [esp + 0x64], al
mov eax, 1
mov ebx, dword [esp + 0x60]
cmovne edi, eax
test ebx, ebx
je 0x47bf40
mov ecx, esi
call fcn.00442fc3
cmp dword [ebx], eax
jne 0x47bf3b
cmp dword [ebx + 4], edx
je 0x47bf40
mov edi, 1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x44], eax
jne 0x47bf54
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x48], eax
je 0x47bf59
mov edi, 1
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x44
ret 0x14
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0x14
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0x44
ret 0x14