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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc4
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x4876a9
cmp dword [esp + 0xdc], ebx
je 0x4876a9
mov esi, dword [esp + 0xe4]
cmp si, bx
jl 0x4876a9
cmp dword [esp + 0xec], ebx
je 0x4876a9
cmp dword [esp + 0xf0], ebx
je 0x4876a9
lea ecx, [esp + 0xbc]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x4869d6
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc4
ret 0x1c
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x84], eax
push 4
lea edx, [eax + eax*2]
push 0x1000
mov dword [esp + 0x88], 0x28
mov dword [esp + 0x90], ecx
lea eax, [edx*8 + 0x1f]
mov word [esp + 0x94], 1
cdq
and edx, 0x1f
mov word [esp + 0x96], 0x18
add eax, edx
mov dword [esp + 0x98], ebx
sar eax, 5
shl eax, 2
mov dword [esp + 0x24], eax
imul eax, ecx
push eax
push ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xb8], 8
mov byte [esp + 0xb9], 8
mov byte [esp + 0xba], 8
mov byte [esp + 0xbb], 0
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x14], edi
jne 0x486aa7
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xc4
ret 0x1c
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
cmp ebp, ebx
jne 0x486ad3
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xc4
ret 0x1c
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x80]
push ebx
push eax
push edi
push ecx
push ebx
push edx
push ebp
call dword [sym.imp.GDI32.dll_GetDIBits]
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0xe0]
xor cx, cx
mov cl, al
mov dword [esp + 0x4c], 0xffffffff
lea edx, [ecx + esi]
sub ecx, esi
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov cl, ah
mov dword [esp + 0x44], edx
movzx cx, cl
shr eax, 0x10
movzx ax, al
lea edx, [ecx + esi]
sub ecx, esi
mov dword [esp + 0x34], ecx
lea ecx, [eax + esi]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x84]
sub eax, esi
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x2c], edx
lea edx, [ecx + ecx*2]
cmp esi, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edx
ja case.default.0x486b65
jmp dword [esi*4 + 0x4876bc]
mov ebp, dword [esp + 0x88]
cmp ebp, ebx
jle 0x4873b5
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, esi
imul esi, ebp
mov edx, dword [esp + 0x10]
neg edi
mov dword [esp + 0x68], edi
add esi, eax
add esi, edi
dec ebp
mov ecx, esi
lea eax, [esi + edx]
cmp esi, eax
jae 0x486be9
movzx bx, byte [ecx]
movzx di, byte [ecx + 1]
inc ecx
inc ecx
movzx dx, byte [ecx]
inc ecx
cmp dx, word [esp + 0x44]
jg 0x486bda
cmp dx, word [esp + 0x38]
jl 0x486bda
cmp di, word [esp + 0x2c]
jg 0x486bda
cmp di, word [esp + 0x34]
jl 0x486bda
cmp bx, word [esp + 0x24]
jg 0x486bda
cmp bx, word [esp + 0x3c]
jge 0x486bf2
mov edx, dword [esp + 0x10]
lea eax, [esi + edx]
cmp ecx, eax
jb 0x486ba0
mov edi, dword [esp + 0x68]
test ebp, ebp
jg 0x486b94
jmp 0x4873b5
mov edx, ebp
mov eax, 0xaaaaaaab
imul edx, dword [esp + 0x1c]
sub ecx, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov dword [esp + 0x4c], 0
mul ecx
mov eax, dword [esp + 0xdc]
shr edx, 1
mov ecx, dword [eax]
lea edx, [edx + ecx - 1]
mov ecx, dword [esp + 0xec]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x88]
sub edx, ebp
lea ecx, [edx + eax - 1]
mov edx, dword [esp + 0xf0]
mov dword [edx], ecx
jmp 0x4873b5
mov ebp, dword [esp + 0x88]
cmp ebp, ebx
jle 0x4873b5
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, edi
imul edi, ebp
neg eax
mov dword [esp + 0x68], eax
add edi, ecx
mov ecx, dword [esp + 0x10]
add edi, eax
add ecx, edi
dec ebp
cmp ecx, edi
jbe 0x486cba
movzx dx, byte [ecx - 1]
dec ecx
dec ecx
movzx si, byte [ecx]
movzx bx, byte [ecx - 1]
dec ecx
cmp dx, word [esp + 0x44]
jg 0x486cb2
cmp dx, word [esp + 0x38]
jl 0x486cb2
cmp si, word [esp + 0x2c]
jg 0x486cb2
cmp si, word [esp + 0x34]
jl 0x486cb2
cmp bx, word [esp + 0x24]
jg 0x486cb2
cmp bx, word [esp + 0x3c]
jge 0x486cc3
cmp ecx, edi
ja 0x486c77
mov eax, dword [esp + 0x68]
test ebp, ebp
jg 0x486c6a
jmp 0x4873b5
mov edx, ebp
mov edi, dword [esp + 0x14]
imul edx, dword [esp + 0x1c]
sub ecx, edx
mov eax, 0xaaaaaaab
sub ecx, edi
mov dword [esp + 0x4c], 0
mul ecx
mov eax, dword [esp + 0xdc]
shr edx, 1
mov ecx, dword [eax]
add edx, ecx
mov ecx, dword [esp + 0xec]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x88]
sub edx, ebp
lea ecx, [edx + eax - 1]
mov edx, dword [esp + 0xf0]
mov dword [edx], ecx
jmp 0x4873b5
cmp dword [esp + 0x88], ebx
jle 0x4873b5
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea edx, [eax + esi]
mov ecx, eax
cmp eax, edx
jae 0x486d78
movzx di, byte [ecx]
movzx si, byte [ecx + 1]
inc ecx
inc ecx
movzx dx, byte [ecx]
inc ecx
cmp dx, word [esp + 0x44]
jg 0x486d6d
cmp dx, word [esp + 0x38]
jl 0x486d6d
cmp si, word [esp + 0x2c]
jg 0x486d6d
cmp si, word [esp + 0x34]
jl 0x486d6d
cmp di, word [esp + 0x24]
jg 0x486d6d
cmp di, word [esp + 0x3c]
jge 0x486d8f
mov esi, dword [esp + 0x10]
lea edx, [eax + esi]
cmp ecx, edx
jb 0x486d33
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
inc ebx
add eax, edx
cmp ebx, ecx
jl 0x486d2a
jmp 0x4873b5
mov eax, ebx
mov edx, dword [esp + 0x14]
imul eax, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0xaaaaaaab
sub ecx, edx
mov dword [esp + 0x4c], 0
mul ecx
mov eax, dword [esp + 0xdc]
shr edx, 1
mov ecx, dword [eax]
lea edx, [edx + ecx - 1]
mov ecx, dword [esp + 0xec]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x88]
sub edx, ebx
lea ecx, [edx + eax - 1]
mov edx, dword [esp + 0xf0]
mov dword [edx], ecx
jmp 0x4873b5
cmp dword [esp + 0x88], ebx
jle 0x4873b5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ecx, eax
cmp ecx, eax
jbe 0x486e3d
movzx dx, byte [ecx - 1]
dec ecx
dec ecx
movzx si, byte [ecx]
movzx di, byte [ecx - 1]
dec ecx
cmp dx, word [esp + 0x44]
jg 0x486e39
cmp dx, word [esp + 0x38]
jl 0x486e39
cmp si, word [esp + 0x2c]
jg 0x486e39
cmp si, word [esp + 0x34]
jl 0x486e39
cmp di, word [esp + 0x24]
jg 0x486e39
cmp di, word [esp + 0x3c]
jge 0x486e54
cmp ecx, eax
ja 0x486dfe
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
inc ebx
add eax, edx
cmp ebx, ecx
jl 0x486df4
jmp 0x4873b5
mov edx, ebx
mov edi, dword [esp + 0x14]
imul edx, dword [esp + 0x1c]
sub ecx, edx
mov eax, 0xaaaaaaab
sub ecx, edi
mov dword [esp + 0x4c], 0
mul ecx
mov eax, dword [esp + 0xdc]
shr edx, 1
mov ecx, dword [eax]
add edx, ecx
mov ecx, dword [esp + 0xec]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x88]
sub edx, ebx
lea ecx, [edx + eax - 1]
mov edx, dword [esp + 0xf0]
mov dword [edx], ecx
jmp 0x4873b5
xor ebp, ebp
cmp edx, ebx
jle 0x4873b5
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov ecx, ebp
sub ecx, edi
add ecx, ebx
add ecx, edx
cmp ecx, ebx
jb 0x486f08
movzx dx, byte [ecx + 2]
cmp dx, word [esp + 0x44]
movzx di, byte [ecx]
movzx si, byte [ecx + 1]
jg 0x486f00
cmp dx, word [esp + 0x38]
jl 0x486f00
cmp si, word [esp + 0x2c]
jg 0x486f00
cmp si, word [esp + 0x34]
jl 0x486f00
cmp di, word [esp + 0x24]
jg 0x486f00
cmp di, word [esp + 0x3c]
jge 0x486f18
sub ecx, dword [esp + 0x1c]
cmp ecx, ebx
jae 0x486ec8
mov eax, dword [esp + 0x10]
add ebp, 3
cmp ebp, eax
jl 0x486eb4
jmp 0x4873b5
mov eax, 0x55555556
mov esi, dword [esp + 0xdc]
imul ebp
mov ebp, dword [esi]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0xec]
add edx, ebp
mov dword [eax], edx
mov eax, ecx
sub eax, ebx
jmp 0x4870ea
mov eax, dword [esp + 0x48]
add eax, edi
cmp edx, ebx
jle 0x4873b5
mov ecx, dword [esp + 0x14]
add ecx, ebx
cmp ecx, eax
jae 0x486f9b
movzx dx, byte [ecx + 2]
cmp dx, word [esp + 0x44]
movzx di, byte [ecx]
movzx si, byte [ecx + 1]
jg 0x486f93
cmp dx, word [esp + 0x38]
jl 0x486f93
cmp si, word [esp + 0x2c]
jg 0x486f93
cmp si, word [esp + 0x34]
jl 0x486f93
cmp di, word [esp + 0x24]
jg 0x486f93
cmp di, word [esp + 0x3c]
jge 0x486fab
add ecx, dword [esp + 0x1c]
cmp ecx, eax
jb 0x486f5b
mov ecx, dword [esp + 0x10]
add ebx, 3
cmp ebx, ecx
jl 0x486f51
jmp 0x4873b5
mov eax, 0x55555556
imul ebx
jmp 0x4870c7
mov ecx, edx
cmp edx, ebx
mov dword [esp + 0x58], ecx
jl 0x4873b5
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
sub ecx, ebp
add ecx, ebx
add ecx, edx
cmp ecx, ebx
jb 0x487019
movzx dx, byte [ecx + 2]
cmp dx, word [esp + 0x44]
movzx di, byte [ecx]
movzx si, byte [ecx + 1]
jg 0x487013
cmp dx, word [esp + 0x38]
jl 0x487013
cmp si, word [esp + 0x2c]
jg 0x487013
cmp si, word [esp + 0x34]
jl 0x487013
cmp di, word [esp + 0x24]
jg 0x487013
cmp di, word [esp + 0x3c]
jge 0x48702b
sub ecx, ebp
cmp ecx, ebx
jae 0x486fdb
mov ecx, dword [esp + 0x58]
sub ecx, 3
mov dword [esp + 0x58], ecx
jns 0x486fcd
jmp 0x4873b5
mov eax, 0x55555556
mov esi, dword [esp + 0xdc]
imul dword [esp + 0x58]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi]
add edx, eax
mov eax, dword [esp + 0xec]
mov dword [eax], edx
mov eax, ecx
sub eax, ebx
xor edx, edx
div ebp
jmp 0x4870f0
mov eax, dword [esp + 0x48]
mov ebp, edx
add eax, edi
cmp edx, ebx
jl 0x4873b5
mov ecx, dword [esp + 0x14]
add ecx, ebp
cmp ecx, eax
jae 0x4870b6
movzx dx, byte [ecx + 2]
cmp dx, word [esp + 0x44]
movzx di, byte [ecx]
movzx si, byte [ecx + 1]
jg 0x4870ae
cmp dx, word [esp + 0x38]
jl 0x4870ae
cmp si, word [esp + 0x2c]
jg 0x4870ae
cmp si, word [esp + 0x34]
jl 0x4870ae
cmp di, word [esp + 0x24]
jg 0x4870ae
cmp di, word [esp + 0x3c]
jge 0x4870c0
add ecx, dword [esp + 0x1c]
cmp ecx, eax
jb 0x487076
sub ebp, 3
jns 0x48706c
jmp 0x4873b5
mov eax, 0x55555556
imul ebp
mov esi, dword [esp + 0xdc]
mov eax, edx
mov edi, dword [esp + 0x14]
mov ebx, dword [esi]
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0xec]
add edx, ebx
mov dword [eax], edx
mov eax, ecx
sub eax, edi
xor edx, edx
div dword [esp + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x88]
sub ecx, eax
mov dword [esp + 0x4c], 0
lea eax, [ecx + edx - 1]
mov ecx, dword [esp + 0xf0]
mov dword [ecx], eax
jmp 0x4873b5
lea eax, [ecx - 1]
mov edi, dword [esp + 0x88]
cdq
sub eax, edx
xor ebp, ebp
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
mov dword [esp + 0x18], ebp
sar eax, 1
mov dword [esp + 0xac], eax
mov dword [esp + 0x30], edi
lea ebx, [eax + eax*2]
lea eax, [edi - 1]
cdq
sub eax, edx
mov dword [esp + 0x54], ebx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar esi, 1
mov dword [esp + 0x7c], esi
mov dword [esp + 0x28], edx
sar ecx, 1
lea esi, [esi + esi*2]
or edx, 0xffffffff
sar eax, 1
test ecx, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], eax
jl 0x4873b5
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], ebp
imul eax, edx
imul ecx, edx
neg edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x14]
add eax, ebx
add ecx, esi
add eax, edx
add ecx, edx
mov edx, ebx
mov dword [esp + 0x68], eax
sub edx, esi
sub esi, ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], esi
jmp 0x4871ec
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x48]
lea ebx, [edi + ebp]
mov edi, dword [esp + 0x14]
add ebx, edi
lea edi, [edx + ecx]
lea edx, [esi + eax]
mov esi, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jb 0x487319
movzx ax, byte [ecx + 2]
cmp ax, word [esp + 0x44]
jg 0x48724d
cmp ax, word [esp + 0x38]
jl 0x48724d
movzx ax, byte [ecx + 1]
cmp ax, word [esp + 0x2c]
jg 0x48724d
cmp ax, word [esp + 0x34]
jl 0x48724d
movzx ax, byte [ecx]
cmp ax, word [esp + 0x24]
jg 0x48724d
cmp ax, word [esp + 0x3c]
jge 0x4873d8
movzx ax, byte [edi + 2]
cmp ax, word [esp + 0x44]
jg 0x487289
cmp ax, word [esp + 0x38]
jl 0x487289
movzx ax, byte [edi + 1]
cmp ax, word [esp + 0x2c]
jg 0x487289
cmp ax, word [esp + 0x34]
jl 0x487289
movzx ax, byte [edi]
cmp ax, word [esp + 0x24]
jg 0x487289
cmp ax, word [esp + 0x3c]
jge 0x4874a7
movzx ax, byte [edx + 2]
cmp ax, word [esp + 0x44]
jg 0x4872c5
cmp ax, word [esp + 0x38]
jl 0x4872c5
movzx ax, byte [edx + 1]
cmp ax, word [esp + 0x2c]
jg 0x4872c5
cmp ax, word [esp + 0x34]
jl 0x4872c5
movzx ax, byte [edx]
cmp ax, word [esp + 0x24]
jg 0x4872c5
cmp ax, word [esp + 0x3c]
jge 0x487529
movzx ax, byte [esi + 2]
cmp ax, word [esp + 0x44]
jg 0x487301
cmp ax, word [esp + 0x38]
jl 0x487301
movzx ax, byte [esi + 1]
cmp ax, word [esp + 0x2c]
jg 0x487301
cmp ax, word [esp + 0x34]
jl 0x487301
movzx ax, byte [esi]
cmp ax, word [esp + 0x24]
jg 0x487301
cmp ax, word [esp + 0x3c]
jge 0x4875a8
mov eax, dword [esp + 0x10]
sub ecx, 3
add edi, 3
sub edx, 3
add esi, 3
cmp ecx, eax
jae 0x487211
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
add ebx, eax
add edi, eax
mov eax, dword [esp + 0x78]
dec esi
inc edx
inc eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
add ebx, edx
add eax, edx
cmp esi, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], eax
jge 0x4871da
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x4873b5
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x4c], 0
mov edx, dword [eax]
add edx, ecx
mov ecx, dword [esp + 0xec]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x50]
sub edx, eax
mov eax, dword [esp + 0x88]
lea ecx, [edx + eax - 1]
mov edx, dword [esp + 0xf0]
mov dword [edx], ecx
mov eax, dword [esp + 0x14]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 0x1c
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
sub ecx, esi
mov eax, 0xaaaaaaab
sub ecx, edx
mul ecx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
shr edx, 1
imul eax, eax
sub ecx, edx
mov esi, ecx
imul esi, ecx
mov ecx, dword [esp + 0x20]
add eax, esi
cmp ecx, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x48743a
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
fsqrt
call fcn.0048b770
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*2]
mov esi, edx
sub esi, ebp
cmp esi, ecx
jle 0x48747c
jmp 0x48746e
cmp eax, dword [esp + 0x40]
jge 0x487319
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
fsqrt
call fcn.0048b770
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*2]
mov esi, edx
sub esi, ebp
cmp esi, ecx
jle 0x48747c
mov ebp, edx
mov edx, dword [esp + 0x54]
sub ebp, ecx
add ecx, edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov esi, edx
sub esi, ecx
cmp esi, eax
jle 0x48731d
mov ecx, edx
mov edx, dword [esp + 0x64]
sub ecx, eax
add eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
jmp 0x48731d
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
sub edi, edx
mov eax, 0xaaaaaaab
sub edi, ecx
mov ebx, dword [esp + 0xac]
mul edi
mov eax, dword [esp + 0x74]
shr edx, 1
imul eax, eax
mov ecx, edx
sub ecx, ebx
mov esi, ecx
imul esi, ecx
mov ecx, dword [esp + 0x20]
add eax, esi
cmp ecx, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x48751d
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
fsqrt
call fcn.0048b770
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*2]
sub esi, edx
cmp esi, ecx
jle 0x48747c
mov ebp, dword [esp + 0x5c]
sub ebp, ecx
jmp 0x487476
cmp eax, dword [esp + 0x40]
jge 0x487319
jmp 0x4874e2
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
sub edx, ebx
mov eax, 0xaaaaaaab
sub edx, edi
mov edi, dword [esp + 0x78]
mul edx
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x7c]
mov ecx, edi
shr edx, 1
sub ecx, esi
sub eax, edx
mov ebx, ecx
imul eax, eax
imul ebx, ecx
mov ecx, dword [esp + 0x20]
add eax, ebx
cmp ecx, 0xffffffff
mov dword [esp + 0x10], eax
je 0x487571
cmp eax, dword [esp + 0x40]
jge 0x487319
fild dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], eax
fsqrt
call fcn.0048b770
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*2]
mov edi, edx
sub edi, ebp
cmp edi, ecx
jle 0x487667
mov ebp, edx
mov edx, dword [esp + 0x54]
sub ebp, ecx
jmp 0x487661
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
sub esi, ebx
mov eax, 0xaaaaaaab
sub esi, edi
mov edi, dword [esp + 0x78]
mul esi
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x64]
shr edx, 1
mov ecx, edx
mov eax, edi
sub ecx, ebx
sub eax, esi
mov ebx, ecx
imul eax, eax
imul ebx, ecx
mov ecx, dword [esp + 0x20]
add eax, ebx
cmp ecx, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x487629
fild dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], eax
fsqrt
call fcn.0048b770
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*2]
sub edi, edx
cmp edi, ecx
jle 0x48761f
mov ebp, dword [esp + 0x5c]
sub ebp, ecx
add ecx, edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x30]
sub edx, esi
cmp edx, eax
jmp 0x48766f
cmp eax, dword [esp + 0x40]
jge 0x487319
fild dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], eax
fsqrt
call fcn.0048b770
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*2]
sub edi, edx
cmp edi, ecx
jle 0x487667
mov ebp, dword [esp + 0x5c]
sub ebp, ecx
add ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
sub ecx, esi
cmp ecx, eax
jle 0x487319
mov ecx, dword [esp + 0x60]
sub ecx, eax
add eax, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
jmp 0x48731d
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0xc4
ret 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc4
ret 0x1c