Function at 0x49cf50
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.00483120
mov eax, dword [esp + 0x70]
test eax, eax
je 0x49d1c6
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 0x49cfab
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x38]
nop dword [eax]
add ebx, 0x28
cmp ebx, esi
je 0x49d1c6
mov ecx, edi
mov edx, ebx
call fcn.004869e0
cmp edx, 0xc
jne 0x49cfa0
push 0xc
push str..stack_sizes
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x49cfa0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49d205
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.0048d380
test byte [esp + 0x48], 1
jne 0x49d1ce
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 0x49cf91
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 0x49d0dd
cmp ecx, dword [esp + 0x10]
sbb edx, 0
jae 0x49d0dd
movzx eax, byte [esp + 0x15]
lea ecx, [esp + 0xc]
push 0
push eax
lea esi, [esp + 0x20]
push esi
call fcn.0054f560
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.0049dda0
add esp, 0x20
test al, al
jne 0x49d040
jmp 0x49cf91
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x3c]
lea ecx, [esp + 0x78]
push esi
call fcn.00483120
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.0054f434
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.0054f5a2
mov ecx, edi
push str._ended_while_trying_to_extract_a_stack_size_entry
call fcn.0054f9a4
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.005394d0
test byte [esp + 0x20], 1
je 0x49d1aa
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x60], 1
je 0x49cf91
push dword [esp + 0x68]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x49cf91
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.0052c500
call fcn.0043e320
int3