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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc89b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
mov al, byte [0x5163b3]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov byte [esp + 0x22], al
mov eax, dword [esi + 4]
push edi
mov byte [esp + 0xf], bl
mov byte [0x5163b3], bl
cmp eax, ebx
je 0x48634f
mov ecx, dword [esi]
push ecx
push ebx
push eax
call fcn.004d2f90
mov edx, dword [esi + 4]
add esp, 0xc
push edx
call fcn.004ca991
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x32c], ebx
lea eax, [esp + 0x80]
lea ecx, [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea edx, [esp + 0xa0]
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xc0]
push 0x50d154
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
xor esi, esi
mov dword [esp + 0x58], ebx
call fcn.004a4b10
add esp, 4
push str.___896
mov dword [esp + 0x38], 0x51c06c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0x1020400
mov dword [esp + 0x40], ebx
mov dword [esp + 0x8c], ebx
call fcn.004a4b10
add esp, 4
push 0x50d1a0
mov dword [esp + 0x84], eax
mov dword [esp + 0x1c], 1
call fcn.004a4b10
add esp, 4
push 1
lea edx, [esp + 0x70]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00453e90
mov edx, dword [0x5165ec]
add esp, 0x10
cmp dword [edx + 0x104], ebx
jne 0x4868c8
mov eax, dword [esp + 0x18]
cmp eax, 6
jne 0x4868c8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x50d1c4
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x9c], 5
call fcn.004a4b10
add esp, 4
push 0x50d1e8
mov dword [esp + 0x94], eax
mov dword [esp + 0xac], ebx
call fcn.004a4b10
add esp, 4
mov dword [esp + 0xa0], eax
push 3
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 2
call fcn.004a2150
mov eax, dword [0x5165ec]
add esp, 0x10
cmp dword [eax + 0x104], ebx
jne 0x4868c8
mov eax, dword [esp + 0x18]
cmp eax, 6
jne 0x4868c8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x120]
push 0x4f0a64
mov dword [esp + 0xe8], edx
mov dword [esp + 0xf0], eax
mov esi, 2
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], 0x4f5ac4
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x8c], ebx
call fcn.004a4b10
add esp, 4
push 1
lea ecx, [esp + 0x70]
push ecx
push 0x80002
lea ecx, [esp + 0xec]
push ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xf0]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x68]
push ecx
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x4865a7
push eax
call fcn.004ca991
add esp, 4
cmp edi, ebx
je 0x4868c8
cmp edi, 8
je 0x4868c8
cmp dword [esp + 0x60], 6
jne 0x4868c8
push 0x50d254
call fcn.004a4b10
add esp, 4
push 2
lea ecx, [esp + 0x124]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x88], eax
push 2
lea eax, [esp + 0x38]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x68]
mov edi, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xa8], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 0x4f5ac4
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
mov dword [esp + 0x6c], eax
call edx
cmp eax, ebx
je 0x4868c8
cmp eax, 8
je 0x4868c8
cmp dword [esp + 0x18], ebx
jne 0x48664f
mov dword [esp + 0x18], 5
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x10]
push eax
call fcn.0044e550
add esp, 4
dec eax
je 0x4867d6
dec eax
je 0x4866a4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp ecx, 6
je 0x4867ec
cmp ecx, edi
jne 0x48668d
cmp byte [eax + 0x17], bl
jne 0x486683
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x4867ec
xor ecx, ecx
lea eax, [esp + 0x10]
call fcn.0044e7d0
xor ecx, ecx
cmp word [eax], bx
setne cl
mov eax, ecx
jmp 0x4866f8
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 5
ja case.0x4866ae.3
jmp dword [eax*4 + 0x4869ac]
fild qword [esp + 0x10]
jmp 0x4866e7
fld qword [esp + 0x10]
jmp 0x4866e7
mov eax, dword [esp + 0x10]
push 1
call fcn.0041aeb0
jmp 0x4866e7
mov eax, dword [esp + 0x14]
cmp eax, ebx
je case.0x4866ae.3
fild qword [eax]
jmp 0x4866e7
mov edx, dword [esp + 0x10]
push edx
call fcn.004cb9e9
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x4867ec
xor eax, eax
cmp eax, ebx
mov eax, dword [esp + 0x1c]
setne byte [esp + 0x27]
cmp eax, ebx
je 0x486710
push eax
call fcn.004ca991
add esp, 4
cmp dword [esp + 0x18], 6
jne 0x486723
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x27], bl
je 0x4868c8
lea eax, [esp + 0x2c]
push 0x50d270
mov dword [esp + 0x2c], 1
mov dword [esp + 0x8c], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x9c], 5
call fcn.004a4b10
add esp, 4
push 2
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x98], eax
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], ebx
call fcn.004a2150
mov ecx, dword [0x5165ec]
add esp, 0x10
cmp dword [ecx + 0x104], ebx
jne 0x4868c8
mov eax, dword [esp + 0x18]
cmp eax, 6
jne 0x4867f6
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edx
lea esi, [eax - 3]
jmp 0x4868c8
push 1
lea ecx, [esp + 0x14]
call fcn.0044e690
add esp, 4
or eax, edx
je case.0x4866ae.6
mov eax, 1
jmp 0x4866f8
cmp eax, ebx
jne 0x4868c8
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x48]
call fcn.00414350
test eax, eax
je 0x4868c6
mov edi, dword [esp + 0x4c]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4f5ac4
push 0x4ec720
push edi
xor eax, eax
call fcn.004ac860
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4f5ac4
push 0x4ec71c
push edi
xor eax, eax
call fcn.004ac860
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4f5ac4
push 0x50bb7c
push edi
xor eax, eax
call fcn.004ac860
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4f5ac4
push 0x4ec724
push edi
xor eax, eax
call fcn.004ac860
add esp, 0x1c
cmp word [edi], 0
je 0x4868c6
lea eax, [esp + 0x48]
call fcn.00414ad0
test eax, eax
je 0x4868c6
lea edx, [esp + 0x48]
call fcn.00414ee0
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
call fcn.0047eae0
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x4868c8
mov byte [esp + 0xf], 1
jmp 0x4868c8
xor ebx, ebx
cmp byte [esp + 0x43], bl
jne 0x4868dc
mov ecx, dword [esp + 0x38]
push ebx
xor al, al
call fcn.004af590
jmp 0x486937
test byte [esp + 0x41], 2
je 0x4868f4
mov eax, dword [esp + 0x2c]
and byte [esp + 0x41], 0x3d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
movzx eax, byte [esp + 0x40]
and byte [esp + 0x41], 0x82
dec eax
mov dword [esp + 0x38], ebx
je 0x48692e
dec eax
jne 0x486937
cmp dword [esp + 0x3c], ebx
je 0x486937
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004ca991
add esp, 4
and byte [esp + 0x41], 0x7f
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 0x51c06c
jmp 0x486937
mov eax, dword [esp + 0x34]
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x486947
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
dec esi
cmp esi, ebx
jl 0x486969
mov eax, esi
add eax, eax
lea edi, [esp + eax*8 + 0xd0]
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
dec esi
sub edi, 0x10
cmp esi, ebx
jge 0x486957
mov esi, dword [esp + 0x4c]
mov al, byte [esp + 0x26]
mov byte [0x5163b3], al
cmp esi, ebx
je 0x486992
mov ecx, dword [esp + 0x48]
push ecx
push ebx
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov ecx, dword [esp + 0x324]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret