Function at 0x4df290
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 edi, ecx
mov esi, dword [ebp + 8]
mov dword [esp], edx
call fcn.004c5920
mov dword [esp + 0xc], eax
mov ebx, edx
mov dword [esp + 0x10], edi
mov edi, dword [edi + 0x27c]
mov ecx, esi
push edi
call fcn.0054a744
mov ecx, edi
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
sub edx, eax
cmp edx, 9
ja 0x4df2e6
push 0xa
push str._section_
call fcn.0054a3c0
mov ecx, eax
mov eax, dword [eax + 0x10]
jmp 0x4df302
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 0x4df320
push ebx
push dword [esp + 0x10]
call fcn.0054a3c0
mov ecx, eax
mov eax, dword [eax + 0x10]
jmp 0x4df33e
test ebx, ebx
je 0x4df33e
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 0x4df35b
push 2
push 0x55c0a8
call fcn.0054a3c0
mov ecx, eax
mov eax, dword [eax + 0x10]
jmp 0x4df369
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 0x4df386
push 9
push str.contains
call fcn.0054a3c0
mov ecx, eax
jmp 0x4df39b
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 0x4df3be
mov ecx, eax
push 0xa
push str._entries:_n
call fcn.0054a3c0
jmp 0x4df3d5
mov word [ecx + 8], 0xa3a
mov dword [ecx + 4], 0x73656972
mov dword [ecx], 0x746e6520
add dword [eax + 0x10], 0xa
mov esi, dword [esp]
lea ecx, [esp + 4]
push dword [esi + 0x28]
push dword [edi + 0x3c]
call fcn.004c6ba0
test byte [esp + 8], 1
jne 0x4df40e
mov edx, dword [esp + 4]
mov ecx, edi
call fcn.004c5920
mov dword [esp], eax
mov ebx, edx
test byte [esp + 8], 1
jne 0x4df5b1
jmp 0x4df5c6
mov edi, dword [edi + 0x3c]
lea ecx, [esp + 0x48]
push edi
call fcn.004c20f0
mov ecx, esi
sub esi, dword [esp + 0x48]
sar esi, 6
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
push dword [ecx + 4]
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 + 0x30], edi
mov dword [esp + 0x38], esi
mov word [esp + 0x40], 0x902
lea ebx, [esp + 0x30]
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 + 0x50], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x48], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
test byte [esp + 8], 1
je 0x4df4df
mov eax, dword [esp + 4]
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x54]
test al, 1
je 0x4df508
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
jmp 0x4df50e
shr eax, 1
lea edx, [esp + 0x55]
mov esi, dword [esp]
lea ecx, [esp + 0x48]
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 + 0x40], 0x104
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.00539490
test byte [esp + 0x18], 1
jne 0x4df780
test byte [esp + 0x54], 1
jne 0x4df797
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4df575
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x48], 1
jne 0x4df7b4
test byte [esp + 0x60], 1
jne 0x4df7cb
test byte [esp + 0x70], 1
je 0x4df59e
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 0x4df5c6
mov ecx, dword [esp + 4]
mov dword [esp + 4], 0
test ecx, ecx
je 0x4df5c6
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x27c]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
sub edx, eax
cmp edx, 6
ja 0x4df5e9
push 7
push str._Addr:
call fcn.0054a3c0
mov ecx, eax
jmp 0x4df5fa
mov dword [eax + 3], 0x203a7264
mov dword [eax], 0x64644120
add dword [ecx + 0x10], 7
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0x10
mov word [esp + 0x44], 1
mov byte [esp + 0x46], 0
lea eax, [esp + 0x30]
push eax
call fcn.0054a3de
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 9
ja 0x4df653
mov ecx, eax
push 0xa
push str.__Offset:
call fcn.0054a3c0
jmp 0x4df66a
mov word [ecx + 8], 0x203a
mov dword [ecx + 4], 0x74657366
mov dword [ecx], 0x664f2020
add dword [eax + 0x10], 0xa
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 8
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 0x4df6c5
mov ecx, eax
push 8
push str.__Link:
call fcn.0054a3c0
jmp 0x4df6d6
mov dword [ecx + 4], 0x203a6b6e
mov dword [ecx], 0x694c2020
add dword [eax + 0x10], 8
mov ecx, eax
push dword [esi + 0x28]
call fcn.0054a3fc
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x4df73f
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 0x4df756
test ebx, ebx
je 0x4df725
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 0x4df76f
mov ecx, eax
push 2
push 0x559592
call fcn.0054a3c0
jmp 0x4df778
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 0x4df707
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 0x4df72f
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 + 0x54], 1
je 0x4df568
push dword [esp + 0x5c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4df570
jmp 0x4df575
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x60], 1
je 0x4df58b
push dword [esp + 0x68]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x70], 1
jne 0x4df592
jmp 0x4df59e