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

Disassembly:
push 0xffffffffffffffff
push 0x4acd93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x3c], ebp
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xd4], ebx
call fcn.004bead8
lea ecx, [esp + 8]
mov byte [esp + 0xd4], 1
call fcn.0050d46e
lea eax, [esp + 0x58]
mov byte [esp + 0xd4], 2
push eax
call fcn.00476fc8
add esp, 4
push 0x4ce224
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0xe0], 3
call fcn.0050d60c
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 5
call fcn.0050d468
mov edx, dword [esp + 0xdc]
lea ecx, [esp + 0x20]
push edx
call fcn.004bf388
test eax, eax
je 0x4c8b6e
push 0x4d5bbc
lea ecx, [esp + 0x24]
call fcn.004bf508
test eax, eax
je 0x4c8b6e
lea ecx, [esp + 0x20]
call fcn.004bf698
push 0x4d5bb4
lea ecx, [esp + 0x24]
call fcn.004bf508
test eax, eax
jne 0x4c8bbe
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 2
call fcn.0050d468
lea ecx, [esp + 8]
mov byte [esp + 0xd4], 1
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], bl
call fcn.004bef48
lea ecx, [esp + 0xdc]
mov dword [esp + 0xd4], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x4c927c
lea ecx, [esp + 0x20]
call fcn.004bf698
push 0x4d5bac
lea ecx, [esp + 0x24]
call fcn.004bf508
test eax, eax
je 0x4c9225
push esi
push edi
lea eax, [esp + 0x8c]
push 0x4d0bd0
push eax
lea ecx, [esp + 0x30]
call fcn.0048e4f8
mov eax, dword [eax]
mov edi, dword [fcn.004b46fc]
push eax
call edi
mov esi, eax
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x18], esi
call fcn.0050d468
cmp esi, ebx
je 0x4c920d
lea ecx, [esp + 0x78]
push 0x4d5ba4
push ecx
lea ecx, [esp + 0x30]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x78]
test eax, eax
setg byte [esp + 0x1f]
call fcn.0050d468
cmp byte [esp + 0x1f], bl
jne 0x4c920d
push 0x7c
call fcn.0050d486
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0xdc], 6
je 0x4c8cc7
lea ecx, [esi + 8]
call fcn.0050d46e
lea ecx, [esi + 0xc]
mov byte [esp + 0xdc], 7
call fcn.0050d46e
lea ecx, [esi + 0x10]
mov byte [esp + 0xdc], 8
call fcn.0050d46e
lea ecx, [esi + 0x14]
mov byte [esp + 0xdc], 9
call fcn.0050d46e
push 0x4a06b0
push 0x4a06b6
push 6
lea edx, [esi + 0x4c]
push 4
push edx
mov byte [esp + 0xf0], 0xa
call fcn.0050dc26
jmp 0x4c8cc9
xor esi, esi
lea edi, [esi + 0x64]
mov ecx, 6
xor eax, eax
push 0x4d0b58
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 5
mov dword [esi + 4], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
call fcn.0048e4f8
lea ecx, [esi + 8]
push eax
mov byte [esp + 0xe0], 0xb
call fcn.0050d5e8
lea ecx, [esp + 0x54]
mov byte [esp + 0xdc], 5
call fcn.0050d468
lea edx, [esp + 0x88]
push 0x4d5b9c
push edx
lea ecx, [esp + 0x30]
call fcn.0048e4f8
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0xe0], 0xc
call fcn.0050d5e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xdc], 5
call fcn.0050d468
lea eax, [esp + 0x68]
push 0x4d5b98
push eax
lea ecx, [esp + 0x30]
call fcn.0048e4f8
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0xe0], 0xd
call fcn.0050d5e8
lea ecx, [esp + 0x68]
mov byte [esp + 0xdc], 5
call fcn.0050d468
lea ecx, [esp + 0x80]
push 0x4d5b90
push ecx
lea ecx, [esp + 0x30]
call fcn.0048e4f8
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0xe0], 0xe
call fcn.0050d5e8
lea ecx, [esp + 0x80]
mov byte [esp + 0xdc], 5
call fcn.0050d468
lea edx, [esp + 0x70]
push 0x4d5b84
push edx
lea ecx, [esp + 0x30]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call dword [fcn.004b46fc]
add esp, 4
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x70]
call fcn.0050d468
lea ecx, [esp + 0x28]
call fcn.004bf698
push 0x4d0ba4
lea ecx, [esp + 0x2c]
call fcn.004bf508
test eax, eax
je 0x4c8f24
lea eax, [esp + 0x58]
push 0x4d5b7c
push eax
lea ecx, [esp + 0x30]
call fcn.0048e4f8
push 0x4d0ba0
lea ecx, [esp + 0x94]
push eax
push ecx
mov byte [esp + 0xe8], 0xf
call fcn.0050d60c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 0x10
call fcn.0050d5e8
lea ecx, [esp + 0x90]
mov byte [esp + 0xdc], 0xf
call fcn.0050d468
lea ecx, [esp + 0x58]
mov byte [esp + 0xdc], 5
call fcn.0050d468
push ebx
push 0x4ce5cc
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
xor ebp, ebp
call fcn.0050d7bc
mov edi, eax
cmp edi, ebx
jl 0x4c8f20
lea edx, [esi + 0x4c]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 6
jae 0x4c8f20
mov eax, edi
lea ecx, [esp + 0x5c]
sub eax, ebp
push eax
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.0050d6b4
mov ebp, dword [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0xe0], 0x11
call fcn.0050d5e8
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 5
call fcn.0050d468
mov ecx, dword [esp + 0x14]
add ebp, 4
mov dword [esp + 0x18], ebp
inc ecx
lea ebp, [edi + 1]
mov dword [esp + 0x14], ecx
push ebp
push 0x4ce5cc
lea ecx, [esp + 0x18]
call fcn.0050d7bc
mov edi, eax
cmp edi, ebx
jge 0x4c8eb8
mov ebp, dword [esp + 0x44]
push 0x4d5b70
lea ecx, [esp + 0x2c]
call fcn.004bf508
test eax, eax
je 0x4c901e
lea edx, [esp + 0x6c]
push 0x4d5b7c
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebx
xor ebp, ebp
call fcn.0048e4f8
push 0x4d0ba0
push eax
lea eax, [esp + 0x6c]
mov byte [esp + 0xe4], 0x12
push eax
call fcn.0050d60c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 0x13
call fcn.0050d5e8
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 0x12
call fcn.0050d468
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 5
call fcn.0050d468
push ebx
push 0x4ce5cc
lea ecx, [esp + 0x18]
call fcn.0050d7bc
mov edi, eax
cmp edi, ebx
jl 0x4c901a
lea eax, [esi + 0x64]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], 6
jae 0x4c901a
mov ecx, edi
lea edx, [esp + 0x74]
sub ecx, ebp
push ecx
push ebp
push edx
lea ecx, [esp + 0x1c]
call fcn.0050d6b4
mov eax, dword [eax]
push eax
call dword [fcn.004b46fc]
mov ebp, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x74]
mov dword [ebp], eax
call fcn.0050d468
mov ecx, dword [esp + 0x14]
add ebp, 4
mov dword [esp + 0x18], ebp
inc ecx
lea ebp, [edi + 1]
mov dword [esp + 0x14], ecx
push ebp
push 0x4ce5cc
lea ecx, [esp + 0x18]
call fcn.0050d7bc
mov edi, eax
cmp edi, ebx
jge 0x4c8fbb
mov ebp, dword [esp + 0x44]
mov eax, dword [esi + 0x78]
lea ecx, [esp + 0x24]
mov dword [esi + 0x1c], eax
call fcn.0050d46e
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x28]
push 0x4ce1a8
push edx
mov byte [esp + 0xe8], 0x14
call fcn.0050d5e2
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x94]
push eax
push 0x40
push ecx
push 0x4d85a8
push edx
push 0x4d5b68
call dword [fcn.004b40d4]
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4c90f4
lea eax, [esp + 0x48]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0xa0]
push 0x4d0ac8
push eax
call dword [fcn.004b46ec]
mov eax, dword [esi + 0x20]
add esp, 0x14
cmp eax, ebx
jne 0x4c90da
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x20], ecx
cmp dword [esi + 0x34], ebx
jne 0x4c90e6
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x34], edx
cmp dword [esi + 0x38], ebx
jne 0x4c9167
mov eax, dword [esp + 0x48]
mov dword [esi + 0x38], eax
jmp 0x4c9167
push esi
mov ecx, ebp
call fcn.004dcfb8
lea eax, [esi + 8]
lea ecx, [esp + 0x84]
push eax
push 0x4d0b48
push ecx
call fcn.0050d612
push 0x4d0b44
lea edx, [esp + 0x80]
push eax
push edx
mov byte [esp + 0xe8], 0x15
call fcn.0050d60c
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
push 0xe
mov ecx, ebp
mov byte [esp + 0xe4], 0x16
call dword [edx + 4]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 0x15
call fcn.0050d468
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 0x14
call fcn.0050d468
mov eax, dword [ebp + 0x1b8]
mov edi, dword [ebp + 0x1b0]
cmp eax, ebx
jne 0x4c91b3
mov eax, dword [ebp + 0x1c0]
push 0xc
lea ecx, [ebp + 0x1bc]
push eax
push ecx
call fcn.0050d720
mov ecx, dword [ebp + 0x1c0]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebx
lea eax, [eax + edx*4 - 8]
jl 0x4c91b3
inc ecx
mov edx, dword [ebp + 0x1b8]
mov dword [eax], edx
mov dword [ebp + 0x1b8], eax
sub eax, 0xc
dec ecx
jne 0x4c919f
mov eax, dword [ebp + 0x1b8]
mov ecx, dword [eax]
mov dword [ebp + 0x1b8], ecx
mov dword [eax + 4], edi
mov dword [eax], ebx
mov edi, dword [ebp + 0x1b4]
inc edi
mov dword [ebp + 0x1b4], edi
mov dword [eax + 8], ebx
mov dword [eax + 8], esi
mov ecx, dword [ebp + 0x1b0]
cmp ecx, ebx
je 0x4c91e7
mov dword [ecx], eax
jmp 0x4c91ed
mov dword [ebp + 0x1ac], eax
lea ecx, [esp + 0x28]
mov dword [ebp + 0x1b0], eax
call fcn.004bf748
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 5
call fcn.0050d468
push 0x4d5bac
lea ecx, [esp + 0x2c]
call fcn.004bf508
test eax, eax
jne 0x4c8bdf
pop edi
pop esi
lea ecx, [esp + 0x20]
call fcn.004bf748
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 2
call fcn.0050d468
lea ecx, [esp + 8]
mov byte [esp + 0xd4], 1
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], bl
call fcn.004bef48
lea ecx, [esp + 0xdc]
mov dword [esp + 0xd4], 0xffffffff
call fcn.0050d468
mov eax, 1
mov ecx, dword [esp + 0xcc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 4