joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11cd21a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x12133f80]
test eax, eax
je 0x11cd21bd
push str.SetHookVShowToOpenTable_called_
push str.dodragdrop
push 4
call fcn.11ca5810
add esp, 0xc
mov eax, dword [esp + 4]
push esi
mov eax, dword [eax]
lea esi, [eax + 0xc]
test esi, esi
jne 0x11cd21cf
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push ebx
xor ebx, ebx
push edi
test eax, eax
je 0x11cd223b
cmp eax, 0x11cd20b0
je 0x11cd223b
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 4
push esi
mov ebx, eax
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x11cd2218
mov edx, dword [esp + 0x10]
push 0
push edx
push 4
push esi
mov dword [esi], 0x11cd20b0
call edi
mov eax, ebx
pop edi
pop ebx
pop esi
ret
mov eax, dword [0x12133f80]
test eax, eax
je 0x11cd223b
mov eax, dword [0x12126854]
push eax
push str.__s__SetHookVShowToOpenTable:_VirtualProtect._Failed._Cant_Hook___n
push str.SafeDoc
push 4
call fcn.11ca5810
add esp, 0x10
mov eax, ebx
pop edi
pop ebx
pop esi
ret

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

Disassembly:
mov eax, dword [0x12133f80]
test eax, eax
je 0x11cd235d
push str.SetHookVShowToSaveTable_called_
push str.dodragdrop
push 4
call fcn.11ca5810
add esp, 0xc
mov eax, dword [esp + 4]
push esi
mov eax, dword [eax]
lea esi, [eax + 0xc]
test esi, esi
jne 0x11cd236f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push ebx
xor ebx, ebx
push edi
test eax, eax
je 0x11cd23db
cmp eax, 0x11cd2250
je 0x11cd23db
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 4
push esi
mov ebx, eax
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x11cd23b8
mov edx, dword [esp + 0x10]
push 0
push edx
push 4
push esi
mov dword [esi], 0x11cd2250
call edi
mov eax, ebx
pop edi
pop ebx
pop esi
ret
mov eax, dword [0x12133f80]
test eax, eax
je 0x11cd23db
mov eax, dword [0x12126854]
push eax
push str.__s__SetHookVShowToSaveTable:_VirtualProtect._Failed._Cant_Hook___n
push str.SafeDoc
push 4
call fcn.11ca5810
add esp, 0x10
mov eax, ebx
pop edi
pop ebx
pop esi
ret
Function at 0x11ce90c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11fa2e07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x11fd6250]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x40]
mov dword [ecx], eax
mov edx, dword [0x11fd6250]
xor eax, eax
lea edi, [esi + 0x44]
mov dword [esp + 0x18], eax
mov dword [edi], edx
mov edx, dword [0x11fd6250]
lea ebx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [ebx], edx
mov byte [esp + 0x18], 2
mov dword [esi + 0x4c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov byte [esp + 0x18], 3
mov dword [esi + 0x5c], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
mov byte [esp + 0x18], 4
push 0x12119948
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], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
call fcn.11e7f500
push 0x12119948
mov ecx, edi
call fcn.11e7f500
push 0x12119948
mov ecx, ebx
call fcn.11e7f500
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x11d11890
Capabilities:
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
mov ebx, dword [esp + 0x224]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x220]
lea eax, [esp + 0x10]
push eax
push 0x12052ea0
push edi
mov dword [ebx], esi
call fcn.11ce3650
add esp, 0xc
test eax, eax
je 0x11d1193d
mov ebp, dword [esp + 0x21c]
lea ecx, [esp + 0x10]
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x11d11925
push 1
lea edx, [esp + 0x14]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x11d1192c
mov eax, dword [esp + 0x228]
test eax, eax
je 0x11d11913
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret 0x10
lea eax, [esp + 0x10]
push eax
jmp 0x11d11937
lea ecx, [esp + 0x10]
mov dword [ebx], 1
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 0x10
Function at 0x11d17a40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x11fa58d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
call fcn.11e7e880
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x24], ebx
call fcn.11d17c00
mov eax, dword [0x12133f80]
cmp eax, ebx
je 0x11d17aa3
mov ecx, dword [esp + 0xc]
push ecx
push str._CSafeDoc::IsNeedEncryptFromSrcFile__SrcFile__s_
push str.ReadCmdLine
push 4
call fcn.11ca5810
add esp, 0x10
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x11d17ba2
test al, 0x10
jne 0x11d17bd7
mov edi, dword [esp + 0x2c]
push ebp
push edi
mov ecx, esi
call fcn.11d17c00
lea ecx, [esp + 0x14]
call fcn.11e16080
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
mov ecx, 0x1212b5c0
mov byte [esp + 0x38], 1
call fcn.11d6cfd0
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov ebp, eax
call fcn.11ee1fb0
add esp, 0x28
mov esi, eax
mov eax, dword [edi]
mov ecx, 0x1212b5c0
push ebx
push ebx
neg esi
push ebx
push ebx
sbb esi, esi
push eax
neg esi
call fcn.11d6cfd0
mov ebx, eax
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d17b48
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
push ebx
push edx
push esi
push ebp
push eax
push str._CSafeDoc::IsNeedEncryptFromSrcFile__SrcFile__s__bAutoEncSrc__d__bEncSrcFile__d___DstFile__s__bAutoEncDst__d_
push str.ReadCmdLine
push 4
call fcn.11ca5810
add esp, 0x20
test ebp, ebp
pop ebp
jne 0x11d17b55
test esi, esi
jne 0x11d17b55
test ebx, ebx
je 0x11d17b6b
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 1
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.11e7f410
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.11e16090
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.11e7f280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x11d17bac
mov dword [eax], ebx
push 0x2a
lea ecx, [esp + 0x10]
call fcn.11e80380
test eax, eax
jle 0x11d17b79
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x11d17b79
lea edx, [esp + 0xc]
mov ecx, edi
push edx
mov dword [eax], 1
call fcn.11e7f410
jmp 0x11d17b79
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x11d17be5
mov dword [eax], 1
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.11e7f410
jmp 0x11d17b79
Function at 0x11d18c10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x11fa5a20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
push 2
lea ecx, [esp + 0x18]
call fcn.11e15fa0
lea eax, [esi + 0x4c]
push 1
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.11e8c590
mov eax, dword [esi + 0x58]
xor edi, edi
test eax, eax
mov byte [esp + 0x28], 1
jle 0x11d18ca2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + edi*4]
push eax
call ebp
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11d18c99
mov edx, dword [esi + 0x54]
mov ecx, dword [0x12126854]
push eax
mov eax, dword [edx + edi*4]
push eax
push ecx
push str.__s__CSafeDoc::DeleteDecryptFile___File__s__Ret__d__n
push str.DeleteFile
push 4
call fcn.11ca5810
add esp, 0x18
mov eax, dword [esi + 0x58]
inc edi
cmp edi, eax
jl 0x11d18c63
pop ebp
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.11e8c5f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.11e15fd0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x11d18ce0
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push esi
call fcn.11dbb560
add esp, 8
test eax, eax
je 0x11d18d9d
mov ecx, 0x1212b458
call fcn.11df44e0
test eax, eax
jne 0x11d18d3e
mov ecx, 0x1212b458
call fcn.11df4580
test eax, eax
jne 0x11d18d3e
mov ecx, 0x1212b458
call fcn.11df4520
test eax, eax
je 0x11d18d9d
push 0x1203a7c4
push esi
call fcn.11e9bad0
add esp, 8
test eax, eax
je 0x11d18d9d
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x11d18d9d
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x11d18d9d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x11d18d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11d18d90
push eax
push str.dwErrorCode___d_n
push str.SafeDoc
push 4
call fcn.11ca5810
add esp, 0x10
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4
Function at 0x11d1fa50
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x11fa6098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 4]
push 1
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edi
call fcn.11e8c590
mov eax, dword [esi + 0x18]
mov dword [esp + 0x38], edi
cmp eax, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
jle 0x11d1fafa
mov esi, dword [esi + 0x14]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x20], esi
add esi, 0x50
mov dword [esp + 0x14], esi
mov ebx, dword [esi]
xor edi, edi
test ebx, ebx
jle 0x11d1fae6
mov esi, dword [esi - 4]
add esi, 0x214
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
jle 0x11d1fad3
mov eax, dword [esi - 4]
add eax, 4
cmp ebp, dword [eax]
je 0x11d1fb10
inc ecx
add eax, 0x20
cmp ecx, edx
jl 0x11d1fac7
inc edi
add esi, 0x220
cmp edi, ebx
jl 0x11d1fab9
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add esi, 0x6c
inc ecx
mov dword [esp + 0x14], esi
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x11d1faa8
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.11e8c5f0
jmp 0x11d1fb99
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
xor eax, eax
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*8]
lea edx, [edx + ecx*4]
mov ecx, dword [edx + 0x60]
test ecx, ecx
jle 0x11d1fb3d
mov edx, dword [edx + 0x5c]
lea esi, [edx + 4]
cmp dword [esi], 0
jne 0x11d1fb54
inc eax
add esi, 0xc
cmp eax, ecx
jl 0x11d1fb30
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.11e8c5f0
jmp 0x11d1fb5c
lea eax, [eax + eax*2]
mov esi, dword [edx + eax*4]
jmp 0x11d1fb41
test esi, esi
je 0x11d1fb99
push 0
push 1
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x11d1fb99
push 1
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x11d1fb92
mov ecx, dword [esp + 0x44]
mov dword [ecx], esi
jmp 0x11d1fb9b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x11d205c0
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x11fa6227
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x64]
push 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.11e8c590
push 0x12119948
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 1
call fcn.11e7eae0
mov byte [esp + 0x30], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
xor edx, edx
mov esi, edi
mov dword [esp + 0x14], edi
shr esi, 4
mov eax, esi
div dword [ebx + 0x70]
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x11d20653
mov eax, dword [eax + edx*4]
test eax, eax
je 0x11d20653
cmp dword [eax + 8], edi
je 0x11d20642
mov eax, dword [eax]
test eax, eax
jne 0x11d20635
jmp 0x11d20653
test eax, eax
je 0x11d20653
add eax, 0xc
lea ecx, [esp + 0xc]
push eax
call fcn.11e7f410
mov ecx, dword [ebx + 0x6c]
push ebp
test ecx, ecx
je 0x11d20722
mov eax, esi
xor edx, edx
div dword [ebx + 0x70]
mov esi, dword [ecx + edx*4]
test esi, esi
lea eax, [ecx + edx*4]
je 0x11d20722
cmp dword [esi + 8], edi
je 0x11d20686
mov eax, esi
mov esi, dword [esi]
test esi, esi
jne 0x11d20674
jmp 0x11d20722
mov ecx, dword [esi]
lea ebp, [esi + 0xc]
mov dword [eax], ecx
xor edi, edi
mov ecx, ebp
call fcn.11e7f280
add ebp, 4
mov edx, edi
dec edi
test edx, edx
jne 0x11d2068f
mov eax, dword [ebx + 0x78]
mov dword [esi], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x74], eax
jne 0x11d2071e
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x11d206fc
mov ecx, dword [ebx + 0x70]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jbe 0x11d206fc
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x11d206f0
lea esi, [ebp + 0xc]
xor edi, edi
mov ecx, esi
call fcn.11e7f280
add esi, 4
mov edx, edi
dec edi
test edx, edx
jne 0x11d206d4
mov ebp, dword [ebp]
test ebp, ebp
jne 0x11d206cf
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x11d206c5
mov eax, dword [ebx + 0x6c]
push eax
call fcn.11e679b1
mov ecx, dword [ebx + 0x7c]
xor esi, esi
add esp, 4
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
call fcn.11e8aef0
mov dword [ebx + 0x7c], esi
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x88]
pop ebp
cmp edi, eax
jne 0x11d20739
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x84]
mov dword [ecx], eax
mov esi, dword [esp + 0x38]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.11e7e880
mov dword [esp + 0x24], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.11e8c5f0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x11d34e30
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
mov esi, dword [esp + 0x420]
test esi, esi
push edi
je 0x11d34f03
mov ecx, dword [esp + 0x428]
test ecx, ecx
je 0x11d34f03
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x11d34f03
mov ax, word [esi]
test ax, ax
je 0x11d34f03
cmp word [esi + 2], 0
lea ebx, [esi + 2]
je 0x11d34f03
mov dx, word [esi + 4]
lea ebp, [esi + 4]
test dx, dx
je 0x11d34f03
mov di, word [esi + 6]
test di, di
jne 0x11d34ebc
mov word [ecx], ax
mov ax, word [ebx]
mov word [ecx + 2], ax
mov dx, word [ebp]
mov word [ecx + 6], di
pop edi
pop esi
pop ebp
mov word [ecx + 4], dx
mov eax, 1
pop ebx
add esp, 0x410
ret
cmp ax, 0x5c
jne 0x11d34f78
cmp word [ebx], ax
jne 0x11d34f78
cmp dx, 0x2e
jne 0x11d34eda
cmp di, ax
je 0x11d34ee6
cmp dx, 0x3f
jne 0x11d34f10
cmp di, 0x5c
jne 0x11d34f10
add esi, 8
cmp word [esi], 0
je 0x11d34f03
cmp word [esi + 2], 0x3a
lea ebx, [esi + 2]
jne 0x11d34f03
cmp word [esi + 4], 0x5c
lea ebp, [esi + 4]
je 0x11d34f78
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret
push 0x5c
push ebp
call fcn.11e684ca
add esp, 8
test eax, eax
je 0x11d34f03
push 6
push str.pipe_
push eax
call fcn.11e68a1f
add esp, 0xc
test eax, eax
je 0x11d34f03
mov edi, dword [esp + 0x42c]
lea eax, [edi - 1]
push eax
push esi
mov esi, dword [esp + 0x430]
push esi
call fcn.11e674bf
push esi
mov word [esi + edi*2 - 2], 0
call fcn.11e6852b
push esi
call fcn.11e67d05
add esp, 0x14
mov ecx, 3
cmp ecx, eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x410
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
cmp word [ebx], 0x3a
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x11d35024
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x11d34f03
cmp eax, 0x104
jae 0x11d34f03
lea eax, [esp + 0x10]
push eax
call fcn.11e67d05
mov edi, eax
mov ax, word [esi]
add esp, 4
cmp ax, 0x2e
jne 0x11d34ff2
cmp word [ebx], 0x5c
jne 0x11d34fdd
mov esi, ebp
jmp 0x11d34ff2
cmp ax, 0x2e
jne 0x11d34ff2
cmp word [ebx], ax
jne 0x11d34ff2
cmp word [ebp], 0x5c
jne 0x11d34ff2
add esi, 6
push esi
call fcn.11e67d05
lea ecx, [eax + edi + 1]
add esp, 4
cmp ecx, 0x104
jae 0x11d34f03
lea edx, [esp + 0x10]
push esi
push edx
mov word [esp + edi*2 + 0x18], 0x5c
call fcn.11e67470
add esp, 8
lea esi, [esp + 0x10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
push 0x7e
push esi
stosw word es:[edi], ax
call fcn.11e684ca
add esp, 8
test eax, eax
je 0x11d35088
lea eax, [esp + 0x218]
push 0x104
push eax
push esi
call fcn.11caf570
add esp, 0xc
test eax, eax
jne 0x11d35081
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x11d35088
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret
lea esi, [esp + 0x218]
mov edi, dword [esp + 0x42c]
lea ecx, [edi - 1]
push ecx
push esi
mov esi, dword [esp + 0x430]
push esi
call fcn.11e674bf
add esp, 0xc
mov word [esi + edi*2 - 2], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x11d45c90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x11fa8bc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebp
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.11e15fa0
mov ebp, dword [esp + 0x78]
xor esi, esi
test ebp, ebp
mov dword [esp + 0x70], 0
je 0x11d45d80
push ebp
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11d45d80
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
push ebp
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x28], eax
call fcn.11e7eae0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push esi
push 0x4000010
push esi
push esi
push esi
push 0x400
lea ecx, [esp + 0xa0]
mov byte [esp + 0x98], 1
call fcn.11e7ff50
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [esp + 0x80]
mov esi, eax
call fcn.11e80020
test esi, esi
pop edi
je 0x11d45d72
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov esi, 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.11e7f280
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d45dae
test ebp, ebp
jne 0x11d45d92
mov ebp, str.NULL
mov eax, dword [0x12126854]
push esi
push ebp
push eax
push str.__s__CSafeInject::ShowSDViewerMessageBoxInner__s__Ret__d__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x18
lea ecx, [esp + 8]
mov dword [esp + 0x70], 0xffffffff
call fcn.11e15fd0
mov ecx, dword [esp + 0x68]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret

Function at 0x11d48a30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
mov ecx, 0x1212b5c0
call fcn.11d689c0
test eax, eax
je 0x11d48a50
mov eax, 1
pop ebx
add esp, 0x28
ret 4
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1e], eax
mov dword [esp + 0xe], ecx
mov dword [esp + 0x22], eax
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
mov eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea edx, [esp + 8]
push edi
mov dword [esp + 0x1a], ecx
lea eax, [esp + 0x24]
push edx
xor edi, edi
mov dword [esp + 0x22], ecx
push eax
push esi
mov word [esp + 0x30], di
mov word [esp + 0x20], di
mov word [esp + 0x2e], cx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x11d48aea
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x11d48aea
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebx
call fcn.11d489c0
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
push esi
mov edi, eax
call fcn.11d49f40
test eax, eax
je 0x11d48aea
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x11d56bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x11fa9a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x11fd6250]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
push 0x12119948
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.11e7f500
mov dword [esp + 0x10], 0
lea ecx, [esi + 4]
push 1
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.11e8c590
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0xc]
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [edi + 4]
mov eax, dword [edi]
mov byte [esp + 0x28], 2
test eax, eax
je 0x11d56d12
mov esi, dword [eax + edx*4]
test esi, esi
je 0x11d56d12
cmp dword [esi + 8], ecx
je 0x11d56c6d
mov esi, dword [esi]
test esi, esi
jne 0x11d56c5d
jmp 0x11d56d12
test esi, esi
je 0x11d56d12
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edx
call fcn.11e7f410
mov esi, dword [esi + 0x14]
test esi, esi
mov dword [esp + 0x10], esi
jne 0x11d56d12
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x34]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x30]
add ecx, 2
push edx
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.11d581b0
mov esi, eax
test esi, esi
jne 0x11d56cf7
cmp dword [edi], 0
jne 0x11d56ccc
mov ecx, dword [edi + 4]
push 1
push ecx
mov ecx, edi
call fcn.11d581f0
mov ecx, edi
call fcn.11d58260
mov edx, dword [esp + 0x34]
mov esi, eax
mov dword [esi + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 8], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + edx*4]
mov dword [esi], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x34]
mov dword [ecx + edx*4], esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
call fcn.11e7f410
mov edx, dword [esp + 0x10]
mov dword [esi + 0x14], edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.11e8c5f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.11e7f280
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8