joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b4e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ff7d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00465618
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466b34
test eax, eax
je 0x43b5fc
mov ecx, dword [esp + 0x3c]
call fcn.00465645
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43b5c0
push edi
mov ecx, esi
call fcn.00462ca3
mov ecx, esi
call fcn.0043b760
cmp dword [esp + 0x38], 1
jne 0x43b5f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00462dde
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43e020
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e053
push esi
call fcn.00441120
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e04c
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 0x43e0d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e0c2
mov eax, dword [esi + 8]
test eax, eax
je 0x43e077
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 0x43e0be
cmp eax, 2
je 0x43e0c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e06a
cmp eax, 3
je 0x43e09d
cmp eax, 1
jne 0x43e06a
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 0x43e06a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e06a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e100
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e0e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e100
add esp, 4
pop esi
ret

Function at 0x449440
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 0x4494a6
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 0x4494a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x449487
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x449fe0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044a130
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44a000
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x449fe1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044a130
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44a000
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44a030
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44a087
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44a09d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044a0c0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44a0c0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44a150
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 0x44a199
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 0x44a610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cd70
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.0044a1c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044a240
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044a240
lea ecx, [esi + 0xc]
call fcn.0045e956
lea ecx, [esi + 0x10]
call fcn.0045e956
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044ca80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044ca80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044ca80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045e9cb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045e9cb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44b2b8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cf98
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 0x44b2c8
call fcn.0044b7e0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44b3ab
cmp byte [edi], 0
je 0x44b3ab
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44b2ed
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00449fe0
test eax, eax
jne 0x44b30d
push 0x48b460
lea ecx, [esi + 0x38]
call fcn.0045eb08
jmp 0x44b3ab
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044a030
test eax, eax
jne 0x44b33c
mov ecx, esi
call fcn.0044a130
push edi
add esi, 0x38
push 0x48b43c
push esi
call fcn.0045c967
add esp, 0xc
jmp 0x44b3ab
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044c070
test eax, eax
je 0x44b3a4
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.0044b480
test eax, eax
jne 0x44b3c0
push edi
lea eax, [esi + 0x38]
push 0x48b418
push eax
call fcn.0045c967
add esp, 0xc
mov ecx, esi
call fcn.0044b7e0
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 0x44b468
mov ecx, dword [0x48b740]
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.0045c967
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.0044a0e0
test eax, eax
jne 0x44b42a
push 0x48b3fc
lea ecx, [esi + 0x38]
call fcn.0045eb08
jmp 0x44b43a
push 0xfa
mov ecx, esi
call fcn.0044c070
test eax, eax
jne 0x44b457
mov ecx, esi
call fcn.0044b7e0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045e9cb
jmp 0x44b3ab
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045e9cb
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x460d72
Capabilities:
Get graphical window text

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

Function at 0x462460
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 0x4624a2
call fcn.00467fd9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4624a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462499
xor eax, eax
jmp 0x4624aa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004624b0
pop edi
pop esi
pop ebx
ret 4

Function at 0x468509
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 0x468537
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468555
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046846f
jmp 0x468555
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468555
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046846f
test edi, edi
mov eax, edi
jne 0x46853f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405645
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, dword [edi]
add eax, 8
push eax
call fcn.00404ae3
push dword [edi + 8]
call fcn.00404ab8
mov ebx, eax
xor esi, esi
cmp ebx, esi
setne al
push 0xf4
push 0x40d058
push 0x409c78
mov dword [ebp - 0x10], ebx
push eax
call 0x4098f4
mov ecx, dword [edi + 8]
add esp, 0x18
cmp ecx, esi
je 0x4056b9
mov edx, dword [ebp + 0xc]
sub edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
sub edx, ebx
mov eax, ebx
mov dword [ebp + 0xc], edx
jmp 0x4056a8
mov edx, dword [ebp + 0xc]
mov dl, byte [edx + eax]
mov ebx, dword [ebp - 0xc]
xor dl, byte [ebx + eax]
dec ecx
mov byte [eax], dl
inc eax
cmp ecx, esi
jne 0x4056a5
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], esi
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x48]
call fcn.00405341
push 0x10
call fcn.00404ab8
xor ebx, ebx
cmp eax, ebx
pop ecx
je 0x4056f7
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x4056f9
xor esi, esi
cmp esi, ebx
setne al
push 0xfe
push 0x40d058
push 0x409c78
push eax
call 0x4098f4
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
add esp, 0x10
dec ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ecx
js 0x4057c1
mov dword [ebp - 4], eax
neg dword [ebp - 4]
lea edx, [ecx + 1]
imul edx, eax
mov dword [ebp - 0xc], edx
cmp eax, 1
mov dword [ebp + 0xc], eax
jl 0x4057b1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cdq
mov ecx, eax
mov eax, dword [edi]
xor ecx, dword [eax]
xor edx, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [edi]
shl ebx, 3
mov ecx, dword [ebx + eax]
mov dword [esi + 8], ecx
mov eax, dword [ebx + eax + 4]
push 1
mov dword [esi + 0xc], eax
push esi
lea eax, [ebp - 0x48]
push eax
mov eax, esi
call fcn.004053fb
mov eax, dword [edi]
mov ecx, dword [esi]
dec dword [ebp + 0xc]
dec dword [ebp + 8]
cmp dword [ebp + 0xc], 1
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ebx + eax], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebx + eax + 4], ecx
jge 0x40574c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
dec ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
jge 0x405741
mov edi, dword [edi]
push 7
mov eax, 0x40f00c
pop ecx
mov dl, byte [edi]
cmp dl, byte [eax]
jne 0x4057d6
inc edi
inc eax
dec ecx
jne 0x4057cb
movzx eax, byte [eax]
movzx ecx, byte [edi]
sub ecx, eax
push 0
pop eax
sete al
push esi
mov edi, eax
call fcn.00404a77
cmp dword [ebp - 0x48], ebx
pop ecx
je 0x4057fb
push dword [ebp - 0x48]
call fcn.00404a77
pop ecx
push dword [ebp - 0x10]
call fcn.00404a77
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4058ce
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [edx]
push ebx
mov ebx, ecx
ror ebx, 8
push ebp
push esi
push edi
mov edi, 0xff00ff00
and ebx, edi
rol ecx, 8
mov esi, 0xff00ff
and ecx, esi
or ebx, ecx
mov dword [eax], ebx
mov ecx, dword [edx + 4]
mov ebx, ecx
ror ebx, 8
and ebx, edi
rol ecx, 8
and ecx, esi
or ebx, ecx
mov dword [eax + 4], ebx
mov ecx, dword [edx + 8]
mov ebx, ecx
ror ebx, 8
and ebx, edi
rol ecx, 8
and ecx, esi
or ebx, ecx
mov dword [eax + 8], ebx
mov ecx, dword [edx + 0xc]
mov edx, ecx
ror edx, 8
and edx, edi
rol ecx, 8
and ecx, esi
or edx, ecx
mov dword [eax + 0xc], edx
mov ecx, edx
shr ecx, 0x10
mov edi, 0xff
and ecx, edi
mov ecx, dword [ecx*4 + 0x40b770]
xor ecx, 0x1000000
mov ebx, dword [eax + 4]
movzx esi, dh
mov esi, dword [esi*4 + 0x40b770]
and esi, 0xff0000
and ecx, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
movzx esi, byte [esi*4 + 0x40b770]
xor ecx, esi
mov esi, edx
and esi, edi
mov esi, dword [esi*4 + 0x40b770]
mov ebp, 0xff00
and esi, ebp
xor ecx, esi
xor ecx, dword [eax]
lea esi, [eax + 0x10]
xor ebx, ecx
mov dword [esi], ecx
mov ecx, dword [eax + 8]
xor ecx, ebx
xor edx, ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ebx, 0x40cf74
mov eax, esi
mov edx, dword [eax + 0xc]
mov esi, edx
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x40b770]
shr esi, 0x10
and esi, edi
mov esi, dword [esi*4 + 0x40b770]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
and edx, edi
mov edx, dword [edx*4 + 0x40b770]
shr esi, 0x18
movzx esi, byte [esi*4 + 0x40b770]
xor ecx, esi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea esi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [esi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
cmp ebx, 0x40cf98
mov dword [eax + 0x1c], edx
jne 0x40599f
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x405a1a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
call fcn.004058ce
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
test ebx, ebx
mov dword [ebp - 8], eax
jle 0x405a81
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x405a40
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x405bf3
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x40b770]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x40b770]
and edi, ecx
mov edi, dword [edi*4 + 0x40bb70]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40c370]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x40b770]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40bf70]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x40b770]
and edx, ecx
xor edi, dword [edx*4 + 0x40c770]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x40b770]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x40b770]
and edi, ecx
mov edi, dword [edi*4 + 0x40bb70]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40c370]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x40b770]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40bf70]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x40b770]
and edx, ecx
xor edi, dword [edx*4 + 0x40c770]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x40b770]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x40b770]
and edi, ecx
mov edi, dword [edi*4 + 0x40bb70]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40c370]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x40b770]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40bf70]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x40b770]
and edx, ecx
xor edi, dword [edx*4 + 0x40c770]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x40b770]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x40b770]
and edi, ecx
mov edi, dword [edi*4 + 0x40bb70]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40c370]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x40b770]
and edx, ecx
mov edx, dword [edx*4 + 0x40b770]
and ebx, ecx
xor edi, dword [ebx*4 + 0x40bf70]
and edx, ecx
xor edi, dword [edx*4 + 0x40c770]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x405a95
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40721f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x40726f
push 0x3c
call fcn.00404ab8
pop ecx
mov ecx, eax
cmp ecx, esi
je 0x40724a
push dword [edi + 0x24]
xor eax, eax
call fcn.00407a2c
mov dword [ebp - 4], eax
jmp 0x40724d
mov dword [ebp - 4], esi
cmp ebx, esi
jbe 0x407265
mov eax, dword [ebp - 4]
call fcn.00407ad0
mov cl, byte [edi + 0x30]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, ebx
jb 0x407251
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.00406f24
pop esi
pop ebx
leave
ret
Function at 0x45d5a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4eddab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004e20ae
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45d622
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004df623
mov eax, dword [eax]
push 0x605240
push eax
call fcn.004d0c84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e2339
test bl, bl
je 0x45d622
push 0x605240
lea ecx, [esp + 0xc]
call fcn.004e26c9
push 0x608e1c
lea ecx, [esp + 0xc]
call fcn.004e26c9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x45d65e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e2339
jmp 0x45d729
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x45d6e2
lea edx, [esp + 0x7c]
push 0x608e18
push edx
call fcn.004d0c84
add esp, 8
test eax, eax
je 0x45d6e2
lea eax, [esp + 0x7c]
push 0x608e14
push eax
call fcn.004d0c84
add esp, 8
test eax, eax
je 0x45d6e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45d672
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004e2339
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x45df40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x45dfa2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc