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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x49d95d
inc eax
mov dword [esp + 0x24], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x479730
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x479536
lea ebx, [ebx]
cmp byte [edi + 0x144], 0
jne 0x479536
cmp byte [0x4974e3], 0
jne 0x47943a
cmp byte [0x4a8668], 0
jne 0x49d97b
mov esi, dword [0x482708]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
jne 0x4796d0
cmp byte [0x4974e6], 1
je 0x49d9a3
cmp dword [edi + 0xf8], 1
je 0x49e2eb
cmp dword [0x4a8624], 0
jne 0x49d9c0
cmp byte [0x4974ec], 1
je 0x49da70
cmp dword [edi + 0x460], 0
jne 0x49da8a
cmp byte [0x4a863c], 0
jne 0x49dbdb
push edi
call fcn.00479360
cmp al, 1
je 0x479529
cmp byte [0x4a87b0], 0
jne 0x49de04
mov eax, dword [edi + 0xf8]
cmp eax, 7
je 0x49de82
cmp eax, 8
je 0x49deed
cmp eax, 9
je 0x49deed
cmp eax, 2
je 0x47967f
cmp eax, 3
je 0x47967f
cmp eax, 4
je 0x47967f
cmp eax, 5
je 0x47967f
cmp eax, 6
je 0x47967f
mov ecx, dword [ebp + 8]
mov dword [edi + 0xf4], ecx
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
cmp eax, dword [0x4a90f8]
jg 0x49e1a6
test eax, eax
jle 0x49e1a6
shl eax, 4
add eax, dword [0x4a912c]
je 0x49e1a6
mov esi, eax
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
movsx eax, word [edx + 8]
cmp eax, ebx
jne 0x47955e
lea eax, [ebp + 8]
push eax
push esi
push edi
call fcn.0047b150
cmp byte [edi + 0xfc], 0
je 0x4793e0
mov eax, dword [edi + 0xec]
mov byte [edi + 0x144], 0
cmp eax, 1
je 0x47975b
dec eax
mov dword [edi + 0xec], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x34
jne 0x479600
lea eax, [esp + 0x47]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebx
call fcn.00479850
test eax, eax
jne 0x4795a5
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x7f
jne 0x49e239
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x4795ca
mov eax, dword [esi + 0xc]
dec dword [eax]
mov edx, dword [esi + 0xc]
cmp dword [edx], ebx
je 0x49e254
push esi
call fcn.0048138c
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
cmp eax, 8
je 0x49e270
cmp eax, 0xa
je 0x49e291
cmp eax, 5
je 0x49e2a8
cmp eax, 0xb
je 0x49e2b6
cmp eax, 0xc
jne 0x479529
jmp 0x49e2d4
dec eax
cmp eax, 0x7e
ja case.default.0x479611
movzx eax, byte [eax + 0x409614]
jmp dword [eax*4 + 0x409600]
push 0xa
call dword [0x48215c]
cmp dword [edi + 0x2f0], 0
je 0x4796b5
mov esi, dword [edi + 0x2f8]
call fcn.0047c7d0
xor ecx, ecx
cmp edx, ecx
jl 0x4796b5
mov ebx, ecx
jg 0x47973c
cmp eax, dword [edi + 0x2f0]
jae 0x47973c
mov eax, dword [edi + 0xf8]
cmp eax, 3
jl 0x479529
jmp 0x49e070
cmp dword [esp + 0x6c], 0x12
je 0x49d98d
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x4a8630
call fcn.0047d300
test eax, eax
jne 0x479717
lea edx, [esp + 0x68]
push edx
mov ebx, 0x4a8630
call fcn.0047d320
test eax, eax
jne 0x479717
lea eax, [esp + 0x68]
push eax
call dword [0x4825b4]
lea ecx, [esp + 0x68]
push ecx
call dword [0x4826c4]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x78]
push edx
call esi
test eax, eax
je 0x479420
jmp 0x4796d0
mov esi, edi
call fcn.00480af0
jmp 0x4793c6
cmp dword [edi + 0xf8], 2
jne 0x49e057
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], ebx
jmp 0x479529
mov esi, edi
call fcn.0047f340
cmp byte [edi + 0xfc], 1
je 0x479553
mov ebx, edi
call fcn.00471c00
push 0
call dword [0x4826bc]
mov edx, dword [0x497518]
push edx
call dword [0x482608]
mov esi, dword [0x4826b8]
push 0
push 0
push 0
lea eax, [esp + 0x148]
push eax
call esi
test eax, eax
jle 0x479553
jmp 0x49e308