joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fd74
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push dword [esi + 0x64]
mov edi, ecx
push dword [esi + 0x60]
push dword [edi + 0xc]
call dword [sym.imp.WSOCK32.dll_recv]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100fdf8
xor ebx, ebx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [ebp - 4], eax
jne 0x100fdf8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x10183dc]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
lea ebx, [esi + 8]
push ebx
push 0x401
push dword [edi + 0xc]
push eax
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
jge 0x100fe10
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
push ebx
push 0
push 0
and edi, 0xffff
push edi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x100fe10
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
add esi, 8
push esi
push 0
push ebx
push dword [ebp - 4]
call dword [eax + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1011011
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
mov ecx, 0x101857c
call fcn.01010e70
xor ebx, ebx
cmp dword [0x101856c], ebx
jne 0x1011041
call fcn.01010f63
mov ebx, eax
test ebx, ebx
jl 0x1011108
mov dword [0x101856c], 1
cmp dword [0x1018570], 0
jne 0x1011108
push esi
push edi
push 0x1018420
mov dword [0x1018420], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x1002440
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1011116
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100242c
push edi
call esi
push 0x1002420
push edi
mov dword [0x1018538], eax
call esi
push 0x1002418
push edi
mov dword [0x101853c], eax
call esi
push 0x100240c
push edi
mov dword [0x1018540], eax
call esi
push 0x1002400
push edi
mov dword [0x1018544], eax
call esi
push 0x10023f4
push edi
mov dword [0x1018548], eax
call esi
push 0x10023ec
push edi
mov dword [0x101854c], eax
call esi
push 0x10023e0
push edi
mov dword [0x1018550], eax
call esi
push 0x10023d4
push edi
mov dword [0x1018554], eax
call esi
push edi
mov dword [0x1018558], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1018570], 1
pop edi
pop esi
mov ecx, 0x101857c
call fcn.01010ec8
mov eax, ebx
pop ebx
ret
cmp dword [0x1018430], 2
jne 0x10110fc
cmp dword [0x1018424], 4
jb 0x10110fc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x101113a
call esi
mov ebx, eax
jmp 0x1011106
call esi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x1011106
Function at 0x1011151
Capabilities:
Obtain transmitpackets callback function via wsaioctl
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10180ac]
push ebx
mov ecx, 0x101857c
mov dword [ebp - 4], eax
call fcn.01010e70
xor eax, eax
inc eax
xor ebx, ebx
cmp dword [0x101853c], ebx
mov dword [0x1018568], eax
je 0x10112c8
push esi
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
push 0x20019
push ebx
push 0x1002470
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
push 4
mov esi, 0xc8000006
pop edi
jne 0x10111eb
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x1002448
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10111dd
cmp dword [ebp - 0x38], edi
jne 0x10111dd
cmp dword [ebp - 0x28], ebx
setne al
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x101121b
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x1018564
push 0x10
push 0x1018154
push esi
push dword [ebp + 8]
call dword [0x101853c]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x1011221
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
jmp 0x1011221
mov dword [0x1018564], ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x101855c
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x14], 0xb5367df1
mov word [ebp - 0x10], 0xcbac
mov word [ebp - 0xe], 0x11cf
mov byte [ebp - 0xc], 0x95
mov byte [ebp - 0xb], 0xca
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0xa1
mov byte [ebp - 5], 0x92
call dword [0x101853c]
push ebx
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x1018560
push 0x10
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x24], 0xb5367df2
mov word [ebp - 0x20], 0xcbac
mov word [ebp - 0x1e], 0x11cf
mov byte [ebp - 0x1c], 0x95
mov byte [ebp - 0x1b], 0xca
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0x80
mov byte [ebp - 0x18], 0x5f
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0xa1
mov byte [ebp - 0x15], 0x92
call dword [0x101853c]
pop edi
mov dword [0x1018418], ebx
pop esi
mov ecx, 0x101857c
call fcn.01010ec8
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01007f54
leave
ret 4
Function at 0x101156e
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10180ac]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dx, word [eax]
cmp dx, 2
push esi
jne 0x10115a6
mov eax, dword [eax + 4]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 9
push 0
push dword [ecx + 0xc]
call dword [sym.imp.WSOCK32.dll_setsockopt]
jmp 0x10115cb
cmp dx, 0x17
jne 0x10115f2
push edi
lea esi, [eax + 8]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push 0x10
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push 9
movsd dword es:[edi], dword [esi]
push 0x29
push dword [ecx + 0xc]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WSOCK32.dll_setsockopt]
pop edi
cmp eax, 0xffffffff
jne 0x10115ee
mov esi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
call esi
test eax, eax
jg 0x10115e0
call esi
jmp 0x10115f7
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x10115f7
xor eax, eax
jmp 0x10115f7
mov eax, 0x80004001
mov ecx, dword [ebp - 4]
pop esi
call fcn.01007f54
leave
ret 4
Function at 0x10123e7
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd04
mov eax, dword [0x10180ac]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xce8], eax
lea eax, [ebp - 0xd04]
push eax
xor ebx, ebx
lea eax, [ebp - 0xcd8]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x1002590
push closesocket
mov dword [ebp - 0xcd8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1012450
jle 0x101262c
and eax, 0xffff
or eax, 0x80070000
jmp 0x101262c
push esi
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [ebp - 0xce4], ebx
mov dword [ebp - 0xce0], ebx
lea eax, [ebp - 0xd00]
push eax
lea eax, [ebp - 0x7b4]
push eax
lea eax, [ebp - 0xcf4]
push eax
push ebx
lea eax, [ebp - 0xcfc]
push eax
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0xce0]
mov dword [ebp - 0xcfc], 0x148
push dword [ebp - 0xcd8]
mov dword [ebp - 0xcf4], ebx
mov dword [ebp - 0xd00], 0x290
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x10125f5
cmp dword [ebp - 0xcf4], 1
jne 0x10125fc
lea eax, [ebp - 0xcf8]
push eax
lea eax, [ebp - 0xa44]
push eax
lea eax, [ebp - 0xcec]
push eax
lea eax, [ebp - 0x7b4]
push 0x100257c
push eax
mov dword [ebp - 0xcec], ebx
mov dword [ebp - 0xcf8], ebx
mov word [ebp - 0x526], bx
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x14
cmp eax, 3
jne 0x10125fc
cmp dword [ebp - 0xce8], ebx
je 0x101252f
lea eax, [ebp - 0xa44]
push eax
push dword [ebp - 0xce8]
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10125fc
push dword [ebp - 0xcec]
call fcn.01014824
test eax, eax
je 0x10125fc
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0xcf0]
push eax
lea eax, [ebp - 0xcd4]
push eax
lea eax, [ebp - 0x294]
push 0x1002568
push eax
mov dword [ebp - 0xcf0], ebx
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x14
cmp eax, 3
jne 0x10125dc
mov ebx, dword [edi]
lea eax, [ebp - 0xcdc]
push eax
lea eax, [ebp - 0x524]
push 0x1002560
push eax
call esi
neg eax
pop ecx
sbb eax, eax
pop ecx
and eax, 0xb
add eax, 6
push eax
push dword [ebp - 0xcf0]
push edi
call dword [ebx + 0x38]
test eax, eax
jl 0x10125da
cmp word [ebp - 0xcdc], 0xffff
jne 0x10125da
mov ebx, dword [edi]
lea eax, [ebp - 0x524]
push 0x1002560
push eax
call esi
neg eax
pop ecx
sbb eax, eax
pop ecx
and eax, 0xb
add eax, 6
push eax
push dword [ebp - 0xcf8]
push edi
call dword [ebx + 0x34]
xor ebx, ebx
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0xcd8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1012611
jmp 0x10125fc
cmp eax, 0x103
je 0x1012607
inc dword [ebp - 0xce0]
jmp 0x1012463
mov dword [ebp - 0xce4], 1
cmp dword [ebp - 0xce4], ebx
je 0x101245d
push dword [ebp - 0xcd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.01007f54
leave
ret 8
Function at 0x1014963
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3b0
mov eax, dword [0x10180ac]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x148
lea ecx, [ebp - 0x294]
push ecx
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0101487f
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x3a8], eax
jl 0x1014ae2
push 0xffffffffffffffff
lea eax, [ebp - 0x394]
push edi
lea ecx, [ebp - 0x3a4]
mov dword [ebp - 0x3a4], esi
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x39c], 0x80
mov dword [ebp - 0x3a0], esi
call fcn.0100360f
push 0x20
lea ecx, [ebp - 0x3a4]
call fcn.0100a55f
movzx eax, word [ebp + 0x10]
push 0xa
push eax
lea ecx, [ebp - 0x3a4]
call fcn.010032d1
push 0x20
lea ecx, [ebp - 0x3a4]
call fcn.0100a55f
cmp dword [ebp + 0x14], esi
mov eax, 0x1002560
jne 0x1014a12
mov eax, 0x1002618
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x3a4]
call fcn.0100360f
cmp dword [ebp - 0x3a4], esi
jge 0x1014a30
mov esi, dword [ebp - 0x3a4]
jmp 0x1014a6b
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x3ac]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push ebx
push closesocket
mov dword [ebp - 0x3ac], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x1014a7a
jle 0x1014a69
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x3a4]
call fcn.01002b7b
mov eax, esi
jmp 0x1014ae2
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x294]
push eax
push 1
push esi
lea ecx, [ebp - 0x3a4]
call fcn.0100357f
push eax
push dword [ebp - 0x3ac]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
je 0x1014ac5
jle 0x1014abf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x3a8], eax
push dword [ebp - 0x3ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x3a4]
call fcn.01002b7b
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01007f54
leave
ret 0x18
Function at 0x1014af6
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10180ac]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x104]
push 0xffffffffffffffff
xor esi, esi
mov dword [ebp - 0x108], ecx
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x10c], 0x80
mov dword [ebp - 0x110], esi
call fcn.0100360f
push 0x20
lea ecx, [ebp - 0x114]
call fcn.0100a55f
movzx eax, word [ebp + 0x10]
push 0xa
push eax
lea ecx, [ebp - 0x114]
call fcn.010032d1
push 0x20
lea ecx, [ebp - 0x114]
call fcn.0100a55f
cmp dword [ebp + 0x14], esi
mov eax, 0x1002560
jne 0x1014b7e
mov eax, 0x1002618
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x114]
call fcn.0100360f
cmp dword [ebp - 0x114], esi
jge 0x1014b9c
mov esi, dword [ebp - 0x114]
jmp 0x1014c0f
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push edi
push closesocket
mov dword [ebp - 0x118], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x1014bd9
jle 0x1014bd5
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1014c0f
lea ecx, [ebp - 0x114]
call fcn.0100357f
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x1014c03
jle 0x1014c01
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x114]
call fcn.01002b7b
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.01007f54
leave
ret 0x10
Function at 0x1014d6f
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x10180ac]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
je 0x1014f52
cmp edi, ebx
je 0x1014f52
mov dword [edi], ebx
mov ax, word [esi]
cmp ax, 2
mov dword [ebp - 0x2cc], ebx
jne 0x1014db3
cmp dword [esi + 4], ebx
jne 0x1014dc6
cmp ax, 0x17
jne 0x1014e1e
lea eax, [esi + 8]
push eax
call fcn.01010eef
test eax, eax
jne 0x1014e1e
push ebx
push ebx
push 0x81
lea eax, [ebp - 0xa8]
push eax
push esi
call fcn.0101615b
cmp eax, ebx
jge 0x1014de5
mov esi, eax
jmp 0x1014f47
push 0xffffffffffffffff
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 0x28], bl
call fcn.0100370d
lea ecx, [ebp - 0x2c8]
call fcn.0100357f
push eax
lea ecx, [ebp - 0x2cc]
call fcn.0101285a
lea ecx, [ebp - 0x2c8]
jmp 0x1014f2d
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x2d0], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1014e5b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1014e4d
call esi
jmp 0x1014dde
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x1014dde
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1b8]
push eax
movsx eax, word [esi]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b0], 0x80
mov dword [ebp - 0x1b4], ebx
call fcn.01014c2f
mov esi, eax
cmp esi, ebx
lea ecx, [ebp - 0x1b8]
jge 0x1014ea7
call fcn.01002b7b
jmp 0x1014f47
push 0x1001f90
call fcn.0100357f
mov esi, dword [sym.imp.msvcrt.dll_wcscmp]
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f18
push 0x100273c
lea ecx, [ebp - 0x1b8]
call fcn.0100357f
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f18
push 0x1002734
lea ecx, [ebp - 0x1b8]
call fcn.0100357f
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f18
push 0x100272c
lea ecx, [ebp - 0x1b8]
call fcn.0100357f
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f18
lea ecx, [ebp - 0x1b8]
call fcn.0100357f
jmp 0x1014f1b
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x2cc]
push eax
call fcn.0101285a
lea ecx, [ebp - 0x1b8]
call fcn.01002b7b
mov eax, dword [ebp - 0x2cc]
cmp eax, ebx
jne 0x1014f43
mov esi, 0x8007000e
jmp 0x1014f47
mov dword [edi], eax
xor esi, esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
jmp 0x1014f57
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01007f54
leave
ret 8
Function at 0x1015e18
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0xa
lea ecx, [esi + 0x24]
call fcn.01015c54
test eax, eax
jge 0x1015e36
mov eax, 0x8007000e
jmp 0x1015e9f
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x1c], eax
jne 0x1015e68
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1015e5a
call esi
jmp 0x1015e9e
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x1015e9e
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x1015e00
push edi
push edi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x18], eax
jne 0x1015e8c
mov eax, 0x8007000e
jmp 0x1015e9e
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x20], edi
je 0x1015e85
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x1015ea7
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea edx, [esi + 4]
push 0x20
xor eax, eax
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esi], 1
xor edi, edi
mov ebx, edx
push 0x154
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1015f02
mov ecx, eax
call fcn.01015ac3
jmp 0x1015f04
xor eax, eax
test eax, eax
mov dword [ebx], eax
je 0x1015f33
mov ecx, eax
call fcn.01015e18
test eax, eax
jl 0x1015f1f
inc edi
add ebx, 4
cmp edi, dword [esi]
jl 0x1015ee1
jmp 0x1015f33
lea edi, [esi + edi*4 + 4]
mov ecx, dword [edi]
test ecx, ecx
je 0x1015f30
push 1
call fcn.01015c6f
and dword [edi], 0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x415030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.NUdqtLqT
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x415052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415048
mov eax, 1
add ebx, ebx
jne 0x41506b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415060
jne 0x41507c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415060
xor ecx, ecx
sub eax, 3
jb 0x415090
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415102
mov ebp, eax
add ebx, ebx
jne 0x41509b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4150a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4150cc
inc ecx
add ebx, ebx
jne 0x4150b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4150ad
jne 0x4150c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4150ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4150ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4150dd
jmp 0x41504e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4150ec
add edi, ecx
jmp 0x41504e
pop esi
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x41514b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x197d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415109
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1984c]
or eax, eax
je 0x415145
mov dword [ebx], eax
add ebx, 4
jmp 0x415126
call dword [esi + 0x19848]
mov ebp, dword [esi + 0x19850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41517f
sub esp, 0xffffff80
jmp section.dUKSqJnb
Function at 0x4e540f
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4e544a

Function at 0x4e5410
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4e544a
Function at 0x3bc3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.03bc378f
jae 0x3bc370e
xor ecx, ecx
call fcn.03bc378f
jae 0x3bc373d
xor eax, eax
call fcn.03bc378f
jae 0x3bc374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.03bc378f
adc al, al
jae 0x3bc372f
jne 0x3bc3779
stosb byte es:[edi], al
jmp 0x3bc3711
call fcn.03bc379b
sub ecx, ebx
jne 0x3bc3756
call fcn.03bc3799
jmp 0x3bc3775
lodsb al, byte [esi]
shr eax, 1
je 0x3bc3783
adc ecx, ecx
jmp 0x3bc3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03bc3799
cmp eax, 0x7d00
jae 0x3bc3772
cmp ah, 5
jae 0x3bc3773
cmp eax, 0x7f
ja 0x3bc3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3bc3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x402a09
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x402a41
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x402a2f
mov al, 1
jmp 0x402aa0
cmp dword [ebx + 0x54], ecx
jne 0x402a38
mov al, 2
jmp 0x402aa0
cmp dword [ebx + 0x7c], ecx
jne 0x402aa0
mov al, 3
jmp 0x402aa0
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x402a56
mov al, 4
jmp 0x402aa0
cmp ecx, 5
jne 0x402a76
cmp ebx, 0
jne 0x402a64
mov al, 5
jmp 0x402aa0
cmp ebx, 1
jne 0x402a6d
mov al, 6
jmp 0x402aa0
cmp ebx, 2
jne 0x402a76
mov al, 7
jmp 0x402aa0
cmp ecx, 6
jne 0x402a9e
cmp ebx, 0
jne 0x402a84
mov al, 8
jmp 0x402aa0
cmp ebx, 1
jne 0x402a8b
mov al, 9
cmp ebx, 2
jne 0x402a92
mov al, 0xa
cmp ebx, 3
jne 0x402a99
mov al, 0xb
cmp ebx, 4
jne 0x402aa0
mov al, 0xc
pop ebx
leave
ret