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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49b230
add esp, 0xffffff80
mov dword [esp + 0x98], 0
lea eax, [0x4a6ac0]
mov dword [esp], eax
call fcn.0040b910
mov edi, dword [esp + 4]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [edi + 4], ecx
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x49af17
jmp 0x49af1b
mov dword [edi], eax
jmp 0x49af22
call fcn.0045d8e0
jmp 0x49af22
mov edx, dword [esp + 0x2c]
test byte [edx], al
jmp 0x49af2a
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 1
mov edx, dword [esp + 0x90]
inc edx
mov dword [esp + 0x20], edx
lea ebx, [esp + 0x74]
cmp dword [ebx + 8], edx
jb 0x49af69
jmp 0x49afad
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
lea ebp, [0x4a7ce0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x49afaf
jmp 0x49afaf
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
jmp 0x49afc5
cmp ecx, eax
jae 0x49afce
jmp 0x49b22a
sub ebx, eax
mov ebp, ebx
neg ebx
mov esi, eax
shl eax, 3
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x68], eax
sub ecx, esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebp
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
lea ebp, [0x4a7ce0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0040ffc0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea eax, [0x4aefc0]
mov dword [esp], eax
call fcn.0040b910
mov edi, dword [esp + 4]
mov dword [esp + 0x28], edi
mov eax, dword [0x54cbf0]
test eax, eax
je 0x49b054
jmp 0x49b05d
xor eax, eax
call fcn.0045da97
jmp 0x49b071
lea eax, [0x4aefc0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00410090
jmp 0x49b071
mov edi, dword [esp + 0x28]
test byte [edi], al
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [edi + 4], ecx
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x49b094
jmp 0x49b098
mov dword [edi], eax
jmp 0x49b09f
call fcn.0045d8e0
jmp 0x49b09f
mov ecx, dword [esp + 0x28]
test byte [ecx], al
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov edx, dword [0x54cbf0]
lea edi, [ecx + 8]
test edx, edx
je 0x49b0c6
jmp 0x49b0cb
mov dword [ecx + 8], eax
jmp 0x49b0d2
call fcn.0045d8e0
jmp 0x49b0d2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00497bd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x88], eax
je 0x49b112
jmp 0x49b217
mov edx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402b40
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49b137
jmp 0x49b215
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049e700
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x49b1bb
jmp 0x49b1e9
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x60], edx
mov edx, dword [0x54cbf0]
lea edi, [ecx + 0x64]
test edx, edx
je 0x49b1db
jmp 0x49b1e0
mov dword [ecx + 0x64], eax
jmp 0x49b1e7
call fcn.0045d8e0
jmp 0x49b1e7
jmp 0x49b213
mov edi, dword [esp + 0x24]
test byte [edi], al
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [edi + 4], ecx
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x49b206
jmp 0x49b20a
mov dword [edi], eax
jmp 0x49b211
call fcn.0045d8e0
jmp 0x49b211
jmp 0x49b213
jmp 0x49b21b
jmp 0x49b219
jmp 0x49b219
jmp 0x49b21b
mov eax, dword [esp + 0x24]
mov dword [esp + 0x98], eax
sub esp, 0xffffff80
ret
call fcn.0045d9c0
nop
call fcn.0045c4a0
jmp fcn.0049aec0