Function at 0x100ed8c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov eax, 0x400
call fcn.100ec810
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edi, 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 - 0x20], 0
mov dword [edi], 0
call fcn.100edc50
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x100edc42
mov ecx, dword [ebx + 4]
mov eax, dword [0x10183b20]
mov edx, dword [ebx + 0x18]
sub esi, ecx
test eax, eax
mov dword [edi], edx
mov dword [ebp - 0x20], 1
jne 0x100eda04
mov eax, dword [0x10183ad8]
test eax, eax
jne 0x100edc42
call fcn.100ee010
test eax, eax
mov dword [0x10183ad8], eax
je 0x100edc42
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PDBOpenValidate3
push eax
call edi
test eax, eax
mov dword [0x10183ae8], eax
je 0x100ed9ee
mov eax, dword [0x10183ad8]
push str.PDBOpenDBI
push eax
call edi
test eax, eax
mov dword [0x10183aec], eax
je 0x100ed9ee
mov ecx, dword [0x10183ad8]
push str.DBIQueryModFromAddr
push ecx
call edi
test eax, eax
mov dword [0x10183af0], eax
je 0x100ed9ee
mov edx, dword [0x10183ad8]
push str.ModQueryLines
push edx
call edi
test eax, eax
mov dword [0x10183af4], eax
je 0x100ed9ee
mov eax, dword [0x10183ad8]
push str.ModClose
push eax
call edi
test eax, eax
mov dword [0x10183af8], eax
je 0x100ed9ee
mov ecx, dword [0x10183ad8]
push str.DBIClose
push ecx
call edi
test eax, eax
mov dword [0x10183afc], eax
je 0x100ed9ee
mov edx, dword [0x10183ad8]
push str.PDBClose
push edx
call edi
test eax, eax
mov dword [0x10183b00], eax
jne 0x100ed9fa
xor eax, eax
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x10183b20], 1
mov eax, dword [ebx + 0x10]
movzx eax, word [eax + 6]
xor edi, edi
test ax, ax
mov dword [ebp - 0x14], eax
jbe 0x100edc42
mov edx, dword [ebx + 0x14]
lea esp, [esp]
movzx eax, di
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jae 0x100eda39
mov ebx, esi
sub ebx, ecx
cmp ebx, dword [eax + 0x10]
jb 0x100eda4d
inc edi
cmp di, word [ebp - 0x14]
jb 0x100eda20
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, di
lea eax, [eax + eax*4]
sub esi, dword [edx + eax*8 + 0xc]
cmp esi, 0xffffffff
mov dword [ebp - 0x10], esi
je 0x100edc42
mov eax, 0x104
call fcn.100ec810
mov eax, esp
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
push edx
mov edx, dword [ecx + 0x18]
lea eax, [ebp - 0x34]
push eax
push 0x10102e12
push edx
call dword [0x10183ae8]
add esp, 0x20
test eax, eax
je 0x100edc42
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1010a62c
push ecx
call dword [0x10183aec]
add esp, 0x10
test eax, eax
je 0x100edc35
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 0x1a]
push ecx
lea edx, [ebp - 8]
push edx
push esi
inc edi
push edi
push eax
call dword [0x10183af0]
add esp, 0x1c
test eax, eax
je 0x100edc28
mov edx, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
push 0
push edx
call dword [0x10183af4]
add esp, 0xc
test eax, eax
je 0x100edc1b
mov eax, dword [ebp - 4]
test eax, eax
je 0x100edc1b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 8]
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ecx
mov dword [ebp - 0x14], edi
call dword [0x10183af4]
add esp, 0xc
test eax, eax
je 0x100edc1b
movzx eax, word [edi]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0xc], ebx
jle 0x100edc0b
mov edi, edi
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 - 0x28], ecx
xor ecx, ecx
test edx, edx
jle 0x100edb86
lea ebx, [ebx]
mov ebx, dword [ebp - 0x10]
cmp dword [esi + ecx*8], ebx
ja 0x100edb7e
cmp ebx, dword [esi + ecx*8 + 4]
jbe 0x100edb93
inc ecx
cmp ecx, edx
jl 0x100edb70
mov ebx, dword [ebp - 0xc]
movzx eax, word [edi]
inc ebx
cmp ebx, eax
mov dword [ebp - 0xc], ebx
jl 0x100edb50
jmp 0x100edc0b
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 - 0x24], edx
or ebx, 0xffffffff
or edi, 0xffffffff
xor edx, edx
test esi, esi
jle 0x100edc08
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + edx*4 + 4]
cmp ecx, edi
jae 0x100edbc0
mov ebx, edx
mov edi, ecx
inc edx
cmp edx, esi
jl 0x100edbb1
test ebx, ebx
jl 0x100edc08
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + ebx*2]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp + 0x10]
mov dword [edx], ecx
mov dl, byte [eax]
xor ecx, ecx
test dl, dl
je 0x100edbfa
mov esi, dword [ebp + 0xc]
sub esi, eax
cmp ecx, edi
jge 0x100edbfe
mov dl, byte [eax]
mov byte [esi + eax], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
test dl, dl
jne 0x100edbe8
cmp ecx, edi
jl 0x100edc01
lea ecx, [edi - 1]
mov eax, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov edi, dword [ebp - 0x14]
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 [0x10183af8]
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call dword [0x10183afc]
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x10183b00]
add esp, 4
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret