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

Disassembly:
push 0xffffffffffffffff
push 0x4ed1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebp
call fcn.004ba030
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
xor esi, esi
mov eax, dword [ebx]
mov edx, dword [ecx + 4]
add eax, edx
mov dword [esp + 0x6c], esi
mov dl, byte [eax + 1]
mov cl, byte [eax]
mov byte [esp + 0x78], dl
mov byte [esp + 0x10], cl
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, ebp
call fcn.00481260
cmp ax, 0x7fff
jbe 0x47e22e
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004ba050
mov ax, 0xfffc
jmp 0x47e431
mov edx, dword [ebx]
mov dword [esp + 0x14], esi
add edx, 2
and eax, 0xffff
mov dword [ebx], edx
mov dword [esp + 0x20], eax
jle 0x47e41d
mov esi, dword [esp + 0x7c]
jmp 0x47e252
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov edx, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [edx + ecx]
mov dl, byte [edx + ecx]
mov cl, byte [eax + 1]
mov byte [esp + 0x10], dl
mov dl, byte [eax + 2]
mov al, byte [eax + 3]
mov byte [esp + 0x78], cl
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x84], al
call fcn.00481260
mov ecx, dword [esp + 0x1c]
movsx edi, ax
mov eax, dword [esp + 0x7c]
push eax
push ecx
mov ecx, ebp
call fcn.00481260
movsx ebp, ax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x47e393
mov eax, dword [esi + 8]
test eax, eax
jne 0x47e2d0
push eax
push ebp
push edi
lea ecx, [esp + 0x34]
call fcn.004ba080
sub esp, 0x14
mov dword [esp + 0x38], esp
jmp 0x47e3cb
dec eax
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call fcn.00416560
mov eax, dword [esp + 0x48]
mov byte [esp + 0x6c], 1
cmp eax, 0xa
jne 0x47e383
mov ecx, esi
call fcn.004272c0
sub esp, 0x14
dec eax
mov edx, esp
mov dword [esp + 0x38], esp
push eax
push edx
mov ecx, esi
call fcn.00416560
lea eax, [esp + 0x64]
lea ecx, [esp + 0x50]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x50]
call fcn.004ba050
cmp dword [esp + 0x48], 6
jne 0x47e383
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
push 6
push ebp
lea ecx, [eax + eax*4]
push edi
mov dword [edx + ecx*4 - 0x1c], 7
lea ecx, [esp + 0x34]
call fcn.004ba080
lea eax, [esp + 0x28]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x40]
and eax, edx
mov ecx, esp
mov dword [esp + 0x38], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, esi
call fcn.00416650
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
call fcn.004ba050
jmp 0x47e401
and eax, 0x80000001
jns 0x47e39f
dec eax
or eax, 0xfffffffe
inc eax
jne 0x47e3b7
push 6
push ebp
push edi
lea ecx, [esp + 0x34]
call fcn.004ba080
sub esp, 0x14
mov dword [esp + 0x38], esp
jmp 0x47e3cb
push 0xa
push ebp
push edi
lea ecx, [esp + 0x34]
call fcn.004ba080
sub esp, 0x14
mov dword [esp + 0x38], esp
lea eax, [esp + 0x3c]
lea edx, [esp + 0x40]
neg eax
sbb eax, eax
mov ecx, esp
and eax, edx
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, esi
call fcn.00416650
mov edi, dword [ebx]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add edi, 4
inc eax
mov dword [ebx], edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x47e24e
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004ba050
xor ax, ax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0xc