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

Disassembly:
push 0xffffffffffffffff
push 0x717d3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xcc]
cmp esi, 2
mov edi, dword [esp + 0xc8]
mov dword [esp + 0xc0], 0
jle 0x49e5da
fld dword [0x743750]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x14], 0xffffffff
jle 0x49df90
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x74]
mov eax, dword [edi + ecx*4]
lea edx, [eax + eax*2]
fcom dword [ebx + edx*4]
lea edx, [ebx + edx*4]
fnstsw ax
test ah, 0x41
jne 0x49df8b
fstp st(0)
mov dword [esp + 0x14], ecx
fld dword [edx]
inc ecx
cmp ecx, esi
jl 0x49df70
mov ebx, dword [esp + 0x14]
fstp st(0)
lea eax, [ebx + esi - 1]
cdq
idiv esi
lea eax, [ebx + esi + 1]
mov ecx, edx
cdq
idiv esi
mov eax, dword [edi + ebx*4]
mov ecx, dword [edi + ecx*4]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov edx, dword [edi + edx*4]
mov dword [esp + 0x20], edx
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x74]
lea eax, [edx + eax*4]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0xb4], ecx
push 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 1
call fcn.00421310
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*2]
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0xb4]
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x74]
lea ecx, [ecx + ecx*2]
shl ecx, 2
add edx, ecx
mov ebx, dword [edx]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
inc eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], edx
jne 0x49e067
test ecx, ecx
lea eax, [ecx + ecx]
jne 0x49e055
mov eax, 8
push eax
lea ecx, [esp + 0x2c]
call fcn.00421310
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea edx, [eax + eax*2]
lea edx, [ebp + edx*4]
mov dword [edx], ebx
mov ebx, dword [esp + 0x68]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [edx + 8], ebx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x74]
lea edx, [edx + edx*2]
shl edx, 2
mov dword [esp + 0x34], edx
add edx, ebx
mov ebx, dword [edx]
mov dword [esp + 0xa0], ebx
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xa8], edx
jne 0x49e0d7
test ecx, ecx
je 0x49e0c0
add ecx, ecx
jmp 0x49e0c5
mov ecx, 8
push ecx
lea ecx, [esp + 0x2c]
call fcn.00421310
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [eax + eax*2]
lea edx, [ebp + ecx*4]
mov ecx, dword [esp + 0xa0]
mov dword [edx], ecx
mov ecx, dword [esp + 0xa8]
inc eax
test eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov dword [esp + 0x2c], eax
jle 0x49e10c
lea ecx, [ebp + 8]
mov dword [ecx], 0
add ecx, 0xc
dec eax
jne 0x49e100
or eax, 0xffffffff
xor ebx, ebx
test esi, esi
mov dword [esp + 0x38], 0x49742400
mov dword [esp + 0x18], eax
jle 0x49e207
jmp 0x49e130
mov eax, dword [edi + ebx*4]
cmp eax, dword [esp + 0x24]
je 0x49e1fa
cmp eax, dword [esp + 0x1c]
je 0x49e1fa
cmp eax, dword [esp + 0x20]
je 0x49e1fa
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x74]
lea eax, [ecx + edx*4]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x50], edx
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x64], eax
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
push ecx
push 3
push ebp
mov dword [esp + 0x68], 0x447a0000
mov dword [esp + 0x78], 0xc47a0000
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
call fcn.004ab9d0
add esp, 0x18
test eax, eax
je 0x49e1fa
fld dword [esp + 0x48]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jp 0x49e1fa
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edx
inc ebx
cmp ebx, esi
jl 0x49e130
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x1c], 0xffffffff
jl 0x49e338
mov eax, dword [edi + eax*4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x49e29c
mov eax, dword [esp + 0xd0]
cmp esi, eax
jne 0x49e288
test eax, eax
je 0x49e23c
add eax, eax
jmp 0x49e241
mov eax, 8
lea edx, [eax*4]
push edx
mov ebx, edi
mov dword [esp + 0xd4], eax
call fcn.006fa7e6
add esp, 4
test esi, esi
mov edi, eax
mov dword [esp + 0xc8], edi
jle 0x49e27b
mov ecx, ebx
sub ecx, edi
mov edx, esi
lea ecx, [ecx]
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x49e270
test ebx, ebx
je 0x49e288
push ebx
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [edi + esi*4], eax
inc esi
mov dword [esp + 0xcc], esi
jmp 0x49e354
lea ecx, [eax + 1]
mov eax, dword [esp + 0xd0]
cmp esi, eax
mov dword [esp + 0x18], ecx
mov ebx, esi
jne 0x49e310
test eax, eax
je 0x49e2b8
add eax, eax
jmp 0x49e2bd
mov eax, 8
lea ecx, [eax*4]
mov ebp, edi
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0xd4], eax
call fcn.006fa7e6
add esp, 4
test esi, esi
mov edi, eax
mov dword [esp + 0xc8], edi
jle 0x49e2ff
mov ecx, ebp
sub ecx, edi
mov edx, esi
lea ecx, [ecx]
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x49e2f0
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x49e30c
push ebp
call fcn.006fa390
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov dword [edi + esi*4], eax
inc esi
cmp ebx, ecx
mov dword [esp + 0xcc], esi
jle 0x49e32f
mov edx, dword [edi + ebx*4 - 4]
mov dword [edi + ebx*4], edx
dec ebx
cmp ebx, ecx
jg 0x49e323
mov dword [edi + ecx*4], eax
mov dword [esp + 0x1c], eax
jmp 0x49e358
mov eax, dword [esp + 0x14]
dec esi
cmp eax, esi
mov dword [esp + 0xcc], esi
jge 0x49e354
mov ecx, dword [edi + eax*4 + 4]
mov dword [edi + eax*4], ecx
inc eax
cmp eax, esi
jl 0x49e348
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x74]
lea ecx, [eax + edx*4]
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ebx + 0xd4]
add ebx, 0xd0
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [esp + 0x74], edx
jne 0x49e39d
test eax, eax
je 0x49e390
add eax, eax
jmp 0x49e395
mov eax, 8
push eax
mov ecx, ebx
call fcn.00421310
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ebp, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
inc ebp
mov dword [ebx + 4], ebp
mov ecx, dword [eax + 0x74]
add ecx, edx
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [esp + 0x80], edx
jne 0x49e401
test eax, eax
je 0x49e3f4
add eax, eax
jmp 0x49e3f9
mov eax, 8
push eax
mov ecx, ebx
call fcn.00421310
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ebp, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc ebp
mov dword [ebx + 4], ebp
mov ecx, dword [eax + 0x74]
add ecx, edx
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [esp + 0x98], edx
jne 0x49e46b
test eax, eax
je 0x49e45e
add eax, eax
jmp 0x49e463
mov eax, 8
push eax
mov ecx, ebx
call fcn.00421310
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
inc ecx
test eax, eax
mov dword [ebx + 4], ecx
jl 0x49e5b8
xor eax, eax
test esi, esi
jle 0x49e5b8
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx]
cmp dword [edi + eax*4], ecx
je 0x49e4bf
inc eax
cmp eax, esi
jl 0x49e4b0
jmp 0x49e5b8
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
inc eax
mov byte [esp + 0xc0], 2
mov dword [esp + 0x20], eax
lea esp, [esp]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + eax*4]
mov eax, dword [esp + 0x44]
cmp ebp, eax
mov dword [esp + 0x34], ecx
jne 0x49e554
test eax, eax
je 0x49e4fb
add eax, eax
jmp 0x49e500
mov eax, 8
lea edx, [eax*4]
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], eax
call fcn.006fa7e6
add esp, 4
test ebp, ebp
mov ebx, eax
mov dword [esp + 0x3c], ebx
jle 0x49e543
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov dword [esp + 0x18], ebp
lea esp, [esp]
mov edx, dword [ecx + eax]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
add eax, 4
dec edx
mov dword [esp + 0x18], edx
jne 0x49e530
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49e554
push eax
call fcn.006fa390
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc ebp
mov dword [ebx + ebp*4 - 4], ecx
dec esi
cmp eax, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0xcc], esi
jge 0x49e57d
mov edx, dword [edi + eax*4 + 4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, esi
jl 0x49e571
cmp ecx, dword [esp + 0x1c]
jne 0x49e4e0
sub esp, 0xc
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0046d250
mov ecx, dword [esp + 0x1c]
call fcn.0049df10
test ebx, ebx
mov byte [esp + 0xc0], 1
je 0x49e5b8
push ebx
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0xc0], 0
je 0x49e5d1
push eax
call fcn.006fa390
add esp, 4
cmp esi, 2
jg 0x49df55
test edi, edi
mov dword [esp + 0xc0], 0xffffffff
je 0x49e5f2
push edi
call fcn.006fa390
add esp, 4
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret 0xc