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

Disassembly:
push 0xffffffffffffffff
push 0x4d93f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x78]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x1c], ebx
jne 0x488122
xor esi, esi
jmp 0x488139
mov ecx, dword [ebx + 0x7c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x18], esi
cmp eax, ebp
jne 0x488148
xor edi, edi
jmp 0x48815f
mov ecx, dword [ebx + 0x64]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov edi, edx
cmp esi, 3
jge 0x48816b
xor al, al
jmp 0x48850b
cmp edi, 3
jge 0x488177
xor al, al
jmp 0x48850b
push fcn.004011f0
push fcn.00426a10
push 0xf
lea edx, [esp + 0x1b8]
push 0xc
push edx
call fcn.004ce784
push fcn.004011f0
push fcn.00426a10
push 0xf
lea eax, [esp + 0x104]
push 0xc
push eax
mov dword [esp + 0x27c], ebp
call fcn.004ce784
mov eax, dword [ebx + 0x78]
mov esi, dword [ebx + 0x60]
cmp eax, ebp
mov byte [esp + 0x268], 1
mov dword [esp + 0x14], 0xf
mov dword [esp + 0x30], eax
je 0x4883aa
cmp esi, ebp
je 0x4883aa
cmp dword [esp + 0x18], 3
jle 0x4883aa
cmp edi, 3
jle 0x4883aa
push fcn.004011f0
push fcn.00426a10
push 3
lea ecx, [esp + 0x64]
push 0xc
push ecx
call fcn.004ce784
push fcn.004011f0
push fcn.00426a10
push 3
lea edx, [esp + 0x40]
push 0xc
push edx
mov byte [esp + 0x27c], 2
call fcn.004ce784
mov ecx, dword [esp + 0x14]
lea eax, [edi + edi*2]
mov byte [esp + 0x268], 3
mov byte [esp + 0x13], 0
lea edi, [esi + eax*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebp
lea eax, [edi - 0x18]
cmp esi, eax
je 0x488368
lea ebx, [edi - 0xc]
lea edx, [esp + 0x7c]
push esi
push edx
lea ecx, [esp + 0x3c]
call fcn.004051b0
add esi, 0xc
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x488357
lea eax, [esp + 0xa0]
push esi
push eax
lea ecx, [esp + 0x48]
call fcn.004051b0
add esi, 0xc
mov ebx, esi
mov dword [esp + 0x24], esi
cmp ebx, edi
je 0x488348
lea ecx, [esp + 0x88]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.004051b0
lea edx, [esp + 0x58]
lea eax, [esp + 0x274]
push edx
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
call fcn.004a26a0
add esp, 0x14
test al, al
je 0x488339
lea edi, [ebp + ebp*2]
xor esi, esi
mov byte [esp + 0x13], 1
shl edi, 2
cmp ebp, dword [esp + 0x20]
jge 0x488413
lea ecx, [esp + esi + 0x58]
lea edx, [esp + 0x94]
push ecx
push edx
lea ecx, [esp + edi + 0x1b4]
call fcn.004051b0
lea eax, [esp + esi + 0x34]
lea ecx, [esp + 0xac]
push eax
push ecx
lea ecx, [esp + edi + 0x100]
call fcn.004051b0
mov ecx, dword [esp + 0x14]
add esi, 0xc
inc ebp
add edi, 0xc
inc ecx
cmp esi, 0x24
mov dword [esp + 0x14], ecx
jl 0x4882e4
mov edi, dword [esp + 0x2c]
add ebx, 0xc
cmp ebx, edi
jne 0x48829c
mov esi, dword [esp + 0x24]
lea ebx, [edi - 0xc]
cmp esi, ebx
jne 0x488279
mov esi, dword [esp + 0x28]
lea eax, [edi - 0x18]
cmp esi, eax
jne 0x48825b
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
push fcn.004011f0
push 3
lea ecx, [esp + 0x3c]
push 0xc
push ecx
mov byte [esp + 0x278], 2
call fcn.004ce690
push fcn.004011f0
push 3
lea edx, [esp + 0x60]
push 0xc
push edx
mov byte [esp + 0x278], 1
call fcn.004ce690
mov al, byte [esp + 0x13]
test al, al
jne 0x48844f
push ebp
push ebp
push 0x4fe748
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [ebx + 0x60]
cmp ecx, ebp
je 0x4883cd
push 3
call fcn.00470100
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
push fcn.004011f0
push 0xf
lea eax, [esp + 0x100]
push 0xc
push eax
mov byte [esp + 0x278], 0
call fcn.004ce690
push fcn.004011f0
push 0xf
lea ecx, [esp + 0x1b4]
push 0xc
push ecx
mov dword [esp + 0x278], 0xffffffff
call fcn.004ce690
xor al, al
jmp 0x48850b
push fcn.004011f0
push 3
lea edx, [esp + 0x3c]
push 0xc
push edx
mov byte [esp + 0x278], 2
call fcn.004ce690
push fcn.004011f0
push 3
lea eax, [esp + 0x60]
push 0xc
push eax
mov byte [esp + 0x278], 1
call fcn.004ce690
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, dword [ebx + 0x60]
cmp ecx, ebp
je 0x488466
push 3
call fcn.00470100
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb8]
mov ecx, 4
mov dword [eax], 0x3f800000
add eax, 0x14
dec ecx
jne 0x488482
mov edx, dword [esp + 0x270]
lea eax, [esp + 0xb8]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x100]
push ecx
lea eax, [esp + 0x1b8]
push edx
push eax
call fcn.0049e360
add esp, 0x14
lea ecx, [esp + 0xb8]
push ecx
mov ecx, ebx
call fcn.004811e0
push fcn.004011f0
push 0xf
lea edx, [esp + 0x100]
push 0xc
push edx
mov byte [esp + 0x278], 0
call fcn.004ce690
push fcn.004011f0
push 0xf
lea eax, [esp + 0x1b4]
push 0xc
push eax
mov dword [esp + 0x278], 0xffffffff
call fcn.004ce690
mov al, 1
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x25c
ret 8