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

Disassembly:
push 0xffffffffffffffff
push 0x4edeb1
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb0]
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp edx, dword [edi + 0x3c]
jne 0x49a7c2
mov ecx, dword [edi + 0x54]
cmp ecx, esi
je 0x49a7c2
mov eax, dword [edi + 0x4c]
cmp eax, 0x20
jne 0x49a73d
mov edx, dword [edi + 0x50]
add ecx, 0xfffffff9
add edx, 4
push edi
mov esi, ebx
call fcn.00408160
jmp 0x49aa37
cmp eax, 0x10
jne 0x49a758
mov edx, dword [edi + 0x50]
add ecx, 0xfffffffc
add edx, 2
push edi
mov esi, ebx
call fcn.00408160
jmp 0x49aa37
cmp eax, 8
jne 0x49a773
mov edx, dword [edi + 0x50]
add ecx, 0xfffffff4
add edx, 9
push edi
mov esi, ebx
call fcn.00408160
jmp 0x49aa37
cmp eax, 2
jne 0x49a7a5
cmp dword [edi + 0x18], 8
jb 0x49a783
mov edx, dword [edi + 4]
jmp 0x49a786
lea edx, [edi + 4]
push ecx
push ecx
mov ecx, dword [edi + 0x50]
lea edx, [edx + ecx*2]
mov eax, esp
mov ecx, ebx
mov dword [esp + 0x1c], esp
mov dword [eax], edx
call fcn.004981d0
add esp, 8
jmp 0x49aa37
mov edx, dword [edi + 0x50]
push edi
mov esi, ebx
cmp eax, 0x80
jne 0x49a733
add ecx, 0xfffffffd
add edx, 2
call fcn.00408160
jmp 0x49aa37
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], esi
mov word [esp + 0x58], ax
mov eax, edx
sar eax, 0x10
mov dword [esp + 0xa8], esi
mov ecx, dword [edi + 0x60]
add eax, eax
add eax, eax
mov ecx, dword [eax + ecx]
and edx, 0xffff
shl edx, 5
add ecx, edx
cmp dword [ecx + 0x14], esi
jne 0x49aa00
mov esi, dword [ecx + 8]
and esi, 0x3fffff
cmp esi, dword [ecx + 4]
je 0x49aa00
mov ecx, dword [edi + 0x60]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx + 8]
mov ebp, dword [eax + edx + 4]
add eax, edx
mov edx, ecx
shr edx, 0x16
and esi, 0x3fffff
add esi, dword [eax]
sub ebp, edx
and ecx, 0x3fffff
sub ebp, ecx
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
jb 0x49a84b
mov eax, dword [eax]
lea eax, [eax + esi*2]
push 0x3c
push eax
mov dword [esp + 0x20], eax
call fcn.004c950c
xor edx, edx
add esp, 8
cmp eax, edx
je 0x49a9a3
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, ebp
jge 0x49a9a3
cmp dword [edi + 0x18], 8
jb 0x49a883
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
jmp 0x49a887
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x58]
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], edx
mov word [esp + 0x84], cx
add ebp, esi
cmp esi, ebp
mov bl, 1
mov byte [esp + 0xa8], bl
jge 0x49a98c
lea ecx, [esp + 0x70]
lea edx, [esp + 0x38]
call fcn.00499be0
mov eax, dword [esp + 0x70]
cmp eax, 2
jne 0x49a93f
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
push edx
push ecx
lea eax, [eax + ecx*2]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], esp
call fcn.004981d0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0xb4], 2
call fcn.00408f90
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x34], 8
jb 0x49a982
mov edx, dword [esp + 0x20]
push edx
call fcn.004c8f17
add esp, 4
jmp 0x49a982
cmp eax, 8
jne 0x49a982
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
add ecx, 0xfffffff4
add edx, 9
push edi
lea esi, [esp + 0x20]
call fcn.00408160
push 0xffffffffffffffff
push 0
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0xb4], 3
call fcn.00408f90
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], bl
call fcn.004016f0
cmp dword [esp + 0x40], ebp
jl 0x49a8d1
lea ecx, [esp + 0x70]
mov byte [esp + 0xa8], 0
call fcn.0042bd40
mov ebx, dword [esp + 0x14]
jmp 0x49aa00
cmp dword [edi + 0x18], 8
jb 0x49a9b1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
jmp 0x49a9b5
mov ecx, dword [esp + 0x10]
push ebp
push ecx
lea ecx, [ecx + esi*2]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esp
call fcn.004981d0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x60]
mov byte [esp + 0xb4], 4
call fcn.00401850
mov byte [esp + 0xa8], 0
cmp dword [esp + 0x34], 8
jb 0x49aa00
mov edx, dword [esp + 0x20]
push edx
call fcn.004c8f17
add esp, 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
lea ecx, [esp + 0x5c]
mov word [ebx + 4], ax
push ecx
mov eax, ebx
call fcn.00401850
cmp dword [esp + 0x6c], 8
jb 0x49aa37
mov edx, dword [esp + 0x58]
push edx
call fcn.004c8f17
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004c8f08
add esp, 0x9c
ret 4