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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov dword [esp + 0x3c], edx
mov edi, ecx
lea ecx, [esp + 0x6c]
push dword [edi + 0x3c]
call fcn.004830e0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x49d186
mov ebx, dword [esp + 0x6c]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov dword [esp + 4], edi
mov dword [esp + 0x38], esi
jmp 0x49cf6b
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x38]
nop dword [eax]
add ebx, 0x28
cmp ebx, esi
je 0x49d186
mov ecx, edi
mov edx, ebx
call fcn.004869a0
cmp edx, 0xc
jne 0x49cf60
push 0xc
push str..stack_sizes
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x49cf60
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49d1c5
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [edi + 0x44]
mov dword [esp + 8], eax
mov esi, dword [edi + 0x40]
lea ecx, [esp + 0x40]
push ebx
push dword [edi + 0x3c]
call fcn.0048d340
test byte [esp + 0x48], 1
jne 0x49d18e
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx]
cmp byte [ecx + 5], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], edx
sete byte [esp + 0x14]
mov byte [esp + 0x15], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
nop word [eax + eax]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp edi, dword [esp + 8]
mov ecx, eax
sbb ecx, 0
jae 0x49cf51
mov ecx, edi
add ecx, 4
mov edx, eax
adc edx, 0
mov esi, 0xfffffffa
cmp esi, edi
mov edi, 0xffffffff
sbb edi, eax
jb 0x49d09d
cmp ecx, dword [esp + 0x10]
sbb edx, 0
jae 0x49d09d
movzx eax, byte [esp + 0x15]
lea ecx, [esp + 0xc]
push 0
push eax
lea esi, [esp + 0x20]
push esi
call fcn.0054a6fc
sub esp, 0x20
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], ebx
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.0049dd60
add esp, 0x20
test al, al
jne 0x49d000
jmp 0x49cf51
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x3c]
lea ecx, [esp + 0x78]
push esi
call fcn.004830e0
mov eax, ebx
sub eax, dword [esp + 0x78]
sar eax, 3
mov ecx, dword [esi]
movzx ecx, word [ecx + 0x12]
rol cx, 8
imul esi, eax, 0xcccccccd
movzx eax, cx
mov ecx, dword [ebx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x30], 0x305
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], str._section_with_index
lea eax, [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], esi
mov word [esp + 0x5c], 0x902
lea edi, [esp + 0x60]
mov ecx, edi
lea esi, [esp + 0x4c]
push esi
call fcn.0054a73e
mov ecx, edi
push str._ended_while_trying_to_extract_a_stack_size_entry
call fcn.0054ab40
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x20], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x5c], 0x104
lea eax, [esp + 0x20]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
push esi
call fcn.00539490
test byte [esp + 0x20], 1
je 0x49d16a
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x60], 1
je 0x49cf51
push dword [esp + 0x68]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x49cf51
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.0052c4c0
call fcn.0043e2e0
int3