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

Disassembly:
sub esp, 0x85c
mov eax, dword [0x97ffc0]
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 0x479423
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.004eee05
add esp, 0x85c
ret
xor ecx, ecx
mov dword [esp + 0xc], ecx
test eax, eax
je 0x479617
add ebx, 0xa
add ebp, 0x40c
mov dword [esp + 0x10], ebx
push esi
nop
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x479470
lea ebx, [ebp - 0x404]
nop dword [eax]
push dword [ebx]
push edi
call fcn.0047de20
mov dword [esp + esi*4 + 0x70], eax
lea ebx, [ebx + 0x20]
inc esi
add esp, 8
cmp esi, dword [ebp - 0xc]
jb 0x479450
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call fcn.0047de20
push dword [ebp - 4]
mov dword [esp + 0x48], eax
push edi
call fcn.0047e060
mov dword [esp + 0x50], eax
movzx eax, byte [ebp]
push eax
push edi
call fcn.0047dee0
mov dword [esp + 0x5c], eax
movzx eax, byte [ebx + 1]
push eax
push edi
call fcn.0047dee0
push dword [ebp - 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x8c]
push eax
push edi
call fcn.0047df40
mov dword [esp + 0x78], eax
movzx eax, byte [ebx + 3]
push eax
push edi
call fcn.0047dee0
mov dword [esp + 0x84], eax
movzx eax, byte [ebx - 2]
push eax
push edi
call fcn.0047de20
mov dword [esp + 0x90], eax
movzx eax, byte [ebx]
and al, 0xf
movzx eax, al
push eax
push edi
call fcn.0047dee0
add esp, 0x44
mov dword [esp + 0x58], eax
push dword [ebp - 0x3f8]
push edi
call fcn.0047de20
mov dword [esp + 0x64], eax
movzx eax, byte [ebx]
shr al, 4
and al, 3
movzx eax, al
push eax
push edi
call fcn.0047dee0
xor esi, esi
mov dword [esp + 0x70], eax
add esp, 0x10
cmp dword [ebp - 0x40c], esi
je 0x47954b
push esi
push edi
call fcn.0047de20
push dword [ebp - 0x40c]
mov dword [esp + 0x30], eax
push edi
call fcn.0047de20
add esp, 0x10
mov dword [esp + 0x28], eax
mov esi, 2
cmp byte [esp + 0x880], 0
mov al, byte [ebp - 0x3f3]
jne 0x47955f
not al
and al, 0xf
test al, al
je 0x479597
cmp dword [edi + 0x14], 5
jb 0x479597
mov cl, byte [ebx]
shr cl, 4
and cl, 3
shr al, cl
push 3
push edi
mov byte [esp + 0x20], al
call fcn.0047de20
push dword [esp + 0x20]
mov dword [esp + esi*4 + 0x30], eax
push edi
call fcn.0047dee0
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 0x4795c2
push 2
push edi
call fcn.0047de20
push dword [esp + 0x24]
mov dword [esp + esi*4 + 0x30], eax
push edi
call fcn.0047dee0
add esp, 0x10
mov dword [esp + esi*4 + 0x28], eax
add esi, 2
test esi, esi
je 0x4795d7
push esi
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0047df40
add esp, 0xc
jmp 0x4795d9
xor eax, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x3c]
push 0xb
push eax
push edi
call fcn.0047df40
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 0x479440
pop esi
push eax
lea eax, [esp + 0x468]
push eax
push edi
call fcn.0047df40
mov ecx, dword [esp + 0x870]
add esp, 0xc
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eee05
add esp, 0x85c
ret