joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458f70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x458fa3
push esi
call fcn.0045bfc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x458f9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x459029
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x459012
mov eax, dword [esi + 8]
test eax, eax
je 0x458fc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45900e
cmp eax, 2
je 0x459012
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x458fba
cmp eax, 3
je 0x458fed
cmp eax, 1
jne 0x458fba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x458fba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x458fba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00459050
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x459038
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00459050
add esp, 4
pop esi
ret

Function at 0x466240
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4662e3
test eax, eax
jbe 0x4662e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4662e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46628e
xor esi, esi
jmp 0x466294
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4662bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00417e90
add esi, eax
push esi
mov ebx, esi
call fcn.00417e90
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4662a0
pop ebp
test edi, edi
pop edi
jne 0x4662e3
test ebx, ebx
je 0x4662e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004d4010
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x466425
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46653d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46653d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e6e2f
mov esi, eax
test esi, esi
je 0x46653d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46653d
mov ecx, esi
call fcn.00466390
cmp edi, eax
jge 0x46653d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4664c3
mov dword [esp + 0x34], 1
jmp 0x46651e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46653d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00464b90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46ef06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46ef06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46eee7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x46faf0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46fb39
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46ffb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5070
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.0046fb60
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046fbe0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046fbe0
lea ecx, [esi + 0xc]
call fcn.004e538f
lea ecx, [esi + 0x10]
call fcn.004e538f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00471170
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00471170
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00471170
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e5404
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e5404
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x476580
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f5640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00476950
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00476950
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.004769c0
lea ecx, [esp + 0x10]
call fcn.004753a0
cmp eax, 1
jae 0x476628
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x476693
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x476693
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.004769c0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.004753a0
cmp eax, 1
jb 0x476693
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00476420
test eax, eax
je 0x476693
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00476700
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00476a20
push edi
lea ecx, [esp + 0x24]
call fcn.00476a40
push esi
lea ecx, [esp + 0x24]
call fcn.00476ae0
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00476a40
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00476400
test eax, eax
je 0x4766c9
inc esi
cmp esi, 0x7a0a1f00
jb 0x47664a
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00476970
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476970
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00476a20
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00476970
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476970
mov eax, 1
jmp 0x4766b4
Function at 0x476e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f56f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00476950
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.004769c0
push 0
mov ecx, esi
call fcn.00476dd0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x476f88
lea ecx, [esp + 0xc]
call fcn.004753a0
cmp eax, 1
jae 0x476ed7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00476970
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x476f24
push 0
lea ecx, [esp + 0x10]
call fcn.00443510
push eax
push edi
mov ecx, 0x67a594
call fcn.00476580
test eax, eax
jne 0x476f2c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00476970
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.004769c0
push edi
mov ecx, 0x67a594
call fcn.004764e0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00443500
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x476f88
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x476f88
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x476fb8
push 1
mov ecx, esi
call fcn.00476dd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00476970
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00476970
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x477930
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.004769c0
pop edi
add esp, 0x104
ret 4
Function at 0x483dd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x483e03
push esi
call fcn.00488be0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x483dfc
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x483e89
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x483e72
mov eax, dword [esi + 8]
test eax, eax
je 0x483e27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x483e6e
cmp eax, 2
je 0x483e72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x483e1a
cmp eax, 3
je 0x483e4d
cmp eax, 1
jne 0x483e1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x483e1a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x483e1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00483ec0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x483ea9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00483ec0
add esp, 4
pop esi
ret

Function at 0x4b46e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4b46eb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4b47ee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x60c520]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x60c520]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x60c520]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x60c520]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x60c520]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x60c520]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x60c520]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x60c520]
xor eax, edx
inc ecx
dec edi
jne 0x4b4706
pop edi
test esi, esi
je 0x4b4810
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x60c520]
xor eax, edx
inc ecx
dec esi
jne 0x4b47f2
pop esi
pop ebx
not eax
ret
Function at 0x4e77d2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e780a
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.004e585f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e5837
jmp 0x4e7816
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e8ec4
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 0x4e8f06
call fcn.004eea7f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e8f06
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e8efd
xor eax, eax
jmp 0x4e8f0e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e8f14
pop edi
pop esi
pop ebx
ret 4

Function at 0x4eefaf
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 0x4eefdd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4eeffb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004eef15
jmp 0x4eeffb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eeffb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004eef15
test edi, edi
mov eax, edi
jne 0x4eefe5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x452210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40113b
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00431dd0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40113b
lea eax, [ebp - 0x804]
push eax
call fcn.00431e8f
pop ecx
add esi, 0x10
lea ecx, [ebp - 0x804]
call fcn.004011a6
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00431f25
leave
ret

Function at 0x401583
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x452210]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
cmp dword [eax + 0x18], 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
jb 0x4015b6
mov eax, dword [eax + 4]
jmp 0x4015b9
add eax, 4
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x442d8c
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40164f
cmp dword [ebp - 0x74], ebx
je 0x40164f
mov eax, 0x208
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00431dd0
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x401606
mov edi, dword [edi + 4]
jmp 0x401609
add edi, 4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x401638
lea eax, [ebp - 0x70]
push eax
call fcn.00431e8f
pop ecx
lea ecx, [ebp - 0x70]
call fcn.004011a6
cmp dword [ebp - 0x74], ebx
je 0x401646
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401651
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431f25
add ebp, 0x19c
leave
ret 4

Function at 0x40166b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, ecx
jb 0x40167f
mov eax, dword [eax + 4]
jmp 0x401682
add eax, 4
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x442d8c
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4016f7
cmp dword [ebp - 4], ebx
je 0x4016f7
mov eax, dword [esi + 0x14]
add eax, eax
cmp dword [esi + 0x18], 8
jb 0x4016be
mov esi, dword [esi + 4]
jmp 0x4016c1
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x4016cc
mov ecx, dword [edi + 4]
jmp 0x4016cf
lea ecx, [edi + 4]
push eax
push esi
push 1
push ebx
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], ebx
mov esi, eax
je 0x4016ee
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x4016f9
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x402c9a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00431dd0
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00431dd0
add esp, 0x18
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
jb 0x402ce0
mov esi, dword [esi + 4]
jmp 0x402ce3
add esi, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x402cf1
mov eax, dword [eax + 4]
jmp 0x402cf4
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402d19
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
pop ebx
leave
ret 4
Function at 0x402d88
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x43f945
call fcn.00433e6d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
push 1
sub esp, 0x14
mov dword [ebp - 4], eax
mov esi, esp
mov dword [ebp - 0x50], esp
call fcn.00403de1
push dword [ebp + 8]
lea ebx, [ebp - 0x64]
call fcn.00403e64
add esp, 0x1c
mov eax, ebx
call fcn.00403848
test eax, eax
je 0x402f11
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x5c]
jbe 0x402de7
call fcn.00432305
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov edi, 0x442e28
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], esi
jbe 0x402e02
call fcn.00432305
cmp dword [ebp - 0x50], esi
je 0x402f11
lea esi, [ebp - 0x54]
call fcn.00403801
xor ebx, ebx
cmp dword [eax + 0x14], ebx
je 0x402efb
call fcn.00403801
mov esi, dword [ebp - 0x6c]
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.0040af4e
pop ecx
pop ecx
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040b215
test al, al
je 0x402e8b
lea ecx, [ebp - 0x4c]
call fcn.00402d1f
test al, al
je 0x402e5e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00402c9a
jmp 0x402eed
cmp dword [esi + 0x18], 8
jb 0x402e69
mov eax, dword [esi + 4]
jmp 0x402e6c
lea eax, [esi + 4]
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x402e78
lea ecx, [ebp - 0x48]
push 1
push eax
push ebx
push ecx
push 0x442e1c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x402eed
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
push edi
mov byte [ebp - 4], 2
call fcn.00431e8f
pop ecx
mov ecx, edi
lea esi, [ebp - 0x30]
call fcn.004011a6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4c]
call fcn.00403c25
push 0x442e38
mov eax, esi
push eax
call fcn.00403770
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402ed2
lea eax, [ebp - 0x2c]
push ebx
push 0x442e44
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.0040115f
push ebx
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0040115f
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x5c]
jb 0x402f08
call fcn.00432305
add dword [ebp - 0x50], 0x1c
jmp 0x402df5
lea esi, [ebp - 0x64]
call fcn.00403900
call fcn.00433ef0
ret 0xc
Function at 0x402f21
Capabilities:
Query environment variable

Disassembly:
push 0x10
mov eax, 0x43db35
call fcn.00433e04
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebx + 4], cx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
jb 0x402f5b
mov eax, dword [eax]
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jbe 0x402fc1
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00431bca
lea ecx, [esi + esi + 2]
push ecx
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00431dd0
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp dword [edi + 0x18], 8
jb 0x402f9f
mov eax, dword [eax]
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x402fb8
push dword [ebp - 0x10]
mov esi, ebx
call fcn.00401149
push dword [ebp - 0x10]
call fcn.00432685
pop ecx
mov eax, ebx
call fcn.00433edc
ret

Function at 0x407a55
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x452210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x407a76
mov eax, dword [eax + 4]
jmp 0x407a79
add eax, 4
push pe_nt_image_headers32
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x407aa0
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431f25
leave
ret 4