joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012c34
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x1012d8f
push esi
call fcn.01012a24
cmp eax, 1
je 0x1012d8f
push esi
mov dword [ebp + 8], esi
call fcn.010125e5
cmp eax, 1
jne 0x1012c6c
add esi, 4
mov dword [ebp + 8], esi
push dword [ebp + 8]
call fcn.01012b7c
test eax, eax
jne 0x1012c88
call fcn.0100efe9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1012dc1
cmp dword [ebp + 0x14], ebx
je 0x1012cc5
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1012cc5
push dword [ebp + 0x14]
push dword [ebp + 8]
push 0x100176c
push 2
call fcn.0100fdb8
add esp, 0x10
test eax, eax
je 0x1012ce9
call fcn.0100ef64
cmp eax, ebx
jne 0x1012cd9
push 0x12
call fcn.0100f6f3
jmp 0x1012ce3
push dword [ebp + 8]
push 0x1001750
push 1
call fcn.0100fdb8
add esp, 0xc
jmp 0x1012caf
push ebx
push ebx
push eax
push 0x12
call fcn.01010331
mov edx, eax
cmp edx, ebx
jne 0x1012d08
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1012cfb
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0100efe9
push 8
pop eax
jmp 0x1012dc1
push edi
push 8
pop ecx
push ebx
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 0x10]
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
cmp esi, ebx
pop edi
je 0x1012d53
cmp esi, 0x4b8
je 0x1012d4c
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0100efe9
jmp 0x1012d8b
call fcn.010104b1
jmp 0x1012d8b
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
call fcn.0101286d
push eax
call fcn.0100f10e
test eax, eax
jne 0x1012d8b
push dword [ebp + 8]
call fcn.01012c21
push 0x1580
call fcn.0101132b
push eax
call fcn.0100ef8b
mov esi, 0x4b8
mov eax, esi
jmp 0x1012dc1
cmp dword [ebp + 0xc], ebx
je 0x1012dbf
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1012dbf
push 0x157e
call fcn.0101132b
push eax
call fcn.0100ef8b
mov esi, 0xa0010001
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1012d8b
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
Function at 0x1012de0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
push 0
call ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x101301f
push 0
push edi
call fcn.0100f1d5
test eax, eax
je 0x101301f
xor esi, esi
inc esi
cmp dword [ebp + 0x1c], esi
jne 0x1012e47
cmp dword [ebp + 0xc], 0
je 0x1012e2d
cmp dword [ebp + 0x10], 2
jb 0x1012e2d
cmp dword [ebp + 0x14], 0
je 0x1012e2d
cmp dword [ebp + 0x18], 2
jae 0x1012e47
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1012e3b
push 0x57
call ebx
call fcn.0100efe9
xor eax, eax
jmp 0x1013022
push edi
mov dword [ebp - 4], edi
call fcn.010125e5
cmp eax, esi
jne 0x1012e5a
lea eax, [edi + 4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], esi
jne 0x1012e8b
cmp dword [ebp + 0x14], 0
je 0x1012e8b
push 0
push esi
push 0x100134c
push dword [ebp + 0x14]
call fcn.0100f1ed
test eax, eax
jne 0x1012e8b
push dword [ebp - 4]
call fcn.01012b7c
test eax, eax
jne 0x1012f64
jmp 0x1012e3b
push dword [ebp - 4]
and dword [ebp - 8], 0
call fcn.01012b7c
test eax, eax
je 0x1012e3b
cmp dword [ebp + 0xc], 0
je 0x1012ed0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1012ed0
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.01012dc7
cmp dword [ebp + 0x1c], esi
mov edi, eax
jne 0x1012edf
mov dword [ebp - 8], esi
jmp 0x1012edf
push 0
push 0
push edi
mov dword [ebp - 8], esi
call fcn.01012dc7
mov edi, eax
cmp edi, 0x55
jne 0x1012ef2
push 0x50010001
call ebx
mov eax, esi
jmp 0x1013022
test edi, edi
jne 0x1012efe
cmp dword [ebp - 8], esi
je 0x1012ee4
push edi
jmp 0x1012ee9
mov eax, 0x4c3
cmp edi, eax
ja 0x1012f37
je 0x1013029
cmp edi, 0x34
je 0x1012f23
cmp edi, 0x56
je 0x1012f57
cmp edi, 0x4be
jne 0x1012e3b
push 0x4c6
call ebx
call fcn.0100efe9
push edi
call ebx
jmp 0x1012e40
cmp edi, 0x4cf
jb 0x1012e3b
cmp edi, 0x4d1
jbe 0x1012f23
cmp edi, 0x52e
jne 0x1012fff
cmp dword [ebp + 0x1c], 0
je 0x1012e40
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1012f87
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x1012e3b
push dword [ebp + 0xc]
push 0x157d
call fcn.0101132b
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push esi
add eax, 0x20
push esi
push eax
call fcn.0101120b
add esp, 0x14
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0100f9d7
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.01012dc7
mov edi, eax
test edi, edi
je 0x1012eeb
cmp edi, 0x34
je 0x1012f23
cmp edi, 0x4be
je 0x1012f23
mov eax, 0x4c3
cmp edi, eax
je 0x1013029
cmp edi, 0x4ce
jbe 0x1012e3b
cmp edi, 0x4d1
jbe 0x1012f23
mov esi, 0xa0010001
cmp edi, esi
jne 0x1012e3b
push 0x157e
call fcn.0101132b
push eax
call fcn.0100ef8b
push esi
call ebx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x18
push eax
jmp 0x1012ee9
Function at 0x101499a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001818
call fcn.01014b60
cmp word [0x1000000], 0x5a4d
jne 0x10149d9
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x10149d9
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x10149f2
cmp ecx, 0x20b
je 0x10149df
and dword [ebp - 0x1c], 0
jmp 0x1014a09
cmp dword [eax + 0x1000084], 0xe
jbe 0x10149d9
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x1014a03
cmp dword [eax + 0x1000074], 0xe
jbe 0x10149d9
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1016170], 0xffffffff
or dword [0x1016174], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1016160]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x101615c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1016178], eax
call fcn.01014bde
cmp dword [0x1016030], 0
jne 0x1014a66
push fcn.01014bde
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01014bcc
push 0x1016010
push 0x101600c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1016158]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1016154]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1016008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100c05a
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x1014ade
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1014b13
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01014b9b
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x409ce1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ce1
lcall 0x5de5, 0x8b10c483
jmp loc.0095f1ac
Function at 0x10004d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x20]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x10003e50
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], bl
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], bl
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10001220
mov edi, eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [0x1001fee0], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
add esp, 0x10
add edi, 4
dec ebp
jne 0x10004e04
lea eax, [esi + 0x46]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
mov word [esi + 0x58], 0x140
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10004d25
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x20]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x10003e50
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], bl
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], bl
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10001220
mov edi, eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [0x1001fee0], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
add esp, 0x10
add edi, 4
dec ebp
jne 0x10004e04
lea eax, [esi + 0x46]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
mov word [esi + 0x58], 0x140
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10004eb0
Capabilities:
Link many functions at runtime
Terminate thread

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.MSVCRT.dll_puts]
push 0x100012a0
mov dword [esi], 0x10003e50
call edi
mov eax, dword [0x1001fee0]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
push 0x10001294
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [esp + 0x18], eax
call ebp
push 0x100012a0
call edi
mov ecx, dword [0x1001fee0]
add esp, 4
push 0x10001288
push ecx
call ebx
push 0
mov dword [esp + 0x14], eax
call ebp
push 0x100012a0
call edi
mov edx, dword [0x1001fee0]
add esp, 4
push 0x1000127c
push edx
call ebx
push 0
mov dword [esp + 0x20], eax
call ebp
push 0x100012a0
call edi
mov eax, dword [0x1001fee0]
add esp, 4
push 0x10001264
push eax
call ebx
push 0
mov dword [esp + 0x1c], eax
call ebp
push 0x100012a0
call edi
mov ecx, dword [0x1001fee0]
add esp, 4
push 0x10001254
push ecx
call ebx
push 0
mov dword [esp + 0x24], eax
call ebp
push 0x100012a0
call edi
mov edx, dword [0x1001fee0]
add esp, 4
push 0x10001244
push edx
call ebx
push 0
mov dword [esp + 0x28], eax
call ebp
push 0x100012a0
call edi
mov eax, dword [0x1001fee0]
add esp, 4
push 0x1000122c
push eax
call ebx
push 0
mov ebx, eax
call ebp
mov al, byte [esi + 0x44]
test al, al
je 0x10004ff2
mov ecx, dword [esi + 0x18]
push ecx
call dword [esp + 0x14]
mov edx, dword [esi + 0x18]
push edx
call dword [esp + 0x18]
lea edi, [esi + 0x30]
mov ebp, 2
mov eax, dword [edi]
mov ecx, dword [esi + 0x18]
push 0x20
push eax
push ecx
call dword [esp + 0x24]
add edi, 4
dec ebp
jne 0x10004fcb
mov edx, dword [esi + 0x18]
push edx
call dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, byte [esi + 0x45]
test al, al
je 0x10005022
mov ecx, dword [esi + 0x40]
push ecx
call dword [esp + 0x24]
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [edi]
mov eax, dword [esi + 0x40]
push 0x20
push edx
push eax
call ebx
add edi, 4
dec ebp
jne 0x10005009
mov ecx, dword [esi + 0x40]
push ecx
call dword [esp + 0x28]
lea edi, [esi + 0x30]
mov ebx, 2
mov edx, dword [edi - 0x28]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [edi]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [edi - 0x20]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edx, dword [edi + 8]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
add edi, 4
dec ebx
jne 0x1000502a
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x28]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov eax, dword [0x1001fee0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10005090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x44]
test al, al
jne 0x100050b1
call fcn.10005240
test al, al
jne 0x100050b1
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x100050c3
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 0x45
mov cl, 0x74
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov dl, 0x69
mov al, 0x6c
mov byte [esp + 0x1b], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x18]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], al
mov byte [esp + 0x23], al
lea edx, [esp + 8]
mov al, 0x65
push ecx
push edx
mov byte [esp + 0x10], 0x4b
mov byte [esp + 0x12], 0x52
mov byte [esp + 0x13], 0x4e
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0x57
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x24], 0x46
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x53
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], 0x67
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x62
mov byte [esp + 0x2f], 0x6a
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x33], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x24]
push 0xffffffffffffffff
push ecx
call eax
mov edx, dword [esi + 4]
mov dword [edi], edx
mov eax, dword [esi + 0x1c]
pop edi
mov eax, dword [esi + eax*4 + 8]
pop esi
add esp, 0x24
ret 4
Function at 0x10005240
Capabilities:
Link many functions at runtime
Resume thread

Disassembly:
mov eax, dword [0x1001fee0]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
push 0x10001310
mov edi, ecx
push eax
call ebp
call eax
test eax, eax
jne 0x1000526c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov ecx, dword [0x1001fee0]
push 0x10001304
push ecx
call ebp
push 0x100012f4
push 0x100012e4
mov esi, eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
lea edx, [esp + 0x10]
push edx
push 4
push edi
push 0x10005440
push 0
push 0
call eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
push 0x20000
push 0
lea ecx, [edi + 0x46]
push eax
lea ebx, [edi + 0x18]
push ecx
push 0xffff
push ebx
call esi
test eax, eax
je 0x100052d6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov edx, dword [0x1001fee0]
push 0x100012d0
push edx
call ebp
mov dword [esp + 0x18], eax
lea esi, [edi + 0x30]
mov dword [esp + 0x14], 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x100052f3
mov edx, dword [0x1001fee0]
push 0x100012c0
push edx
call ebp
mov ecx, dword [edi + 0x1c]
push 0x20
mov edx, dword [edi + ecx*4 + 0x30]
mov ecx, dword [ebx]
push edx
push ecx
call eax
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x1001fee0]
push 0x100012b4
push eax
call ebp
mov ecx, dword [ebx]
push ecx
call eax
mov al, 1
mov byte [edi + 0x44], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10005680
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001e6a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x10003e54
mov al, 0x45
mov cl, 0x74
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov al, 0x6c
mov byte [esp + 0x1f], cl
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x27], al
mov al, 0x65
mov byte [esp + 0x28], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
mov dl, 0x69
push eax
push ecx
mov dword [esp + 0x40], ebx
mov byte [0x1001fee4], bl
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], 0x52
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], bl
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], dl
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], 0x53
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], 0x6e
mov byte [esp + 0x2e], 0x67
mov byte [esp + 0x31], 0x4f
mov byte [esp + 0x32], 0x62
mov byte [esp + 0x33], 0x6a
mov byte [esp + 0x35], 0x63
mov byte [esp + 0x37], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0x14]
push 0xffffffffffffffff
push edx
call eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x10005780
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.1000f1a0
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret