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

Disassembly:
jmp 0x43d210
sub esp, 0x110
mov eax, dword [0x45b480]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x11c]
push edi
mov edi, dword [esp + 0x12c]
test edi, edi
je 0x43d2c7
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
cmp edi, 0xffffffff
jne 0x43d25d
xor ecx, ecx
jmp 0x43d286
mov eax, 0x10624dd3
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], eax
imul eax, eax, 0x3e8
mov edx, edi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x10], edx
push ecx
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x43d2c5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2714
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042cb12
add esp, 0x110
ret
je 0x43d323
mov edx, dword [esp + 0x128]
push 0
push edx
push ebx
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x43d33d
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x43d312
call esi
cmp eax, 0x2733
je 0x43d312
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042cb12
add esp, 0x110
ret
test edi, edi
je 0x43d323
push 0x186a0
call fcn.0043d360
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042cb12
add esp, 0x110
ret
jne 0x43d344
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042cb12
add esp, 0x110
ret
Function at 0x440d70
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.00440840
add esp, 0xc
test eax, eax
js 0x440fb8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x440ded
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x440db0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x440fb4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x44e3f0]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x44e3f0]
and esi, 0xff
mov esi, dword [esi*4 + 0x44eff0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f7f0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44e3f0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x44fbf0]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x44e3f0]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x44f3f0]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x44e3f0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x44e3f0]
and esi, 0xff
mov esi, dword [esi*4 + 0x44eff0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f7f0]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x44e3f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f3f0]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44e3f0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x44fbf0]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x44e3f0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x44e3f0]
and esi, 0xff
mov esi, dword [esi*4 + 0x44eff0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f7f0]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x44e3f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f3f0]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44e3f0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x44fbf0]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x44e3f0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x44e3f0]
and esi, 0xff
mov esi, dword [esi*4 + 0x44eff0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f7f0]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x44e3f0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44e3f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x44f3f0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x44fbf0]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x440e01
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x1ea1520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x198d000]
push edi
or ebp, 0xffffffff
jmp 0x1ea1542
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ea1549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea1538
mov eax, 1
add ebx, ebx
jne 0x1ea155b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ea156c
jne 0x1ea158b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea158b
dec eax
add ebx, ebx
jne 0x1ea1578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ea1550
add ebx, ebx
jne 0x1ea1587
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ea15dd
xor ecx, ecx
sub eax, 3
jb 0x1ea15a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ea1612
sar eax, 1
mov ebp, eax
jmp 0x1ea15ae
add ebx, ebx
jne 0x1ea15ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea157c
inc ecx
add ebx, ebx
jne 0x1ea15bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea157c
add ebx, ebx
jne 0x1ea15c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ea15be
jne 0x1ea15da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ea15be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ea15fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ea15ee
jmp 0x1ea153e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ea15fc
add edi, ecx
jmp 0x1ea153e
pop esi
mov edi, esi
mov ecx, 0x11e29
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ea161a
cmp byte [edi], 0x6d
jne 0x1ea161a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1ea161f
lea edi, [esi + 0x1a87000]
mov eax, dword [edi]
or eax, eax
je 0x1ea1697
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1aa1f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1aa211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ea164c
mov ecx, edi
jns 0x1ea167b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1aa2124]
or eax, eax
je 0x1ea1691
mov dword [ebx], eax
add ebx, 4
jmp 0x1ea1669
call dword [esi + 0x1aa2120]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1ea16c8
cmp al, 0xef
ja 0x1ea16bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1ea169d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1ea16aa
mov ebp, dword [esi + 0x1aa2128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x1ea16fc
sub esp, 0xffffff80
jmp 0x657333
Function at 0x40ce9d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x40cea9
mov eax, 0x4324c8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40cebd
test al, 0x10
jne 0x40cebd
push 1
pop eax
ret
xor eax, eax
ret

Function at 0x40d546
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x40d552
mov eax, 0x4324c8
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
ja 0x40d58b
cmp esi, 0xffffffff
je 0x40d587
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x40d59f
mov ecx, dword [esp + 8]
cmp esi, 0xffffffff
mov dword [ecx], eax
je 0x40d59d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret 4

Function at 0x40f748
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x438718
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f79f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push 0x43d73c
push 0
push 0
push 0x438704
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f796
mov byte [0x43e73c], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x40f8ea
Capabilities:
Hide graphical window

Disassembly:
push dword [0x43e74c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f916
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x43e74c]
call esi
push 0
push dword [0x43e740]
call esi
pop esi
ret
Function at 0x4113e7
Capabilities:
Check os version

Disassembly:
mov eax, 0x4303b4
call fcn.00423e18
sub esp, 0x3e0
push ebx
push esi
lea eax, [ebp - 0xe0]
push edi
mov dword [ebp - 0x10], ecx
push eax
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xdc], 5
jb 0x411539
cmp dword [ebp - 0xd8], 2
jb 0x411539
push 0x4388cc
push dword [ebp + 8]
call fcn.004246d0
pop ecx
pop ecx
test eax, eax
push 1
je 0x411527
lea eax, [ebp + 0xb]
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.004014ff
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
je 0x411519
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push eax
push 0x2c
mov byte [ebp - 4], 1
call fcn.00415f9f
mov dword [ebp - 0x14], ebx
xor esi, esi
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x41150e
mov eax, dword [ebp - 0x1c]
push 0x28
sub eax, ecx
pop edi
cdq
idiv edi
cmp dword [ebp - 0x14], eax
jae 0x41150e
add ecx, esi
call fcn.0040172d
push eax
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1e4]
push 0x4388bc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2e8]
push 1
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.004140cf
test eax, eax
je 0x4114eb
inc dword [ebp - 0x14]
add esi, edi
jmp 0x41148a
mov ecx, dword [ebp - 0x10]
call fcn.00415d07
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004161aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040195c
xor eax, eax
jmp 0x411528
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004161aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040195c
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 0x4388cc
push dword [ebp + 8]
call fcn.004246d0
pop ecx
test eax, eax
pop ecx
jne 0x411525
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x3ec]
push 1
push eax
push 0x4388bc
call fcn.004140cf
test eax, eax
jne 0x411525
mov ecx, dword [ebp - 0x10]
call fcn.00415d07
jmp 0x41150a
Function at 0x411a50
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
mov eax, 0x4303c8
call fcn.00423e18
sub esp, 0x118
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
push 1
pop esi
cmp ecx, 0x2000
mov dword [eax], esi
je 0x411acb
cmp ecx, 0xbc2
je 0x411acb
xor ebx, ebx
cmp ecx, 0x800704c7
je 0x411a92
cmp ecx, 0x642
jne 0x411a9e
cmp dword [ebp + 0x18], ebx
je 0x411a9e
mov dword [eax], ebx
jmp 0x411bc5
cmp ecx, ebx
je 0x411bc5
cmp ecx, 0x1008
je 0x411bc5
mov ecx, dword [ebp - 0x10]
mov dword [0x43fe44], 0x66d
call fcn.00415d07
xor eax, eax
jmp 0x411bc7
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x1f]
mov byte [ebp - 0x20], bl
mov ecx, dword [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push 0x10
push eax
push 0x438ad0
push 0x438abc
push dword [0x43266c]
call fcn.00401046
mov ecx, eax
add ecx, 0x4024
call fcn.00402386
cmp byte [ebp - 0x20], 0x59
mov byte [ebp + 0x17], bl
je 0x411b16
cmp byte [ebp - 0x20], 0x79
jne 0x411b1a
mov byte [ebp + 0x17], 1
call fcn.0041d9cd
test eax, eax
jne 0x411b3c
cmp dword [ebp + 8], 0xbc2
jne 0x411b31
cmp byte [ebp + 0x17], bl
je 0x411b3c
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x411b46
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], ebx
mov dword [eax + 0x38], esi
push 0x20019
push 0x438a88
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], ebx
call fcn.0040f7b6
test eax, eax
jne 0x411bb6
push 0x40
lea edi, [ebp - 0x123]
pop ecx
mov byte [ebp - 0x124], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push 0x438a74
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp + 0x18], ebx
pop edi
je 0x411bc5
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x413d1c
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and byte [ebp - 0x108], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
mov ebx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
and dword [ebx], 0
and byte [ebp + 0xf], 0
stosw word es:[edi], ax
mov ecx, esi
stosb byte es:[edi], al
call fcn.00401046
add eax, 0xac
push eax
push 0x438e44
call fcn.0041d6e4
pop ecx
test eax, eax
pop ecx
jge 0x413d87
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x438e3c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x438e38
jmp 0x413dd6
mov ecx, esi
mov byte [ebp + 0xf], 1
call fcn.00401046
mov ecx, eax
call fcn.0041a725
push dword [ebp + 8]
test eax, eax
je 0x413dbc
lea eax, [ebp - 0x108]
push 0x438e20
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x438e0c
jmp 0x413dd6
lea eax, [ebp - 0x108]
push 0x438dec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x438dd0
mov ecx, esi
call fcn.00401046
mov ecx, eax
call fcn.0041a725
test eax, eax
je 0x413dfd
mov ecx, esi
call fcn.00401046
push eax
push 1
push edi
push dword [ebp + 8]
call fcn.0041df0d
jmp 0x413e0b
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0041d7ee
mov esi, eax
test esi, esi
je 0x413ec9
cmp esi, 0xbc2
je 0x413e38
push 0
push esi
mov dword [0x43fe44], 0x484
call fcn.0041cb67
pop ecx
mov eax, esi
pop ecx
jmp 0x413ecb
cmp byte [ebp + 0xf], 0
je 0x413ec3
and dword [ebp + 8], 0
push 0x20019
push 0x438a88
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebx], 2
call fcn.0040f7b6
test eax, eax
jne 0x413eb2
and byte [ebp - 0x20c], al
push 0x40
pop ecx
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0xc]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x438a74
mov dword [ebp + 0xc], 0x104
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp + 8], 0
je 0x413ec9
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413ec9
mov dword [ebx], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4151b7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43063e
call fcn.00423e18
sub esp, 0x18c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x12]
mov ebx, 0x43247c
mov esi, 0x432474
push edi
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x4c], esi
call fcn.00401581
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.004153be
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040172d
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x415240
lea ecx, [ebp - 0x10]
call fcn.0040a78d
mov ecx, dword [ebp + 0xc]
cmp eax, edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
sete byte [ebp + 0xf]
call fcn.0040195c
cmp byte [ebp + 0xf], 0
je 0x415376
and byte [ebp - 0x198], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x197]
and dword [ebp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0x438f44
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4152c0
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.00401581
mov dword [ebp - 0x18], 1
jmp 0x415392
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x44]
call fcn.004014ff
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.0040b7af
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040195c
mov eax, 0x438f40
mov dword [ebp - 0x44], ebx
mov ecx, eax
mov dword [ebp - 0x24], esi
test ecx, ecx
mov edi, 0x43ce64
jne 0x415309
mov eax, edi
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b88c
mov eax, 0x438f3c
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [ebp - 0x94], ebx
test ecx, ecx
mov dword [ebp - 0x74], esi
jne 0x415332
mov eax, edi
lea ecx, [ebp - 0x11]
push 0
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b88c
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 6
call fcn.00416070
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0040195c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040195c
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.0040b7f9
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040195c
cmp dword [ebp - 0x10], 0
je 0x4153ad
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41a360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, 0x4394ec
push edi
lea eax, [ebp - 0x14]
push esi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 4
xor ebx, ebx
pop eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x44d8]
push 0x7f00
push ebx
mov dword [ebp - 0x50], 0x41a4b8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [edi + 0x44d8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x41a3e3
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x41a485
push 0xd0
call fcn.00423e37
mov esi, eax
pop ecx
cmp esi, ebx
je 0x41a485
mov eax, dword [ebp + 8]
push 1
pop ecx
mov dword [esi + 4], ecx
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 8], edx
mov eax, dword [eax]
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x2c]
push eax
push 0x18
push dword [esi]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
sub eax, dword [ebp - 0x28]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 8], eax
call ebx
sub eax, dword [ebp - 0x24]
push esi
push dword [edi + 0x44d8]
xor ecx, ecx
cdq
push ecx
push ecx
push dword [ebp - 0x24]
sub eax, edx
sar eax, 1
push dword [ebp - 0x28]
mov dword [edi + 0x4098], ecx
push eax
push dword [ebp + 8]
push 0x86000000
push 0x4394dc
push 0x4394ec
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
jne 0x41a489
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41a4b1
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push ebx
mov dword [edi + 0x4098], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x4098]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a85b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x430ca2
call fcn.00423e18
sub esp, 0x4a4
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x4af]
mov byte [ebp - 0x4b0], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4b0]
lea ecx, [esi + 0x4024]
push eax
push 0x43ce60
push 0x439510
push 0x4381fc
call fcn.00402386
cmp byte [ebp - 0x4b0], bl
jne 0x41a8bf
xor eax, eax
jmp 0x41a9bf
push 1
lea eax, [ebp - 0xe]
pop edi
mov ecx, esi
push edi
push eax
call fcn.00418cd1
push eax
lea ecx, [ebp - 0x38]
call fcn.004014ff
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.004014ff
push ebx
lea eax, [ebp - 0x88]
push ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040afc7
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.0040aee5
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040b7af
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.0040195c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0040195c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0040195c
lea ecx, [ebp - 0x38]
call fcn.0040172d
push eax
call fcn.0041d5d6
test eax, eax
jne 0x41a990
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004014ff
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call fcn.0040b7af
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0040195c
push edi
push ebx
push ebx
lea ecx, [ebp - 0x38]
call fcn.0040172d
push eax
push 0x439524
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
lea ecx, [ebp - 0x38]
sbb esi, esi
or dword [ebp - 4], 0xffffffff
neg esi
call fcn.0040195c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret