Function at 0x49f990
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.004830e0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x49fcbc
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 0x49f9fb
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
add esi, 0x28
add edi, 0x28
add eax, 0xffffffd8
lea ebp, [esp + 0x50]
je 0x49fcbc
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], 0x43a590
mov dword [esp + 0x70], 0x43abc0
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.00486dd0
test byte [esp + 8], 1
mov dword [esp + 0x38], esi
jne 0x49fa90
mov eax, dword [esp + 0xa4]
cmp dword [esp + 4], eax
jne 0x49fa7c
test eax, eax
je 0x49fcbe
push eax
push dword [esp + 0x38]
push dword [esp + 8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x49fcbe
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x49f9e4
mov ebx, dword [edi + 0x3c]
lea ecx, [esp + 0x28]
push ebx
call fcn.004830e0
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.0054a5d0
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.0054a73e
mov ecx, esi
push str.unable_to_read_the_name_of
push 0
call fcn.0054ab52
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 0x551440
call fcn.0054ab40
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 0x49fb6e
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.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x1c]
test al, 1
je 0x49fba0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
jmp 0x49fba6
shr eax, 1
lea edx, [esp + 0x1d]
lea ecx, [esp + 0x28]
push eax
push edx
call fcn.0054ab46
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.00539490
test byte [esp + 0x3c], 1
jne 0x49fc30
test byte [esp + 0x1c], 1
jne 0x49fc43
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49fc08
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x28], 1
jne 0x49fc60
test byte [esp + 0x64], 1
jne 0x49fc73
test byte [esp + 0x78], 1
jne 0x49fc86
test byte [esp + 8], 1
je 0x49f9e0
jmp 0x49fca0
push dword [esp + 0x44]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x1c], 1
je 0x49fbfb
push dword [esp + 0x24]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x49fc03
jmp 0x49fc08
push dword [esp + 0x30]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x64], 1
je 0x49fc16
push dword [esp + 0x6c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x49fc1d
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 8], 1
je 0x49f9e0
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x49f9e0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49f9e0
xor ebx, ebx
mov eax, ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret