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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
mov eax, edx
mov edx, ecx
mov esi, dword [esp + 0x11c]
lea ebx, [esp + 0x110]
mov edi, dword [esp + 0x10c]
lea ecx, [esp + 0xac]
mov dword [esp], edx
push dword [esp + 0x108]
push dword [esp + 0x108]
push dword [esp + 0x108]
push eax
call fcn.0049e310
add esp, 0x10
cmp dword [esp + 0xb0], 0
jne 0x49deab
mov ebp, dword [esp]
mov esi, dword [ebp + 0x3c]
lea ecx, [esp + 0x24]
push esi
call fcn.004830e0
mov eax, edi
sub eax, dword [esp + 0x24]
sar eax, 3
mov ecx, dword [esi]
movzx ecx, word [ecx + 0x12]
rol cx, 8
mov edx, edi
imul edi, eax, 0xcccccccd
movzx eax, cx
mov ecx, dword [edx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x1c], 0x305
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], str._section_with_index
lea esi, [esp + 0xc]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edi
mov word [esp + 0x4c], 0x902
lea edi, [esp + 0x3c]
lea ebx, [esp + 0x30]
mov ecx, ebx
push edi
call fcn.0054a73e
mov ecx, ebx
push str.could_not_identify_function_symbol_for_stack_size_entry_in
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x4c], 0x104
mov dword [esp + 0x3c], esi
mov ecx, ebp
push edi
call fcn.00539490
test byte [esp + 0xc], 1
je 0x49de83
push dword [esp + 0x14]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x30], 1
je 0x49de96
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edi, dword [esp + 0x10c]
mov esi, dword [esp + 0x11c]
lea ebx, [esp + 0x110]
mov dword [esp + 4], 0
lea eax, [esp + 4]
mov ecx, ebx
push eax
push esi
call fcn.0054a6f6
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x49dfe1
mov dword [esp + 8], ebx
mov eax, dword [esp]
mov esi, dword [eax + 0x3c]
lea ecx, [esp + 0x24]
push esi
call fcn.004830e0
mov eax, edi
sub eax, dword [esp + 0x24]
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 [edi + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x1c], 0x305
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], str._section_with_index
lea ebx, [esp + 0xc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], esi
mov word [esp + 0x4c], 0x902
lea ebp, [esp + 0x3c]
lea edi, [esp + 0xa0]
mov ecx, edi
push ebp
call fcn.0054a73e
mov ecx, edi
push str.could_not_extract_a_valid_stack_size_from
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x30]
push 0x551440
call fcn.0054ab40
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x24], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x78]
test al, 1
je 0x49e0ec
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
jmp 0x49e0f2
mov ebp, dword [esp + 0xb0]
test ebp, ebp
je 0x49e268
mov dword [esp + 8], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0x8c], eax
shl ebp, 2
xor esi, esi
lea ebx, [esp + 0xc]
jmp 0x49e04b
add esi, 4
cmp ebp, esi
je 0x49e1da
mov ecx, ebx
mov edx, dword [esp]
mov eax, dword [esp + 0x8c]
push dword [eax + esi]
call fcn.004955a0
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 1]
cmp edx, dword [esp + 0x44]
ja 0x49e0b3
mov edi, ebx
mov ecx, dword [esp + 0x40]
lea ecx, [ecx + ecx*2]
mov edx, dword [edi + 8]
mov dword [eax + ecx*4 + 8], edx
movsd xmm0, qword [edi]
movsd qword [eax + ecx*4], xmm0
xorps xmm0, xmm0
movsd qword [edi], xmm0
mov dword [edi + 8], 0
inc dword [esp + 0x40]
test byte [esp + 0xc], 1
je 0x49e040
push dword [esp + 0x14]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x49e040
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*4]
cmp ecx, ebx
seta cl
cmp eax, ebx
ja 0x49e0c6
test cl, cl
jne 0x49e0d6
lea ecx, [esp + 0x3c]
push edx
call fcn.0045b3d0
mov eax, dword [esp + 0x3c]
jmp 0x49e073
mov edi, ebx
sub edi, eax
lea ecx, [esp + 0x3c]
push edx
call fcn.0045b3d0
mov eax, dword [esp + 0x3c]
add edi, eax
jmp 0x49e075
shr eax, 1
lea edx, [esp + 0x79]
lea ecx, [esp + 0x24]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x4c], 0x104
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp]
push ebp
call fcn.00539490
test byte [esp + 0xc], 1
jne 0x49e16c
test byte [esp + 0x78], 1
mov ebx, dword [esp + 8]
jne 0x49e183
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49e14f
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x24], 1
jne 0x49e19c
test byte [esp + 0x30], 1
jne 0x49e1af
test byte [esp + 0xa0], 1
jne 0x49e1c9
jmp 0x49e2d3
push dword [esp + 0x14]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
mov ebx, dword [esp + 8]
je 0x49e142
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x49e14a
jmp 0x49e14f
push dword [esp + 0x2c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x30], 1
je 0x49e15d
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xa0], 1
je 0x49e2d3
push dword [esp + 0xa8]
call sub.libc.dll_operator_delete_void_
jmp 0x49e2d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [esp]
mov edx, dword [ecx]
sub esp, 0x10
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call dword [edx + 0x134]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49e2be
shl eax, 2
lea edi, [eax + eax*2]
mov ebx, dword [esp + 8]
jmp 0x49e245
add edi, 0xfffffff4
je 0x49e25a
test byte [esi + edi - 0xc], 1
je 0x49e240
push dword [esi + edi - 4]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x49e240
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x48]
cmp esi, eax
jne 0x49e2ca
jmp 0x49e2d3
mov word [esp + 0x3c], 0x3f02
mov byte [esp + 0x3e], 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 1
mov ecx, dword [esp]
mov esi, dword [ecx]
sub esp, 0x10
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [esi + 0x134]
test byte [esp + 0x3c], 1
je 0x49e2d3
push dword [esp + 0x44]
jmp 0x49e1d0
mov ebx, dword [esp + 8]
lea eax, [esp + 0x48]
cmp esi, eax
je 0x49e2d3
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x49e2e0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb8]
cmp eax, ecx
je 0x49e2fb
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebx, ebx
sete al
add esp, 0xec
pop esi
pop edi
pop ebx
pop ebp
ret