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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x80]
call fcn.0040a97a
mov ecx, dword [ebp + 0xc]
xor eax, eax
push 0x49cc08
mov dword [esp + 0x20], eax
call fcn.00409c87
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00407529
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x7c], eax
inc dword [eax]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00407529
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], eax
inc dword [eax]
call fcn.0040a97a
lea ecx, [esp + 0x40]
call fcn.0040a97a
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00407529
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.00407639
push eax
lea ecx, [esp + 0x3c]
call fcn.0040573b
push 0
mov esi, 0x4af350
push esi
push dword [esp + 0x40]
call fcn.0042d701
add esp, 0xc
mov eax, 0x17840f48
add dword [eax], eax
add byte [eax - 0x73], dl
dec esp
and al, 0x44
call fcn.00406b70
mov eax, dword [esp + 0x44]
xor edx, edx
mov ebx, edx
mov ecx, edx
mov eax, 0x8b2f7448
mov edx, dword [esp + 0x40]
mov esi, edx
mov edx, dword [esp + 0x40]
push 0x28
movzx edx, word [edx + ebx*2]
mov dword [esp + 0x14], edx
pop edx
cmp word [esp + 0x10], dx
je 0x479252
movzx edx, word [esi*2 + 0x4c63b2]
inc esi
test dx, dx
jne 0x479231
inc ebx
inc ecx
push 0
pop edx
cmp ecx, eax
jb 0x479220
or ebx, 0xffffffff
xor edx, edx
mov esi, edx
mov ecx, edx
mov eax, 0x89397448
push esp
and al, 0x10
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
push 0x29
movzx edx, word [edx + esi*2]
mov dword [esp + 0x18], edx
pop edx
cmp word [esp + 0x14], dx
je 0x479298
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
movzx edx, word [edx*2 + 0x4c63b4]
test dx, dx
jne 0x47926f
inc esi
inc ecx
push 0
pop edx
cmp ecx, eax
jb 0x47925c
or esi, 0xffffffff
cmp ebx, 0xffffffff
je 0x4793a8
cmp esi, 0xffffffff
je 0x4793a8
cmp esi, ebx
jb 0x4793a8
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.00406369
push 0x4af350
lea ecx, [esp + 0x24]
call fcn.004033df
sub esi, ebx
lea eax, [ebx + 1]
dec esi
lea ecx, [esp + 0x80]
push esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00406d3e
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call fcn.00406369
mov esi, 0x4af350
lea ecx, [esp + 0x20]
push esi
call fcn.004033df
xor eax, eax
push eax
push esi
push eax
call fcn.0042d701
add esp, 0xc
mov eax, 0xec850f48
invalid
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 0xd], 0
mov ecx, dword [eax + edi + 8]
je 0x4793bb
mov ecx, dword [ecx + 0x38]
mov dword [ecx + 0x14], 2
cmp byte [eax + edi + 0xd], 0
mov ecx, dword [eax + edi + 8]
je 0x4793d0
mov ecx, dword [ecx + 0x38]
mov byte [ecx + 0x18], 0
jmp 0x479603
mov eax, dword [esp + 0x3c]
sub dword [eax], 1
jne 0x479620
push 4
push eax
call fcn.0041fde6
push dword [esp + 0x40]
call fcn.0041fe2d
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.004098a8
lea ecx, [esp + 0x20]
call fcn.004098a8
lea ecx, [esp + 0x60]
call fcn.004098a8
lea ecx, [esp + 0x70]
call fcn.004098a8
lea ecx, [esp + 0x410e0080]
call fcn.004098a8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10