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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edx
call fcn.004869a0
mov dword [esp + 0xc], eax
mov ebx, edx
mov dword [esp], esi
mov esi, dword [esi + 0x27c]
mov ecx, edi
push esi
call fcn.0054a744
mov ecx, esi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
sub edx, eax
cmp edx, 9
ja 0x4a0646
push 0xa
push str._section_
call fcn.0054a3c0
mov ecx, eax
mov eax, dword [eax + 0x10]
jmp 0x4a0662
mov word [eax + 8], 0x2720
mov dword [eax + 4], 0x6e6f6974
mov dword [eax], 0x63657320
mov eax, dword [ecx + 0x10]
add eax, 0xa
mov dword [ecx + 0x10], eax
mov edx, dword [ecx + 0xc]
sub edx, eax
cmp edx, ebx
mov edi, dword [esp + 0x10]
jae 0x4a0680
push ebx
push dword [esp + 0x10]
call fcn.0054a3c0
mov ecx, eax
mov eax, dword [eax + 0x10]
jmp 0x4a069e
test ebx, ebx
je 0x4a069e
push ebx
push dword [esp + 0x10]
push eax
mov esi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, esi
add esp, 0xc
mov eax, dword [esi + 0x10]
add eax, ebx
mov dword [esi + 0x10], eax
mov edx, dword [ecx + 0xc]
sub edx, eax
cmp edx, 1
ja 0x4a06bb
push 2
push 0x55c0a8
call fcn.0054a3c0
mov ecx, eax
mov eax, dword [eax + 0x10]
jmp 0x4a06c9
mov word [eax], 0x2027
mov eax, dword [ecx + 0x10]
add eax, 2
mov dword [ecx + 0x10], eax
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
sub edx, eax
cmp edx, 8
ja 0x4a06e6
push 9
push str.contains
call fcn.0054a3c0
mov ecx, eax
jmp 0x4a06fb
mov byte [eax + 8], 0x20
mov dword [eax + 4], 0x736e6961
mov dword [eax], 0x746e6f63
add dword [ecx + 0x10], 9
push esi
call fcn.0054a3fc
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 9
ja 0x4a071e
mov ecx, eax
push 0xa
push str._entries:_n
call fcn.0054a3c0
jmp 0x4a0735
mov word [ecx + 8], 0xa3a
mov dword [ecx + 4], 0x73656972
mov dword [ecx], 0x746e6520
add dword [eax + 0x10], 0xa
mov esi, dword [esp]
mov eax, dword [edi + 0x18]
bswap eax
lea ecx, [esp + 4]
push eax
push dword [esi + 0x3c]
call fcn.00487420
test byte [esp + 8], 1
jne 0x4a0771
mov edx, dword [esp + 4]
mov ecx, esi
call fcn.004869a0
mov dword [esp], eax
mov ebx, edx
test byte [esp + 8], 1
jne 0x4a0924
jmp 0x4a0939
mov esi, dword [esi + 0x3c]
lea ecx, [esp + 0x30]
push esi
call fcn.004830e0
mov eax, edi
sub eax, dword [esp + 0x30]
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 + 0x28], 0x305
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], str._section_with_index
lea edi, [esp + 0x18]
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], esi
mov word [esp + 0x58], 0x902
lea ebx, [esp + 0x48]
lea esi, [esp + 0x70]
mov ecx, esi
push ebx
call fcn.0054a73e
mov ecx, esi
push str.invalid_section_linked_to
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x60], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x60]
push 0x551440
call fcn.0054ab40
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
xor eax, eax
test byte [esp + 8], 1
je 0x4a0852
mov eax, dword [esp + 4]
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x3c]
test al, 1
je 0x4a087b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
jmp 0x4a0881
shr eax, 1
lea edx, [esp + 0x3d]
mov esi, dword [esp]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x58], 0x104
mov dword [esp + 0x48], edi
mov ecx, esi
push ebx
call fcn.00539490
test byte [esp + 0x18], 1
jne 0x4a0ad4
test byte [esp + 0x3c], 1
mov edi, dword [esp + 0x10]
jne 0x4a0aef
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a08e8
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x4a0b0c
test byte [esp + 0x60], 1
jne 0x4a0b23
test byte [esp + 0x70], 1
je 0x4a0911
push dword [esp + 0x78]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp], str._corrupt_
mov ebx, 9
test byte [esp + 8], 1
je 0x4a0939
mov ecx, dword [esp + 4]
mov dword [esp + 4], 0
test ecx, ecx
je 0x4a0939
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x27c]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
sub edx, eax
cmp edx, 6
ja 0x4a095c
push 7
push str._Addr:
call fcn.0054a3c0
mov ecx, eax
jmp 0x4a096d
mov dword [eax + 3], 0x203a7264
mov dword [eax], 0x64644120
add dword [ecx + 0x10], 7
mov eax, dword [edi + 0xc]
bswap eax
movaps xmm0, xmmword [0x550a50]
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x48], eax
mov word [esp + 0x5c], 1
mov byte [esp + 0x5e], 0
lea eax, [esp + 0x48]
push eax
call fcn.0054a3de
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 9
ja 0x4a09b5
mov ecx, eax
push 0xa
push str.__Offset:
call fcn.0054a3c0
jmp 0x4a09cc
mov word [ecx + 8], 0x203a
mov dword [ecx + 4], 0x74657366
mov dword [ecx], 0x664f2020
add dword [eax + 0x10], 0xa
mov ecx, dword [edi + 0x10]
bswap ecx
movaps xmm0, xmmword [0x550a60]
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x18], ecx
mov word [esp + 0x2c], 1
mov byte [esp + 0x2e], 1
lea edx, [esp + 0x18]
mov ecx, eax
push edx
call fcn.0054a3de
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 7
ja 0x4a0a16
mov ecx, eax
push 8
push str.__Link:
call fcn.0054a3c0
jmp 0x4a0a27
mov dword [ecx + 4], 0x203a6b6e
mov dword [ecx], 0x694c2020
add dword [eax + 0x10], 8
mov edx, dword [edi + 0x18]
bswap edx
mov ecx, eax
push edx
call fcn.0054a3fc
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x4a0a93
mov ecx, eax
push 2
push 0x551c1d
call fcn.0054a3c0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp ebx, edx
ja 0x4a0aaa
test ebx, ebx
je 0x4a0a79
push ebx
push dword [esp + 4]
push ecx
mov esi, eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, esi
add esp, 0xc
add ebx, dword [esi + 0x10]
mov dword [esi + 0x10], ebx
mov ecx, ebx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 1
ja 0x4a0ac3
mov ecx, eax
push 2
push 0x559592
call fcn.0054a3c0
jmp 0x4a0acc
mov word [ecx], 0x2820
mov ecx, dword [eax + 0x10]
add ecx, 2
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp ebx, edx
jbe 0x4a0a5b
mov ecx, eax
push ebx
push dword [esp + 4]
call fcn.0054a3c0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp edx, 1
jbe 0x4a0a83
mov word [ecx], 0xa29
add dword [eax + 0x10], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x3c], 1
mov edi, dword [esp + 0x10]
je 0x4a08db
push dword [esp + 0x44]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4a08e3
jmp 0x4a08e8
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x60], 1
je 0x4a08fe
push dword [esp + 0x68]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x70], 1
jne 0x4a0905
jmp 0x4a0911