joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000da70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x1001e018]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
lea esi, [esp + 0x28]
call section..text
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0xc
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x1000dadc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10012b96
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
xor ecx, ecx
cmp cx, word [eax + edx + 6]
jae 0x1000db51
mov ecx, dword [eax + edx + 0x104]
add ecx, edx
mov edx, dword [eax + edx + 0x100]
or eax, 0xffffffff
mov dword [esp + 0x10], edx
mov esi, ecx
test edx, edx
je 0x1000db2c
lea esp, [esp]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [esp + edi*4 + 0x28]
inc esi
dec edx
jne 0x1000db10
mov edx, dword [esp + 0x10]
not eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.1000efe0
push eax
lea edi, [esp + 0x10]
call fcn.1000e840
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10012b96
mov esp, ebp
pop ebp
ret

Function at 0x1000db70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x101291c8]
mov edx, dword [edi]
cmp edx, edi
je 0x1000dc1c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000dbd1
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec ecx
jne 0x1000dbb0
mov edi, dword [0x101291c8]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000dc2f
cmp byte [edx + 0x1d], 0
jne 0x1000dc18
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000dbfd
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000dc18
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000dbf1
jmp 0x1000dc18
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000dc16
cmp edx, dword [eax + 8]
jne 0x1000dc16
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000dc06
mov edx, eax
cmp edx, edi
jne 0x1000dba0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012b96
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10012b96
mov esp, ebp
pop ebp
ret
Function at 0x1000f620
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x101291dc], 0
je 0x1000f68c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101291e0]
cmp eax, 0x1388
jbe 0x1000f68b
push 0x1012920c
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000f68b
call esi
mov dword [0x101291e0], eax
test eax, eax
je 0x1000f680
call fcn.1000f570
test al, al
jne 0x1000f680
push 0x1388
xor ecx, ecx
call fcn.10006b00
push eax
push 2
mov eax, 0x10123b88
call fcn.1000fac0
add esp, 0xc
pop esi
ret
push 0x1012920c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret

Function at 0x1000f6f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x1000f722
jmp 0x1000f710
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000f710
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000f730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013d36
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x1001a2bc]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x1001a2b8]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000f958
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000f7b0
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000f866
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f7f3
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.10010830
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f820
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.100100c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000f885
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000f866
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x1000f866
cmp word [ebx], di
je 0x1000f958
mov esi, dword [ebp - 0x660]
jmp 0x1000f7b0
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f8a7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.10010830
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f8d1
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.1000ff30
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000f912
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x1000f926
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x1000f954
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1000f95a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012b96
mov esp, ebp
pop ebp
ret
Function at 0x1000fac0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x100
push 0
push 0x10129548
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x100190c0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10129548], cl
inc eax
cmp eax, 0x100
jb 0x1000fae0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x10129548
push 0
mov ecx, 0x1011e7a8
call fcn.100063a0
mov eax, dword [0x1012393c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x1000fb50
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x1012409c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012393c], 0
call ebx
mov eax, dword [0x10123a64]
test eax, eax
je 0x1000fb7b
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1012409c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x10123a64], 0
call ebx
mov eax, dword [0x10123b8c]
test eax, eax
je 0x1000fba6
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1012409c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10123b8c], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1000fbcc
dec eax
je 0x1000fbc0
dec eax
jne 0x1000fbd8
mov eax, 0x6a
mov ecx, 0x2828c8
jmp 0x1000fbde
mov eax, 0x69
mov ecx, 0x1496c8
jmp 0x1000fbde
mov eax, 0x67
mov ecx, 0xc87832
jmp 0x1000fbde
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000f240
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000fa20
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000fc5f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1000fc5f
mov eax, dword [esi + 4]
test eax, eax
je 0x1000fc5a
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1012409c]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
mov dword [esi + 4], 0
call ebx
call fcn.1000f690
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000fd30
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10129548
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x100166c0]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10129548], dl
inc eax
cmp eax, 0x100
jb 0x1000fd53
mov eax, 0x10129548
ret
Function at 0x10010970
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1011e77c]
push edi
cmp esi, dword [0x1011e780]
je 0x10010a3e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x100109ae
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x100109c3
add esi, 0x105
cmp esi, dword [0x1011e780]
jne 0x10010990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1011e780]
mov esi, dword [0x1011e77c]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10010a26
xor edi, edi
cmp byte [edi + esi], 2
jne 0x10010a02
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1011e77c]
mov ecx, dword [0x1011e780]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x100109e6
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.100031c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10010ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10010d40
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10010c64
cmp dword [ebp - 4], 0x50000000
jb 0x10010be1
cmp dword [ebp - 4], 0x80000000
ja 0x10010be1
mov dword [ebp - 4], 0x4fff0000
jmp 0x10010bba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10010c07
jmp 0x10010c64
cmp dword [ebp - 0x14], 0x10000
jne 0x10010c4a
cmp dword [ebp - 0x18], 0x10000
jb 0x10010c4a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10010c3d
mov eax, dword [ebp - 8]
jmp 0x10010c66
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10010c5f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10010d40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10010bba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10010c70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10010d70
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10010d2c
cmp dword [ebp - 4], 0x50000000
jb 0x10010cac
cmp dword [ebp - 4], 0x80000000
ja 0x10010cac
mov dword [ebp - 4], 0x80010000
jmp 0x10010c85
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10010cd2
jmp 0x10010d2c
cmp dword [ebp - 0x14], 0x10000
jne 0x10010d15
cmp dword [ebp - 0x18], 0x10000
jb 0x10010d15
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10010d08
mov eax, dword [ebp - 8]
jmp 0x10010d2e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10010d27
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10010d70
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10010c85
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100114b0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100114c5
xor eax, eax
jmp 0x1001153a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100114f2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10011535
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10011533
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x1001152f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10011533
xor eax, eax
jmp 0x1001153a
jmp 0x100114e9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10011700
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10123cc0]
mov dword [ebp - 4], eax
jmp 0x10011719
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10011736
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10011710
mov esp, ebp
pop ebp
ret
Function at 0x10011b80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10123cd0], eax
je 0x10011b9e
mov eax, 0x10dd
jmp 0x10011c7f
mov eax, dword [0x10123ce0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10011c1c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10011bfa
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10011bfa
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10011220
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10011ba6
mov dword [0x10123ce0], 0
call fcn.10011540
mov ecx, dword [0x10123cdc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10011c69
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10011c34
mov dword [0x10123cdc], 0
mov dword [0x10123cd0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10012170
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10123cd4], 0
je 0x10012189
mov eax, dword [0x10123cd4]
jmp 0x10012229
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1001219b
xor eax, eax
jmp 0x10012229
push 8
call fcn.10012caa
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100121f1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100121da
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10123cd4], eax
mov dword [0x10123cd8], 0
mov eax, dword [ebp - 8]
jmp 0x10012229
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001220b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100121bb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10123cdc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10123cdc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10012b96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001e018]
jne 0x10012ba0
repz ret
jmp fcn.100130d9
Function at 0x406780
Capabilities:
Encode data using xor

Disassembly:
ror dword [ebx + 0x2c8b56ec], 8
mov eax, dword [esi - 0x78]
call 0x29b566e7
push eax
xor edx, dword [0xd240c1c0]
cmp eax, 0xffffffff
jne 0x406711
mov esi, dword [0xe9b315f3]
call esi
test eax, eax
cmpsd dword [esi], dword es:[edi]
sub dword [edi + 0x628005d6], edi
or al, byte [eax]
pop esi
pop ebp
ret
xchg ecx, eax
inc esi
add al, 0xff
wait
inc dword [edx - 0x75]
inc esi
inc eax
test ecx, ebx
je 0x406730
mov eax, dword [eax + 0x10]
push eax
invalid
xor eax, eax
pop esi
pop ebp
or byte [eax - 0x6f080070], dl
nop
nop
int1
nop
nop
nop
nop
push ebp
push eax
in al, dx
add dword [esi], edx
adc byte [ebx + 0xe564e39], cl
jne 0x406755
cmp eax, 0x8b0c7d8b
push esi
adc byte [edx], ch
add edx, dword [edx - 0x77]
inc esi
movsd dword es:[edi], dword [esi]
add byte [ebx], al
push edx
mov dword [esi - 0x5b], eax
mov dword [esi + 0xc], ecx
outsd dx, dword [esi]
insd dword es:[edi], dx
push es
add byte [eax], al
mov eax, dword [esi + 0x14]
push 0
adc dword [eax - 0x18], 0x2cc4
add esp, 0x18
pop edi
pop esi
loop 0x406739
test byte [eax - 0x6f6f6f70], dl
out dx, eax
nop
nop
nop
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
stosd dword es:[edi], eax
push edi
mov al, byte [0xcfe85350]
loop 0x40679f
call [esi - 0x7f7f78b]
sahf
jne 0x40679c
or al, bh
xor eax, ebp
mov edx, edi
mov ecx, 0x4700003a
add byte [eax], al
inc edi
push 0x38
rep stosd dword es:[edi], eax
mov dword [esi], edx
out 0x1a, eax
or al, 6
push ecx
or byte [ecx - 0x6d], dl
jne 0x406791
invalid
Function at 0x40ad90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
mov edx, dword fs:[edx + 0x30]
nop
jmp 0x40ada3
mov edx, dword [edx + 0xc]
jmp 0x40adb2
mov edx, dword [edx + 0x14]
nop
jmp 0x40adc1
movzx ecx, word [edx + 0x26]
nop
mov esi, dword [edx + 0x28]
sub byte [ecx], dh
invalid
nop
jmp 0x40add9
nop
jmp 0x40ade6
xor eax, eax
nop
lodsb al, byte [esi]
jmp 0x40adf9
cmp al, 0x61
jl 0x40ae01
nop
sub al, 0x20
nop
nop
jmp 0x40ae11
ror edi, 0xd
jmp 0x40ae22
add edi, eax
jmp 0x40ae35
dec ecx
nop
jmp 0x40ae41
jne 0x40add9
nop
push edx
jmp 0x40ae53
mov edx, dword [edx + 0x10]
nop
jmp 0x40ae61
push edi
jmp 0x40ae6d
mov eax, dword [edx + 0x3c]
jmp 0x40ae80
add eax, edx
nop
jmp 0x40ae90
mov eax, dword [eax + 0x78]
jmp 0x40ae9e
test eax, eax
nop
jmp 0x40aeb2
je 0x40b098
nop
jmp 0x40aec9
add eax, edx
jmp 0x40aed7
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
add ebx, edx
jmp 0x40aeed
push eax
nop
nop
jmp 0x40aefa
test ecx, ecx
jmp 0x40af06
je 0x40b073
nop
jmp 0x40af1e
xor edi, edi
nop
jmp 0x40af32
dec ecx
nop
jmp 0x40af45
mov esi, dword [ebx + ecx*4]
nop
add esi, edx
xor eax, eax
nop
lodsb al, byte [esi]
nop
jmp 0x40af5e
ror edi, 0xd
add edi, eax
nop
jmp 0x40af6e
cmp al, ah
jmp 0x40af7b
jne 0x40af4b
nop
jmp 0x40af93
nop
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
nop
jmp 0x40afad
jne 0x40aeef
nop
jmp 0x40afc4
nop
jmp 0x40afd3
pop eax
jmp 0x40afe7
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
nop
mov ebx, dword [eax + 0x1c]
nop
jmp 0x40b006
add ebx, edx
nop
mov eax, dword [ebx + ecx*4]
nop
add eax, edx
nop
mov dword [esp + 0x24], eax
nop
pop ebx
nop
jmp 0x40b029
pop ebx
popal
pop ecx
jmp 0x40b03c
pop edx
jmp 0x40b04d
push ecx
nop
jmp 0x40b05d
jmp eax
jmp 0x40b086
pop eax
nop
jmp 0x40b098
jmp 0x40b0a9
pop edi
nop
pop edx
mov edx, dword [edx]
jmp 0x40b0c1
jmp 0x40adc1

Function at 0x40b59b
Capabilities:
Encode data using xor

Disassembly:
add al, 0x79
cmp dword [esi - 3], esp
aaa
fcom dword [esi + 0x64a69a23]
fdivr qword [eax]
movsd dword es:[edi], dword [esi]
add eax, 0x59c88299
dec edx
mov ebp, dword [eax]
cmp dword [esi + 0x4d], ebp
mov eax, dword [0x3c033444]
cdq
pop esp