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

Disassembly:
sub esp, 0x6c
mov edx, dword [esp + 0x70]
push ebx
mov ebx, dword [edx + 0x14]
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ecx
cmp ebx, 0x1e000
jbe 0x47dff5
xor eax, eax
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x78]
push ebp
push esi
xor ebp, ebp
lea esi, [eax + 0x20]
mov dword [esp + 0x1c], ebp
add eax, ebx
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x47e1fa
push edi
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.006d8cf0
add esp, 0xc
mov dword [esp + 0x14], ebp
cmp ebp, ebx
jae 0x47e1e1
movsx dx, byte [esp + 0x46]
mov bl, byte [esi]
inc esi
mov ax, word [esp + 0x40]
movzx ecx, ax
mov word [esp + 0x42], ax
mov edi, edx
sub edi, dword [esp + 0x3e]
movsx ebp, dx
mov dword [esp + 0x18], esi
movzx esi, ax
mov word [esp + 0x3e], dx
movsx eax, di
mov dword [esp + 0x24], eax
movsx eax, cx
mov dword [esp + 0x28], eax
movsx eax, byte [esp + 0x39]
mov word [esp + 0x40], di
imul edi, eax
movsx eax, byte [esp + 0x38]
imul edx, eax
movsx eax, byte [esp + 0x3a]
imul esi, eax
movzx eax, byte [esp + 0x78]
movsx ecx, bl
add edi, edx
shl ecx, 3
add edi, esi
mov esi, dword [esp + 0x24]
lea eax, [edi + eax*8]
sar eax, 3
sub al, bl
mov dword [esp + 0x2c], eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x48], eax
mov eax, ecx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x4c], eax
lea eax, [ecx + ebp]
cdq
xor eax, edx
mov ebp, dword [esp + 0x14]
sub eax, edx
add dword [esp + 0x50], eax
mov eax, ecx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x54], eax
lea eax, [esi + ecx]
mov esi, dword [esp + 0x28]
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x58], eax
mov eax, ecx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x5c], eax
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x2c]
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x60], eax
mov al, cl
sub al, byte [esp + 0x78]
mov byte [esp + 0x46], al
mov eax, dword [esp + 0x30]
mov byte [esp + 0x78], cl
mov byte [eax + ebp + 0x20], cl
mov eax, dword [esp + 0x74]
inc dword [esp + 0x74]
and al, 0x1f
jne case.default.0x47e16e
xor ah, ah
mov al, 1
movzx ecx, al
movzx esi, ah
movzx ebx, al
mov edx, dword [esp + ecx*4 + 0x48]
cmp edx, dword [esp + esi*4 + 0x48]
movzx ecx, ah
cmovge ebx, ecx
inc al
mov ah, bl
cmp al, 7
jb 0x47e131
push 0x2c
mov byte [esp + 0x17], ah
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.006d8cf0
movzx eax, bl
add esp, 0xc
dec eax
cmp eax, 5
ja case.default.0x47e16e
jmp dword [eax*4 + 0x47e20c]
cmp byte [esp + 0x38], 0xf0
jl case.default.0x47e16e
dec byte [esp + 0x38]
jmp case.default.0x47e16e
cmp byte [esp + 0x38], 0x10
jge case.default.0x47e16e
inc byte [esp + 0x38]
jmp case.default.0x47e16e
cmp byte [esp + 0x39], 0xf0
jl case.default.0x47e16e
dec byte [esp + 0x39]
jmp case.default.0x47e16e
cmp byte [esp + 0x39], 0x10
jge case.default.0x47e16e
inc byte [esp + 0x39]
jmp case.default.0x47e16e
cmp byte [esp + 0x3a], 0xf0
jl case.default.0x47e16e
dec byte [esp + 0x3a]
jmp case.default.0x47e16e
cmp byte [esp + 0x3a], 0x10
jge case.default.0x47e16e
inc byte [esp + 0x3a]
mov eax, dword [esp + 0x1c]
add ebp, eax
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
cmp ebp, ebx
jb 0x47e030
mov ebp, dword [esp + 0x20]
jmp 0x47e1e5
mov eax, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x20], ebp
cmp ebp, eax
jb 0x47e013
mov edx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword [edx + 0x34], ebx
mov eax, 1
mov dword [edx + 0x38], ebx
pop ebx
add esp, 0x6c
ret