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

Disassembly:
push 0xffffffffffffffff
push 0x681bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x30]
mov edi, ecx
push eax
mov ecx, 0x6beca0
call fcn.004d1360
call fcn.006183e0
mov eax, dword [edi + 0x814]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], ebx
jle 0x4df9cb
lea esi, [edi + 8]
mov dword [esp + 0x1c], esi
mov ax, word [esi]
test al, al
jns 0x4df9ae
test al, 0x10
jne 0x4df9ae
lea ecx, [esi - 8]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004d7de0
mov edx, dword [edi + 0x814]
xor ebp, ebp
dec edx
cmp ebx, edx
mov dword [esp + 0x13c], ebp
mov ecx, ebx
jge 0x4df7ac
lea eax, [esi + 8]
lea esp, [esp]
mov dl, byte [eax + 0xb4]
test dl, dl
js 0x4df7ac
and byte [eax - 8], 0xe1
mov edx, dword [eax + 0x14]
mov dword [eax - 4], edx
mov edx, dword [eax + 0x18]
mov dword [eax], edx
mov edx, dword [eax + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [eax + 0x28]
mov dword [eax + 0x20], edx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x2c], edx
mov edx, dword [edi + 0x814]
inc ecx
add eax, 0xbc
dec edx
cmp ecx, edx
jl 0x4df770
mov eax, dword [edi + 0x814]
dec eax
cmp ebx, eax
mov dword [esp + 0x18], ebx
jge 0x4df848
add esi, 0xd0
mov al, byte [esi - 0x14]
test al, al
js 0x4df844
mov ecx, dword [0x725b2c]
mov dword [esi - 0x18], ecx
mov edx, dword [esi - 0x10]
mov dword [esi - 4], edx
mov eax, dword [esi - 0xc]
mov dword [esi], eax
mov ecx, dword [esi - 8]
mov dword [esi + 4], ecx
mov edx, dword [esi - 0xcc]
mov dword [esi + 8], edx
mov eax, dword [esi - 0xc8]
mov dword [esi + 0xc], eax
mov ecx, dword [esi - 0xc4]
mov dword [esi + 0x10], ecx
mov eax, dword [esi - 0xa8]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x20]
or byte [esi - 0x14], 8
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], edx
mov edx, dword [esi - 0x9c]
lea eax, [esi - 0x1c]
mov dword [esi + 0x24], ecx
push eax
lea ecx, [esi - 0xd8]
mov dword [esi + 0x28], edx
call fcn.004d7c00
mov ecx, dword [edi + 0x814]
inc ebx
add esi, 0xbc
dec ecx
cmp ebx, ecx
jl 0x4df7c5
mov dword [esp + 0x18], ebx
mov edx, dword [0x725b2c]
mov dword [esp + 0x5c], edx
call fcn.006183e0
movsx ebx, word [esp + 0x34]
mov dword [esp + 0x78], ebp
movsx ebp, word [esp + 0x36]
mov esi, eax
movsx eax, bp
mov dword [esp + 0x10], eax
sub esi, 0x48
mov dword [esp + 0x70], esi
fild dword [esp + 0x10]
mov dword [esp + 0x74], 0x18
fmul dword [0x68b5a0]
call fcn.00602090
movsx edx, bx
mov dword [esp + 0x10], edx
movsx ecx, ax
fild dword [esp + 0x10]
mov dword [esp + 0x24], ecx
fmul dword [0x68b5a0]
call fcn.00602090
movsx ecx, word [esp + 0x24]
mov dword [esp + 0x10], ecx
movsx eax, ax
fild dword [esp + 0x10]
mov dword [esp + 0x28], eax
fmul dword [0x68b504]
call fcn.00602090
movsx edx, ax
movsx eax, word [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x10]
fmul dword [0x68b504]
call fcn.00602090
movsx edx, bp
mov dword [esp + 0x10], edx
movsx ecx, ax
fild dword [esp + 0x10]
mov dword [esp + 0x28], ecx
fmul dword [0x68b504]
call fcn.00602090
movsx ebp, ax
movsx eax, bx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x68b504]
call fcn.00602090
movsx edx, word [esp + 0x24]
movsx ecx, ax
movsx eax, bp
movsx ecx, cx
add eax, 0x18
sub eax, edx
movsx edx, word [esp + 0x28]
add ecx, esi
sub ecx, edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0xbc
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x58]
push eax
add ecx, edi
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0x94], 0x40a00000
mov dword [esp + 0x9c], 0x80
mov word [esp + 0x64], 0x10
call fcn.004d7c00
lea ecx, [esp + 0x58]
mov dword [esp + 0x13c], 0xffffffff
call fcn.004d7ea0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [edi + 0x814]
inc ebx
add esi, 0xbc
cmp ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
jl 0x4df730
mov eax, dword [edi + 0x814]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x4dfc81
nop
mov ecx, ebp
imul ecx, ecx, 0xbc
lea esi, [ecx + edi]
mov cx, word [esi + 8]
test cl, 0x1e
je 0x4dfbe9
mov eax, dword [esi + 4]
mov edx, dword [0x725b2c]
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fcom dword [0x68c4e8]
fnstsw ax
test ah, 5
jp 0x4dfb02
mov eax, dword [esi + 0x18]
fmul dword [0x68fd94]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
sub edx, eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x3c], eax
fmul st(1)
call fcn.00602090
fild dword [esp + 0x3c]
mov ebx, eax
fmul st(1)
call fcn.00602090
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
add edx, eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
add ecx, ebx
mov dword [esi + 0xc], ecx
fld dword [esi + 0x38]
fsub dword [esi + 0x34]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
sub ecx, eax
fmul st(1)
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
fadd dword [esi + 0x34]
fstp dword [esi + 0x30]
fild dword [esp + 0x10]
fmul st(1)
fiadd dword [esp + 0x24]
call fcn.00602090
fadd st(0), st(0)
mov dword [esi + 0x3c], eax
mov ax, word [esi + 8]
test al, 2
fsub dword [0x68b500]
fld st(0)
fmulp st(1)
fsubr dword [0x68b500]
fmul dword [0x68b5bc]
je 0x4dfad9
call fcn.00602090
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
movsx eax, ax
add eax, ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x4dfc6e
test al, 4
je 0x4dfc6c
call fcn.00602090
mov ecx, dword [esi + 0x10]
movsx edx, ax
mov eax, dword [esi + 0xc]
sub eax, edx
mov edx, dword [esi + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x4dfc6e
test cl, 0x10
fstp st(0)
jne 0x4dfb1e
mov eax, dword [esi]
test eax, eax
je 0x4dfbe0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4dfbe0
mov eax, dword [esi]
test eax, eax
je 0x4dfb52
xor ecx, ecx
mov cx, word [eax + 0xa]
test cx, cx
lea edx, [ecx - 1]
mov word [eax + 0xa], dx
jne 0x4dfb4c
mov eax, dword [eax + 0x5c]
push 0xae
push 0x68b520
push eax
call fcn.00620150
add esp, 0xc
mov dword [esi], 0
mov ecx, dword [edi + 0x814]
mov eax, dword [esp + 0x18]
dec ecx
cmp eax, ecx
jge 0x4dfb83
mov ebx, esi
lea edx, [ebx + 0xbc]
push edx
mov ecx, ebx
call fcn.004d7c00
mov eax, dword [edi + 0x814]
inc ebp
add ebx, 0xbc
dec eax
cmp ebp, eax
jl 0x4dfb63
mov ecx, dword [edi + 0x814]
imul ecx, ecx, 0xbc
mov eax, dword [ecx + edi - 0xbc]
test eax, eax
lea ebx, [ecx + edi - 0xbc]
je 0x4dfbcf
xor ecx, ecx
mov cx, word [eax + 0xa]
test cx, cx
lea edx, [ecx - 1]
mov word [eax + 0xa], dx
jne 0x4dfbc9
mov eax, dword [eax + 0x5c]
push 0xae
push 0x68b520
push eax
call fcn.00620150
add esp, 0xc
mov dword [ebx], 0
mov eax, dword [edi + 0x814]
mov ebp, dword [esp + 0x18]
dec eax
mov dword [edi + 0x814], eax
and byte [esi + 8], 0xe1
jmp 0x4dfc6e
call fcn.006183e0
test ebp, ebp
jne 0x4dfc2b
mov dword [edi + 0x10], 0x18
mov dword [edi + 0x14], ebp
sub eax, 0x48
mov dword [edi + 0xc], eax
mov ecx, eax
mov dword [edi + 0x24], ecx
mov edx, dword [edi + 0x10]
mov dword [edi + 0x28], edx
mov eax, dword [edi + 0x14]
mov dword [edi + 0x2c], eax
mov eax, 0x3f800000
mov dword [edi + 0x30], eax
mov dword [edi + 0x38], eax
mov eax, 0x80
mov dword [edi + 0x3c], eax
mov dword [edi + 0x44], eax
jmp 0x4dfc6e
sub eax, 0x30
mov dword [esi + 0xc], eax
mov ecx, ebp
mov dword [esi + 0x14], 0
shl ecx, 5
add ecx, 0x34
mov dword [esi + 0x10], ecx
mov ecx, eax
mov dword [esi + 0x24], ecx
mov edx, dword [esi + 0x10]
mov dword [esi + 0x28], edx
mov eax, dword [esi + 0x14]
mov dword [esi + 0x2c], eax
mov eax, 0x3f000000
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov eax, 0x40
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], eax
jmp 0x4dfc6e
fstp st(0)
mov eax, dword [edi + 0x814]
inc ebp
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x4df9e0
mov eax, dword [edi + 0x814]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x4dfff6
mov ebp, dword [esp + 0x144]
mov eax, 0xffffffec
sub eax, edi
lea esi, [edi + 0x14]
mov dword [esp + 0x50], eax
lea esp, [esp]
mov eax, dword [esi]
mov ebx, dword [esi - 0x14]
mov ecx, dword [ebx + 0x1e0]
mov edx, dword [ebx + 0x1dc]
push eax
mov eax, dword [esi - 8]
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
call fcn.004d1260
mov ecx, dword [esi - 4]
mov word [esp + 0x24], ax
mov eax, dword [esi]
push eax
push ecx
call fcn.004d12e0
mov word [esp + 0x2e], ax
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, 0x70000000
jne 0x4dfe91
mov al, byte [edi + 0x818]
test al, al
je 0x4dfe3c
fld dword [0x68b500]
fsub dword [ebx + 0x200]
fmul dword [0x68b5f4]
call fcn.00602090
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x68b6d4]
call fcn.00602090
fild dword [ebx + 0xa30]
mov dword [esp + 0x20], eax
fmul dword [0x68b6d4]
fadd dword [0x68b504]
call fcn.00602090
mov ebx, dword [esp + 0x20]
sub ebx, eax
mov eax, dword [esi + 0xa4]
cmp ebx, eax
jge 0x4dfd63
mov ebx, eax
mov eax, dword [esp + 0x20]
cmp ebx, eax
jne 0x4dfda9
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x4dfda9
mov ecx, dword [esp + 0x50]
shl eax, 4
add eax, ecx
add eax, esi
mov ecx, dword [eax + edi + 0x48]
test ecx, ecx
jne 0x4dfda9
push 0x3f800000
mov dword [esi + 0x34], 1
mov edx, dword [0x725b2c]
push 0x3f800000
push 0x6b
mov dword [esi + 0x38], edx
call fcn.004cfe40
add esp, 0xc
cmp ebx, dword [esi + 0xa4]
jle 0x4dfdc8
push 0x3f800000
push 0x3f800000
push 0x107
call fcn.004cfe40
add esp, 0xc
movsx eax, word [esp + 0x1c]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fld dword [esi + 0x1c]
fmul dword [0x68ba4c]
fsubp st(1)
call fcn.00602090
movsx ecx, word [esp + 0x1e]
mov dword [esp + 0x2c], ecx
mov word [esp + 0x28], ax
fild dword [esp + 0x2c]
fld dword [esi + 0x1c]
fmul dword [0x68b5b0]
fsubp st(1)
call fcn.00602090
mov ecx, dword [esi + 0x28]
mov word [esp + 0x2a], ax
lea edx, [esi + 0x44]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esi + 0x34]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push ebx
push eax
lea ecx, [esp + 0x40]
push ecx
push ebp
call fcn.004d7670
mov dword [esi + 0xa4], ebx
mov ebx, dword [esp + 0x34]
add esp, 0x20
jmp 0x4dfe91
movsx edx, word [esp + 0x34]
movsx eax, word [esp + 0x1c]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul dword [esi + 0x1c]
fiadd dword [esp + 0x14]
call fcn.00602090
mov cx, word [esp + 0x1e]
mov word [esp + 0x24], ax
mov eax, dword [esi + 0x28]
lea edx, [esi + 0x34]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esi + 0x1c]
mov word [esp + 0x2e], cx
mov ecx, dword [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push ebp
call fcn.004d6ca0
add esp, 0x1c
mov ecx, dword [esi - 0x14]
mov dword [esp + 0x14], ecx
call fcn.005ef730
test eax, eax
je 0x4dfeb4
mov ecx, dword [esp + 0x14]
call fcn.005ef730
cmp byte [eax + 8], 2
je 0x4dffd9
mov edx, dword [esi - 0x14]
cmp byte [edx + 8], 1
jne 0x4dffd9
mov ecx, ebx
call fcn.004c6bc0
mov ebx, eax
test ebx, ebx
je 0x4dffd9
push 5
push ebx
mov ecx, ebp
call fcn.00619300
push 2
mov ecx, ebp
call fcn.00619010
mov al, byte [esi + 0x28]
mov byte [esp + 0x1b], al
mov byte [esp + 0x18], 0x80
mov byte [esp + 0x19], 0x80
mov byte [esp + 0x1a], 0x80
mov ecx, dword [esp + 0x18]
push 1
mov dword [ebp + 4], ecx
push 7
mov ecx, ebp
call fcn.00619270
lea edx, [esp + 0x114]
push edx
push 0
mov ecx, ebx
call fcn.005f4b20
cmp dword [esp + 0x12c], 0x28
jne 0x4dff7e
movsx edx, word [esp + 0x34]
mov ax, word [esp + 0x1c]
mov cx, word [esp + 0x1e]
mov dword [esp + 0x14], edx
mov word [esp + 0x44], ax
mov word [esp + 0x46], cx
fild dword [esp + 0x14]
fmul dword [esi + 0x1c]
call fcn.00602090
mov word [esp + 0x48], ax
movsx eax, word [esp + 0x36]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esi + 0x1c]
call fcn.00602090
push 0
push 0x6becc4
lea ecx, [esp + 0x4c]
mov word [esp + 0x52], ax
push ecx
jmp 0x4dffd2
movsx ecx, word [esp + 0x34]
mov dx, word [esp + 0x1c]
mov ax, word [esp + 0x1e]
mov dword [esp + 0x14], ecx
mov word [esp + 0x38], dx
mov word [esp + 0x3a], ax
fild dword [esp + 0x14]
fmul dword [esi + 0x1c]
call fcn.00602090
movsx edx, word [esp + 0x36]
mov dword [esp + 0x14], edx
mov word [esp + 0x3c], ax
fild dword [esp + 0x14]
fmul dword [esi + 0x1c]
call fcn.00602090
push 0
mov word [esp + 0x42], ax
push 0x6becb4
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.004d0d10
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x814]
inc eax
add esi, 0xbc
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4dfcb0
mov eax, dword [edi + 0x814]
xor ecx, ecx
test eax, eax
jle 0x4e0018
lea eax, [edi + 8]
or byte [eax], 0x80
mov edx, dword [edi + 0x814]
inc ecx
add eax, 0xbc
cmp ecx, edx
jl 0x4e0005
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret 4