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

Disassembly:
sub esp, 0xa8
or eax, 0xffffffff
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [esp + 0xdc]
push edi
test cl, cl
jne 0x49ce02
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x49ce1f
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xa8
ret 0x38
mov ebp, dword [esp + 0xc4]
mov ecx, esi
push ebp
call fcn.0049b6d0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push eax
push ecx
mov ecx, esi
call fcn.0049b710
test al, al
jne 0x49ce5b
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xa8
ret 0x38
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
push edx
push eax
mov ecx, esi
call fcn.0049b710
test al, al
jne 0x49ce88
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xa8
ret 0x38
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xd0]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xcc]
test ebx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x49cef2
mov edx, dword [0x6833d0]
push ebx
mov ecx, dword [edx + 0x424]
call fcn.00603f70
test eax, eax
mov dword [esp + 0x4c], eax
je 0x49cefa
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0
push ecx
push edx
mov ecx, eax
call fcn.00539330
fld st(0)
fmulp st(1)
jmp 0x49cf18
mov dword [esp + 0x4c], 0
fld dword [esp + 0x2c]
fsub dword [esp + 0x10]
fld dword [esp + 0x30]
fsub dword [esp + 0x14]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0xc4]
fadd dword [esp + 0xd4]
fst dword [esp + 0x70]
fld st(0)
fmul st(1)
fxch st(1)
fxch st(2)
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x49cf4c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret 0x38
push pe_nt_image_headers32
mov ecx, esi
call fcn.0049b630
fld dword [esp + 0xc4]
fcomp dword [0x634594]
fnstsw ax
test ah, 0x41
jne 0x49cf81
fld dword [0x63bea8]
fmul dword [esp + 0xc4]
push ecx
fstp dword [esp]
push 1
jmp 0x49cf85
push 0
push 0
mov ecx, dword [esi]
call fcn.004a2a00
mov ecx, dword [esi]
call fcn.004a2450
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x94]
mov dl, byte [esi + 0x88]
push eax
push ecx
mov ecx, dword [esi]
push edx
call fcn.004a2980
mov edi, dword [esp + 0xf0]
test edi, edi
je 0x49cfbf
cmp edi, 1
jne 0x49d039
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0xe0]
push edx
push eax
push ebp
push ebx
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
mov ecx, esi
call fcn.0049ca30
test al, al
je 0x49d022
mov ecx, dword [esi]
call fcn.004a2450
mov ecx, dword [esi]
push 0
push 0
call fcn.004a2a00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa8
ret 0x38
cmp edi, 1
jne 0x49d039
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xa8
ret 0x38
mov al, byte [esp + 0xe0]
xor ebp, ebp
test al, al
mov dword [esp + 0x58], ebp
mov dword [esp + 0x20], ebp
mov ebx, 2
je 0x49d060
cmp dword [esi + 0xb0], 0xffffffff
jne 0x49d15f
fld dword [esp + 0x2c]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x49d084
fld dword [esp + 0x2c]
call fcn.0061318c
fld dword [esp + 0x10]
mov dword [esi + 0xb0], eax
jmp 0x49d097
fld dword [esp + 0x10]
call fcn.0061318c
fld dword [esp + 0x2c]
mov dword [esi + 0xb0], eax
call fcn.0061318c
fld dword [esp + 0x30]
fcomp dword [esp + 0x14]
mov dword [esi + 0xb8], eax
fnstsw ax
test ah, 1
je 0x49d0c6
fld dword [esp + 0x30]
call fcn.0061318c
fld dword [esp + 0x14]
mov dword [esi + 0xb4], eax
jmp 0x49d0d9
fld dword [esp + 0x14]
call fcn.0061318c
fld dword [esp + 0x30]
mov dword [esi + 0xb4], eax
call fcn.0061318c
mov edi, dword [esi + 0xb0]
mov edx, 0xfffffffe
mov ecx, dword [esi + 0xb8]
add edi, edx
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb0], edi
mov eax, edi
mov edi, dword [esi + 0xb4]
add edi, edx
mov edx, dword [esi + 0xbc]
add ecx, ebx
add edx, ebx
cmp eax, ebp
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xbc], edx
mov ebx, edx
jge 0x49d12f
mov dword [esi + 0xb0], ebp
mov edx, dword [esi]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x49d13f
dec eax
mov dword [esi + 0xb8], eax
cmp edi, ebp
jge 0x49d149
mov dword [esi + 0xb4], ebp
mov eax, dword [edx + 0xc]
cmp ebx, eax
jl 0x49d157
dec eax
mov dword [esi + 0xbc], eax
mov byte [esp + 0xe0], 0
cmp dword [esp + 0x4c], ebp
jne 0x49d1d2
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push ecx
mov ecx, dword [esi + 0xa8]
push edx
mov edx, dword [esi + 0xac]
push eax
mov eax, dword [esp + 0x20]
lea edi, [esi + 0xa4]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
push 0x20
push ebp
push ebp
push eax
push ecx
mov ecx, dword [esi]
call fcn.004a3670
mov edi, dword [edi]
xor eax, eax
cmp edi, ebp
jle 0x49d1d2
mov edx, dword [esi + 0xac]
mov ecx, edx
mov ebx, dword [ecx]
cmp dword [ebx + 8], ebp
jne 0x49d1c8
inc eax
add ecx, 4
cmp eax, edi
jl 0x49d1b7
jmp 0x49d1d2
mov edx, dword [edx + eax*4]
mov eax, dword [edx + 8]
mov dword [esp + 0x4c], eax
push ebp
mov ecx, esi
call fcn.0049b080
fld dword [esp + 0x2c]
fsub dword [esp + 0x10]
fld dword [esp + 0x30]
fsub dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x1b], 0
mov dword [esp + 0x44], 0xffffffff
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
faddp st(1)
fsqrt
fstp dword [esp + 0x54]
fstp st(0)
fstp st(0)
mov eax, dword [esi + 0x10]
mov ebp, dword [esp + 0xc4]
cmp ebx, eax
jge 0x49dc9d
mov edi, dword [esp + 0x20]
cmp edi, 1
jg 0x49dc9d
push 0
mov ecx, esi
call fcn.0049b2a0
mov al, byte [esp + 0xe0]
test al, al
jne 0x49d27c
test edi, edi
jne 0x49d27c
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0xdc]
push edx
push eax
push ebp
push ecx
mov ecx, esi
call fcn.0049b780
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push edx
push eax
push 0
push 1
push 0
mov ecx, esi
call fcn.0049c400
test eax, eax
mov dword [esp + 0x68], eax
je 0x49dbf8
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x49d2d1
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [eax + edi*4]
push edx
call fcn.00499de0
test al, al
jne 0x49d2d4
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x49d2b0
or edi, 0xffffffff
mov eax, dword [esi + 4]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x38], edi
jle 0x49d306
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [eax + ebx*4]
push edx
call fcn.00499de0
test al, al
jne 0x49d5fa
mov eax, dword [esi + 4]
inc ebx
cmp ebx, eax
jl 0x49d2e1
mov dword [esp + 0x3c], 0xffffffff
test edi, edi
mov byte [esp + 0x19], 0
mov byte [esp + 0x27], 1
jl 0x49d529
cmp edi, dword [esp + 0x3c]
jne 0x49d3ba
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x27]
mov ebx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0xec]
push edx
lea edx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0xe4]
push 1
push 0
mov dword [eax + 0xc], 0
push eax
mov eax, dword [esp + 0x100]
push eax
push 0
push 0x40
push ecx
push edx
mov edx, dword [esi + 0xc]
push ebp
lea eax, [esp + 0x44]
push ebx
push eax
mov eax, dword [edx + edi*4]
lea ecx, [esp + 0x68]
push ecx
push eax
mov ecx, esi
call fcn.0049df70
test eax, eax
je 0x49dc1c
cmp eax, 3
je 0x49dc57
mov cl, byte [esp + 0x27]
test cl, cl
je 0x49dc57
cmp eax, 1
jne 0x49d3ba
mov byte [esp + 0x19], al
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.0049e690
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x5f]
push ecx
push edx
mov edx, dword [esi + 0xc0]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0xe8]
push 4
push ebx
push edx
mov edx, dword [esp + 0xf0]
push eax
push 1
push 0x40
push ecx
mov ecx, dword [esi + 0xc]
push edx
push ebp
push ebx
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x64]
push ebx
push eax
push edx
mov ecx, esi
call fcn.0049df70
cmp dword [esp + 0x28], 1
jl 0x49dc7b
mov eax, dword [esp + 0x68]
mov ecx, esi
push eax
push ebx
call fcn.0049c8b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jle 0x49d529
mov ecx, dword [esi + 0xc0]
mov ecx, dword [ebx + ecx + 0xc]
cmp ecx, 2
jl 0x49d50a
mov eax, dword [esp + 0x68]
mov ebp, 1
dec ecx
cmp ecx, ebp
mov dword [esp + 0x40], ecx
jle 0x49d4bf
mov edi, 0xc
mov edx, dword [esi + 0xc0]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebx + edx + 0x14]
mov edx, dword [ebx + edx + 0x14]
fld dword [edx + edi]
mov edx, dword [esp + 0x44]
fstp dword [esp + 0x6c]
mov ecx, dword [ecx]
push edx
lea edx, [esp + 0x70]
fld dword [ecx + edi + 8]
lea ecx, [esp + 0x20]
fstp dword [esp + 0x74]
push ecx
push edx
push eax
push 0
push 0
mov ecx, esi
call fcn.0049c400
test eax, eax
je 0x49d50a
mov ecx, dword [esp + 0x40]
inc ebp
add edi, 0xc
cmp ebp, ecx
jl 0x49d46f
test eax, eax
je 0x49d50a
mov ecx, dword [esi + 0xc0]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edi, dword [ebx + ecx + 0x14]
lea edx, [ebx + ecx + 0x14]
lea ecx, [ebp + ebp*2]
shl ecx, 2
fld dword [ecx + edi]
fstp dword [esp + 0x6c]
mov edx, dword [edx]
fld dword [ecx + edx + 8]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1c]
fstp dword [esp + 0x70]
push ecx
lea ecx, [esp + 0x70]
push edx
push ecx
push eax
push 1
push 0
mov ecx, esi
call fcn.0049c400
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
inc eax
add ebx, 0x34
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x49d445
mov ebp, dword [esp + 0xc4]
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x1a], 0
test edi, edi
jl 0x49d757
mov ecx, esi
call fcn.0049e6b0
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + edi*4]
call fcn.0049a0b0
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0x5e]
mov dword [esp + 0x50], 0
push eax
push ecx
lea eax, [esp + 0x58]
push edx
mov edx, dword [esi + 0xc4]
push eax
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0x84]
push 4
push ecx
mov ecx, dword [esp + 0xf0]
push edx
mov edx, dword [esp + 0xf0]
push eax
push 0
push 0x40
push ecx
mov ecx, dword [esi + 0xc]
push edx
push ebp
mov edx, dword [ecx + edi*4]
push 0
lea eax, [esp + 0x48]
push 0
push eax
push edx
mov ecx, esi
call fcn.0049df70
cmp eax, 5
jne 0x49d5bd
mov byte [esp + 0x1a], 1
mov ebx, dword [esp + 0x50]
xor eax, eax
test ebx, ebx
jle 0x49d5d8
lea ecx, [esp + 0x9c]
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, ebx
jl 0x49d5ce
xor ecx, ecx
test ebx, ebx
jle 0x49d6e1
mov eax, dword [esi + 0xc]
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x40], edx
add eax, 0x14
mov ebp, dword [edx + 4]
jmp 0x49d607
mov dword [esp + 0x3c], ebx
jmp 0x49d30e
mov edx, dword [esp + 0x40]
mov edi, dword [esp + ecx*4 + 0x74]
test edi, edi
jne 0x49d611
mov edi, dword [edx]
mov edx, dword [eax - 8]
mov ebx, dword [eax]
dec edi
inc ecx
lea edx, [edx + edx*2]
add eax, 0x34
fld dword [ebx + edx*4 - 0xc]
fsub dword [ebp + edi*8]
fld dword [ebx + edx*4 - 4]
lea edx, [ebx + edx*4 - 0xc]
mov ebx, dword [esp + 0x50]
fsub dword [ebp + edi*8 + 4]
cmp ecx, ebx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + ecx*4 + 0x80]
fstp st(0)
fstp st(0)
jl 0x49d603
test ebx, ebx
jle 0x49d6e1
mov ecx, 1
xor edx, edx
mov dword [esp + 0x34], ecx
cmp ecx, ebx
jge 0x49d6d2
mov edi, dword [esp + edx + 0x74]
mov ebp, dword [esp + ecx*4 + 0x74]
cmp edi, ebp
jg 0x49d689
jne 0x49d6c9
fld dword [esp + edx + 0x84]
fcomp dword [esp + ecx*4 + 0x84]
fnstsw ax
test ah, 0x41
jne 0x49d6c9
mov eax, dword [esp + ecx*4 + 0x84]
mov dword [esp + edx + 0x74], ebp
fld dword [esp + edx + 0x84]
mov dword [esp + ecx*4 + 0x74], edi
mov edi, dword [esp + ecx*4 + 0x9c]
mov dword [esp + edx + 0x84], eax
mov eax, dword [esp + edx + 0x9c]
fstp dword [esp + ecx*4 + 0x84]
mov dword [esp + edx + 0x9c], edi
mov dword [esp + ecx*4 + 0x9c], eax
inc ecx
cmp ecx, ebx
jl 0x49d666
mov ecx, dword [esp + 0x34]
inc ecx
add edx, 4
mov dword [esp + 0x34], ecx
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x49d662
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x49d757
mov eax, dword [esp + edi*4 + 0x9c]
push eax
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov ecx, dword [esi + 0xc4]
mov eax, ebp
lea edx, [ecx + edx*4]
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 0x14]
dec ecx
lea ecx, [ecx + ecx*2]
shl ecx, 2
fld dword [ebx + ecx]
fstp dword [esp + 0x98]
mov edx, dword [edx + 0x14]
fld dword [edx + ecx + 8]
mov ecx, dword [esp + edi*4 + 0x78]
mov edx, dword [esi + 0xc]
fstp dword [esp + 0x9c]
add eax, ecx
lea ecx, [esp + 0x98]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [edx + eax*4]
call fcn.0049a040
mov eax, dword [esp + edi*4 + 0x74]
test eax, eax
je 0x49d74e
inc ebp
mov eax, dword [esp + 0x50]
inc edi
cmp edi, eax
jl 0x49d6e9
mov ebx, dword [esp + 0x58]
mov eax, dword [esi + 0x10]
cmp ebx, eax
jge 0x49d21d
mov edi, dword [esi + 0x20]
inc ebx
test edi, edi
mov dword [esp + 0x58], ebx
je 0x49dc9d
mov ebp, edi
fld dword [ebp]
fcomp dword [esp + 0xc4]
fnstsw ax
test ah, 1
jne 0x49d7cd
mov ecx, dword [esi]
fild dword [ecx + 8]
fsub dword [esp + 0xc4]
fcomp dword [ebp]
fnstsw ax
test ah, 1
jne 0x49d7cd
fld dword [ebp + 4]
fcomp dword [esp + 0xc4]
fnstsw ax
test ah, 1
jne 0x49d7cd
fild dword [ecx + 0xc]
fsub dword [esp + 0xc4]
fcomp dword [ebp + 4]
fnstsw ax
test ah, 1
jne 0x49d7cd
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x49d778
jmp 0x49d7df
push edi
push 0
mov ecx, esi
call fcn.0049c8b0
test ebp, ebp
jne 0x49d757
fild dword [esi + 0xb0]
fadd dword [esp + 0xc4]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
je 0x49db5a
mov ecx, dword [esi + 0xb8]
inc ecx
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fsub dword [esp + 0xc4]
fcomp dword [edi]
fnstsw ax
test ah, 1
jne 0x49db5a
fild dword [esi + 0xb4]
fadd dword [esp + 0xc4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x41
je 0x49db5a
mov edx, dword [esi + 0xbc]
inc edx
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fsub dword [esp + 0xc4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 1
jne 0x49db5a
push edi
push 0
mov ecx, esi
call fcn.0049c8b0
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x49d8a2
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 0
push eax
push ecx
mov ecx, ebx
call fcn.00539330
fsub dword [esp + 0xc4]
fld dword [0x63be70]
fadd dword [esp + 0xd4]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x49dbda
jmp 0x49d8da
fld dword [edi]
fsub dword [esp + 0x10]
fld dword [edi + 4]
fsub dword [esp + 0x14]
fld dword [esp + 0x70]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(1)
fmul st(2)
fadd dword [0x63be70]
fcompp
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
je 0x49dbf1
fld dword [edi + 0x14]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x49d8f3
mov edx, dword [edi + 0x14]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], 0xffffffff
mov edx, dword [edi + 0x20]
test edx, edx
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x48]
setge bl
push eax
lea edx, [esp + 0xb4]
push ecx
lea eax, [esp + 0x18]
test bl, bl
push edx
push eax
sete cl
push edi
push ecx
mov ecx, esi
call fcn.0049c970
test al, al
jne 0x49d9b2
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi]
push ecx
mov ecx, dword [esi]
push edx
push eax
call fcn.004a2610
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edi + 4]
push 0x40
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, dword [esi]
call fcn.004a2a20
test al, al
je 0x49dbb3
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jl 0x49d9b2
cmp ebp, dword [edi + 0x1c]
jne 0x49d9b2
test bl, bl
je 0x49d9b2
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x20]
push edx
mov ecx, dword [eax + ebp*4]
call fcn.0049a0d0
test eax, eax
jge 0x49db9c
mov eax, dword [esp + 0x48]
test eax, eax
jl 0x49d757
cmp eax, dword [edi + 0x1c]
jne 0x49d9ce
mov ecx, dword [edi + 0x20]
test ecx, ecx
jge 0x49d757
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0xc0]
push ecx
push edx
push edi
push 0
push 0
mov ecx, esi
call fcn.0049c400
mov ebx, eax
fld dword [ebx + 0x14]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x49da09
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x54], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + ecx*4]
mov edi, dword [eax]
mov eax, edi
mov dword [esp + 0x38], edi
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
lea ebp, [edx - 1]
test ebp, ebp
jge 0x49da2e
lea ebp, [edi - 1]
test eax, eax
mov edi, edx
mov dword [esp + 0x28], ebx
jle 0x49daca
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49da78
mov eax, dword [esi + 0xc]
push 0
push 0xffffffffffffffff
push ebp
push ecx
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ebp*8]
push eax
push ecx
push 1
push 0
mov ecx, esi
call fcn.0049c400
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x49daa6
mov eax, dword [esi + 0xc]
push 0
push 0xffffffffffffffff
push edi
push ecx
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
mov ecx, esi
lea eax, [edx + edi*8]
push eax
push ebx
push 1
push 0
call fcn.0049c400
mov ecx, dword [esp + 0x48]
mov ebx, eax
dec ebp
jns 0x49dab0
mov edx, dword [esp + 0x38]
lea ebp, [edx - 1]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x49dabb
xor edi, edi
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x49da40
mov eax, dword [esp + 0x38]
and eax, reloc.DPLAYX.dll_Ordinal_1
jns 0x49dada
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x49d757
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49db29
test ebx, ebx
je 0x49dafc
fld dword [eax + 0x18]
fcomp dword [ebx + 0x18]
fnstsw ax
test ah, 1
je 0x49db29
mov eax, dword [esi + 0xc]
push 0
push 0xffffffffffffffff
push ebp
push ecx
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ebp*8]
push eax
push ecx
push 1
push 0
mov ecx, esi
call fcn.0049c400
jmp 0x49d757
test ebx, ebx
je 0x49d757
mov eax, dword [esi + 0xc]
push 0
push 0xffffffffffffffff
push edi
push ecx
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
mov ecx, esi
lea eax, [edx + edi*8]
push eax
push ebx
push 1
push 0
call fcn.0049c400
jmp 0x49d757
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xe0]
push eax
push ecx
push edx
push 2
mov ecx, esi
call fcn.0049bba0
test al, al
je 0x49dc9d
inc dword [esp + 0x20]
jmp 0x49d21d
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x20]
push eax
mov ecx, dword [ecx + ebp*4]
call fcn.0049a0d0
test eax, eax
mov dword [esp + 0x44], eax
jge 0x49dbd3
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push edx
push eax
push edi
push 0
push 0
mov ecx, esi
call fcn.0049c400
mov edi, eax
mov bl, 1
jmp 0x49dca5
test ebx, ebx
je 0x49dca1
mov eax, dword [esp + 0xd0]
test eax, eax
jl 0x49dca1
mov bl, 1
jmp 0x49dca5
mov ecx, dword [esi]
call fcn.004a2450
mov ecx, dword [esi]
push 0
push 0
call fcn.004a2a00
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xa8
ret 0x38
mov ecx, dword [esi]
call fcn.004a2450
mov ecx, dword [esi]
push 0
push 0
call fcn.004a2a00
test ebx, ebx
je 0x49d010
mov eax, dword [esp + 0xd0]
test eax, eax
jg 0x49d010
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xa8
ret 0x38
mov ecx, dword [esi]
call fcn.004a2450
mov ecx, dword [esi]
push 0
push 0
call fcn.004a2a00
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xa8
ret 0x38
mov ecx, dword [esi]
call fcn.004a2450
mov ecx, dword [esi]
push ebx
push ebx
call fcn.004a2a00
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xa8
ret 0x38
mov edi, dword [esp + 0x1c]
mov bl, byte [esp + 0x1b]
test edi, edi
mov dword [esp + 0x1c], 3
jne 0x49dcbd
mov al, byte [esp + 0x19]
test al, al
je 0x49df46
test bl, bl
jne 0x49dd30
mov al, byte [esp + 0x19]
test al, al
je 0x49dd30
mov ebp, dword [esp + 0xdc]
test edi, edi
je 0x49de7a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
lea ecx, [eax + eax*2]
fld dword [edx + ecx*4 - 0xc]
fsub dword [esp + 0x10]
fld dword [edx + ecx*4 - 4]
lea eax, [edx + ecx*4]
fsub dword [esp + 0x14]
fld st(1)
fmulp st(2)
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
fld dword [edi]
fsub dword [esp + 0x10]
fld dword [edi + 4]
fsub dword [esp + 0x14]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fxch st(1)
fxch st(3)
fcompp
fxch st(1)
fstp st(0)
fstp st(0)
fnstsw ax
test ah, 0x41
jne 0x49de7a
jmp 0x49dd37
mov ebp, dword [esp + 0xdc]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0xdc]
push ecx
push edx
push eax
push edi
push ebp
mov ecx, esi
mov dword [ebp + 0xc], 0
call fcn.0049e5d0
test bl, bl
je 0x49de7a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], 1
test eax, eax
jl 0x49df46
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esi + 0xc4]
lea ebx, [eax + edx*4]
mov eax, dword [eax + edx*4 + 0xc]
sub eax, 2
js 0x49ddc3
lea edi, [eax + eax*2]
shl edi, 2
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x14]
mov ecx, edi
add ecx, eax
push ecx
mov ecx, ebp
call fcn.004ad6f0
mov eax, dword [esp + 0x44]
sub edi, 0xc
dec eax
mov dword [esp + 0x44], eax
jne 0x49dda6
mov al, byte [esp + 0x1a]
test al, al
je 0x49df46
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
dec edi
mov ecx, dword [esp + 0xd8]
push ecx
lea ebx, [edi + edi*2]
shl ebx, 2
mov ecx, dword [ebx + edx - 0xc]
lea eax, [ebx + edx]
mov edx, dword [ebx + edx - 4]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi]
push edx
push eax
call fcn.004a2610
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0xec]
add ebx, ecx
mov ecx, dword [esp + 0xe8]
push edx
mov edx, dword [esp + 0xe8]
push ecx
mov ecx, dword [esi + 0xa8]
push edx
mov edx, dword [esi + 0xac]
lea eax, [esi + 0xa4]
push ecx
mov ecx, dword [ebx - 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx - 4]
push 0x40
push eax
mov eax, dword [ebx]
push ecx
mov ecx, dword [esi]
push edx
push eax
call fcn.004a3670
mov eax, dword [esi + 0xa4]
cmp eax, 1
jg 0x49de72
jne 0x49df46
mov ecx, dword [esi + 0xac]
mov eax, dword [esp + 0xd0]
mov edx, dword [ecx]
cmp dword [edx + 0x18], eax
je 0x49df46
push edi
mov ecx, ebp
call fcn.004ad760
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
dec eax
mov dword [esp + 0x1c], 2
lea ecx, [eax + eax*2]
fld dword [edx + ecx*4]
fsub dword [esp + 0x2c]
lea ecx, [edx + ecx*4]
mov edx, Ordinal_2
fstp dword [esp + 0x20]
and dword [esp + 0x20], edx
fld dword [esp + 0x20]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x49dee3
fld dword [ecx + 8]
fsub dword [esp + 0x30]
fstp dword [esp + 0x20]
and dword [esp + 0x20], edx
fld dword [esp + 0x20]
fcomp dword [0x6364d4]
fnstsw ax
test ah, 1
je 0x49dee3
mov dword [ebp + 0xc], 0
mov dword [esp + 0x1c], 3
fld dword [ecx]
fsub dword [esp + 0x10]
fld dword [ecx + 8]
fsub dword [esp + 0x14]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0xbc]
fsub dword [esp + 0xc8]
fld dword [esp + 0xc0]
fsub dword [esp + 0xcc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fxch st(1)
fxch st(3)
fcompp
fxch st(1)
fstp st(0)
fstp st(0)
fnstsw ax
test ah, 1
jne 0x49df46
mov dword [ebp + 0xc], 0
mov dword [esp + 0x1c], 3
mov ecx, dword [esi]
call fcn.004a2450
mov ecx, dword [esi]
push 0
push 0
call fcn.004a2a00
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x38