Function at 0x4078a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f60bd
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x54b07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x3c
call fcn.0049dbb6
mov esi, eax
mov ecx, ebx
xor eax, eax
lea edi, [esi + 0x18]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
lea eax, [ebp - 0x40]
push eax
call fcn.00404420
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
jb 0x407947
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
cmp ecx, 0x10
jb 0x40798e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40797e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b44
push ecx
push edx
call fcn.0049dbeb
mov eax, dword [ebp - 0xb4]
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test eax, eax
je 0x4079c1
push str.GetDllInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4079d0
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
mov ecx, esi
call fcn.00407b50
xor eax, eax
jmp 0x407b28
lea ecx, [ebp - 0xb0]
mov dword [0x550084], eax
push ecx
call eax
lea ecx, [ebp - 0xac]
add esp, 4
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4079f0
sub ecx, edx
cmp byte [ebp + ecx - 0xad], 0x20
jne 0x407a0a
mov byte [ebp + ecx - 0xad], al
mov eax, dword [ebp - 0xb4]
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407a33
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404700
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp edi, eax
je 0x407ac9
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x407a8d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x407a83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b49
mov eax, edx
push ecx
push eax
call fcn.0049dbeb
add esp, 8
mov eax, dword [ebp - 0x28]
mov ecx, 0xf
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov byte [ebp - 0x28], 0
jmp 0x407acc
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x407af9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407aef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407b49
push ecx
push edx
call fcn.0049dbeb
add esp, 8
movzx eax, word [ebp - 0xae]
mov dword [esi + 0x30], eax
mov ax, word [ebp - 0xb0]
mov word [esi + 0x34], ax
cmp esi, ebx
je 0x407b26
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x407b1d
mov ebx, dword [ebx]
push eax
push ebx
mov ecx, esi
call fcn.004085b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049dba8
mov esp, ebp
pop ebp
ret
call fcn.004cb586
call fcn.004cb586
int3