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

Disassembly:
push 0xffffffffffffffff
push 0x4ab048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 4]
push edi
call fcn.0047d810
mov ecx, dword [0x4c4a9c]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x47c139
mov al, byte [ecx + 0x24]
test al, al
je 0x47c0bc
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x47c0b2
lea ecx, [esi + 0x40]
call fcn.0047c550
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.0047ca40
test al, al
je 0x47c0ac
mov esi, dword [0x4c4a9c]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.0047c510
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0047c550
mov esi, dword [eax]
mov ecx, edi
call fcn.0047c5a0
lea ecx, [esi + 0x10]
call fcn.0041b700
test esi, esi
je 0x47c097
mov ecx, esi
call fcn.0047cd80
push esi
call fcn.00498130
add esp, 4
mov ecx, dword [0x4c4a9c]
mov al, byte [ecx + 0x90]
test al, al
jne 0x47c0b2
call fcn.0048b780
mov ecx, dword [0x4c4a9c]
mov byte [ecx + 0x24], 0
mov ecx, dword [0x4c4a9c]
test ecx, ecx
je 0x47c139
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x47c139
lea ecx, [esi + 0x40]
call fcn.0047c550
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.0047ca40
test al, al
je 0x47c139
mov esi, dword [0x4c4a9c]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.0047c510
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0047c550
mov esi, dword [eax]
mov ecx, edi
call fcn.0047c5a0
lea ecx, [esi + 0x10]
call fcn.0041b700
test esi, esi
je 0x47c124
mov ecx, esi
call fcn.0047cd80
push esi
call fcn.00498130
add esp, 4
mov ecx, dword [0x4c4a9c]
mov al, byte [ecx + 0x90]
test al, al
jne 0x47c139
call fcn.0048b780
mov ebp, dword [esp + 0x74]
mov ecx, dword [ebx + 4]
push 4
mov ax, word [ebp + 4]
push eax
call fcn.0047da80
mov cx, word [ebp + 6]
push 6
push ecx
mov ecx, dword [ebx + 4]
call fcn.0047da80
mov ecx, dword [ebx + 4]
call fcn.0047d7a0
mov edx, dword [0x4bce5c]
push edx
call fcn.004996a5
add esp, 4
mov edi, eax
mov al, byte [esp + 0x74]
lea ecx, [esp + 0x24]
push 0
mov byte [esp + 0x28], al
call fcn.0047c6e0
push 0x4c47e8
call fcn.004996a5
add esp, 4
mov esi, eax
lea ecx, [esp + 0x24]
push 1
push esi
call fcn.0047c750
test al, al
je 0x47c1c3
mov ecx, dword [esp + 0x28]
push esi
push 0x4c47e8
push ecx
call fcn.0047c480
add esp, 0xc
lea ecx, [esp + 0x24]
push esi
call fcn.0047c730
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0
test edi, edi
lea ecx, [eax + 8]
mov eax, dword [0x4bce5c]
mov edx, edi
jbe 0x47c203
mov si, word [eax]
cmp si, word [ecx]
jne 0x47c1f0
add eax, 2
add ecx, 2
dec edx
jne 0x47c1dd
jmp 0x47c203
mov dx, word [eax]
cmp dx, word [ecx]
sbb eax, eax
and al, 0xfe
inc eax
test eax, eax
jne 0x47c2cb
mov eax, dword [esp + 0x14]
lea edi, [eax + edi*2 + 8]
push edi
call fcn.004996a5
add esp, 4
mov esi, eax
lea ecx, [esp + 0x24]
push 1
push esi
call fcn.0047c750
test al, al
je 0x47c23f
mov ecx, dword [esp + 0x28]
push esi
push edi
push ecx
call fcn.0047c480
add esp, 0xc
lea ecx, [esp + 0x24]
push esi
call fcn.0047c730
mov dl, byte [esp + 0x74]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x38]
push ebp
call fcn.0041c2e0
test al, al
je 0x47c296
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov eax, ecx
mov esi, 0x4c4510
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.0041c2c0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x74], 1
call fcn.0048bac0
lea eax, [esp + 0x3c]
push eax
call fcn.004876d0
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0
push 1
call fcn.0041ba60
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
mov al, byte [edx + 4]
mov cl, byte [edx + 5]
cmp al, 0xff
mov byte [esp + 0x18], al
mov byte [esp + 0x1c], cl
jne 0x47c2ea
cmp cl, al
jne 0x47c2ea
or esi, 0xffffffff
jmp 0x47c303
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
and esi, 0xff
and ecx, 0xff
shl esi, 8
add esi, ecx
mov al, byte [edx + 6]
mov cl, byte [edx + 7]
movzx ax, al
xor dx, dx
mov word [ebp + 4], si
shl eax, 8
mov dl, cl
add eax, edx
mov word [ebp + 6], ax
mov ecx, dword [0x4c4a9c]
test ecx, ecx
je 0x47c442
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov ecx, dword [0x4c4a9c]
cmp byte [ecx + 0x90], 1
jne 0x47c442
cmp eax, 1
je 0x47c35d
cmp eax, 3
jne 0x47c43a
cmp esi, 0xffffffff
je 0x47c442
mov dl, byte [esp + 0x74]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.0041ba60
lea eax, [esp + 0x13]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x70], 2
call fcn.0047c4b0
mov ecx, dword [0x4c4a9c]
mov edx, dword [0x4ad134]
push edx
push 0
lea esi, [ecx + 4]
lea ecx, [esp + 0x4c]
push esi
mov byte [esp + 0x78], 3
call fcn.0041b7e0
add esi, 0x10
lea ecx, [esp + 0x54]
push esi
call fcn.0041b500
sub esp, 0x10
lea ecx, [esp + 0x54]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0047cb30
mov ecx, ebx
call fcn.0047bc10
xor esi, esi
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x47c3d9
xor eax, eax
jmp 0x47c3e2
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x47c404
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push ecx
lea ecx, [esp + 0x5c]
call fcn.0047cc60
mov ecx, ebx
call fcn.0047bdd0
inc esi
jmp 0x47c3cd
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 4
call fcn.0041b4c0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
call fcn.0041ba60
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.0047c6e0
jmp 0x47c0b6
cmp eax, 2
jne 0x47c442
or esi, 0xffffffff
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x47c468
mov al, byte [ecx - 1]
test al, al
je 0x47c45c
cmp al, 0xff
je 0x47c45c
dec al
mov byte [ecx - 1], al
jmp 0x47c468
add ecx, 0xfffffffe
push ecx
call fcn.00498130
add esp, 4
mov ecx, dword [esp + 0x64]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4