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

Disassembly:
sub esp, 0x85c
mov eax, dword [0x97efc0]
xor eax, esp
mov dword [esp + 0x858], eax
mov eax, dword [esp + 0x86c]
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x86c]
push ebp
mov ebp, dword [esp + 0x86c]
push edi
mov edi, dword [esp + 0x86c]
test eax, eax
jne 0x479343
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.004eec95
add esp, 0x85c
ret
xor ecx, ecx
mov dword [esp + 0xc], ecx
test eax, eax
je 0x479537
add ebx, 0xa
add ebp, 0x40c
mov dword [esp + 0x10], ebx
push esi
nop
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x479390
lea ebx, [ebp - 0x404]
nop dword [eax]
push dword [ebx]
push edi
call fcn.0047dd50
mov dword [esp + esi*4 + 0x70], eax
lea ebx, [ebx + 0x20]
inc esi
add esp, 8
cmp esi, dword [ebp - 0xc]
jb 0x479370
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call fcn.0047dd50
push dword [ebp - 4]
mov dword [esp + 0x48], eax
push edi
call fcn.0047df90
mov dword [esp + 0x50], eax
movzx eax, byte [ebp]
push eax
push edi
call fcn.0047de10
mov dword [esp + 0x5c], eax
movzx eax, byte [ebx + 1]
push eax
push edi
call fcn.0047de10
push dword [ebp - 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x8c]
push eax
push edi
call fcn.0047de70
mov dword [esp + 0x78], eax
movzx eax, byte [ebx + 3]
push eax
push edi
call fcn.0047de10
mov dword [esp + 0x84], eax
movzx eax, byte [ebx - 2]
push eax
push edi
call fcn.0047dd50
mov dword [esp + 0x90], eax
movzx eax, byte [ebx]
and al, 0xf
movzx eax, al
push eax
push edi
call fcn.0047de10
add esp, 0x44
mov dword [esp + 0x58], eax
push dword [ebp - 0x3f8]
push edi
call fcn.0047dd50
mov dword [esp + 0x64], eax
movzx eax, byte [ebx]
shr al, 4
and al, 3
movzx eax, al
push eax
push edi
call fcn.0047de10
xor esi, esi
mov dword [esp + 0x70], eax
add esp, 0x10
cmp dword [ebp - 0x40c], esi
je 0x47946b
push esi
push edi
call fcn.0047dd50
push dword [ebp - 0x40c]
mov dword [esp + 0x30], eax
push edi
call fcn.0047dd50
add esp, 0x10
mov dword [esp + 0x28], eax
mov esi, 2
cmp byte [esp + 0x880], 0
mov al, byte [ebp - 0x3f3]
jne 0x47947f
not al
and al, 0xf
test al, al
je 0x4794b7
cmp dword [edi + 0x14], 5
jb 0x4794b7
mov cl, byte [ebx]
shr cl, 4
and cl, 3
shr al, cl
push 3
push edi
mov byte [esp + 0x20], al
call fcn.0047dd50
push dword [esp + 0x20]
mov dword [esp + esi*4 + 0x30], eax
push edi
call fcn.0047de10
add esp, 0x10
mov dword [esp + esi*4 + 0x28], eax
add esi, 2
mov al, byte [ebx + 4]
and al, 0xf
mov byte [esp + 0x1c], al
je 0x4794e2
push 2
push edi
call fcn.0047dd50
push dword [esp + 0x24]
mov dword [esp + esi*4 + 0x30], eax
push edi
call fcn.0047de10
add esp, 0x10
mov dword [esp + esi*4 + 0x28], eax
add esi, 2
test esi, esi
je 0x4794f7
push esi
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0047de70
add esp, 0xc
jmp 0x4794f9
xor eax, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x3c]
push 0xb
push eax
push edi
call fcn.0047de70
mov ecx, dword [esp + 0x1c]
add ebx, 0x10
add esp, 0xc
mov dword [esp + 0x14], ebx
add ebp, 0x410
mov dword [esp + ecx*4 + 0x468], eax
inc ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jb 0x479360
pop esi
push eax
lea eax, [esp + 0x468]
push eax
push edi
call fcn.0047de70
mov ecx, dword [esp + 0x870]
add esp, 0xc
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eec95
add esp, 0x85c
ret