Function at 0x48287f
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 0x483150
mov eax, dword [esp + 0x84]
cmp eax, 0xff
jg 0x483150
test edi, edi
jl 0x483150
test eax, eax
jl 0x483150
cmp eax, edi
jge 0x4828f6
mov ecx, dword [esi + 0x20]
push 0x10470bb0
add ecx, 4
call fcn.0042ae2f
jmp 0x483162
fldz
fld qword [esp + 0x88]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x48299f
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 0x482a7f
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.0042d9af
fldz
fcomp st(1)
mov dword [esp + 0x78], 0xffffffff
mov byte [ebp], bl
fnstsw ax
test ah, 0x41
jne 0x48299f
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 0x482afa
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 0x482a6a
lea ecx, [ecx]
push edi
call fcn.0042ee5f
cmp dword [eax], ebx
je 0x482aee
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 0x482a3f
mov ecx, dword [esi + 0x20]
push 0x104709e4
add ecx, 4
call fcn.0042ae2f
jmp 0x483162
mov edi, dword [esp + 0x80]
cmp edi, dword [esp + 0x84]
jg 0x482ad2
mov ebx, dword [esp + 0x90]
jmp 0x482aa6
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 0x482a9f
mov bl, byte [esp + 0x18]
jmp 0x482ad4
fstp st(0)
mov ecx, dword [esi + 0x20]
push 0x1046d338
add ecx, 4
call fcn.0042ae2f
mov byte [ebp], bl
mov al, 1
jmp 0x483164
movzx edx, di
mov edi, dword [esp + 0x80]
jmp 0x482b0c
cmp dword [esi + edi*4 + 0x40d38], 0xffffffff
je 0x482b10
movzx edx, word [esi + edi*4 + 0x40d38]
mov dword [esp + 0x14], edx
cmp edi, dword [esp + 0x84]
jg 0x482b36
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub ecx, eax
lea edi, [esi + eax*4 + 0x40d38]
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 0x482b53
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 0x482b9a
call fcn.00776e71
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
test esi, esi
je 0x482ba4
cmp esi, eax
je 0x482ba9
call fcn.00776e71
cmp edi, ebx
je 0x483020
test esi, esi
jne 0x482ce8
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482bca
call fcn.00776e71
movzx edx, word [edi]
cmp edx, ebp
jl 0x482d1a
test esi, esi
jne 0x482cef
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482bee
call fcn.00776e71
movzx eax, word [edi + 2]
cmp eax, dword [esp + 0x84]
jg 0x482d1a
test esi, esi
jne 0x482cf6
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482c18
call fcn.00776e71
cmp dword [esp + 0x90], 0
mov cx, word [esp + 0x1c]
mov word [edi + 4], cx
je 0x482c4d
test esi, esi
jne 0x482cfd
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482c44
call fcn.00776e71
mov dx, word [esp + 0x14]
mov word [edi + 6], dx
test esi, esi
jne 0x482d04
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482c66
call fcn.00776e71
mov eax, dword [esp + 0x94]
push eax
mov ecx, edi
call fcn.0040ba6f
test esi, esi
jne 0x482d0b
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482c8e
call fcn.00776e71
or word [edi + 8], 2
test esi, esi
jne 0x482d12
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482ca8
call fcn.00776e71
movzx ebx, word [edi]
mov dword [esp + 0x80], ebx
test esi, esi
jne 0x482d16
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482cc7
call fcn.00776e71
movzx ecx, word [edi + 2]
cmp ebx, ecx
jg 0x482d1a
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
call fcn.00473d9f
inc ebx
jmp 0x482cab
mov eax, dword [esi]
jmp 0x482bc0
mov eax, dword [esi]
jmp 0x482be4
mov eax, dword [esi]
jmp 0x482c0e
mov eax, dword [esi]
jmp 0x482c3a
mov eax, dword [esi]
jmp 0x482c5c
mov eax, dword [esi]
jmp 0x482c84
mov eax, dword [esi]
jmp 0x482c9e
mov eax, dword [esi]
jmp 0x482cbd
test esi, esi
jne 0x482e48
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482d33
call fcn.00776e71
movzx ecx, word [edi]
cmp ebp, ecx
jle 0x482e81
test esi, esi
jne 0x482e4f
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482d57
call fcn.00776e71
movzx edx, word [edi + 2]
cmp ebp, edx
jg 0x482e81
test esi, esi
jne 0x482e56
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482d7c
call fcn.00776e71
test esi, esi
jne 0x482e5d
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482d95
call fcn.00776e71
mov ax, word [edi]
cmp ax, word [edi + 2]
je 0x482e81
test esi, esi
jne 0x482e64
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482dbb
call fcn.00776e71
movzx ebx, word [edi]
test esi, esi
jne 0x482e6b
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482dd7
call fcn.00776e71
mov word [edi], bp
test esi, esi
jne 0x482e72
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482df3
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 0x482e79
call fcn.00776e71
xor eax, eax
mov edi, dword [esp + 0x28]
cmp edi, dword [eax + 0x10]
jb 0x482e24
call fcn.00776e71
mov word [edi], bx
test esi, esi
jne 0x482e7d
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482e3c
call fcn.00776e71
lea edx, [ebp - 1]
mov word [edi + 2], dx
jmp 0x482b7f
mov eax, dword [esi]
jmp 0x482d29
mov eax, dword [esi]
jmp 0x482d4d
mov eax, dword [esi]
jmp 0x482d72
mov eax, dword [esi]
jmp 0x482d8b
mov eax, dword [esi]
jmp 0x482db1
mov eax, dword [esi]
jmp 0x482dcd
mov eax, dword [esi]
jmp 0x482de9
mov eax, dword [esi]
jmp 0x482e16
mov eax, dword [esi]
jmp 0x482e32
test esi, esi
jne 0x482fc6
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482e9a
call fcn.00776e71
movzx eax, word [edi]
cmp dword [esp + 0x84], eax
jl 0x482fff
test esi, esi
jne 0x482fcd
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482ec3
call fcn.00776e71
movzx ecx, word [edi + 2]
cmp dword [esp + 0x84], ecx
jge 0x482fff
test esi, esi
jne 0x482fd4
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482eed
call fcn.00776e71
test esi, esi
jne 0x482fdb
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482f06
call fcn.00776e71
mov dx, word [edi]
cmp dx, word [edi + 2]
je 0x482fff
test esi, esi
jne 0x482fe2
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482f2c
call fcn.00776e71
movzx ebx, word [edi]
test esi, esi
jne 0x482fe9
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482f48
call fcn.00776e71
mov eax, dword [esp + 0x84]
inc eax
mov word [edi], ax
test esi, esi
jne 0x482ff0
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482f6c
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 0x482ff7
call fcn.00776e71
xor eax, eax
mov edi, dword [esp + 0x30]
cmp edi, dword [eax + 0x10]
jb 0x482f9d
call fcn.00776e71
mov word [edi], bx
test esi, esi
jne 0x482ffb
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x482fb5
call fcn.00776e71
mov dx, word [esp + 0x84]
mov word [edi + 2], dx
jmp 0x482b7f
mov eax, dword [esi]
jmp 0x482e90
mov eax, dword [esi]
jmp 0x482eb9
mov eax, dword [esi]
jmp 0x482ee3
mov eax, dword [esi]
jmp 0x482efc
mov eax, dword [esi]
jmp 0x482f22
mov eax, dword [esi]
jmp 0x482f3e
mov eax, dword [esi]
jmp 0x482f62
mov eax, dword [esi]
jmp 0x482f8f
mov eax, dword [esi]
jmp 0x482fab
test esi, esi
jne 0x48301c
call fcn.00776e71
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x483014
call fcn.00776e71
add edi, 0xc
jmp 0x482b7f
mov eax, dword [esi]
jmp 0x48300a
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 0x48313b
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 0x4830b9
cmp eax, dword [esp + 0x48]
je 0x4830be
call fcn.00776e71
cmp dword [esp + 0x20], ebp
je 0x4830d4
lea ecx, [esp + 0x1c]
inc esi
call fcn.00468daf
mov eax, dword [esp + 0x1c]
jmp 0x4830af
test esi, esi
jne 0x4830e5
test bl, bl
jne 0x483104
mov word [esp + 0x34], di
mov bl, 1
jmp 0x483104
test bl, bl
je 0x483104
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 0x48307f
test bl, bl
je 0x48313b
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 0x483164
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