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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f0902
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x214]
sub esp, 0xd4
cmp eax, 1
push ebx
push ebp
push esi
push edi
je 0x4a8c91
xor eax, eax
jmp 0x4a909c
mov edx, dword [ecx + 0x210]
mov dword [esp + 0x10], edx
cmp byte [edx], 3
je 0x4a8ca7
xor eax, eax
jmp 0x4a909c
mov eax, dword [edx + 4]
cmp dword [eax + 8], 1
je 0x4a8cb7
xor eax, eax
jmp 0x4a909c
mov ebp, dword [ecx + 0x40]
mov ecx, dword [esp + 0x100]
xor ebx, ebx
xor esi, esi
mov dword [ecx], ebx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], esi
mov dword [ecx], ebx
mov eax, dword [ebp + 0xe8]
cmp eax, ebx
jle 0x4a906a
mov eax, dword [ebp + 0xe4]
mov edi, dword [eax + esi*4]
cmp dword [edi + 0x5c], 2
jl 0x4a9057
cmp esi, ebx
je 0x4a8ff0
cmp word [edi + 0xa], 3
jne 0x4a8ff0
mov dword [esp + 0x20], 0x4f57c0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0xf4], ebx
call fcn.004163d0
lea ecx, [esp + 0x50]
call fcn.004ba030
lea ecx, [esp + 0x64]
mov byte [esp + 0xec], 1
call fcn.004ba030
lea ecx, [esp + 0xb4]
push ebx
push ecx
lea ecx, [edi + 0x54]
mov byte [esp + 0xf4], 2
call fcn.0040b280
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ebx
push edx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 3
call fcn.004ba080
lea eax, [esp + 0xb4]
lea ecx, [esp + 0xb8]
neg eax
sbb eax, eax
push 1
and eax, ecx
lea ecx, [esp + 0x68]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.004ba080
lea eax, [esp + 0x50]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x68]
and eax, edx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x70]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x74]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x34]
call fcn.00416650
lea eax, [esp + 0x64]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x7c]
and eax, edx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x84]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x34]
call fcn.00416650
lea ecx, [esp + 0x88]
call fcn.004d9880
mov cx, word [edi + 0x32]
mov word [esp + 0xa6], bx
mov word [esp + 0xaa], cx
mov dword [esp + 0x3c], 0x4f5778
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0xf4], 5
call fcn.00417070
fld qword [ebp + 0x58]
fmul qword [0x4f67f8]
lea edx, [esp + 0x80]
lea eax, [esp + 0x3c]
push edx
push eax
sub esp, 8
lea edx, [esp + 0x98]
fstp qword [esp]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
sub esp, 0x2c
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call fcn.004d98c0
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x74]
push eax
push 1
push ebx
push ebx
push ecx
call fcn.0044a950
movsx eax, ax
add esp, 0x68
cmp eax, ebx
mov eax, dword [esp + 0x44]
jne 0x4a8efe
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dx, word [ecx + 2]
cmp esi, edx
jg 0x4a8ef2
mov ecx, dword [esp + 0xfc]
lea edx, [eax - 2]
add dword [ecx], edx
mov ecx, dword [esp + 0x100]
lea edx, [eax - 2]
add dword [ecx], edx
mov dword [esp + 0x3c], 0x4f5778
mov esi, dword [esp + 0x40]
mov byte [esp + 0xec], 6
cmp esi, ebx
je 0x4a8f3a
cmp eax, ebx
je 0x4a8f31
lea ebp, [eax]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
add esi, 0x30
dec ebp
jne 0x4a8f1c
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x3c], 0x4f4f00
mov byte [esp + 0xec], 3
call fcn.004d9970
lea ecx, [esp + 0xb4]
mov byte [esp + 0xec], 2
call fcn.00456e80
lea ecx, [esp + 0x64]
mov byte [esp + 0xec], 1
call fcn.004ba050
lea ecx, [esp + 0x50]
mov byte [esp + 0xec], bl
call fcn.004ba050
mov dword [esp + 0x20], 0x4f57c0
mov esi, dword [esp + 0x24]
mov dword [esp + 0xec], 7
cmp esi, ebx
je 0x4a8fce
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4a8fc5
lea ebp, [eax]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
dec ebp
jne 0x4a8fb0
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0x20], 0x4f4f00
xor eax, eax
mov ax, word [edx + 2]
cmp esi, eax
jge 0x4a9005
mov eax, dword [edi + 0x5c]
mov edx, dword [ecx]
add edx, eax
mov dword [ecx], edx
jmp 0x4a9016
jne 0x4a9016
mov edx, dword [edx + 4]
mov eax, dword [edx + 4]
mov edx, dword [eax]
mov eax, dword [ecx]
inc edx
add eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [edi + 0x5c]
mov edx, dword [eax]
add edx, ecx
mov ecx, edi
mov dword [eax], edx
lea edx, [esp + 0x78]
push edx
call fcn.0045c520
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x3c], edx
call fcn.004346a0
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x14]
add esp, 4
mov eax, dword [ebp + 0xe8]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x4a8ce6
mov eax, dword [ebp + 0xe4]
xor ecx, ecx
mov cx, word [edx + 2]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x5c]
mov ecx, dword [esp + 0xf8]
mov dword [ecx], eax
mov edx, dword [edx + 4]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0xf4]
mov ecx, dword [eax]
mov eax, 1
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 0x10