joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407c99
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x40e4b8
call fcn.004089f0
mov edi, 0x94
mov eax, edi
call fcn.0040a270
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4124fc], ecx
mov eax, dword [esi + 4]
mov dword [0x412508], eax
mov edx, dword [esi + 8]
mov dword [0x41250c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x412500], esi
cmp ecx, 2
je 0x407cf9
or esi, 0x8000
mov dword [0x412500], esi
shl eax, 8
add eax, edx
mov dword [0x412504], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x407d34
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407d34
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x407d4c
cmp eax, 0x20b
je 0x407d39
mov dword [ebp - 0x1c], esi
jmp 0x407d60
cmp dword [ecx + 0x84], 0xe
jbe 0x407d34
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x407d5a
cmp dword [ecx + 0x74], 0xe
jbe 0x407d34
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0040a218
pop ecx
test eax, eax
jne 0x407d74
push 0x1c
call fcn.00407c75
pop ecx
call fcn.00409278
test eax, eax
jne 0x407d85
push 0x10
call fcn.00407c75
pop ecx
call fcn.0040a176
mov dword [ebp - 4], esi
call fcn.00409f78
test eax, eax
jge 0x407d9e
push 0x1b
call fcn.00407c50
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x414e60], eax
call fcn.00409e56
mov dword [0x4124e4], eax
call fcn.00409db4
test eax, eax
jge 0x407dc4
push 8
call fcn.00407c50
pop ecx
call fcn.00409b81
test eax, eax
jge 0x407dd5
push 9
call fcn.00407c50
pop ecx
call fcn.004093b8
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x407de8
push eax
call fcn.00407c50
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00409b18
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x407e09
movzx eax, word [ebp - 0x34]
jmp 0x407e0c
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.00402ed6
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x407e2a
push edi
call fcn.004094f0
call fcn.00409512
jmp 0x407e5c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00408a2b
ret
Function at 0x40b1e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4127a8], ebx
push esi
push edi
jne 0x40b264
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40b29f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40efd4
push edi
call esi
test eax, eax
mov dword [0x4127a8], eax
je 0x40b29f
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4127ac], eax
call esi
cmp dword [0x4124fc], 2
mov dword [0x4127b0], eax
jne 0x40b264
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4127b8], eax
je 0x40b264
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4127b4], eax
mov eax, dword [0x4127b4]
test eax, eax
je 0x40b2a9
call eax
test eax, eax
je 0x40b290
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4127b8]
test eax, eax
je 0x40b290
test byte [ebp - 8], 1
jne 0x40b2a9
cmp dword [0x412508], 4
jb 0x40b2a3
or byte [ebp + 0x12], 0x20
jmp 0x40b2c8
xor eax, eax
jmp 0x40b2d8
or byte [ebp + 0x12], 4
jmp 0x40b2c8
mov eax, dword [0x4127ac]
test eax, eax
je 0x40b2c8
call eax
mov ebx, eax
test ebx, ebx
je 0x40b2c8
mov eax, dword [0x4127b0]
test eax, eax
je 0x40b2c8
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4127a8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cce1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040a270
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40cd76
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x4124fc]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x40cd76
cmp eax, 1
je 0x40cd8e
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40cd76
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x40cd4b
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x40cd72
xor eax, eax
inc eax
jmp 0x40cdaa
cmp esi, ebx
jae 0x40cd7a
xor eax, eax
jmp 0x40cdaa
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4124fc]
jmp 0x40cd90
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10001010
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x1000101c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10001026
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10001030
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x1000103a
or eax, 8
shr ecx, 1
test cl, 1
je 0x10001044
or eax, 4
shr ecx, 1
test cl, 1
je 0x1000104e
or eax, 2
test cl, 2
je 0x10001056
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10001110
test al, 1
je 0x1000111d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10001110
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10001004
pop edi
pop ebx
ret

Function at 0x10001140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x1005d668
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10001172
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x100011a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10001203
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100011e9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x100011c8
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x100011c0
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10001c20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x100d3438]
fld dword [eax]
mov ecx, dword [0x100d3444]
fld dword [0x100d3464]
push esi
fdiv qword [0x1005f970]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x100d3448]
lea edx, [esp + 0x10]
push edx
push 0x40
push 8
push edi
fdivp st(1)
fstp dword [esp + 0x1c]
fld qword [ecx]
fsub qword [0x1005fbd8]
fabs
fstp qword [esp + 0x28]
call esi
fld dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
fmul qword [0x10060170]
lea eax, [esp + 0x10]
push eax
push ecx
fstp dword [esp + 0x1c]
push 8
fld dword [esp + 0x20]
push edi
fld qword [esp + 0x28]
fmul qword [0x1005f9a0]
faddp st(1)
fstp qword [edi]
call esi
mov edx, dword [0x100d3444]
fld qword [edx]
mov edi, dword [0x100d344c]
fsub qword [0x1005fbd8]
lea eax, [esp + 0x10]
push eax
push 0x40
push 8
fabs
push edi
fstp qword [esp + 0x28]
call esi
fld qword [esp + 0x18]
fmul qword [0x1005f9a0]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
fadd qword [0x10060168]
push edx
push 8
push edi
fstp qword [edi]
call esi
mov eax, dword [0x100d3444]
fld qword [eax]
mov edi, dword [0x100d3450]
fsub qword [0x1005fbd8]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 4
fabs
push edi
fstp qword [esp + 0x28]
call esi
fld qword [esp + 0x18]
fstp dword [esp + 0x14]
lea edx, [esp + 0x10]
fld dword [esp + 0x14]
fmul qword [0x1005f9a0]
fld dword [esp + 0xc]
fmul qword [0x1005fe58]
fstp dword [esp + 0x14]
fadd dword [esp + 0x14]
fstp dword [edi]
mov eax, dword [esp + 0x10]
push edx
push eax
push 4
push edi
call esi
mov ecx, dword [0x100d3444]
fld qword [ecx]
mov edi, dword [0x100d3454]
fsub qword [0x1005fbd8]
lea edx, [esp + 0x10]
push edx
push 0x40
push 4
fabs
push edi
fstp qword [esp + 0x28]
call esi
fld qword [esp + 0x18]
mov ecx, dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
lea eax, [esp + 0x10]
fmul qword [0x1005f9a0]
push eax
push ecx
push 4
fadd qword [0x10060160]
push edi
fstp dword [edi]
call esi
mov edx, dword [0x100d3444]
fld qword [edx]
mov edi, dword [0x100d3458]
fsub qword [0x1005fbd8]
lea eax, [esp + 0x10]
push eax
push 0x40
fabs
push 4
fstp dword [esp + 0x20]
push edi
fld dword [esp + 0x24]
fmul qword [0x1005f9a0]
fld dword [0x100d3490]
fdiv qword [0x1005f970]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x24]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call esi
mov edx, dword [esp + 0x10]
fld dword [esp + 0x14]
lea ecx, [esp + 0x10]
fstp dword [edi]
push ecx
push edx
push 4
push edi
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001e00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
cmp dword [0x100d3460], 0
push esi
push edi
je 0x10001fd7
mov edi, dword [0x100d3438]
fld dword [0x100d3464]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x100d3468]
mov edi, dword [0x100d343c]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x100d346c]
mov edi, dword [0x100d3440]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld qword [0x100d3470]
mov edi, dword [0x100d3444]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push edi
call esi
fld qword [0x100d3478]
mov edi, dword [0x100d3448]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push edi
call esi
fld qword [0x100d3480]
mov edi, dword [0x100d344c]
fstp qword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 8
push edi
call esi
fld qword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp qword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 8
push edi
call esi
fld dword [0x100d3488]
mov edi, dword [0x100d3450]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x100d348c]
mov edi, dword [0x100d3454]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
fld dword [0x100d3490]
mov edi, dword [0x100d3458]
fstp dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push edi
call esi
fld dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fstp dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
push 4
push edi
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002700
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
mov ebx, 1
push ebx
push 0x813bf4
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x813bf4], bl
mov edx, dword [ebp - 4]
push edx
push ebx
push 0x813bf4
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push 0x4ebd07
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4ebd07], bl
mov edx, dword [ebp - 4]
push edx
push ebx
push 0x4ebd07
call esi
push 0x10002350
push 0x4d9d0e
mov bl, 0xe8
call fcn.10056900
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x59788f
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x59788f], 0x14
mov edx, dword [ebp - 4]
push edx
push 1
push 0x59788f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x597897
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x597897], 0xa
mov edx, dword [ebp - 4]
push edx
push 1
push 0x597897
call esi
push 0x10002650
push 0x588277
mov bl, 0xe9
call fcn.10056900
push 0x10002670
push 0x588460
call fcn.10056900
push 0x10002690
push 0x588560
call fcn.10056900
push 0x100026b0
push 0x4f0356
mov bl, 0xe8
call fcn.10056900
push 0x10002580
push 0x51cb60
mov bl, 0xe9
call fcn.10056900
push 0x10002470
push 0x51e440
call fcn.10056900
add esp, 0x30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003720
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x10003500
push 0x40487d
mov bl, 0xe8
call fcn.10056900
push 0x10003500
push 0x48e56c
call fcn.10056900
push 0x10003500
push 0x57d4ff
call fcn.10056900
push 0x10003500
push 0x57d513
call fcn.10056900
push 0x572370
push 0x572346
mov bl, 0xe9
call fcn.10056900
push 0x100029c0
push 0x5750e2
call fcn.10056900
push 0x10002b90
push 0x5fad70
call fcn.10056900
push 0x10002c70
push 0x5757d4
call fcn.10056900
add esp, 0x40
push 0x10002940
push 0x633fb3
mov bl, 0xe8
call fcn.10056900
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x574695
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x574695], 6
mov edx, dword [ebp - 4]
push edx
push 4
push 0x574695
call esi
push 0x10003340
push 0x5748ff
mov bl, 0xe9
call fcn.10056900
push 0x100033d0
push 0x5751d1
call fcn.10056900
push 0x100033b0
push 0x5750fb
call fcn.10056900
push 0x10002bd0
push 0x576058
call fcn.10056900
push 0x10002c20
push 0x576141
call fcn.10056900
push 0x10002ca0
push 0x836449
call fcn.10056900
push 0x10002cc0
push 0x83629c
call fcn.10056900
add esp, 0x38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x483414
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x483414], 0
mov edx, dword [ebp - 4]
push edx
push 1
push 0x483414
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x483402
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x483402], 7
mov edx, dword [ebp - 4]
push edx
push 4
push 0x483402
call esi
push 0x10004a30
push 0x4d5691
mov bl, 0xe8
call fcn.10056900
push 0x10004b50
push 0x48346b
call fcn.10056900
push 0x10004b20
push 0x48345d
call fcn.10056900
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d5703
call esi
mov edi, str.Interface_none.tga
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d5703], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d5703
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d5723
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d5723], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d5723
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d5743
call esi
lea ecx, [ebp - 4]
mov dword [0x4d5743], edi
push ecx
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d5743
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d5763
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d5763], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d5763
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d57c8
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d57c8], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d57c8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d57e8
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d57e8], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d57e8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d5808
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d5808], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d5808
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d5828
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d5828], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d5828
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d56cd
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d56cd], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d56cd
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d56ad
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d56ad], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d56ad
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d566d
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d566d], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d566d
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d562d
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d562d], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d562d
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b120
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.._LordConfigs.ini
push 0x400
push 0x100bc578
push 0x1005d838
push str.Notice_1
push str.Notice
call esi
push str.._LordConfigs.ini
push 0x400
push 0x100bc178
push 0x1005d838
push str.Notice_2
push str.Notice
call esi
cmp dword [0x100bc97c], 0
mov dword [0x100bc084], 0
jne 0x1000b1aa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [0x100bc978]
push eax
push 0x1000b220
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100bc97c], eax
test eax, eax
jne 0x1000b1aa
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
mov ecx, 0x1000b0e0
push 5
sub ecx, 0x4d0e34
push 0x4d0e2f
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], ecx
mov dword [ebp - 4], 0
call esi
test eax, eax
je 0x1000b208
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov eax, 0x4d0e2f
mov dword [eax], ecx
mov byte [eax + 4], dl
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
push 5
push 0x4d0e2f
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x1000b20e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000bbe0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100cb10c]
sub esp, 0x10
push esi
xor esi, esi
cmp dword [eax + 0x3a0], esi
jne 0x1000bd4a
push ebx
push edi
push 0x1000b500
push 0x5edda9
mov bl, 0xe8
call fcn.10056900
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push 0x4d6c2c
lea ebx, [esi + 0x4c]
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x1000bc4a
mov edx, 0x4d6c2c
mov dword [edx], ebx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
push 4
push edx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x1000bc50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000b3f0
push 0x4d712a
mov bl, 0xe8
call fcn.10056900
mov edx, dword [0x100cb10c]
add esp, 8
cmp dword [edx + 0x3ac], 1
jne 0x1000bc91
push 0x1e0
mov esi, 0x4d7179
call fcn.10055ff0
push 0
mov esi, 0x4d7183
call fcn.10055f90
add esp, 8
mov esi, 5
mov ebx, 0x63d1ce
call fcn.100560c0
lea ecx, [ebp - 4]
push ecx
push 0x40
mov eax, 0x1000bb80
push 5
sub eax, 0x63d1d3
xor esi, esi
push ebx
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x1000bce6
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov eax, ebx
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 5
push ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x1000bcec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 5
mov ebx, 0x63d40f
call fcn.100560c0
lea edx, [ebp - 4]
push edx
push 0x40
mov ecx, 0x1000bbb0
push 5
sub ecx, 0x63d414
xor esi, esi
push ebx
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 0xf], ecx
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x1000bd42
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov eax, ebx
mov dword [eax], ecx
mov byte [eax + 4], dl
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
push 5
push ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x1000bd48
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret