joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdc593a
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea ecx, [ecx + 8]
mov dword [ecx], edi
pop ecx
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0xdc5988
mov edi, edx
sub esp, 0x18
mov byte [esp + 0x10], dh
jmp 0xdc5970
mov byte [esp + 2], bh
call fcn.00dc5910
mov ecx, esi
jmp 0xdc5913
shr edi, 0x18
jmp 0xdc59e5
lea edi, reloc.RASAPI32.dll_RasHangUpA
lea edi, [ecx + edx]
mov edi, 0x2b23c376
jmp 0xdc5922
and edi, ecx
jmp 0xdc5a1b
lea esi, reloc.RASAPI32.dll_RasHangUpA
mov edi, dword [esi]
pop esi
clc
cmc
cmc
jmp 0xdc59b4
push esi
mov esi, edi
lea esi, [esi*4]
jmp 0xdc59cb
mov word [esp + 6], dx
and ebx, ecx
lea esp, [esp + 0x44]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0xdc5ae2
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
sub esp, 0x1c
push dword [esp + 0xe]
clc
jmp 0xdc59f1
mov edx, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
sub esp, 0x18
push dword [esp + 0x10]
jmp 0xdc5a9f
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
cmc
stc
and edx, ecx
jmp 0xdc5a3c
and ebx, ecx
call fcn.00dc5a83
mov dword [esp], ecx
jmp 0xdc5bd5
movzx ebx, byte [esi + 0xe]
sub esp, 0x1a
mov word [esp + 0x16], sp
lea esp, [esp + 2]
jmp 0xdc5a59
mov word [esp + 0x1c], di
push word [esp + 0x15]
call fcn.00dc5b3d
pop word [esp + 7]
lea esp, [esp + 2]
jmp 0xdc5ba9
lea esp, [esp + 8]
ret
lea esp, [esp + 4]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
pushal
jmp 0xdc5b5e

Function at 0xdc5a83
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x15], ecx
pop word [esp + 3]
push dword [esp + 0x16]
lea esp, [esp + 2]
jmp 0xdc5abd
push dword [esp + 2]
lea esp, [esp + 0x3c]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0xdc5a66
and edx, ecx
lea esp, [esp + 0x1c]
xor edi, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
push edx
jmp 0xdc5aa6

Function at 0xf3d330
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dh, byte [esp]
mov byte [esp], ch
cld
xchg di, ax
bswap edx
inc dh
jmp 0xf3d33f
lea esp, [esp + 6]
lea esp, [esp]
dec edx
lea esp, [esp]
mov dh, bh
jmp 0xf3d317
lea eax, [esp + ebx]
push esp
xchg dx, ax
lea edi, [eax*4]
mov dx, word [esp + 1]
not ax
jmp 0xf3d365

Function at 0xf3d5af
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, esp
not dh
clc
push dword [esp]
jmp 0xf3d679
mov dword [esp + 1], ebp
pop edi
push word [esp + 5]
lea esp, [esp + 9]
btr eax, edx
xchg byte [esp], al
jmp 0xf3d5df
btc edi, edi
btc eax, edi
xchg dh, dl
mov eax, dword [esp + 1]
bswap eax
push dword [esp + 4]
jmp 0xf3d5ff

Function at 0xf3d7ca
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp + 0x34]
add esp, 0x1d
mov dh, 0x38
mov word [esp + 2], di
pop ax
xchg word [esp + 1], di
jmp 0xf3d854
mov dh, 0x50
sub esp, 0x18
pop dword [esp + 0x12]
push dword [esp + 0x28]
xchg word [esp + 0x23], di
sub dh, ah
jmp 0xf3d790
rdtsc
xchg di, ax
jmp 0xf3d7b0
mov word [esp + 0xb], di
stc
cmp edx, eax
xchg dx, di
xchg dword [esp + 4], edx
mov eax, 0xbf6669f6
Function at 0xf3dd98
Capabilities:
Execute anti-debugging instructions

Disassembly:
setnp dh
xchg byte [esp], dh
mov dh, ch
xchg dh, al
not dh
mov word [esp], sp
jmp 0xf3ddac
mov byte [esp + 3], ch
mov edi, 0xfbc685ae
pop word [esp]
shl ax, cl
rdtsc
jmp 0xf3dd80
pop ax
neg ah
mov eax, dword [esp]
mov ah, byte [esp]
rdtsc
mov di, 0x61e3
jmp 0xf3de5a
add esp, 0x11
xchg dx, di
clc
xchg ah, dh
mov dh, ch
mov edi, 0x62b797d6
jmp 0xf3de30
push edx
lea edx, [ecx - 0x2b]
lea edi, [ebp - 0x87]
mov dh, bh
inc dl
lea edi, reloc.RASAPI32.dll_RasHangUpA
jmp 0xf3de01
pop word [esp + 1]
setl ah
btc edx, ebx
bsf di, si
add esp, 3
pop word [esp]
jmp 0xf3de8b
lea edi, reloc.RASAPI32.dll_RasHangUpA
sete dh
mov dh, byte [esp]
bsr di, bp
setp dh
sub esp, 0x16
jmp 0xf3de1a
pop di
bt eax, esp
mov eax, ecx
bswap eax
mov al, 0xae
lea esp, [esp + 2]
jmp 0xf3e06e
xchg word [esp], di
push word [esp + 1]
mov di, 0x4b49
bsf ax, si
mov dh, 0x78
mov word [esp], di
jmp 0xf3de72
mov dh, 0xf8
bsf di, ax
btr eax, edx
rcr edx, 0x11
cld
mov dl, dh
jmp 0xf3defa
sub esp, 0x14
mov di, si
xchg word [esp + 0x28], di
and di, 0xdcc8
jmp 0xf3dfb8
lea edx, [ecx + ebx]
lea esp, [esp]
neg ah
mov ax, bp
mov dh, 0x2a
lea eax, [ebp*4]
jmp 0xf3debb
mov eax, 0x78420f18
xchg di, ax
pushal
not dh
mov ax, word [esp + 8]
pop dword [esp]
jmp 0xf3decc
mov dh, ch
setno ah
not dh
sub dx, 0xf2de
mov edi, 0x45407f8c
lea edi, [edi*4]
jmp 0xf3dee4
pushal
lea esp, [esp + 0x55]
mov al, 0x46
lea edx, [esi + edi]
mov dx, si
inc al
jmp 0xf3df6b
cld
lea edx, reloc.RASAPI32.dll_RasHangUpA
xchg dword [esp + 9], edi
rdtsc
mov edi, esi
xchg edx, edi
jmp 0xf3df3a
mov eax, dword [esp]
neg dh
xchg dh, dl
mov edi, dword [esp]
mov edx, 0xd634fba0
mov ax, 0x5175
jmp 0xf3e048
setae ah
stc
not edx
xchg word [esp + 0x2e], di
lea eax, [edi*4]
mov dword [esp + 0x1b], ecx
jmp 0xf3df58
xchg word [esp + 0x17], di
lea eax, [edx*4]
lea edi, [esi + 0xd]
sub dh, ah
bswap edx
push dword [esp + 8]
jmp 0xf3df94
mov di, 0xad6b
rdtsc
xchg edi, eax
call fcn.00f3e02d
dec esp
outsd dx, dword [esi]
arpl word [ebx + 0x46], bp
imul ebp, dword [ebp], reloc.RASAPI32.dll_RasHangUpA
dec edx
pop esp
mov edi, 0x5c4a3dec
rdtsc
mov dh, byte [esp]
sub dh, ah
shl di, cl
jmp 0xf3dfd1
setne dh
mov al, ah
clc
mov edi, 0x77381b5a
cmc
mov ax, word [esp]
jmp 0xf3dfe7
mov di, 0x76c9
setle ah
lea edx, [edi*4]
rdtsc
mov edi, 0xb9ba5996
mov di, 0xfb15
jmp 0xf3dffe
lea esp, [esp]
rdtsc
not di
mov dh, ch
mov edx, dword [esp]
xchg byte [esp], dh
jmp 0xf3df20
Function at 0xf42c64
Capabilities:
Parse pe header

Disassembly:
mov byte [esp + 1], bh
pushal
mov word [esp + 0x17], bx
lea esp, [esp + 8]
lea esp, [esp + 3]
mov dword [esp + 0x9c], edi
jmp 0xf42bd4
mov word [esp], dx
lea esp, [esp + 1]
mov word [esp], bx
jmp 0xf42bf6
Function at 0x401b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.ProxyServer
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401bee
mov eax, dword [esp + 8]
cmp eax, 1
je 0x401bbf
cmp eax, 2
jne 0x401bda
mov eax, dword [esp]
test esi, esi
je 0x401be8
test eax, eax
je 0x401be3
test al, 1
jne 0x401bda
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x401be8
mov eax, 0xd
pop ecx
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4

Function at 0x401c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x401c40
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401c50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x401c80
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x401cfa
xor eax, eax
cmp ecx, ebp
je 0x401ce2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x401d08
cmp ecx, ebp
je 0x401d9b
push ecx
jmp 0x401d95
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x401d6a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00401c80
mov ebx, eax
cmp ebx, ebp
jne 0x401db8
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x401d30
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x401d7d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00401ac0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x401d9b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00430900
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x401dc7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x401d9d
Function at 0x4022a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x452bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x467340]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x40231f
call fcn.004018e0
mov esi, eax
jmp 0x402401
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x40233b
call fcn.004018e0
jmp 0x4023f8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x402354
call fcn.004018e0
jmp 0x4023f8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x402388
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x402376
lea eax, [ebp]
call fcn.004067f0
lea esi, [ebp - 0x1c]
call fcn.00406270
mov eax, 0x8007000e
jmp 0x402413
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00406340
mov dword [ebp - 4], 1
jmp 0x4023b1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x4023bf
mov esi, 0x8007000e
jmp 0x4023fa
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x4023dd
call fcn.004018e0
jmp 0x4023f8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.004030f0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x402411
lea eax, [ebp]
call fcn.004067f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00430900
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404350
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 1
xor esi, esi
push esi
push 0x45ba40
push 0x80000001
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4043b8
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.ProxyEnable
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x4043b8
push esi
call ebp
xor esi, esi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x4043c3
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x4046f0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov ecx, 0x18
mov esi, str.E5638D3B_0BBC_4ab4_BED8_8CCC6D8D57A5_KSBootsetup
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 8]
push eax
push 1
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
cmp eax, 0xb7
jne 0x404741
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov ecx, dword [esp + 0x64]
xor ecx, esp
mov eax, ebx
call fcn.00430900
add esp, 0x68
ret
Function at 0x4054b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x3c]
movzx ecx, word [eax + ebx + 6]
movzx edx, word [eax + ebx + 0x14]
add eax, ebx
push ebp
mov ebp, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
add edx, eax
push esi
lea esi, [edx + ecx*8 - 0x10]
mov ecx, str..rdata2
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4054f8
test dl, dl
je 0x4054f4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4054f8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4054d8
xor eax, eax
jmp 0x4054fd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405546
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esi + 0x10]
push edi
add eax, ebx
push eax
mov ecx, ebp
call fcn.00406050
xor esi, esi
test edi, edi
jle 0x40553c
lea esp, [esp]
mov ecx, ebp
call fcn.00406180
mov bl, byte [eax + esi]
mov ecx, ebp
xor bl, 0x43
call fcn.00406180
mov byte [eax + esi], bl
inc esi
cmp esi, edi
jl 0x405520
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x407ed0
Capabilities:
Create thread

Disassembly:
cmp dword [edi], 0
jne 0x407f5b
push esi
push 0x10
call fcn.004309b0
mov esi, eax
add esp, 4
test esi, esi
je 0x407f11
push 0
push 0
push 1
push 0
mov dword [esi], vtable.Thread.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
jmp 0x407f13
xor esi, esi
mov ecx, dword [edi]
cmp esi, ecx
je 0x407f25
test ecx, ecx
je 0x407f25
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi], esi
cmp dword [esi + 4], 0
jne 0x407f5a
push 0
push 0
push esi
push 0x422760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret

Function at 0x408fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453cc6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
push 0x15
xor ebx, ebx
mov esi, 0xf
push str..SetupController.cpp
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00406050
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0xb]
lea edx, [esp + 0x18]
mov dword [esp + 0xe8], ebx
call fcn.0041f600
add eax, 0x28
push str.SetupController::Initialize
push eax
mov byte [esp + 0xe8], 1
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], bl
call fcn.0041f890
mov dword [esp + 0xe0], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x409088
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004308f5
add esp, 4
push 0x10
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.004309b0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4090c0
push ebx
push ebx
push 1
push ebx
mov dword [esi], vtable.Thread.0
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
jmp 0x4090c2
xor esi, esi
mov ecx, dword [edi + 0x10]
cmp esi, ecx
je 0x4090d5
cmp ecx, ebx
je 0x4090d5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x10], esi
cmp dword [esi + 4], ebx
jne 0x409106
push ebx
push ebx
push esi
push 0x422760
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 8]
push ecx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409350
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453cc6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
push 0x15
xor ebx, ebx
mov edi, 0xf
push str..SetupController.cpp
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00406050
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [edi + 0x30]
lea edx, [esp + 0x18]
mov dword [esp + 0xe8], ebx
call fcn.0041f600
add eax, 0x28
push str.SetupController::EndProcess
push eax
mov byte [esp + 0xe8], 1
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], bl
call fcn.0041f890
mov dword [esp + 0xe0], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x409408
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004308f5
add esp, 4
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
cmp ecx, ebx
je 0x409422
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0x10
mov byte [esi + 0xc], 1
mov edi, 0x409480
call fcn.004309b0
add esp, 4
cmp eax, ebx
je 0x40944a
mov dword [eax], vtable.CallBack_0_void__class_SetupController_.0
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
jmp 0x40944c
xor eax, eax
mov ecx, dword [0x46a814]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push 0x64
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bf50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x450b5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042f55e
push 4
mov dword [esp + 0x20], 0
call fcn.004309b0
mov edi, eax
add esp, 4
test edi, edi
je 0x40bfce
call fcn.0042f96b
mov dword [edi], eax
call fcn.0042f799
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0042fabb
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40bfc3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042fae3
jmp 0x40bfd0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4118e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x451b18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, eax
mov eax, dword [esi]
add eax, 4
mov eax, dword [eax]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x18
push esi
call eax
cmp byte [edi + 0x80], bl
je 0x411a12
xor ecx, ecx
push 0x12
mov eax, str.ck_W:N
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
call fcn.004070b0
mov dword [esp + 0x4c], ebx
xor edx, edx
push 8
mov eax, 0x45beac
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
call fcn.004070b0
mov eax, 1
test byte [0x46b044], al
jne 0x4119bc
or dword [0x46b044], eax
push 0x454260
mov dword [0x46abe8], 0x45d2f0
mov dword [0x46afa4], ebx
mov dword [0x46afa8], ebx
call fcn.0043146c
add esp, 4
lea ecx, [esp + 0x28]
lea eax, [esp + 0xc]
mov edx, 0x46abe8
call fcn.0041be20
mov esi, 8
cmp dword [esp + 0x24], esi
jb 0x4119e6
mov eax, dword [esp + 0x10]
push eax
call fcn.004308f5
add esp, 4
xor ecx, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], cx
cmp dword [esp + 0x40], esi
jb 0x411a0c
mov edx, dword [esp + 0x2c]
push edx
call fcn.004308f5
add esp, 4
mov byte [edi + 0x80], bl
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x44
ret

Function at 0x411a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4535e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
push 0x22
xor ebx, ebx
push str..SetupControllerVisualization.cpp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00406050
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, 0x17b
lea edx, [esp + 0x10]
mov dword [esp + 0xe0], ebx
call fcn.0041f600
add eax, 0x28
push str.SetupControllerVisualization::OnClickGotoHomePage
push eax
mov byte [esp + 0xe0], 1
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], bl
call fcn.0041f890
cmp dword [esp + 0x20], 0x10
jb 0x411ada
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004308f5
add esp, 4
push 5
push ebx
push ebx
push str.http:__www.liebao.cn
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret