Function at 0x5fee06e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov eax, 0x400
call fcn.5fee0f80
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 0xc], esp
mov byte [ecx], 0
push esi
mov dword [ebp - 0x1c], 0
mov dword [ebx], 0
call fcn.5fee0a80
mov edi, eax
add esp, 4
test edi, edi
je 0x5fee0a6a
mov ecx, dword [edi + 4]
mov eax, dword [0x5feeda6c]
mov edx, dword [edi + 0x18]
sub esi, ecx
test eax, eax
mov dword [ebx], edx
mov dword [ebp - 0x1c], 1
jne 0x5fee0821
mov eax, dword [0x5feeda24]
test eax, eax
jne 0x5fee0a6a
call fcn.5fee0e40
test eax, eax
mov dword [0x5feeda24], eax
je 0x5fee0a6a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PDBOpenValidate3
push eax
call ebx
test eax, eax
mov dword [0x5feeda34], eax
je 0x5fee080b
mov eax, dword [0x5feeda24]
push str.PDBOpenDBI
push eax
call ebx
test eax, eax
mov dword [0x5feeda38], eax
je 0x5fee080b
mov ecx, dword [0x5feeda24]
push str.DBIQueryModFromAddr
push ecx
call ebx
test eax, eax
mov dword [0x5feeda3c], eax
je 0x5fee080b
mov edx, dword [0x5feeda24]
push str.ModQueryLines
push edx
call ebx
test eax, eax
mov dword [0x5feeda40], eax
je 0x5fee080b
mov eax, dword [0x5feeda24]
push str.ModClose
push eax
call ebx
test eax, eax
mov dword [0x5feeda44], eax
je 0x5fee080b
mov ecx, dword [0x5feeda24]
push str.DBIClose
push ecx
call ebx
test eax, eax
mov dword [0x5feeda48], eax
je 0x5fee080b
mov edx, dword [0x5feeda24]
push str.PDBClose
push edx
call ebx
test eax, eax
mov dword [0x5feeda4c], eax
jne 0x5fee0817
xor eax, eax
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x5feeda6c], 1
mov eax, dword [edi + 0x10]
xor edx, edx
mov dx, word [eax + 6]
xor ebx, ebx
test dx, dx
mov dword [ebp - 0x10], edx
jbe 0x5fee0a6a
mov ecx, dword [edi + 0x14]
jmp 0x5fee0840
movzx eax, bx
lea eax, [eax + eax*4]
shl eax, 3
cmp dword [ecx + eax + 0xc], esi
jae 0x5fee0861
mov edx, dword [edi + 0x14]
add eax, edx
mov edx, esi
sub edx, dword [eax + 0xc]
cmp edx, dword [eax + 0x10]
jb 0x5fee0874
mov edx, dword [ebp - 0x10]
inc ebx
cmp bx, dx
jb 0x5fee0840
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, bx
lea eax, [eax + eax*4]
sub esi, dword [ecx + eax*8 + 0xc]
cmp esi, 0xffffffff
mov dword [ebp - 0x20], esi
je 0x5fee0a6a
mov eax, 0x104
call fcn.5fee0f80
mov eax, esp
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [edi + 0x18]
push eax
push edx
lea eax, [ebp - 0x30]
push eax
push 0x5fee8862
push ecx
call dword [0x5feeda34]
add esp, 0x20
test eax, eax
je 0x5fee0a6a
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
push 0x5fee8860
push eax
call dword [0x5feeda38]
add esp, 0x10
test eax, eax
je 0x5fee0a5d
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [ebp + 0x1a]
push eax
lea ecx, [ebp - 8]
push ecx
push esi
inc ebx
push ebx
push edx
call dword [0x5feeda3c]
add esp, 0x1c
test eax, eax
je 0x5fee0a50
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0
push ecx
call dword [0x5feeda40]
add esp, 0xc
test eax, eax
je 0x5fee0a43
mov eax, dword [ebp - 4]
test eax, eax
je 0x5fee0a43
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push edi
push eax
mov dword [ebp - 0x10], edi
call dword [0x5feeda40]
add esp, 0xc
test eax, eax
je 0x5fee0a43
movzx eax, word [edi]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0xc], ebx
jle 0x5fee0a33
mov eax, dword [edi + ebx*4 + 4]
movzx edx, word [eax + edi]
add eax, edi
lea esi, [eax + edx*4 + 4]
lea ecx, [esi + edx*8]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
test edx, edx
jle 0x5fee09a6
lea esp, [esp]
mov ebx, dword [ebp - 0x20]
cmp dword [esi + ecx*8], ebx
ja 0x5fee099e
cmp ebx, dword [esi + ecx*8 + 4]
jbe 0x5fee09b6
inc ecx
cmp ecx, edx
jl 0x5fee0990
mov ebx, dword [ebp - 0xc]
movzx eax, word [edi]
inc ebx
cmp ebx, eax
mov dword [ebp - 0xc], ebx
jl 0x5fee0972
jmp 0x5fee0a33
mov eax, dword [eax + ecx*4 + 4]
movzx esi, word [eax + edi + 2]
add eax, edi
lea edx, [eax + esi*4 + 4]
mov dword [ebp - 0x20], edx
or edi, 0xffffffff
xor edx, edx
test esi, esi
mov dword [ebp - 0xc], edi
jle 0x5fee0a30
mov ecx, ebx
sub ecx, dword [eax + edx*4 + 4]
cmp ecx, edi
jae 0x5fee09e3
mov dword [ebp - 0xc], edx
mov edi, ecx
inc edx
cmp edx, esi
jl 0x5fee09d4
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x5fee0a30
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov dl, byte [eax]
xor ecx, ecx
test dl, dl
je 0x5fee0a22
mov esi, dword [ebp + 0xc]
sub esi, eax
mov edi, edi
cmp ecx, edi
jge 0x5fee0a26
mov dl, byte [eax]
mov byte [esi + eax], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
test dl, dl
jne 0x5fee0a10
cmp ecx, edi
jl 0x5fee0a29
lea ecx, [edi - 1]
mov eax, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov edi, dword [ebp - 0x10]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x5feeda44]
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call dword [0x5feeda48]
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call dword [0x5feeda4c]
add esp, 4
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret