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

Disassembly:
push 0xffffffffffffffff
push 0x5ed091
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18c]
mov ebp, ecx
mov ecx, dword [ebp + 0x3f8]
lea eax, [esp + 0x14]
push eax
mov dword [ebp + 0x3fc], esi
push ecx
mov ecx, dword [0x67d564]
mov dword [esp + 0x20], ebp
call fcn.004b9960
test eax, eax
je 0x49dd66
mov ecx, dword [esp + 0x14]
push esi
call fcn.004ba330
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x49dc87
mov edi, dword [0x67d560]
cmp dword [ebx + 0x14], esi
jne 0x49da19
mov ecx, dword [esp + 0x14]
call fcn.004b9e50
jmp 0x49da2f
cmp dword [ebx + 0x18], 0x10
jb 0x49da24
mov eax, dword [ebx + 4]
jmp 0x49da27
lea eax, [ebx + 4]
push eax
mov ecx, edi
call fcn.004f2170
push eax
push esi
mov ecx, ebp
call fcn.005400b0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], esi
mov byte [esp + 0x60], 0
mov dword [esp + 0x184], esi
mov esi, 1
push esi
lea edx, [esp + 0x7c]
push str._lod__.2d.gr2
push edx
call fcn.005a0bf4
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0049d690
lea ecx, [esp + 0x8c]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x1a4], 1
call fcn.00404290
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x190], 2
call fcn.004046b0
cmp dword [esp + 0x3c], 0x10
jb 0x49dab8
mov eax, dword [esp + 0x28]
push eax
call fcn.0059fc2a
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x184], 0
jb 0x49dae9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0059fc2a
add esp, 4
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x49daf8
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.004f1920
test al, al
je 0x49db33
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x49db13
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.004f2170
test eax, eax
je 0x49db33
push eax
push 0
mov ecx, ebp
call fcn.0053ff50
inc esi
cmp esi, 3
jbe 0x49da55
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x184], 0xffffffff
jb 0x49db52
mov edx, dword [esp + 0x60]
push edx
call fcn.0059fc2a
add esp, 4
push 0xffffffffffffffff
push 0
push 0
push 0
mov ecx, ebp
call fcn.0053dc90
mov esi, dword [ebx + 0x28]
cmp esi, dword [ebx + 0x2c]
jbe 0x49db6e
call fcn.005a01dd
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
mov ebp, esi
lea edi, [esi + 0x24]
lea ebx, [ebx]
mov esi, dword [ebx + 0x2c]
cmp dword [ebx + 0x28], esi
jbe 0x49db91
call fcn.005a01dd
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
test ecx, ecx
je 0x49db9c
cmp ecx, eax
je 0x49dba5
call fcn.005a01dd
mov ecx, dword [esp + 0x1c]
cmp ebp, esi
je 0x49dcd5
test ecx, ecx
jne 0x49dbcc
call fcn.005a01dd
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x49dbc2
call fcn.005a01dd
cmp dword [edi + 0x14], 0x10
jb 0x49dbd0
mov eax, dword [edi]
jmp 0x49dbd2
mov eax, dword [ecx]
jmp 0x49dbb8
mov eax, edi
mov ecx, dword [0x67d560]
push eax
call fcn.004f2170
mov esi, eax
test esi, esi
je 0x49dc5b
fldz
fld dword [esp + 0x190]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x49dc3c
cmp dword [edi - 8], 0x10
fstp dword [esp + 0x60]
mov edx, 1
mov byte [esp + 0x68], 0
jb 0x49dc11
mov ecx, dword [edi - 0x1c]
jmp 0x49dc14
lea ecx, [edi - 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0053ddf0
jmp 0x49dc5b
cmp dword [edi - 8], 0x10
fstp st(0)
jb 0x49dc49
mov eax, dword [edi - 0x1c]
jmp 0x49dc4c
lea eax, [edi - 0x1c]
mov ecx, dword [ebp]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0053e5d0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x49dc83
call fcn.005a01dd
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x49dc74
call fcn.005a01dd
mov ecx, dword [esp + 0x1c]
add ebp, 0x3c
add edi, 0x3c
jmp 0x49db80
mov eax, dword [eax]
jmp 0x49dc6a
mov ecx, dword [esp + 0x14]
call fcn.004b9c00
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x49dca7
call fcn.004b9ef0
push eax
mov ecx, ebp
call fcn.0049b0a0
jmp 0x49dcd9
call fcn.004b9e50
push eax
push esi
mov ecx, ebp
call fcn.005400b0
mov ecx, dword [esp + 0x14]
call fcn.004baec0
push eax
push esi
mov ecx, ebp
call fcn.0053ff50
push 0xffffffffffffffff
push esi
push esi
push esi
mov ecx, ebp
call fcn.0053dc90
jmp 0x49dcd9
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor esi, esi
call fcn.004b9b80
test eax, eax
jbe 0x49dd66
jmp 0x49dcf0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.004b9ba0
test eax, eax
je 0x49dd58
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
sub eax, 2
jne 0x49dd58
mov eax, dword [ecx + 0x2c]
add eax, 4
cmp dword [ecx + 4], 0
je 0x49dd3e
mov edx, 0x10
cmp dword [eax + 0x18], edx
jb 0x49dd29
mov eax, dword [eax + 4]
jmp 0x49dd2c
add eax, 4
cmp dword [ecx + 0x24], edx
jb 0x49dd38
mov ecx, dword [ecx + 0x10]
push eax
push ecx
jmp 0x49dd4f
add ecx, edx
push eax
push ecx
jmp 0x49dd4f
cmp dword [eax + 0x18], 0x10
jb 0x49dd49
mov eax, dword [eax + 4]
jmp 0x49dd4c
add eax, 4
push eax
push 0
push 0
mov ecx, ebp
call fcn.004a6ce0
mov ecx, dword [esp + 0x14]
inc esi
call fcn.004b9b80
cmp esi, eax
jb 0x49dcf0
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.005a09eb
add esp, 0x174
ret 8