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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x5527f0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, ecx
mov dword [esp + 0xc], edx
push esi
push edi
cmp dword [ebx + 0x1808], 3
je 0x47a80f
mov edx, 0xc000042a
call fcn.004f437c
test eax, eax
jns 0x47ab0f
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052b1d0
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x18b8]
push 8
push 0x10
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x47a869
mov eax, dword [esp + 0x14]
mov esi, 0xc0000017
push esi
mov dword [esp + 0x54], 0x41ee58
mov dword [esp + 0x58], 0x41f100
and dword [eax], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x5c], 0x391
mov dword [esp + 0x60], 0x41f124
call fcn.004f7c89
mov eax, esi
jmp 0x47a7fa
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov byte [ecx + 8], al
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, ebx
call fcn.00478633
mov ecx, ebx
mov al, byte [eax + 0x3c]
mov byte [esp + 0x13], al
call fcn.00478633
mov ecx, dword [0x40a114]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 0x38]
xor eax, eax
mov ecx, dword [ebx + 0x18c4]
mov word [esp + 0x4c], ax
mov eax, dword [0x40a118]
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x18c8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x8c], 0xa
mov dword [esp + 0x90], 0xb
mov dword [esp + 0x94], 0x41f15c
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 5
mov dword [esp + 0xa8], 0x41f168
cmp ecx, eax
je 0x47a922
add eax, 0xfffffff8
cmp eax, ecx
jne 0x47a915
mov dword [ebx + 0x18c8], eax
xor eax, eax
mov dword [esp + 0x1c], eax
test edx, edx
je 0x47ab05
lea ecx, [ebx + 0x904]
push eax
call fcn.00498b56
mov edx, eax
mov dword [esp + 0x20], edx
cmp byte [edx + 0x48], 0
jne 0x47aa82
cmp byte [edx + 0x49], 0
jne 0x47aa82
mov ecx, dword [edx + 0x14]
lea esi, [esp + 0x28]
mov eax, dword [edx + 0x10]
lea edi, [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
and dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x78]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov eax, dword [edx]
lea edx, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x88]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
push eax
push 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f3d99
test eax, eax
js 0x47a7fa
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x18], eax
cmp eax, 2
jae 0x47aa62
cmp byte [esp + eax + 0x4c], 0
jne 0x47aabe
mov esi, dword [esp + 0x20]
sub esp, 0x10
add esi, 0x20
mov byte [esp + eax + 0x5c], 1
mov edi, esp
lea eax, [esp + 0x70]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f3fe7
test eax, eax
js 0x47a7fa
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov byte [esp + 0x12], cl
sub eax, ecx
je 0x47aa36
sub eax, 1
jne 0x47aa56
lea eax, [esp + 0x12]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x64]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00479c04
test eax, eax
js 0x47a7fa
mov al, byte [esp + 0x12]
jmp 0x47aa52
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x60]
lea edi, [esp + 0x50]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x50]
push dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00498f6c
test al, al
jne 0x47aa82
mov edx, 0xc00000b9
mov ecx, ebx
jmp 0x47a7ed
test byte [ebx + 0x18c0], 2
je 0x47aabe
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004f4160
test eax, eax
js 0x47a7fa
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x24]
jne 0x47a930
mov ax, word [esp + 0x4c]
test al, al
je 0x47ab05
test ah, ah
je 0x47ab05
test byte [ebx + 0x18c0], 2
mov ecx, ebx
je 0x47aac8
call fcn.004f4491
test eax, eax
js 0x47a7fa
mov al, 1
jmp 0x47aad7
mov edx, 0xc00000a4
jmp 0x47a7ed
call fcn.004f43a1
test eax, eax
js 0x47a7fa
xor eax, eax
cmp byte [esp + 0x13], 0
jne 0x47aafe
test al, al
jne 0x47aafe
cmp dword [ebx + 0x1808], 4
mov ecx, ebx
jne 0x47a7e8
call fcn.004f43a1
test eax, eax
js 0x47a7fa
xor eax, eax
jmp 0x47a7fa
mov edx, 0xc0000225
jmp 0x47aa5b
push 0xc00000e5
call dword [fcn.00440b24]
int3