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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [0x4896f8]
push esi
push edi
mov dword [ebp - 0x14], ebx
cmp byte [ebx + 0xb1], 0
mov cl, byte [ebx + 0xfd]
mov byte [ebp - 5], cl
je 0x463972
mov dl, byte [ebx + 0xff]
mov al, byte [ebx + 0xfc]
jmp 0x46397e
mov dl, byte [ebx + 0xfc]
mov al, byte [ebx + 0xfe]
mov esi, dword [ebx + 0x1d50]
mov byte [ebp - 1], al
mov byte [ebp - 0xc], dl
test esi, esi
je 0x46427e
cmp esi, dword [ebx + 0x1ba8]
jne 0x46427e
mov edi, dword [ebx + 0x1bac]
test edi, edi
je 0x4639f6
cmp edi, dword [ebx + 0x1ba8]
jne 0x4639f6
mov esi, dword [esi + 0x2e0]
test esi, esi
je 0x4639d4
cmp byte [esi + 0x8b], 0
je 0x4639d4
cmp esi, dword [edi + 0x2e0]
je 0x4639d4
test dword [esi + 8], 0xc000000
jne 0x4639f6
mov esi, dword [ebx + 0x1be0]
test esi, esi
je 0x4639ec
cmp byte [ebx + 0x1bed], 0
jne 0x4639ec
cmp esi, dword [edi + 0x50]
jne 0x4639f6
mov dword [ebx + 0x1ebc], 1
mov edi, dword [ebp - 5]
mov word [ebx + 0x351], 0x101
cmp byte [0x48976d], 0
jne 0x463b4b
test dl, dl
je 0x463b28
test cl, cl
jne 0x463b97
test al, al
jne 0x463f09
mov ecx, dword [ebx + 0x88]
call fcn.00433d60
test al, al
je 0x463a41
push ecx
call fcn.004681f0
jmp 0x4641fb
mov ecx, dword [ebx + 0x84]
call fcn.00433d60
test al, al
je 0x463b9f
mov ecx, 1
nop dword [eax]
cmp byte [0x48976d], 0
jne 0x4641f5
mov eax, dword [0x48975c]
mov edx, dword [0x489758]
sub eax, edx
mov ebx, dword [0x489764]
sar eax, 7
cmp ebx, eax
jge 0x4641f5
mov eax, ecx
dec ecx
mov dword [ebp - 0xc], ecx
test eax, eax
jle 0x4641f5
lea eax, [ebx + 1]
shl ebx, 7
add ebx, edx
mov dword [0x489764], eax
cmp dword [ebx + 0x38], 0
je 0x463aca
lea edi, [ebx + 0x48]
push edi
lea esi, [ebx + 0x40]
push esi
call fcn.00461e00
mov ecx, dword [esi]
mov eax, dword [edi]
sub eax, ecx
inc eax
push eax
lea eax, [ecx - 1]
push eax
call fcn.004682d0
cmp dword [ebx + 0x10], 0
je 0x463b03
cmp dword [ebx + 0x14], 0xf
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, ebx
mov dword [ebp - 0x28], ecx
jbe 0x463ae6
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00461f80
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
sub eax, ecx
inc eax
push eax
lea eax, [ecx - 1]
push eax
call fcn.004682d0
movups xmm0, xmmword [ebx + 0x68]
movups xmmword [0x489740], xmm0
movq xmm0, qword [ebx + 0x78]
movq qword [0x489750], xmm0
call fcn.00469050
mov ecx, dword [ebp - 0xc]
jmp 0x463a60
test cl, cl
jne 0x463b4f
test al, al
je 0x463b53
mov ecx, dword [ebx + 0x60]
call fcn.00433d60
test al, al
je 0x463fcc
push ecx
call fcn.004681f0
jmp 0x4641fb
test dl, dl
jne 0x463b97
test al, al
jne 0x463b72
mov ecx, dword [ebx + 0x40]
call fcn.00433d60
test al, al
je 0x463b6c
push edi
push 1
call fcn.00466d50
jmp 0x4641fb
mov al, byte [ebp - 1]
mov dl, byte [ebp - 0xc]
test dl, dl
jne 0x463b97
test al, al
jne 0x463fcf
mov ecx, dword [ebx + 0x44]
call fcn.00433d60
test al, al
je 0x463b9f
push edi
push 1
call fcn.00466df0
jmp 0x4641fb
test al, al
jne 0x463f09
mov ecx, dword [ebx + 0x38]
call fcn.00433d60
test al, al
je 0x463bba
push dword [ebp - 0xc]
push edi
push ecx
call fcn.00466eb0
jmp 0x4641fb
mov ecx, dword [ebx + 0x3c]
call fcn.00433d60
test al, al
je 0x463bd5
push dword [ebp - 0xc]
push edi
push ecx
call fcn.00467080
jmp 0x4641fb
mov ecx, dword [ebx + 0x48]
call fcn.00433d60
test al, al
je 0x463c29
mov eax, dword [ebx + 0x1ba8]
push edi
sub esp, 8
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [0x480908]
divss xmm0, dword [0x48994c]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x14]
cvttss2si eax, dword [ebp - 0x14]
add esp, 8
sub eax, 4
push eax
call fcn.00466d50
jmp 0x4641fb
mov ecx, dword [ebx + 0x4c]
call fcn.00433d60
test al, al
je 0x463c7d
mov eax, dword [ebx + 0x1ba8]
push edi
sub esp, 8
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [0x480908]
divss xmm0, dword [0x48994c]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x14]
cvttss2si eax, dword [ebp - 0x14]
add esp, 8
sub eax, 4
push eax
call fcn.00466df0
jmp 0x4641fb
mov ecx, dword [ebx + 0x50]
call fcn.00433d60
cmp byte [ebp - 0xc], 0
je 0x463d30
test al, al
je 0x463f13
mov esi, dword [0x489750]
mov eax, dword [0x489754]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x463cbc
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x463cbc
mov edx, esi
mov ecx, eax
jmp 0x463cec
mov dword [0x489750], 0
mov dword [0x489754], 0
mov byte [0x48977c], 1
call fcn.00469050
mov eax, dword [0x489754]
mov edx, esi
mov esi, dword [0x489750]
mov ecx, dword [ebp - 0x14]
cmp esi, edx
jne 0x463cf8
cmp eax, ecx
je 0x4641fb
cmp byte [ebp - 5], 0
mov dword [0x489950], esi
mov dword [0x489954], eax
je 0x463d20
mov ecx, dword [ebp - 0xc]
mov dword [0x489958], ecx
mov ecx, dword [ebp - 0x18]
mov dword [0x48995c], ecx
jmp 0x463fb6
mov dword [0x489958], esi
mov dword [0x48995c], eax
jmp 0x463fb6
test al, al
je 0x463e1a
mov esi, dword [0x489754]
mov ecx, esi
mov edi, dword [0x489750]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x463d5f
mov dword [ebp - 0xc], esi
mov edx, esi
mov dword [ebp - 0x14], edi
mov eax, edi
mov dword [ebp - 0xc], edi
jmp 0x463d96
mov dword [0x489750], edi
mov dword [0x489754], 0
mov byte [0x48977c], 1
call fcn.00469050
mov edx, esi
mov dword [ebp - 0xc], esi
mov esi, dword [0x489754]
mov eax, edi
mov dword [ebp - 0x14], edi
mov ecx, edx
mov dword [ebp - 0xc], edi
mov edi, dword [0x489750]
cmp edi, dword [ebp - 0x14]
jne 0x463da6
mov eax, dword [ebp - 0xc]
cmp esi, edx
je 0x4641f8
cmp byte [ebp - 5], 0
je 0x463dec
cmp eax, dword [0x489950]
jne 0x463dbc
cmp ecx, dword [0x489954]
je 0x463df8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x489958]
jne 0x463ddd
cmp ecx, dword [0x48995c]
jne 0x463ddd
mov dword [0x489958], edi
mov dword [0x48995c], esi
jmp 0x463e04
mov dword [0x489958], eax
mov eax, dword [ebp - 0x28]
mov dword [0x48995c], eax
jmp 0x463df8
mov dword [0x489958], edi
mov dword [0x48995c], esi
mov dword [0x489954], esi
mov dword [0x489950], edi
push 0
push 0x489958
push 0x489950
call fcn.00466990
jmp 0x4641f8
mov al, byte [ebp - 1]
test al, al
jne 0x463fcf
mov ecx, dword [ebx + 0x54]
call fcn.00433d60
test al, al
je 0x463fcc
mov edi, dword [0x489750]
mov eax, edi
mov esi, dword [0x489754]
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], esi
call fcn.00462c00
cmp esi, eax
jne 0x463e61
mov ecx, esi
mov dword [ebp - 0x14], edi
mov edx, edi
mov eax, edi
jmp 0x463e8d
mov dword [0x489750], edi
mov dword [0x489754], eax
mov byte [0x48977c], 1
call fcn.00469050
mov ecx, esi
mov dword [ebp - 0x14], edi
mov esi, dword [0x489754]
mov edx, edi
mov eax, edi
mov edi, dword [0x489750]
cmp edi, dword [ebp - 0x14]
jne 0x463e9c
mov eax, edx
cmp esi, ecx
je 0x4641f8
cmp byte [ebp - 5], 0
je 0x463eec
cmp eax, dword [0x489958]
mov eax, dword [ebp - 0xc]
jne 0x463eb5
cmp eax, dword [0x48995c]
je 0x463ef8
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [0x489950]
jne 0x463ecc
cmp eax, dword [0x489954]
je 0x463df8
mov eax, ecx
mov dword [0x489958], edi
mov dword [0x489950], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x489954], eax
mov dword [0x48995c], esi
jmp 0x463e04
mov dword [0x489950], edi
mov dword [0x489954], esi
mov dword [0x489958], edi
mov dword [0x48995c], esi
jmp 0x463e04
test dl, dl
je 0x463fcf
jmp 0x463f16
mov al, byte [ebp - 1]
test al, al
jne 0x463fcf
mov ecx, dword [ebx + 0x54]
call fcn.00433d60
test al, al
je 0x463fcc
push 0x489750
lea eax, [ebp - 0x2c]
push eax
call fcn.00461be0
mov ecx, dword [0x489738]
mov eax, 0x2aaaaaab
sub ecx, dword [0x489734]
imul ecx
sar edx, 1
mov esi, edx
dec edx
shr esi, 0x1f
add esi, edx
xor edx, edx
cmp dword [0x489750], esi
jne 0x463f6b
cmp dword [0x489754], edx
je 0x463f85
mov dword [0x489750], esi
mov dword [0x489754], edx
mov byte [0x48977c], 1
call fcn.00469050
xor edx, edx
cmp byte [ebp - 5], 0
mov dword [0x489958], esi
mov dword [0x48995c], edx
je 0x463faa
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x489950], eax
mov dword [0x489954], ecx
jmp 0x463fb6
mov dword [0x489950], esi
mov dword [0x489954], edx
push 0
push 0x489958
push 0x489950
call fcn.00466990
jmp 0x4641fb
mov al, byte [ebp - 1]
mov cl, byte [0x48976d]
mov dl, byte [ebp - 0xc]
test cl, cl
jne 0x464009
test dl, dl
jne 0x464052
mov cl, byte [ebp - 5]
test cl, cl
jne 0x46408f
test al, al
jne 0x46408f
mov ecx, dword [ebx + 0x5c]
call fcn.00433d60
test al, al
je 0x46401c
call fcn.004672a0
jmp 0x4641fb
test dl, dl
jne 0x464052
test cl, cl
mov cl, byte [ebp - 5]
jne 0x464032
test cl, cl
jne 0x46408f
test al, al
jne 0x46408f
mov ecx, dword [ebx + 0x60]
call fcn.00433d60
test al, al
je 0x46403a
call fcn.004676f0
jmp 0x4641fb
test cl, cl
jne 0x46408f
test al, al
jne 0x46408f
mov ecx, dword [ebx + 0x58]
call fcn.00433d60
test al, al
je 0x464089
xor byte [0x48976c], 1
jmp 0x4641fb
mov cl, byte [ebp - 5]
test cl, cl
jne 0x46408f
test al, al
jne 0x46408f
mov ecx, dword [ebx + 0x58]
call fcn.00433d60
test al, al
je 0x464073
call fcn.00467c70
jmp 0x4641fb
mov ecx, dword [ebx + 0x78]
call fcn.00433d60
test al, al
je 0x464089
call fcn.00467c70
jmp 0x4641fb
mov dl, byte [ebp - 0xc]
mov cl, byte [ebp - 5]
cmp byte [0x48976d], 0
jne 0x4640e6
test dl, dl
jne 0x4640c5
test cl, cl
je 0x464199
mov al, byte [ebp - 1]
test al, al
jne 0x464136
mov ecx, dword [ebx + 0x58]
call fcn.00433d60
test al, al
je 0x46411d
call fcn.00467fd0
jmp 0x4641fb
test cl, cl
jne 0x46413a
mov al, byte [ebp - 1]
test al, al
jne 0x46413d
mov ecx, dword [ebx + 0x7c]
call fcn.00433d60
test al, al
je 0x4640f5
call fcn.00467fd0
jmp 0x4641fb
test dl, dl
je 0x46410e
test cl, cl
jne 0x46413a
mov al, byte [ebp - 1]
test al, al
jne 0x46413d
mov ecx, dword [ebx + 0x80]
call fcn.00433d60
test al, al
je 0x46413a
call fcn.00467e50
jmp 0x4641fb
test cl, cl
je 0x464199
mov al, byte [ebp - 1]
test al, al
jne 0x464136
mov ecx, dword [ebx + 0x5c]
call fcn.00433d60
test al, al
je 0x464133
call fcn.00467e50
jmp 0x4641fb
mov dl, byte [ebp - 0xc]
test dl, dl
je 0x464199
mov al, byte [ebp - 1]
mov cl, byte [ebp - 5]
test cl, cl
jne 0x46419c
test al, al
jne 0x46419c
mov ecx, dword [ebx + 0x74]
call fcn.00433d60
test al, al
je 0x464199
mov ecx, dword [0x489738]
mov eax, 0x2aaaaaab
sub ecx, dword [0x489734]
imul ecx
push 0
sar edx, 1
mov eax, edx
mov dword [ebp - 0x28], 0
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0
push eax
call fcn.00466990
jmp 0x4641fb
mov cl, byte [ebp - 5]
cmp byte [0x48976d], 0
jne 0x46427e
cmp byte [ebp - 0xc], 0
jne 0x4641fb
mov al, byte [ebp - 1]
test cl, cl
jne 0x4641d6
test al, al
jne 0x4641fb
mov ecx, dword [ebx + 0x68]
call fcn.00433d60
test al, al
je 0x4641da
push 0
push 0xa
mov ecx, 0x489730
call fcn.00465e60
jmp 0x4641fb
test al, al
jne 0x4641fb
mov ecx, dword [ebx + 0x34]
call fcn.00433d60
test al, al
je 0x4641fb
push edi
push 9
mov ecx, 0x489730
call fcn.00465e60
jmp 0x4641fb
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 5]
cmp byte [0x48976d], 0
jne 0x46427e
mov eax, dword [ebx + 0x151c]
test eax, eax
je 0x46427e
xor esi, esi
test eax, eax
jle 0x46424e
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebx + 0x1524]
movzx eax, word [eax + esi*2]
test ax, ax
je 0x464245
cmp eax, 0xa
je 0x464239
cmp eax, 0x20
jb 0x464245
push edi
push eax
mov ecx, 0x489730
call fcn.00465e60
inc esi
cmp esi, dword [ebx + 0x151c]
jl 0x464220
mov ecx, dword [ebx + 0x1520]
test ecx, ecx
jns 0x464274
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x151c]
call fcn.00440680
mov dword [ebx + 0x151c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret