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

Disassembly:
push 0xffffffffffffffff
push 0x551b2c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, 1
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x49ab99
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
jmp 0x49ae8f
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x14]
test ecx, 0xfffffffc
jne 0x49abca
mov esi, dword [esp + 0x58]
mov ecx, eax
add eax, 4
mov dword [esi], ebx
mov byte [esp + 0x4c], bl
dec dword [eax]
cmp dword [eax], ebx
mov dword [esp + 0x14], edi
jg 0x49ae8d
push edi
jmp 0x49ae87
push 0x20
call fcn.004efbd8
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4c], 2
cmp eax, ebx
je 0x49abeb
push eax
call fcn.004351d0
mov ebp, eax
jmp 0x49abed
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp ebp, ebx
je 0x49abf8
add dword [ebp + 4], edi
mov byte [esp + 0x4c], 3
mov ebx, dword [esp + 0x5c]
lea eax, [ebp + 8]
add ebx, 8
call fcn.004429d0
lea ecx, [esp + 0x28]
push ecx
call fcn.00448460
mov byte [esp + 0x4c], 4
mov esi, dword [esp + 0x54]
add esi, 0x78
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], esi
call fcn.004a1f80
mov edi, esi
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 0x18]
sub edx, dword [esi + 0x14]
add esi, 8
sar edx, 2
dec edx
xor ebx, ebx
test edx, edx
jle 0x49ad0a
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebx, eax
jb 0x49ac62
call fcn.005177ee
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
mov esi, dword [ecx + ebx*4]
sar edx, 2
cmp esi, edx
jb 0x49ac7a
call fcn.005177ee
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
mov ecx, dword [esp + 0x54]
push eax
call fcn.004fbf1a
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov edi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x49aca7
xor edx, edx
jmp 0x49acb0
mov edx, dword [esp + 0x3c]
sub edx, eax
sar edx, 2
mov ecx, dword [esp + 0x38]
mov esi, ecx
sub esi, eax
sar esi, 2
cmp esi, edx
jae 0x49accc
mov eax, ecx
add eax, 4
mov dword [ecx], edi
mov dword [esp + 0x38], eax
jmp 0x49acf0
mov esi, ecx
cmp eax, ecx
jbe 0x49acd7
call fcn.005177ee
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
call fcn.004a2710
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
add esi, 8
sar eax, 2
inc ebx
dec eax
cmp ebx, eax
jl 0x49ac50
lea ebx, [ebp + 8]
mov eax, ebx
call fcn.00442ac0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [eax]
sar ecx, 2
cmp esi, ecx
jb 0x49ad28
call fcn.005177ee
mov edx, dword [edi + 0xc]
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0x54]
push eax
call fcn.004fbf1a
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
xor edi, edi
push edi
call edx
cmp eax, edi
je 0x49adb4
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
je 0x49adb4
mov dword [esp + 0x54], edi
lea ebx, [esp + 0x54]
lea edi, [ebp + 8]
call fcn.00442b30
lea eax, [esp + 0x18]
lea esi, [esp + 0x5c]
call fcn.00403400
mov edi, dword [esp + 0x58]
mov dword [edi], ebp
mov ebx, 1
test ebp, ebp
je 0x49ad85
add dword [ebp + 4], ebx
lea esi, [esp + 0x28]
mov dword [esp + 0x14], ebx
call fcn.00443720
lea esi, [esp + 0x18]
mov byte [esp + 0x4c], bl
call fcn.00404170
lea esi, [esp + 0x5c]
mov byte [esp + 0x4c], 0
call fcn.00404170
mov eax, edi
jmp 0x49ae8f
mov esi, dword [ebx + 0x10]
sub esi, dword [ebx + 0xc]
sar esi, 2
sub esi, 1
js 0x49ae15
mov eax, ebx
call fcn.00442ac0
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x34]
mov edi, dword [eax]
sar edx, 2
cmp esi, edx
jb 0x49addf
call fcn.005177ee
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
sar ecx, 2
dec ecx
cmp edi, ecx
jl 0x49aea5
mov eax, dword [ebx + 0x10]
mov edx, eax
sub edx, dword [ebx + 0xc]
test edx, 0xfffffffc
je 0x49ae0e
add eax, 0xfffffffc
mov dword [ebx + 0x10], eax
sub esi, 1
jns 0x49adc2
xor edi, edi
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
mov dword [esi], edi
mov dword [esp + 0x14], 1
cmp eax, edi
je 0x49ae34
push eax
call fcn.004efc12
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.004efc12
add esp, 4
or ebx, 0xffffffff
mov byte [esp + 0x4c], 1
cmp ebp, edi
je 0x49ae6c
add dword [ebp + 4], ebx
cmp dword [ebp + 4], edi
jg 0x49ae6c
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x49ae8d
add dword [eax + 4], ebx
mov ecx, eax
add eax, 4
cmp dword [eax], edi
jg 0x49ae8d
push 1
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
mov eax, ebx
call fcn.00442ac0
mov edx, 1
add dword [eax], edx
mov ecx, dword [esp + 0x5c]
or ebx, 0xffffffff
xor esi, esi
cmp ecx, ebp
je 0x49aee3
mov dword [esp + 0x5c], ebp
cmp ebp, esi
je 0x49aecb
add dword [ebp + 4], edx
cmp ecx, esi
je 0x49aee3
add dword [ecx + 4], ebx
cmp dword [ecx + 4], esi
jg 0x49aee3
mov eax, dword [ecx]
push edx
mov edx, dword [eax]
call edx
mov edx, 1
mov edi, dword [esp + 0x58]
mov dword [edi], ebp
cmp ebp, esi
je 0x49aef0
add dword [ebp + 4], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
cmp eax, esi
je 0x49af05
push eax
call fcn.004efc12
add esp, 4
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.004efc12
add esp, 4
mov byte [esp + 0x4c], 1
cmp ebp, esi
je 0x49af3a
add dword [ebp + 4], ebx
cmp dword [ebp + 4], esi
jg 0x49af3a
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x49af5b
add dword [eax + 4], ebx
mov ecx, eax
add eax, 4
cmp dword [eax], esi
jg 0x49af5b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, edi
jmp 0x49ae8f