Function at 0x10004c30
Capabilities:
Get process image filename
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c978
mov eax, dword fs:[0]
push eax
sub esp, 0x580
mov eax, dword [0x1005801c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x52c], 0
cmp byte [edi + 0x68], 0
jne 0x1000528d
mov esi, dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x10004c88
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
jmp 0x10004c96
push esi
push 0
push 0x1000
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
je 0x1000507b
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push eax
call dword [sym.imp.kernel32.dll_K32GetProcessImageFileNameA]
test eax, eax
je 0x1000507b
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004d00
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.100029b0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
cmovae esi, dword [ebp - 0x428]
or edx, 0xffffffff
cmp dword [ebp - 0x418], 0
je 0x10004dae
push 0x100
lea eax, [ebp - 0x528]
push 0
push eax
call fcn.100228a0
add esp, 0xc
mov ecx, 0x1004f3ac
nop
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x528], 1
cmp ecx, 0x1004f3ae
jne 0x10004d60
mov eax, dword [ebp - 0x418]
or edx, 0xffffffff
dec eax
mov ecx, edx
cmp eax, edx
cmovb ecx, eax
movzx eax, byte [ecx + esi]
add ecx, esi
mov al, byte [ebp + eax - 0x528]
test al, al
jne 0x10004daa
cmp ecx, esi
je 0x10004dae
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x528]
test al, al
je 0x10004d96
sub ecx, esi
jmp 0x10004db1
or ecx, 0xffffffff
inc ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x54c], 0
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0xf
mov byte [ebp - 0x54c], 0
cmp eax, ecx
jb 0x100052f4
sub eax, ecx
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
add eax, ecx
lea ecx, [ebp - 0x54c]
push edx
push eax
call fcn.100029b0
mov dword [ebp - 0x52c], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x538]
mov ecx, dword [ebp - 0x53c]
sub eax, ecx
cmp eax, 1
jb 0x10004eee
cmp dword [ebp - 0x538], 0x10
lea esi, [ebp - 0x54c]
lea edx, [ecx + 1]
cmovae esi, dword [ebp - 0x54c]
mov dword [ebp - 0x53c], edx
cmp esi, 0x1004f3a9
jae 0x10004e9f
lea eax, [esi + ecx]
cmp eax, 0x1004f3a8
jb 0x10004e9f
cmp esi, 0x1004f3a8
ja 0x10004e90
mov dword [ebp - 0x530], 0
jmp 0x10004ea9
mov eax, esi
sub eax, 0x1004f3a8
mov dword [ebp - 0x530], eax
jmp 0x10004ea9
mov dword [ebp - 0x530], 1
push edx
lea eax, [esi + 1]
push esi
push eax
call fcn.10021270
push dword [ebp - 0x530]
push 0x1004f3a8
push esi
call fcn.10021270
mov edx, dword [ebp - 0x530]
mov eax, 1
sub eax, edx
push eax
lea eax, [edx + 0x1004f3a9]
lea ecx, [esi + edx]
push eax
push ecx
call fcn.10021270
add esp, 0x24
lea eax, [ebp - 0x54c]
jmp 0x10004f0d
push 1
sub esp, 8
mov byte [ebp - 0x530], 0
lea ecx, [ebp - 0x54c]
push dword [ebp - 0x530]
push 1
call fcn.100078b0
mov dword [ebp - 0x57c], 0
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x568], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x52c], 3
movups xmmword [ebp - 0x57c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x56c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x57c]
push 0x1004f3a8
call fcn.100061b0
mov dword [ebp - 0x564], 0
lea esi, [edi + 8]
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x564], xmm0
movups xmmword [ebp - 0x58c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x554], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x564]
movq qword [ebp - 0x534], xmm0
mov dword [ebp - 0x52c], 7
cmp esi, eax
je 0x10005016
mov ecx, esi
call fcn.10002930
movups xmm0, xmmword [ebp - 0x58c]
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x564], 0
movq xmm0, qword [ebp - 0x534]
movq qword [esi + 0x10], xmm0
mov esi, 7
mov dword [ebp - 0x52c], esi
and esi, 0xfffffffb
mov dword [ebp - 0x52c], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x564]
call fcn.10002930
and esi, 0xfffffffd
mov dword [ebp - 0x52c], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x57c]
call fcn.10002930
and esi, 0xfffffffe
mov dword [ebp - 0x52c], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54c]
call fcn.10002930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10002930
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push 0x21
push str.Loading_assembler_into_process...
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov dword [ebp - 4], 4
push 0
push dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10001840
mov eax, dword [edi + 0x20]
add esp, 0x20
test eax, eax
jne 0x10005103
call fcn.10004950
mov dword [edi + 0x20], eax
test eax, eax
jne 0x10005103
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push 0x18
push str.Assembler_DLL_not_found.
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov dword [ebp - 4], 5
jmp 0x100052c3
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.WeMod_1
push eax
call esi
push str.WeMod_2
push dword [edi + 0x20]
mov dword [edi + 0x58], eax
call esi
push str.WeMod_4
push dword [edi + 0x20]
mov dword [edi + 0x60], eax
call esi
push str.WeMod_5
push dword [edi + 0x20]
mov dword [edi + 0x54], eax
call esi
push str.WeMod_6
push dword [edi + 0x20]
mov dword [edi + 0x50], eax
call esi
push str.WeMod_7
push dword [edi + 0x20]
mov dword [edi + 0x5c], eax
call esi
cmp dword [edi + 0x58], 0
mov dword [edi + 0x64], eax
je 0x10005291
cmp dword [edi + 0x60], 0
je 0x10005291
cmp dword [edi + 0x54], 0
je 0x10005291
cmp dword [edi + 0x50], 0
je 0x10005291
cmp dword [edi + 0x5c], 0
je 0x10005291
test eax, eax
je 0x10005291
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push 0x11
push str.Assembler_loaded.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov dword [ebp - 4], 7
push 0
push dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10001840
mov eax, dword [edi + 0x50]
lea esi, [edi + 0x48]
add esp, 0x20
push esi
push dword [edi + 4]
call eax
test eax, eax
je 0x10005231
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push 0x38
push str.Failed_to_create_global_assembler_context_with_error__d.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov dword [ebp - 4], 8
push 3
push dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10001840
add esp, 0x24
jmp 0x100052d7
lea eax, [edi + 0x4c]
push eax
push dword [esi]
mov eax, dword [edi + 0x54]
call eax
test eax, eax
je 0x10005289
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push 0x35
push str.Failed_to_create_symbol_script_context_with_error__d.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov dword [ebp - 4], 9
push 3
push dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10001840
add esp, 0x24
jmp 0x100052d7
mov byte [edi + 0x68], 1
mov al, 1
jmp 0x100052d9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x530], esp
push 0x25
push str.Assembler_exports_could_not_be_found.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov dword [ebp - 4], 6
push 3
push dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10001840
add esp, 0x20
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fb3b
mov esp, ebp
pop ebp
ret
call fcn.100067d0
int3