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

Disassembly:
push 0xffffffffffffffff
push 0x1039b5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x80]
cmp edi, 0xff
jg 0x480fb0
mov eax, dword [esp + 0x84]
cmp eax, 0xff
jg 0x480fb0
test edi, edi
jl 0x480fb0
test eax, eax
jl 0x480fb0
cmp eax, edi
jge 0x480756
mov ecx, dword [esi + 0x20]
push 0x10470bb0
add ecx, 4
call fcn.0042ae2f
jmp 0x480fc2
fldz
fld qword [esp + 0x88]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4807ff
mov eax, dword [esi + 0x20]
lea ebp, [eax + 0x9a8]
mov al, byte [ebp]
mov bl, al
mov byte [esp + 0x1c], al
mov dword [esp + 0x14], ebp
mov byte [esp + 0x18], bl
mov byte [ebp], 0
mov dword [esp + 0x78], 0
cmp edi, dword [esp + 0x84]
jne 0x4808df
mov eax, dword [esi + 0x20]
fstp st(0)
mov cl, byte [eax + 0x8f1]
mov edx, dword [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x90], cl
mov ecx, dword [esp + 0x90]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
lea ecx, [eax + 0x98c]
call fcn.0042cabf
fldz
fcomp st(1)
mov dword [esp + 0x78], 0xffffffff
mov byte [ebp], bl
fnstsw ax
test ah, 0x41
jne 0x4807ff
movzx edx, word [esi + 0x13c]
fstp st(0)
mov dword [esp + 0x88], edx
fild dword [esp + 0x88]
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x988]
push eax
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x28], eax
call fcn.00452eef
shl eax, 8
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
fnstcw word [esp + 0x94]
add esp, 0xc
fidiv dword [esp + 0x1c]
movzx eax, word [esp + 0x88]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fadd qword [0x1046b0b0]
fldcw word [esp + 0x1c]
fistp dword [esp + 0x1c]
mov cx, word [esp + 0x1c]
movzx edx, cx
mov dword [esp + 0x1c], edx
xor edx, edx
fldcw word [esp + 0x88]
mov dword [esp + 0x14], edx
test ebx, ebx
je 0x48095a
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0x684]
sub eax, dword [ecx + 0x680]
add ecx, 0x674
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x4808ca
lea ecx, [ecx]
push edi
call fcn.0042ee5f
cmp dword [eax], ebx
je 0x48094e
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 0x684]
sub edx, dword [eax + 0x680]
lea ecx, [eax + 0x674]
inc edi
sar edx, 2
cmp edi, edx
jb 0x48089f
mov ecx, dword [esi + 0x20]
push 0x104709e4
add ecx, 4
call fcn.0042ae2f
jmp 0x480fc2
mov edi, dword [esp + 0x80]
cmp edi, dword [esp + 0x84]
jg 0x480932
mov ebx, dword [esp + 0x90]
jmp 0x480906
fld qword [esp + 0x88]
mov eax, dword [esp + 0x94]
mov edx, dword [esi]
mov ecx, dword [edx + 0x64]
push eax
push ebx
sub esp, 8
fstp qword [esp]
push edi
push edi
push esi
call ecx
inc edi
add esp, 0x1c
cmp edi, dword [esp + 0x84]
jle 0x4808ff
mov bl, byte [esp + 0x18]
jmp 0x480934
fstp st(0)
mov ecx, dword [esi + 0x20]
push 0x1046d338
add ecx, 4
call fcn.0042ae2f
mov byte [ebp], bl
mov al, 1
jmp 0x480fc4
movzx edx, di
mov edi, dword [esp + 0x80]
jmp 0x48096c
cmp dword [esi + edi*4 + 0x40950], 0xffffffff
je 0x480970
movzx edx, word [esi + edi*4 + 0x40950]
mov dword [esp + 0x14], edx
cmp edi, dword [esp + 0x84]
jg 0x480996
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub ecx, eax
lea edi, [esi + eax*4 + 0x40950]
movzx eax, dx
inc ecx
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x3a4]
add esi, 0x398
mov dword [esp + 0x88], esi
cmp edi, dword [esi + 0x10]
jbe 0x4809b3
call fcn.00776e71
mov esi, dword [esi]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x58]
call fcn.004da27f
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x78], 1
mov edi, edi
mov eax, dword [esp + 0x88]
mov ebx, dword [eax + 0x10]
cmp dword [eax + 0xc], ebx
jbe 0x4809fa
call fcn.00776e71
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
test esi, esi
je 0x480a04
cmp esi, eax
je 0x480a09
call fcn.00776e71
cmp edi, ebx
je 0x480e80
test esi, esi
jne 0x480b48
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480a2a
call fcn.00776e71
movzx edx, word [edi]
cmp edx, ebp
jl 0x480b7a
test esi, esi
jne 0x480b4f
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480a4e
call fcn.00776e71
movzx eax, word [edi + 2]
cmp eax, dword [esp + 0x84]
jg 0x480b7a
test esi, esi
jne 0x480b56
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480a78
call fcn.00776e71
cmp dword [esp + 0x90], 0
mov cx, word [esp + 0x1c]
mov word [edi + 4], cx
je 0x480aad
test esi, esi
jne 0x480b5d
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480aa4
call fcn.00776e71
mov dx, word [esp + 0x14]
mov word [edi + 6], dx
test esi, esi
jne 0x480b64
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480ac6
call fcn.00776e71
mov eax, dword [esp + 0x94]
push eax
mov ecx, edi
call fcn.0040ba6f
test esi, esi
jne 0x480b6b
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480aee
call fcn.00776e71
or word [edi + 8], 2
test esi, esi
jne 0x480b72
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480b08
call fcn.00776e71
movzx ebx, word [edi]
mov dword [esp + 0x80], ebx
test esi, esi
jne 0x480b76
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480b27
call fcn.00776e71
movzx ecx, word [edi + 2]
cmp ebx, ecx
jg 0x480b7a
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
call fcn.00473d9f
inc ebx
jmp 0x480b0b
mov eax, dword [esi]
jmp 0x480a20
mov eax, dword [esi]
jmp 0x480a44
mov eax, dword [esi]
jmp 0x480a6e
mov eax, dword [esi]
jmp 0x480a9a
mov eax, dword [esi]
jmp 0x480abc
mov eax, dword [esi]
jmp 0x480ae4
mov eax, dword [esi]
jmp 0x480afe
mov eax, dword [esi]
jmp 0x480b1d
test esi, esi
jne 0x480ca8
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480b93
call fcn.00776e71
movzx ecx, word [edi]
cmp ebp, ecx
jle 0x480ce1
test esi, esi
jne 0x480caf
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480bb7
call fcn.00776e71
movzx edx, word [edi + 2]
cmp ebp, edx
jg 0x480ce1
test esi, esi
jne 0x480cb6
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480bdc
call fcn.00776e71
test esi, esi
jne 0x480cbd
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480bf5
call fcn.00776e71
mov ax, word [edi]
cmp ax, word [edi + 2]
je 0x480ce1
test esi, esi
jne 0x480cc4
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480c1b
call fcn.00776e71
movzx ebx, word [edi]
test esi, esi
jne 0x480ccb
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480c37
call fcn.00776e71
mov word [edi], bp
test esi, esi
jne 0x480cd2
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480c53
call fcn.00776e71
push edi
push edi
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x98]
call fcn.0047407f
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x480cd9
call fcn.00776e71
xor eax, eax
mov edi, dword [esp + 0x28]
cmp edi, dword [eax + 0x10]
jb 0x480c84
call fcn.00776e71
mov word [edi], bx
test esi, esi
jne 0x480cdd
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480c9c
call fcn.00776e71
lea edx, [ebp - 1]
mov word [edi + 2], dx
jmp 0x4809df
mov eax, dword [esi]
jmp 0x480b89
mov eax, dword [esi]
jmp 0x480bad
mov eax, dword [esi]
jmp 0x480bd2
mov eax, dword [esi]
jmp 0x480beb
mov eax, dword [esi]
jmp 0x480c11
mov eax, dword [esi]
jmp 0x480c2d
mov eax, dword [esi]
jmp 0x480c49
mov eax, dword [esi]
jmp 0x480c76
mov eax, dword [esi]
jmp 0x480c92
test esi, esi
jne 0x480e26
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480cfa
call fcn.00776e71
movzx eax, word [edi]
cmp dword [esp + 0x84], eax
jl 0x480e5f
test esi, esi
jne 0x480e2d
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480d23
call fcn.00776e71
movzx ecx, word [edi + 2]
cmp dword [esp + 0x84], ecx
jge 0x480e5f
test esi, esi
jne 0x480e34
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480d4d
call fcn.00776e71
test esi, esi
jne 0x480e3b
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480d66
call fcn.00776e71
mov dx, word [edi]
cmp dx, word [edi + 2]
je 0x480e5f
test esi, esi
jne 0x480e42
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480d8c
call fcn.00776e71
movzx ebx, word [edi]
test esi, esi
jne 0x480e49
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480da8
call fcn.00776e71
mov eax, dword [esp + 0x84]
inc eax
mov word [edi], ax
test esi, esi
jne 0x480e50
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480dcc
call fcn.00776e71
push edi
push edi
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x98]
call fcn.0047407f
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x480e57
call fcn.00776e71
xor eax, eax
mov edi, dword [esp + 0x30]
cmp edi, dword [eax + 0x10]
jb 0x480dfd
call fcn.00776e71
mov word [edi], bx
test esi, esi
jne 0x480e5b
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480e15
call fcn.00776e71
mov dx, word [esp + 0x84]
mov word [edi + 2], dx
jmp 0x4809df
mov eax, dword [esi]
jmp 0x480cf0
mov eax, dword [esi]
jmp 0x480d19
mov eax, dword [esi]
jmp 0x480d43
mov eax, dword [esi]
jmp 0x480d5c
mov eax, dword [esi]
jmp 0x480d82
mov eax, dword [esi]
jmp 0x480d9e
mov eax, dword [esi]
jmp 0x480dc2
mov eax, dword [esi]
jmp 0x480def
mov eax, dword [esi]
jmp 0x480e0b
test esi, esi
jne 0x480e7c
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x480e74
call fcn.00776e71
add edi, 0xc
jmp 0x4809df
mov eax, dword [esi]
jmp 0x480e6a
lea ecx, [esp + 0x34]
call fcn.0040ba1f
mov cx, word [esp + 0x14]
mov edx, dword [esp + 0x94]
mov ax, word [esp + 0x1c]
mov esi, dword [esp + 0x84]
mov word [esp + 0x3a], cx
push edx
lea ecx, [esp + 0x38]
mov word [esp + 0x38], bp
mov word [esp + 0x3a], si
mov word [esp + 0x3c], ax
call fcn.0040ba6f
or word [esp + 0x3c], 2
xor bl, bl
cmp ebp, esi
mov edi, ebp
mov dword [esp + 0x80], edi
jg 0x480f9b
lea esp, [esp]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x58]
call fcn.0046b51f
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
lea esp, [esp]
test eax, eax
je 0x480f19
cmp eax, dword [esp + 0x48]
je 0x480f1e
call fcn.00776e71
cmp dword [esp + 0x20], ebp
je 0x480f34
lea ecx, [esp + 0x1c]
inc esi
call fcn.00468daf
mov eax, dword [esp + 0x1c]
jmp 0x480f0f
test esi, esi
jne 0x480f45
test bl, bl
jne 0x480f64
mov word [esp + 0x34], di
mov bl, 1
jmp 0x480f64
test bl, bl
je 0x480f64
lea ecx, [esp + 0x34]
lea eax, [edi - 1]
push ecx
mov ecx, dword [esp + 0x8c]
mov word [esp + 0x3a], ax
xor bl, bl
call fcn.0047911f
inc edi
cmp edi, dword [esp + 0x84]
mov dword [esp + 0x80], edi
jle 0x480edf
test bl, bl
je 0x480f9b
mov dx, word [esp + 0x84]
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x34]
push eax
mov word [esp + 0x3a], dx
call fcn.0047911f
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call fcn.004dae0f
mov al, 1
jmp 0x480fc4
mov ecx, dword [esi + 0x20]
push 0x1a
push 0x10470674
add ecx, 4
call fcn.0040517f
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c