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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov dword [esp + 0x34], edx
mov esi, ecx
lea ecx, [esp + 0x84]
push dword [esi + 0x3c]
call fcn.00483120
mov eax, dword [esp + 0x88]
test eax, eax
je 0x49fcfc
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x84]
lea esi, [edi + 4]
shl eax, 3
lea eax, [eax + eax*4]
lea ebp, [esp + 0x50]
jmp 0x49fa3b
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
add esi, 0x28
add edi, 0x28
add eax, 0xffffffd8
lea ebp, [esp + 0x50]
je 0x49fcfc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
lea ebx, [esi - 4]
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x50], 0x43a5a0
mov dword [esp + 0x70], 0x43abd0
mov dword [esp + 0x74], ebp
sub esp, 0x10
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], eax
lea ecx, [esp + 0x10]
call fcn.00486e10
test byte [esp + 8], 1
mov dword [esp + 0x38], esi
jne 0x49fad0
mov eax, dword [esp + 0xa4]
cmp dword [esp + 4], eax
jne 0x49fabc
test eax, eax
je 0x49fcfe
push eax
push dword [esp + 0x38]
push dword [esp + 8]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x49fcfe
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x49fa24
mov ebx, dword [edi + 0x3c]
lea ecx, [esp + 0x28]
push ebx
call fcn.00483120
mov edi, dword [esp + 0x10]
mov eax, edi
sub eax, dword [esp + 0x28]
sar eax, 3
mov ecx, dword [ebx]
movzx ecx, word [ecx + 0x12]
rol cx, 8
imul ebx, eax, 0xcccccccd
movzx eax, cx
mov ecx, dword [esi]
bswap ecx
push ecx
push eax
call fcn.0054f434
add esp, 8
mov word [esp + 0x4c], 0x305
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], str._section_with_index
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
mov word [esp + 0x60], 0x902
lea esi, [esp + 0x78]
mov ecx, esi
push ebp
call fcn.0054f5a2
mov ecx, esi
push str.unable_to_read_the_name_of
push 0
call fcn.0054f9b6
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x64], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x64]
push 0x556440
call fcn.0054f9a4
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
test byte [esp + 8], 1
je 0x49fbae
mov eax, dword [esp]
mov dword [esp], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0054f518
add esp, 8
movzx eax, byte [esp + 0x1c]
test al, 1
je 0x49fbe0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
jmp 0x49fbe6
shr eax, 1
lea edx, [esp + 0x1d]
lea ecx, [esp + 0x28]
push eax
push edx
call fcn.0054f9aa
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x3c], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x60], 0x104
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
call fcn.005394d0
test byte [esp + 0x3c], 1
jne 0x49fc70
test byte [esp + 0x1c], 1
jne 0x49fc83
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49fc48
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x28], 1
jne 0x49fca0
test byte [esp + 0x64], 1
jne 0x49fcb3
test byte [esp + 0x78], 1
jne 0x49fcc6
test byte [esp + 8], 1
je 0x49fa20
jmp 0x49fce0
push dword [esp + 0x44]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x1c], 1
je 0x49fc3b
push dword [esp + 0x24]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x49fc43
jmp 0x49fc48
push dword [esp + 0x30]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x64], 1
je 0x49fc56
push dword [esp + 0x6c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x49fc5d
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 8], 1
je 0x49fa20
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x49fa20
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49fa20
xor ebx, ebx
mov eax, ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret