joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489ff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00466420
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004664a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004664a0
lea ecx, [esi + 0xc]
call fcn.0047b1ee
lea ecx, [esi + 0x10]
call fcn.0047b1ee
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00468cd0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00468cd0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00468cd0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047b263
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047b263
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x467518
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48a218
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x467528
call fcn.00467a40
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46760b
cmp byte [edi], 0
je 0x46760b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46754d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00466240
test eax, eax
jne 0x46756d
push 0x6e18b0
lea ecx, [esi + 0x38]
call fcn.0047b3a0
jmp 0x46760b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00466290
test eax, eax
jne 0x46759c
mov ecx, esi
call fcn.00466390
push edi
add esi, 0x38
push 0x6e188c
push esi
call fcn.0047902a
add esp, 0xc
jmp 0x46760b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004682c0
test eax, eax
je 0x467604
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004676e0
test eax, eax
jne 0x467620
push edi
lea eax, [esi + 0x38]
push 0x6e1868
push eax
call fcn.0047902a
add esp, 0xc
mov ecx, esi
call fcn.00467a40
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4676c8
mov ecx, dword [0x6e1b20]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0047902a
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00466340
test eax, eax
jne 0x46768a
push 0x6e184c
lea ecx, [esi + 0x38]
call fcn.0047b3a0
jmp 0x46769a
push 0xfa
mov ecx, esi
call fcn.004682c0
test eax, eax
jne 0x4676b7
mov ecx, esi
call fcn.00467a40
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0047b263
jmp 0x46760b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0047b263
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x47d607
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47d63f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047b6be
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047b696
jmp 0x47d64b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47ed01
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47ed43
call fcn.00484871
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47ed43
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47ed3a
xor eax, eax
jmp 0x47ed4b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047ed51
pop edi
pop esi
pop ebx
ret 4

Function at 0x484da1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x484dcf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x484ded
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00484d07
jmp 0x484ded
mov eax, dword [esi + 0x14]
test eax, eax
je 0x484ded
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00484d07
test edi, edi
mov eax, edi
jne 0x484dd7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x469490
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8960
call fcn.00488480
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x469610
xor cl, cl
mov eax, edi
call fcn.00469630
test eax, eax
jne 0x4694c5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x49d3c8]
push eax
push ebp
mov ecx, edi
call fcn.004696c0
test eax, eax
je 0x4694e8
xor eax, eax
mov dword [0x4a2bb0], eax
jmp 0x4694ed
mov eax, dword [0x4a2bb0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x49588a
mov dword [esp + 0x844], ebx
mov dword [esp + 0x848], ebx
mov dword [esp + 0x84c], ebx
mov dword [esp + 0x864], ebx
mov dword [esp + 0x868], ebx
cmp byte [esp + 0x8974], bl
je 0x469533
mov byte [esp + 0x840], bl
cmp eax, ebx
je 0x46953b
mov byte [esp + 0x840], 1
mov ecx, dword [0x4a2bac]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x854], eax
lea eax, [esp + 0x18]
push eax
push 0x469790
mov dword [esp + 0x858], ecx
mov dword [esp + 0x860], edx
call esi
mov eax, dword [esp + 0x848]
cmp eax, ebx
je 0x4695e8
lea ecx, [esp + 0x10]
push ecx
push 0x468590
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4695a5
mov edx, dword [esp + 0x848]
call fcn.00468f70
mov dword [esp + 0x848], esi
mov eax, dword [esp + 0x848]
call fcn.00467640
mov edx, dword [esp + 0x848]
call fcn.00468f70
mov edx, dword [0x49d3c8]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x469610
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret 4
mov eax, dword [0x4a2bb0]
cmp eax, ebx
je 0x469610
cmp eax, 1
setg al
mov dword [0x4a2bb0], ebx
cmp al, bl
je 0x469610
mov edx, ebp
call fcn.00468f70
push ebx
mov ecx, edi
call fcn.00469490
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8960
ret 4

Function at 0x46bc60
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
sub esp, 0x800cc
mov eax, dword [esp + 0xd0]
mov eax, dword [eax]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x1c], eax
shr eax, 9
add esp, eax
add dword [ecx + 0x9c6484], ecx
add byte [eax], al
xor al, 1
push ebx
mov ebx, dword [ecx]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xa8], eax
mov eax, 0xfffffffe
push ebp
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push esi
push edi
mov edi, dword [ecx]
xor ebp, ebp
xor ecx, ecx
and eax, 1
mov esi, ebx
shl eax, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], ebx
mov dword [esp - 0x7fffff70], ebx
mov dword [esi + 0xb824], esi
add byte [ecx - 0x76afdbac], cl
xchg esp, eax
and al, 0xa0
add byte [eax], al
add byte [ecx - 0x76dbdb92], cl
dec esp
and al, 0x5c
mov dword [esp + 0x58], edx
mov byte [esp + 0x498], al
add byte [eax], al
Function at 0x405cfc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405d62
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004044ac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f40
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d69
lea eax, [ebp - 0x10]
call fcn.0040423c
ret

Function at 0x40b5fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b660
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004075e8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b667
lea eax, [ebp - 0xc]
call fcn.0040423c
ret

Function at 0x416ef8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x41d904]
shl edi, 2
xor edx, dword [esi + 0x41c87c]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x41c904]
mov bl, dl
add ecx, dword [ebx*4 + 0x41cd04]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x41d104]
mov bl, dl
add ecx, dword [ebx*4 + 0x41d504]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x416f15
xchg edx, eax
xor eax, dword [esi + 0x41c87c]
xor edx, dword [esi + 0x41c880]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x416f70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x41d904]
inc esi
shl esi, 2
xor edx, dword [esi + 0x41c87c]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x41c904]
mov bl, dl
add ecx, dword [ebx*4 + 0x41cd04]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x41d104]
mov bl, dl
add ecx, dword [ebx*4 + 0x41d504]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x416f88
xchg edx, eax
xor eax, dword [0x41c880]
xor edx, dword [0x41c87c]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x417268
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x41d904], 0x10
mov esi, 0x41a3bc
mov edi, 0x41c87c
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x418b88
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x418bce
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00418aec
mov eax, dword [ebp - 4]
call fcn.004046fc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418bd5
lea eax, [ebp - 4]
call fcn.0040423c
ret

Function at 0x418c98
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00407b88
add esp, 0x104
pop ebx
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 0x401961
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [eax + 4]
test eax, eax
je 0x401997
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x20000005
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x401997
mov eax, dword [ebp - 4]
jmp 0x401999
xor eax, eax
xor edx, edx
leave
ret

Function at 0x401cb3
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x4432c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x648], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x64c], eax
jne 0x401cfc
xor al, al
jmp 0x401e52
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x401e2c
mov ebx, 0x104
mov eax, dword [ebp - 0x650]
cmp dword [ebp - 0x640], eax
je 0x401e12
and word [ebp - 0x418], 0
mov edi, 0x206
push edi
lea eax, [ebp - 0x416]
push 0
push eax
call fcn.0041a5f0
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.00419eef
and word [ebp - 0x210], 0
add esp, 0xc
push edi
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.0041a5f0
add esp, 0xc
push str.2345Explorer.exe
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00419eef
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
call fcn.0042f3fc
pop ecx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0042f3fc
pop ecx
push eax
call fcn.00419f5b
test eax, eax
pop ecx
pop ecx
jne 0x401e12
mov edx, dword [esi + 4]
test edx, edx
jne 0x401dc4
xor ecx, ecx
jmp 0x401dcc
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x401def
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x401def
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x640]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x401e12
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x401dfb
call fcn.00419e23
push edi
push esi
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
mov eax, esi
call fcn.004021f6
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401d1b
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
jne 0x401e43
xor esi, esi
jmp 0x401e4b
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 2
xor eax, eax
test esi, esi
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419c60
leave
ret
Function at 0x401e61
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x435a3f
call fcn.0041e33e
xor edi, edi
push edi
push 0x43aad0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00401cb3
test al, al
je 0x40200e
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401f75
push 0xdf7f
push 0x4dac
push 0x845
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401ed8
call fcn.00419e23
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
jbe 0x401ee5
call fcn.00419e23
cmp edi, ebx
je 0x401f21
cmp edi, dword [ebp - 0x18]
jb 0x401ef3
call fcn.00419e23
push dword [edi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x401f12
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x30]
call fcn.004020a2
cmp edi, dword [ebp - 0x18]
jb 0x401f1c
call fcn.00419e23
add edi, 4
jmp 0x401ee5
xor esi, esi
cmp dword [ebp - 0x2c], esi
je 0x401f61
mov ecx, dword [ebp - 0x28]
mov eax, ecx
sub eax, dword [ebp - 0x2c]
sar eax, 2
je 0x401f61
cmp eax, esi
ja 0x401f41
call fcn.00419e23
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
jne 0x401f4a
xor ecx, ecx
jmp 0x401f50
sub ecx, dword [ebp - 0x2c]
sar ecx, 2
push 0x1388
push 1
push dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], esi
je 0x401f73
push dword [ebp - 0x2c]
call fcn.00419eea
pop ecx
xor edi, edi
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401f82
call fcn.00419e23
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x401f8f
call fcn.00419e23
cmp esi, ebx
je 0x401fb8
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
sar ecx, 2
mov eax, ecx
shl eax, 2
test ecx, ecx
lea edi, [eax + esi]
jle 0x401fb3
push eax
push ebx
push eax
push esi
call fcn.00419c9e
add esp, 0x10
mov dword [ebp - 0x18], edi
xor edi, edi
lea ecx, [ebp - 0x20]
call fcn.00401cb3
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401fcd
call fcn.00419e23
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x401fda
call fcn.00419e23
cmp esi, ebx
je 0x40200e
cmp esi, dword [ebp - 0x18]
jb 0x401fe8
call fcn.00419e23
push dword [esi]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
je 0x401fff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, dword [ebp - 0x18]
jb 0x402009
call fcn.00419e23
add esi, 4
jmp 0x401fda
cmp dword [ebp - 0x1c], edi
je 0x40201c
push dword [ebp - 0x1c]
call fcn.00419eea
pop ecx
call fcn.0041e416
ret
Function at 0x40306c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4030cf
cmp dword [ebp + 0xc], 1
je 0x4030a8
cmp dword [ebp + 0xc], 2
je 0x4030a8
push 0xd
pop eax
jmp 0x4030cf
test edi, edi
mov eax, dword [ebp - 4]
je 0x4030c9
test eax, eax
je 0x4030c5
test al, 1
jne 0x4030a3
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x4030c9
jmp 0x4030a3
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x40328f
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4432c4]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
xor edi, edi
push 0x40e
lea eax, [ebp - 0x7a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x7c], di
call fcn.0041a5f0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a0]
mov dword [ebp - 0x80], edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4032e2
xor al, al
jmp 0x40331b
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x403303
cmp dword [ebp - 0x80], edi
je 0x4032de
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4032de
lea eax, [ebp - 0x7c]
call fcn.004010b5
cmp dword [ebp - 0x80], edi
je 0x403319
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
pop esi
call fcn.00419c60
add ebp, 0x398
leave
ret
Function at 0x4046c6
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x34
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x405
push dword [esi + 4]
call edi
push 0x408
push dword [esi + 4]
mov dword [esp + 0x14], eax
call edi
push 0x404
push dword [esi + 4]
mov dword [esp + 0x18], eax
call edi
push 0x407
push dword [esi + 4]
mov dword [esp + 0x1c], eax
call edi
push 0x40d
push dword [esi + 4]
mov dword [esp + 0x20], eax
call edi
push 0x40b
push dword [esi + 4]
mov dword [esp + 0x24], eax
call edi
push 0x420
push dword [esi + 4]
mov dword [esp + 0x28], eax
call edi
push 0x40e
push dword [esi + 4]
mov dword [esp + 0x2c], eax
call edi
push 0x417
push dword [esi + 4]
mov dword [esp + 0x38], eax
call edi
push 0x418
push dword [esi + 4]
mov dword [esp + 0x30], eax
call edi
push 0x424
push dword [esi + 4]
mov dword [esp + 0x34], eax
call edi
push 0x419
push dword [esi + 4]
mov dword [esp + 0x40], eax
call edi
push 0x41f
push dword [esi + 4]
mov dword [esp + 0x44], eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
mov ebx, 0xf0
push ebx
push dword [esp + 0x18]
mov dword [esp + 0x44], eax
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x1c]
inc al
mov byte [esi + 0x22], al
call edi
dec eax
neg eax
sbb al, al
inc al
push ebp
mov byte [esi + 0x23], al
push ebp
push ebx
push dword [esp + 0x20]
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x24]
inc al
mov byte [esi + 0x21], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x28]
inc al
mov byte [esi + 0x24], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x2c]
inc al
mov byte [esi + 0x25], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x30]
inc al
mov byte [esi + 0x26], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x34]
inc al
mov byte [esi + 0x27], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x38]
inc al
mov byte [esi + 0x28], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x3c]
inc al
mov byte [esi + 0x29], al
call edi
dec eax
neg eax
push ebp
sbb al, al
inc al
push ebp
mov byte [esi + 0x2c], al
push ebx
push dword [esp + 0x40]
call edi
push ebp
push ebp
cmp eax, 1
push ebx
push dword [esp + 0x44]
setne al
mov byte [esi + 0x20], al
call edi
dec eax
push ebp
neg eax
push ebp
sbb al, al
push ebx
push dword [esp + 0x48]
inc al
mov byte [esi + 0x2a], al
call edi
dec eax
neg eax
pop edi
sbb al, al
inc al
pop ebp
mov byte [esi + 0x2b], al
pop ebx
add esp, 0x34
ret

Function at 0x404937
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push str.http:__jifen.2345.com_
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret