Function at 0x445e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x465cb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov eax, dword [0x47bfd4]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x1d8], eax
push edi
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call fcn.0042d900
push 0
push 0x445d70
push 0x46bd4c
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1f8], 0
call fcn.0042d750
push 0x104
lea ecx, [esp + 0xd4]
push ecx
push str.LuaPlus_1100.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xd0]
push 0x5c
push edx
call dword [sym.imp.MSVCR71.dll_strrchr]
inc eax
mov byte [eax], 0
mov eax, dword [esi]
push eax
call fcn.00445de0
add esp, 0xc
push str.LUA_SOPATH
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429650
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00429650
push str.modules_
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429650
push 3
mov ecx, esi
call fcn.004297c0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x78]
call fcn.0042ccf0
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ec], 1
call fcn.0042c850
mov edi, dword [sym.imp.MSVCR71.dll__putenv]
push eax
call edi
add esp, 4
mov ecx, esi
call fcn.004297e0
push str.LUA_CPATH
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00429650
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429650
push str.modules_
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00429650
push str._.dll
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00429650
push 4
mov ecx, esi
call fcn.004297c0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0xb8]
call fcn.0042ccf0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ec], 2
call fcn.0042c850
push eax
call edi
add esp, 4
mov ecx, esi
call fcn.004297e0
push str.package
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004299f0
push str.path
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f4], 3
call fcn.0042d1d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 4
call fcn.0042c850
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00429650
push 0x46bd1c
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429650
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00429650
push 0x46bd0c
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429650
push 4
mov ecx, esi
call fcn.004297c0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x58]
call fcn.0042ccf0
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f0], 5
call fcn.0042c850
push eax
push str.path
lea ecx, [esp + 0x1c]
call fcn.0042d430
mov ecx, esi
call fcn.004297e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1ec], 4
call fcn.0042ce70
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 3
call fcn.0042ce70
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 2
call fcn.0042ce70
push str.package
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004299f0
push str.cpath
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f4], 6
call fcn.0042d1d0
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov byte [esp + 0x1f4], 7
call fcn.00429650
push str.modules_
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00429650
push str._.dll
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429650
push 0x46bd1c
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00429650
lea ecx, [esp + 0x50]
call fcn.0042c850
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00429650
push 5
mov ecx, esi
call fcn.004297c0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x38]
call fcn.0042ccf0
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 8
call fcn.0042c850
push eax
push str.cpath
lea ecx, [esp + 0x1c]
call fcn.0042d430
mov ecx, esi
call fcn.004297e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 7
call fcn.0042ce70
lea ecx, [esp + 0x50]
mov byte [esp + 0x1ec], 6
call fcn.0042ce70
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 2
call fcn.0042ce70
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ec], 1
call fcn.0042ce70
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ec], 0
call fcn.0042ce70
lea ecx, [esp + 0x90]
mov dword [esp + 0x1ec], 0xffffffff
call fcn.0042ce70
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1dc]
pop edi
xor ecx, ebp
pop esi
call fcn.004525c5
mov esp, ebp
pop ebp
ret