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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x64
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x19
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x20]
call fcn.00408070
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d2e0
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 4]
mov word [ebp - 0x18], dx
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x984]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x980], 0
je 0x4a94b6
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0x97e], 1
mov edx, dword [ebp - 0x2c]
mov word [ebp - 0x14], dx
mov edx, dword [ebp - 0x2a]
mov word [ebp - 0x12], dx
mov edx, dword [ebp - 0x28]
mov word [ebp - 0x10], dx
mov edx, dword [ebp - 0x26]
mov word [ebp - 0xe], dx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.004ab4b0
mov word [ebp - 0x12], ax
mov ecx, dword [ebp - 0x6c]
call fcn.004a8e40
add eax, dword [ebp - 0x14]
add eax, 1
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xbb0]
cmp byte [edx + 0x3c], 0
jne 0x4a912c
push 1
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xbb0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x108]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x6c]
movzx edx, word [eax + 0xb94]
add edx, 0xffffffff
add word [ebp - 0x34], dx
mov eax, dword [ebp - 0x6c]
movzx edx, word [eax + 0xb98]
add word [ebp - 0x32], dx
mov eax, dword [ebp - 0x6c]
movzx edx, word [eax + 0xba0]
sub word [ebp - 0x2e], dx
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xbb0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xbc]
mov eax, dword [ebp - 0x6c]
movzx edx, word [eax + 0xb94]
add edx, 0xffffffff
add word [ebp - 0x14], dx
mov dword [ebp - 0x58], 0xffffffff
jmp 0x4a9468
mov bl, 0
cmp byte [0x5661b5], 0
je 0x4a9167
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0x980]
add edx, 0xffffffff
cmp dword [ebp - 0x58], edx
jge 0x4a9167
mov bl, 1
cmp bl, 0
je 0x4a9173
mov edx, 0
jmp 0x4a9178
mov edx, 0xffffffff
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x58], 0xffffffff
jle 0x4a91c6
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x980]
cmp dword [ebp - 0x58], ecx
jge 0x4a91c6
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x6c]
call fcn.004ab4e0
add eax, dword [ebp - 0x60]
mov word [ebp - 0xe], ax
mov edx, dword [ebp - 0x58]
lea edx, [edx*4]
add edx, dword [ebp - 0x6c]
add edx, 0x988
push edx
lea ecx, [ebp - 0x24]
call fcn.0040d2e0
mov byte [ebp - 0x59], 0
jmp 0x4a924b
cmp dword [ebp - 0x58], 0
jge 0x4a91e6
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.004ab4b0
add eax, dword [ebp - 0x60]
mov word [ebp - 0xe], ax
mov edx, dword [ebp - 0x2a]
mov word [ebp - 0x12], dx
jmp 0x4a91fb
mov edx, dword [ebp - 0x26]
mov word [ebp - 0xe], dx
mov eax, dword [ebp - 0x6c]
movzx edx, word [eax + 0xba0]
sub word [ebp - 0xe], dx
mov dword [ebp - 0x38], 0
push 0x567e68
call fcn.0040e8d0
pop ecx
push eax
push 0x567e68
lea ecx, [ebp - 0x38]
call fcn.0040cb20
cmp dword [ebp - 0x38], 0
je 0x4a922d
mov ebx, dword [ebp - 0x38]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d2e0
cmp dword [ebp - 0x38], 0
je 0x4a9247
mov ecx, dword [ebp - 0x38]
call fcn.0040c8f0
mov byte [ebp - 0x59], 1
cmp dword [ebp - 0x54], 0
je 0x4a92de
mov eax, dword [ebp - 0x54]
mov cl, byte [ebp - 0x59]
mov byte [eax + 0x14], cl
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
add eax, 0x78
push eax
lea ecx, [ebp - 0x24]
call fcn.0040e1a0
cmp eax, 0
je 0x4a92a3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x4a9286
mov edx, dword [ebp - 0x3c]
inc dword [edx]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 8]
call fcn.00403070
cmp dword [ebp - 0x3c], 0
je 0x4a92a3
mov ecx, dword [ebp - 0x3c]
call fcn.0040c8f0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x54]
mov edx, dword [eax + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xbc]
mov eax, dword [ebp - 0x54]
mov edx, dword [eax + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x20]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
jmp 0x4a941d
push 0x18
call fcn.00487050
pop ecx
cmp eax, 0
je 0x4a92f4
mov ecx, eax
call fcn.004a7e00
mov eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0x59]
mov byte [edx + 0x14], al
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x6c]
mov dword [edx + 0x10], eax
mov byte [ebp - 0x65], 0
mov bl, 0
push 0x90
call fcn.00487050
pop ecx
cmp eax, 0
je 0x4a9386
lea ebx, [ebp - 0x4c]
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
cmp dword [ebx], 0
je 0x4a9330
mov edx, dword [ebx]
inc dword [edx]
movzx edx, byte [ebp - 0x1c]
mov byte [ebx + 4], dl
movzx edx, byte [ebp - 0x1b]
mov byte [ebx + 5], dl
movzx edx, byte [ebp - 0x1a]
mov byte [ebx + 6], dl
mov esi, dword [ebp - 0x18]
mov word [ebx + 8], si
mov bl, 1
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x4a935f
mov edx, dword [ebp - 0x40]
inc dword [edx]
mov byte [ebp - 0x65], 1
push 1
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x6c]
push dword [ecx + 0x38]
push dword [ebp - 0x6c]
lea edx, [ebp - 0x4c]
push edx
push dword [ebp - 0xc]
mov ecx, eax
call fcn.00401e00
mov eax, eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
cmp bl, 0
je 0x4a939f
cmp dword [ebp - 0x4c], 0
je 0x4a939f
mov ecx, dword [ebp - 0x4c]
call fcn.0040c8f0
cmp byte [ebp - 0x65], 0
je 0x4a93b3
cmp dword [ebp - 0x40], 0
je 0x4a93b3
mov ecx, dword [ebp - 0x40]
call fcn.0040c8f0
push 0
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 0x3e]
push eax
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x104]
mov edx, dword [ebp - 0xc]
mov ebx, dword [edx + 8]
mov eax, dword [ebp - 0x6c]
movzx edx, byte [eax + 0x3f]
mov byte [ebx + 0x3f], dl
mov eax, dword [ebp - 0x6c]
push dword [eax + 0xbb0]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x190]
cmp dword [ebp - 0x50], 0
je 0x4a940b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xc], edx
jmp 0x4a9417
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x984], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
mov bl, 0
cmp byte [0x5661b5], 0
je 0x4a943b
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0x980]
add edx, 0xffffffff
cmp dword [ebp - 0x58], edx
jl 0x4a943b
mov bl, 1
cmp bl, 0
je 0x4a9447
mov edx, 0xfffffffe
jmp 0x4a944c
mov edx, 0xffffffff
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.004ab4b0
add eax, dword [ebp - 0x64]
mov word [ebp - 0x12], ax
inc dword [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x980]
cmp dword [ebp - 0x58], ecx
jle 0x4a9149
jmp 0x4a94a3
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xf8]
push dword [ebp - 0xc]
call fcn.00487090
pop ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
cmp dword [edx], 0
jne 0x4a947c
jmp 0x4a94d7
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0x97e], 0
push 0
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xbb0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x108]
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0x97d], 1
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0xbac], 0
cmp dword [ebp - 0x24], 0
je 0x4a94f9
mov ecx, dword [ebp - 0x24]
call fcn.0040c8f0
cmp dword [ebp - 0x20], 0
je 0x4a9507
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret