joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e7bd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001e85a
push ebx
push esi
call fcn.1001e786
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d582
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e807
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e859
push edi
push eax
call fcn.10016a4e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e827
call fcn.10015b7f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e858
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d582
add esp, 0x20
test eax, eax
jne 0x1001e846
push edi
call fcn.10015b7f
jmp 0x1001e84e
push ebx
call fcn.10015b7f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002260d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10015f23
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002267c
cmp esi, dword [ebp - 4]
je 0x10022677
cmp dword [ebp + 0xc], 0
je 0x10022677
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10022654
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1002215f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1002267e
xor eax, eax
inc eax
jmp 0x1002267e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100226e3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10033024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10015f23
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10015f23
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1002275a
cmp word [ecx], dx
je 0x1002275a
mov eax, dword [0x1002d6d4]
push edi
dec eax
push eax
push 0x1002d5c0
call fcn.10022682
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100227cd
cmp word [eax], dx
je 0x100227cd
mov eax, dword [edi]
test eax, eax
je 0x1002277e
cmp word [eax], dx
je 0x1002277e
lea eax, [ebp - 0x10]
push eax
call fcn.10022065
jmp 0x10022787
lea eax, [ebp - 0x10]
push eax
call fcn.10022100
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100227f7
mov eax, dword [0x1002d5bc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1002d2b0
call fcn.10022682
add esp, 0xc
test al, al
je 0x100227f7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100227c2
cmp word [eax], di
je 0x100227c2
lea eax, [ebp - 0x10]
push eax
call fcn.10022065
pop ecx
jmp 0x100227f9
lea eax, [ebp - 0x10]
push eax
call fcn.10022100
jmp 0x100227bf
mov eax, dword [edi]
test eax, eax
je 0x100227e4
cmp word [eax], dx
je 0x100227e4
lea eax, [ebp - 0x10]
push eax
call fcn.1002201a
pop ecx
jmp 0x100227f7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100228c2
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10022507
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100228c2
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100228c2
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100228c2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002284f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001682b
test ebx, ebx
je 0x100228bd
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001682b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100228c2
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100228c2
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100241c2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100228c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000aa34
leave
ret
Function at 0x10025940
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002596d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002596d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401415
Capabilities:
Encode data using xor

Disassembly:
jmp 0x413cd0
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x413e57
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xe5
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x22
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x83
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x7d
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x87
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc7
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x3b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc1
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7e
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x68
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 4
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x31
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x26
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xce
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xdd
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb8
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xba
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x9b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf4
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x89
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x8b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x82
inc edi
cmp edi, ebx
jb 0x413cf0
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4038a0
Capabilities:
Terminate process

Disassembly:
jmp 0x452c69
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x452c7a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405e2f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4039d6
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a83f2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a8403
pop esi
ret
push ebx
push edi
push esi
call fcn.004a82d9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00404318
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a842b
push ebx
push esi
push edi
call fcn.00405bff
add esp, 0xc
push 0
call fcn.00406839
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x438c89
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
mov esi, dword [esp]
add esp, 4
inc ebx
mov edi, 0x9f855550
call fcn.00438ccb
dec edi
xor dword [eax], esi
sub ebx, 1
push 0x8721bc5a
pop ebx
add edi, edi
inc eax
add ebx, edi
inc edi
mov ebx, ebx
cmp eax, edx
jne fcn.00438c89
sub edi, 0x65687a3b
ret
Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.00406792
lea eax, [ebp - 0x404]
push eax
call section..text
add esp, 0x18
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret
Function at 0x4012f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x84
mov dword [ebp - 0x30], 0x407026
mov dword [ebp - 0x50], 0x401468
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x44], ebx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
sub esp, 8
mov dword [ebp - 0x40], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadIconA
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], 0
sub esp, 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 5
mov dword [esp], eax
call sub.USER32.dll_RegisterClassExA
xor edx, edx
sub esp, 4
test ax, ax
jne 0x4013a4
mov eax, edx
mov ebx, dword [ebp - 4]
leave
ret 0x10
call fcn.00401a50
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0xc8
mov dword [esp + 0x18], 0x1f4
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], str.Escape_from_Windows___M._Cesati__2010
mov dword [esp + 4], 0x407026
mov dword [esp], 0
lea ebx, [ebp - 0x28]
call sub.USER32.dll_CreateWindowExA
mov edx, dword [ebp + 0x14]
sub esp, 0x30
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
jmp 0x401435
mov dword [esp], ebx
call sub.USER32.dll_TranslateMessage
sub esp, 4
mov dword [esp], ebx
call sub.USER32.dll_DispatchMessageA
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
jne 0x40141f
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
leave
mov eax, edx
ret 0x10
Function at 0x401ecd
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov dword [0x409024], 0
mov eax, dword [0x409010]
cmp dword [0x409014], eax
nop
nop
nop
nop
nop
nop
call sub.KERNEL32.dll_GetCurrentProcess
lea edx, [ebp - 0x1c]
mov dword [esp + 4], 0x28
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.ADVAPI32.DLL_OpenProcessToken
sub esp, 0xc
test eax, eax
je 0x401fe9
lea eax, [ebp - 0x14]
mov dword [esp + 4], str.SeShutdownPrivilege
mov dword [esp], 0
mov dword [esp + 8], eax
lea ebx, [ebp - 0x18]
call sub.ADVAPI32.DLL_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
sub esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
sub esp, 0x18
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x402030
mov dword [esp + 4], 0
mov dword [esp], 5
call sub.USER32.dll_ExitWindowsEx
sub esp, 8
test eax, eax
je 0x402005
mov dword [esp], 0
call sub.USER32.dll_PostQuitMessage
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
mov dword [esp + 4], str.OpenProcessToken_failed
mov dword [esp], 0
call sub.KERNEL32.dll_FatalAppExitA
sub esp, 8
jmp 0x401f16
mov dword [esp + 4], str.ExitWindowsEx_failed
mov dword [esp], 0
call sub.KERNEL32.dll_FatalAppExitA
sub esp, 8
mov dword [esp], 0
call sub.USER32.dll_PostQuitMessage
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
mov dword [esp + 4], str.AdjustTokenPrivileges_failed
mov dword [esp], 0
call sub.KERNEL32.dll_FatalAppExitA
sub esp, 8
jmp 0x401f84

Function at 0x402110
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00402710
call fcn.004022c0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x402148
jmp 0x4021e4
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x402147
cmp cl, 0x22
je 0x4021a0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4021c0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4021c0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x402180
jmp 0x4021c0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4021a0
cmp cl, 0x22
je 0x402220
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x4021de
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
jne 0x4021d0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x402202
movzx edx, word [ebp - 0x28]
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004012f0
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4021c0
Function at 0x405366
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x405380
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40537c
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jmp dword [0x4053a3]

Function at 0x4206be
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov eax, dword [0x68453c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x503263
call dword [sym.imp.msvcrt.dll_rand]
mov ecx, 0xbb8
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x54], 1
jmp 0x4d1e6c
mov al, cl
imul bl
mov dl, al
add dl, dl
add al, dl
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x4d1e84
mov ecx, dword [ebp - 0x5c]
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x503263
mov dl, byte [ebp - 0x53]
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
and eax, 0x80000001
jns 0x503237
dec eax
or eax, 0xfffffffe
jmp 0x503236
mov byte [ebp - 0x53], bl
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x56], dx
lea ebx, [ebx]
mov eax, ecx
and eax, 0x80000001
jns 0x4d1e96
dec eax
or eax, 0xfffffffe
inc eax
je 0x4603dd
mov al, bl
jmp dword [0x4d1ea8]
mov esp, ebp
pop ebp
ret
inc eax
je 0x503248
mov al, dl
not al
imul cl
jmp 0x503255
mov al, cl
imul dl
mov bl, al
add bl, bl
add al, bl
mov bl, byte [ebp + 0xc]
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x46041d
test esi, esi
je 0x503287
mov dl, bl
call fcn.0053f8b2
mov ecx, dword [ebp - 0x5c]
push 0
push edi
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dl, bl
call fcn.0053f8b2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004567c3
jmp 0x4ff1d6

Function at 0x42b305
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x20c], eax
test byte [0x688a94], cl
jne 0x434d9d
or dword [0x688a94], ecx
xor eax, eax
jmp 0x44bebc
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x688a90]
mov ecx, dword [ebp - 4]
jmp 0x454450
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x57b574]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x44bebc
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
jmp dword [0x44bef1]
xor ecx, ebp
call fcn.004567c3
mov esp, ebp
pop ebp
ret 8
Function at 0x43db14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x684678], 0
push esi
push edi
jne 0x43db49
push 0xa000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [0x684678], eax
push 0x100000
push 5
lea edi, [ebp - 0x20c]
jmp 0x4bff26
mov esi, 0x688aa8
mov dword [ebp - 0x20c], 0
call fcn.004752de
add esp, 8
test eax, eax
je 0x4c882e
xor ecx, ecx
jmp 0x4bff4c
lea edx, [ecx + 1]
imul edx, edx, 0x4959
xor dx, word [ecx*2 + 0x57b2e0]
inc ecx
mov word [ebp + ecx*2 - 0x20a], dx
cmp ecx, 4
jl 0x4bff4c
push eax
push 0x4c87f2
ret
mov eax, dword [0x684678]
mov ecx, 0x688aa8
mov dword [eax], ecx
mov edx, dword [0x688aa8]
push 0x47ff96
ret

Function at 0x4400d8
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.004fcb5a
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x33bc], eax
mov dword [ebp - 0x33c4], edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
jmp 0x4d6fb2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a6593
mov esi, dword [ebp - 0x33b0]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, esi
jae 0x512202
mov bl, 0x20
mov byte [ebp + eax - 0x5f4], bl
lea eax, [ebp - 0x5f4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a65c3
sub eax, edx
lea edx, [eax + 1]
cmp edx, esi
jb 0x4a65b3
jmp 0x512202
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 9
jl 0x4da845
lea edx, [ebp - 0x33b0]
push edx
mov edx, dword [ebp - 0x33b4]
lea eax, [ebp - 0x5f4]
push eax
push 0
push 0
lea ecx, [ebp - 0x318c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x512202
lea eax, [ebp - 0x5f4]
jmp 0x4a6590
xor cx, word [eax*2 + 0x57b794]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x440108
lea edx, [ebp - 0x33b4]
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4da832
xor ecx, ecx
lea edx, [ecx + 1]
imul edx, edx, 0x1991
jmp 0x4da806
xor dx, word [ecx*2 + 0x57b7b4]
inc ecx
mov word [ebp + ecx*2 - 0x318e], dx
cmp ecx, 6
jl 0x4d6ff3
push eax
lea eax, [ebp - 0x318c]
push eax
push edi
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x33b0], 0x3e8
mov byte [ebp - 0x5f4], 0
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x72a4
xor cx, word [eax*2 + 0x57b7c4]
jmp 0x4b2c52
mov dword [ebp - 0x33b0], 0x100
mov byte [ebp - 0x1b74], 0
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x2d3
xor cx, word [eax*2 + 0x57b7d8]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 7
jl 0x512215
jmp dword [0x512242]
Function at 0x44516d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x57b180]
jmp 0x49ae18
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x445182
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x57b190]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x49ae2c
push 0x4f7922
ret

Function at 0x45445d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x688a8c], cl
jne 0x53937b
or dword [0x688a8c], ecx
xor eax, eax
jmp 0x50d0bc
lea edx, [eax + 1]
imul edx, edx, 0xe1e
xor dx, word [eax*2 + 0x57b598]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x50d0bc
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5f04
jmp 0x539340
xor dx, word [eax*2 + 0x57b5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x50d0e2
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x688a88], eax
push 0
push 0x18
push edi
push 0
push esi
call dword [0x688a88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004567c3
mov esp, ebp
pop ebp
jmp dword [0x53939d]

Function at 0x4641df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x33d6
xor cx, word [eax*2 + 0x57b218]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
jmp 0x4ef2c0
cmp eax, 0xc
jl 0x4641f4
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5ec5
xor dx, word [eax*2 + 0x57b234]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x4ef2cb
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push ebx
push 0
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004567c3
jmp dword [0x4ef32a]
Function at 0x4752de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
jmp 0x4d9a58
push eax
call dword [0x688a98]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004567c3
mov esp, ebp
pop ebp
ret
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x4d9aa1
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x688a98], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push edx
push esi
jmp 0x49d3ea
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x688a9c], cl
jne 0x4c8283
or dword [0x688a9c], ecx
xor eax, eax
jmp 0x4d9a7b
lea edx, [eax + 1]
imul edx, edx, 0x3417
xor dx, word [eax*2 + 0x57b268]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x4d9a7b
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x1ea7
xor dx, word [eax*2 + 0x57b284]
jmp 0x4c8250