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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49e12e
sub esp, 0x60
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.004855b0
lea edi, [esp + 0x4c]
mov esi, esp
call fcn.0044b0be
mov eax, dword [esp + 0x64]
test byte [eax], al
mov dword [esp], eax
call fcn.0044f100
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp], 4
lea ecx, [0x50ee24]
mov dword [esp + 4], ecx
call fcn.00424eb0
test eax, eax
jne 0x49e116
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
test ecx, 0x18
jne 0x49e0b1
xor ecx, ecx
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x2c], ecx
mov dword [eax + 0x20], 0
lea ebp, [eax + 0x1c]
mov dword [esp + 0x48], ebp
mov dword [esp + 4], ebp
mov dword [esp], eax
lea edi, [esp + 8]
lea esi, [esp + 0x4c]
call fcn.0044b0be
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
call fcn.0049d3d0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x70]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0x1c]
mov esi, eax
mov eax, dword [eax + 0x24]
cmp ebx, eax
ja 0x49e072
cmp ebx, eax
ja 0x49e127
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], eax
lea eax, [ebp + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044b2e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x24], eax
mov eax, dword [0x5ac790]
test eax, eax
jne 0x49e051
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x49e02f
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x49dfc2
lea ebx, [edx + 1]
mov dword [ecx + 0x20], ebx
mov byte [eax + edx], 0xa
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.004256d0
add esp, 0x60
ret
lea ecx, [0x4e7600]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00437680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x24], edx
mov edx, dword [0x5ac790]
test edx, edx
jne 0x49e009
mov dword [ebx + 0x1c], eax
mov edx, ecx
mov ecx, ebx
jmp 0x49df7b
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
jmp 0x49e000
lea ebx, [edx - 1]
cmp ebx, edx
jae 0x49e120
mov ebx, dword [esp + 0x6c]
movzx edx, byte [edx + ebx - 1]
cmp dl, 0xa
jne 0x49df6e
jmp 0x49df85
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x49df62
mov dword [esp + 0x34], ecx
lea edx, [0x4e7600]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00437680
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
jmp 0x49df13
mov dword [esp], eax
call fcn.0044f430
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00405390
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test cl, cl
je 0x49e107
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
call fcn.0044f100
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
jmp 0x49deb6
mov edx, 3
lea ebx, [0x50566b]
xor eax, eax
jmp 0x49e0da
nop
call fcn.004256d0
add esp, 0x60
ret
call fcn.00424c30
ud2
call fcn.00424c90
ud2
call fcn.004491a0
jmp fcn.0049de30