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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov edi, dword [eax]
test byte [edi + 0x21], 0x40
mov dword [ebp - 0x2c], edi
je 0x47a32d
cmp byte [edx + 0x2b], 0
jne 0x47a32d
mov edi, eax
movzx eax, byte [eax + 0x9f]
mov dword [ebp - 0x30], edx
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
call fcn.00404a49
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
shl eax, 4
add eax, dword [ecx + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x47a171
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
je 0x479f64
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004019f3
test eax, eax
je 0x479f64
mov ecx, dword [ebx + 0x14]
xor eax, eax
cmp eax, ecx
jge 0x47a169
mov edx, dword [ebx + eax*8 + 0x24]
mov esi, dword [ebp + 0xc]
cmp dword [esi + edx*4], 0
jns 0x479f64
mov esi, dword [ebp - 0x30]
movsx esi, word [esi + 0x20]
cmp esi, edx
jne 0x479f61
cmp dword [ebp + 0x10], 0
jne 0x479f64
inc eax
jmp 0x479f3b
cmp byte [edi + 0x9f], 0
mov edx, dword [ebx + 8]
je 0x479f7d
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
call fcn.004043e4
jmp 0x479f8e
mov eax, dword [ebp - 0x4c]
mov ecx, edx
xor edx, edx
mov dword [esp], eax
mov eax, edi
call fcn.00478b50
test eax, eax
mov esi, eax
jne 0x479f9f
cmp dword [ebp - 0x48], 0
jne 0x479fbd
jmp 0x47a32d
lea eax, [ebp - 0x20]
mov ecx, ebx
mov edx, esi
mov dword [esp + 4], eax
lea eax, [ebp - 0x24]
mov dword [esp], eax
mov eax, edi
call fcn.004266c8
test eax, eax
jne 0x479f94
jmp 0x47a032
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x57], 0
jne 0x47a32d
test esi, esi
jne 0x47a169
mov eax, edi
call fcn.0042351d
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 0x6c]
add eax, dword [ebx + 0x14]
inc eax
mov dword [ebp - 0x38], eax
cmp esi, dword [ebx + 0x14]
jge 0x47a015
movsx edx, word [ebx + esi*8 + 0x24]
mov eax, dword [ebx]
inc esi
call fcn.0040df42
mov ecx, dword [ebp - 0x40]
cwde
mov edx, 0x32
lea ecx, [ecx + eax + 1]
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call fcn.00423486
jmp 0x479fe6
movzx ecx, byte [ebx + 0x18]
mov eax, dword [ebp - 0x34]
mov edx, 0x9e
mov dword [esp], 0xffffffff
call fcn.00423486
jmp 0x47a169
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x34], eax
jne 0x47a048
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebx + 0x14]
jge 0x47a0c5
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
movsx eax, word [eax + 0x20]
cmp dword [ecx + edx*4], eax
jne 0x47a079
mov eax, ecx
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x17c], 0
je 0x47a0c0
mov eax, dword [ebp - 0x24]
mov edx, dword [esi + 4]
test eax, eax
je 0x47a09b
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x38]
movsx eax, word [eax + ecx*2]
jmp 0x47a09f
movsx eax, word [esi + 0x20]
shl eax, 4
mov ecx, dword [edx + eax]
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov edx, dword [esi]
mov eax, edi
call fcn.00444190
cmp eax, 2
sete al
movzx eax, al
mov dword [ebp - 0x44], eax
inc dword [ebp - 0x38]
jmp 0x47a056
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x3c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, edi
call fcn.00423fda
inc dword [edi + 0x28]
cmp dword [ebp - 0x40], 0
je 0x47a11b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, edi
call fcn.00428e78
cmp dword [ebp + 8], 0
je 0x47a157
mov eax, dword [edi + 0x78]
test eax, eax
cmove eax, edi
mov eax, dword [eax + 0x80]
test eax, eax
je 0x47a2f5
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1c]
jne 0x47a144
cmp byte [ebx + 0x19], 8
je 0x47a157
cmp eax, dword [ebx + 0x20]
jne 0x47a2f5
cmp byte [ebx + 0x1a], 8
jne 0x47a2f5
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0040b317
mov ebx, dword [ebx + 4]
jmp 0x479f02
mov eax, dword [ebp - 0x30]
call fcn.004048db
mov ebx, eax
test ebx, ebx
je 0x47a32d
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
je 0x47a1b2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
call fcn.004048ee
test eax, eax
je 0x47a2ed
cmp byte [ebx + 0x18], 0
jne 0x47a1d1
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x22], 8
jne 0x47a1d1
cmp dword [edi + 0x78], 0
jne 0x47a1d1
cmp byte [edi + 0x14], 0
je 0x47a2ed
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov ecx, ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
mov eax, edi
call fcn.004266c8
test eax, eax
je 0x47a20a
cmp dword [ebp - 0x48], 0
je 0x47a32d
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x57], 0
je 0x47a2ed
jmp 0x47a32d
xor ecx, ecx
xor edx, edx
mov dword [esp], 0
mov eax, edi
call fcn.00426286
test eax, eax
mov esi, eax
je 0x47a2db
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], edx
inc dword [eax + 0x18]
mov eax, dword [edi + 0x28]
cmp dword [ebp + 8], 0
lea edx, [eax + 1]
mov dword [edi + 0x28], edx
mov dword [esi + 0x34], eax
je 0x47a271
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov edx, esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, edi
call fcn.0046cab2
cmp dword [ebp - 0x40], 0
je 0x47a2ca
xor eax, eax
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp - 0x30]
mov edx, esi
setne al
mov al, byte [ebx + eax + 0x19]
mov dword [esp + 0x10], 1
mov dword [esp + 4], ebx
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, edi
call fcn.0046cab2
cmp byte [ebx + 0x18], 0
jne 0x47a2ca
mov al, byte [ebp - 0x34]
and eax, 0xfffffffd
cmp al, 8
je 0x47a2ca
mov eax, edi
call fcn.00404855
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x10], 0
mov edx, esi
call fcn.00416dd7
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0040b317
mov ebx, dword [ebx + 0xc]
jmp 0x47a17b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov ecx, esi
mov dword [esp + 0x10], 1
mov dword [esp + 4], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, edi
call fcn.00428e78
jmp 0x47a157
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret