joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1d2
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
jmp 0x47f45b
cmp eax, 0xa
jne 0x47f470
mov eax, dword [0x6e7304]
cmp eax, 0x2800
jne 0x407c93
mov esi, 4
jmp 0x47f470
cmp eax, 0x295a
jne 0x407ca8
mov esi, 4
jmp 0x47f470
cmp eax, 0x3839
jne 0x407cbd
mov esi, 4
jmp 0x47f470
cmp eax, 0x3ad7
jmp 0x5a2d18
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [0x6e72fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x11c], 0xb8
jmp 0x4df478
mov edx, dword [0x6e7674]
push edx
mov ebx, eax
call fcn.0055b9f0
mov eax, dword [0x6e7670]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
push ebx
push ecx
mov ecx, dword [ebp - 0x120]
push edx
push ecx
push edi
call eax
mov esi, eax
cmp dword [0x6e7674], ebx
jmp dword [0x440124]
push ebx
push ebx
lea edx, [ebp - 0x108]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
mov word [ebp - 0x111], ax
mov eax, dword [0x6e7670]
mov dword [ebp - 0x11b], esi
cmp eax, ebx
jne 0x4400e5
jmp dword [0x47f496]
mov esi, 0x18f
jmp 0x47f470
cmp eax, 2
jne 0x4b16b2
mov esi, eax
jmp 0x47f470
cmp eax, 3
jne 0x4b16c2
mov esi, eax
jmp 0x47f470
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x61e2
xor dx, word [eax*2 + 0x5de2c0]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 6
jl 0x4b16c6
jmp 0x407c62
mov dword [ebp - 0x117], 0x3e8
mov word [ebp - 0x113], 0xc200
mov dword [ebp - 0x10f], 0x340fd48b
mov byte [ebp - 0x10b], 0xc3
cmp eax, 6
jne 0x407c70
mov eax, dword [0x6e7300]
cmp eax, 1
jne 0x4b16a2
jmp 0x4b1698
jne 0x5a2d28
mov esi, 4
jmp 0x47f470
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ba1
xor cx, word [eax*2 + 0x5de2d0]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 6
jl 0x5a2d2c
jmp 0x47f452
Function at 0x437287
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.0044cd76
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
jmp 0x59035c
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 + 0x5de7d8]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 7
jl 0x443888
jmp dword [0x4438b2]
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 + 0x5de7c4]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 9
jl 0x49ecf2
jmp 0x521b76
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 0x443875
lea eax, [ebp - 0x5f4]
jmp dword [0x521bb1]
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
xor cx, word [eax*2 + 0x5de794]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x590361
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 0x49ecdf
jmp dword [0x5903b0]
Function at 0x443052
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
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 dword [ebp - 0x318], eax
test eax, eax
je 0x5769fa
mov byte [eax], 0
xor eax, eax
lea esp, [esp]
jmp 0x59b532
call esi
mov ecx, dword [ebp - 0x310]
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
lea edx, [ebp - 0x310]
mov ebx, eax
push edx
push ebx
call esi
test ebx, ebx
je 0x5769f3
xor eax, eax
cmp dword [ebx], eax
je 0x581f01
lea ecx, [eax + 1]
imul ecx, ecx, 0x23be
xor cx, word [eax*2 + 0x5de754]
jmp 0x56e432
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 0xc
jl 0x4e140a
movzx edx, byte [ebx + 0x199]
movzx eax, byte [ebx + 0x198]
movzx ecx, byte [ebx + 0x197]
push edx
movzx edx, byte [ebx + 0x196]
jmp 0x581ed4
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x5769c9
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4e1400
mov edi, dword [ebp - 0x314]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
jmp dword [0x576a07]
push eax
movzx eax, byte [ebx + 0x195]
push ecx
movzx ecx, byte [ebx + 0x194]
push edx
push eax
push ecx
lea edx, [ebx + 0x10c]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
jmp 0x590ad1
lea edx, [eax + 1]
imul edx, edx, 0x1d70
xor dx, word [eax*2 + 0x5de770]
inc eax
mov word [ebp + eax*2 - 0x20e], dx
cmp eax, 0xb
jl 0x581f01
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
jmp 0x590a9a
movzx edx, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push ecx
movzx ecx, byte [ebx + 0x195]
push edx
movzx edx, byte [ebx + 0x194]
push eax
push ecx
push edx
lea eax, [ebx + 0x10c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x10c]
add esp, 0x24
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x590ae2
mov edi, dword [ebp - 0x318]
jmp 0x5769c6
lea ecx, [eax + 1]
imul ecx, ecx, 0x2514
xor cx, word [eax*2 + 0x5de730]
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 7
jl 0x59b532
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x314], edi
test edi, edi
je 0x5769fa
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ebf
xor cx, word [eax*2 + 0x5de740]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
jmp 0x59f3f6
cmp eax, 8
jl 0x59b576
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x5769f3
lea eax, [ebp - 0x310]
push eax
push 0
mov dword [ebp - 0x310], 0
jmp 0x4e13da
Function at 0x446a3e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6e72fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x54eae2
mov eax, dword [0x6e7300]
cmp eax, 1
jne 0x446a80
lea esi, [edi + 0x37]
jmp 0x54eaee
cmp eax, 2
jne 0x446a91
lea esi, [eax + 0x36]
jmp 0x54eaee
cmp eax, 3
jne 0x54eaee
jmp 0x54eada
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x6a05f9], edx
mov edx, dword [ebp + 0x10]
mov dword [0x6a05fd], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6a0603], edx
mov edx, dword [ebp + 0x18]
mov dword [0x6a0607], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x6a060d], edx
mov edx, dword [ebp + 0x20]
mov dword [0x6a0611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x6a0617], edx
mov edx, dword [ebp + 0x28]
mov dword [0x6a061b], eax
jmp 0x50b898
mov dword [0x6a0621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x6a067b], eax
adc edx, edi
mov dword [0x6a067f], edx
lea ecx, [ebx + 0x100]
mov dword [0x6a00cd], ecx
lea eax, [ebp - 8]
cdq
mov dword [0x6a068c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x6a0690], edx
jmp dword [0x50b8e2]
lea esi, [eax + 0x36]
jmp 0x54eaee
cmp eax, 0xa
jne 0x54eaee
lea esi, [eax + 0x30]
mov ebx, dword [0x6e7668]
cmp ebx, edi
jne 0x54eb1c
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x6e7668], ebx
jmp 0x4b3b9f
mov eax, dword [0x6e766c]
push eax
call fcn.0055b9f0
mov ebx, dword [0x6e7668]
jmp 0x4b3b9c

Function at 0x44e9a1
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
jmp dword [0x44e9ce]
Function at 0x46c84f
Capabilities:
Encode data using xor

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x579a5a
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004027f4
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
jmp 0x5452c4
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
jmp 0x502fcc
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi]
push ebx
push esi
cmp eax, 0x64
jl 0x560fcd
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + 0x5de2f8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 0xc
jl 0x502fe9
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
jmp 0x560fc2
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.004027f4
mov esp, ebp
pop ebp
ret 0xc
call fcn.004027f4
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
test eax, eax
jle 0x579a16
lea ebx, [edi + 8]
mov eax, dword [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x561007
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x560fda
jmp 0x579a16
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
jmp 0x579a0e
test ecx, ecx
jne 0x579a46
mov ecx, dword [edi]
mov eax, dword [ebp - 0x110]
imul ecx, ecx, 0x2048
lea ecx, [ecx + edi + 8]
mov esi, ecx
mov dword [ecx + 0x2040], 0
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x579a36
inc dword [edi]
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x408f1b
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x5de314]
jmp 0x408ee4

Function at 0x4a9c4e
Capabilities:
Encode data using xor

Disassembly:
jl 0x4a9c88
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]
test eax, eax
jne 0x421899
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004027f4
mov esp, ebp
pop ebp
ret
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004027f4
mov esp, ebp
jmp 0x4a8e9a
pop ebp
ret
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 + 0x5de180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x4a9c63
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x5de190]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jmp 0x421862
Function at 0x4cf0a0
Capabilities:
Encode data using xor

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x4cf0da
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
push 0x4fa22c
ret
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 + 0x5de218]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 0xc
jl 0x4cf0b5
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5ec5
xor dx, word [eax*2 + 0x5de234]
jmp 0x4717d6

Function at 0x4ee9ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x4eea20
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x4eea04
pop esi
pop ebx
pop ebp
ret 8
Function at 0x51cff6
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
jmp 0x5394dc
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x539521
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x539515
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x539523
inc edx
add eax, 0x28
cmp edx, esi
jb 0x5394fd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x587c42
Capabilities:
Send data
Send data on socket

Disassembly:
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 0x550a78
test esi, esi
je 0x57df49
mov dl, bl
call fcn.0043a941
mov ecx, dword [ebp - 0x5c]
push 0
push edi
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 0x57df42
ret
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x54], 1
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 0x51ba53
dec eax
or eax, 0xfffffffe
inc eax
je 0x51ba64
mov al, bl
not al
imul cl
jmp 0x550a42
mov al, cl
imul bl
jmp 0x550a3c
mov dl, al
add dl, dl
add al, dl
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x51ba41
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 0x4f8554
mov dl, byte [ebp - 0x53]
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
and eax, 0x80000001
jns 0x550a8a
dec eax
or eax, 0xfffffffe
inc eax
je 0x4f8539
mov al, dl
not al
imul cl
jmp dword [0x550aa0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004027f4
mov esp, ebp
pop ebp
ret
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 [0x6e753c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x4f8554
call dword [sym.imp.msvcrt.dll_rand]
mov ecx, 0xbb8
jmp 0x51ba18

Function at 0x58a2ef
Capabilities:
Allocate or change rwx memory

Disassembly:
xor eax, eax
mov dword [0x6a0541], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [0x6a053d], 0x7ffeffff
mov dword [0x6a0551], 0x3000
mov dword [0x6a0560], 0x40
mov edx, ebx
add edx, 0x400
jmp dword [0x439adc]
lea esi, [edi + 0x15]
jmp 0x50ed1c
cmp eax, 2
jne 0x50ecff
lea esi, [eax + 0x14]
jmp 0x50ed1c
cmp eax, 3
jne 0x50ed1c
lea esi, [eax + 0x14]
jmp 0x50ed1c
cmp eax, 0xa
jne 0x50ed1c
lea esi, [eax + 0xe]
mov ebx, dword [0x6e7658]
cmp ebx, edi
jne 0x5160d1
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
jmp 0x5160c6
mov dword [0x6e7658], ebx
jmp 0x5160e5
mov eax, dword [0x6e765c]
push eax
call fcn.0055b9f0
mov ebx, dword [0x6e7658]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x6a0529], edx
mov edx, dword [ebp + 0x10]
mov dword [0x6a052d], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6a0533], edx
mov dword [0x6a0547], eax
jmp 0x439aa2
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6e72fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x50ed10
mov eax, dword [0x6e7300]
cmp eax, 1
jne 0x50ecee
jmp 0x50ece6
Function at 0x5af17b
Capabilities:
Encode data using xor

Disassembly:
or dword [0x6eba94], ecx
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x5de574]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x4e9b12
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + 0x5de58c]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x4e9b38
jmp 0x5c0fe8
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 [0x6eba94], cl
jne 0x5c1008
jmp 0x4e9b0a
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 [0x6eba90], eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x6eba90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004027f4
mov esp, ebp
pop ebp
ret 8
Function at 0x700f9c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x700f9d3
pop dword [ebp - 0x1c]
mov eax, 0xf9296c25
add eax, 0xdd78dae
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xf52e0904
add dword [ebp - 0x2c], 0x59243c47
mov dword [ebp - 0x28], 0xcd625d27
add dword [ebp - 0x28], 0x64d0ef1e
mov dword [ebp - 0x24], 0xd085adcd
add dword [ebp - 0x24], 0x7bc69661
mov dword [ebp - 0x20], 0xfd53cbc6
add dword [ebp - 0x20], 0x2ac343a
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xe93bbc72
add dword [ebp - 0x2c], 0x8b36ace4
mov dword [ebp - 0x28], 0xb2b0f75b
add dword [ebp - 0x28], 0x8ebb6a1a
mov dword [ebp - 0x24], 0xa258dc0c
add dword [ebp - 0x24], 0xc1169060
mov dword [ebp - 0x20], 0xa5f80b73
sub dword [ebp - 0x20], 0xa5f80b73
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xe6a19ea4
sub eax, 0xdfa05e70
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3be3a
push 0
call eax
mov ecx, 0xaf760a01
sub ecx, 0xaf75bb1e
xor esi, esi
add esi, eax
mov edx, 0x7021400
add edx, dword [ebp - 0x1c]
mov ebx, 0x39884bab
mov dword [ebp - 0x10], 0xb952ee39
mov edi, dword [edx]
xor dword [ebp - 8], 0x33f00e87
add edi, ebx
sub dword [ebp - 8], 0x42adaeec
mov dword [esi], edi
add dword [ebp - 0xc], 0xad61322b
add esi, 0xb5f182e8
sub esi, 0xb5f182e4
add edx, 0x190045ea
sub edx, 0x190045e6
loop 0x700fae6
add eax, 0x12e5f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xea780732
add ecx, 0x1c87f8ce
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401c66
pop dword [ebp - 0x30]
mov eax, 0x30c58107
sub eax, 0x308564a1
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x921d1f26
sub dword [ebp - 0x40], 0x43cad9db
mov dword [ebp - 0x3c], 0x274d4e
sub dword [ebp - 0x3c], 0xcdf40109
mov dword [ebp - 0x38], 0x9de4f605
sub dword [ebp - 0x38], 0x5198b1d7
mov dword [ebp - 0x34], 0x137e1dda
add dword [ebp - 0x34], 0xec81e226
lea eax, [ebp - 0x40]
push eax
mov eax, 0xaeed77c5
sub eax, 0xaead4771
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xc1f2a38c
sub dword [ebp - 0x40], 0x4d803a36
mov dword [ebp - 0x3c], 0x41daa43a
add dword [ebp - 0x3c], 0xff91bd3b
mov dword [ebp - 0x38], 0xbe90187e
sub dword [ebp - 0x38], 0x5b20ac12
mov dword [ebp - 0x34], 0xbff8fa2f
add dword [ebp - 0x34], 0x400705d1
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xd877b4cd
sub eax, 0xd83784a1
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x331f2
push 0
call eax
mov ecx, 0x3a90
xor ebx, ebx
add ebx, eax
mov edi, 0xf60043cd
sub edi, 0xf5bfd3cd
add edi, dword [ebp - 0x30]
mov edx, 0x7e0671d5
xor dword [ebp - 0x18], 0x33f6cd1c
mov esi, dword [edi]
xor dword [ebp - 0x18], 0x96a6c151
xor esi, edx
add dword [ebp - 0x20], eax
mov dword [ebx], esi
xor dword [ebp - 0x1c], 0xe1f73436
add ebx, 0xcb5eb654
add ebx, 0x34a149b0
add edi, 0x65e6f363
add edi, 0x9a190ca1
loop 0x401d7e
add eax, 0xdd13
mov ebx, eax
add eax, 0xfd059dcb
sub eax, 0xfd059dc6
mov ecx, 0xf590cd0e
add ecx, 0xaaf32f2
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x10032b90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101fac9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101fe4b0]
mov dword [ebp - 0x60], 0
test eax, eax
jne 0x10032c7f
push 0x55
push 0x101fe4b8
push 0x5c
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10032c68
push esi
push 0x55
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.10108310
add esp, 0xc
mov esi, 0x2d
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [edx*2 + 0x101fe4b8]
cmp eax, 0x5f
movzx ecx, al
cmove ecx, esi
mov byte [ebp + edx - 0x5c], cl
test cl, cl
je 0x10032c13
inc edx
cmp edx, 0x55
jl 0x10032bf0
mov byte [ebp - 8], 0
push 0x41
call fcn.10100856
mov esi, eax
add esp, 4
test esi, esi
je 0x10032c67
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10100856
add esp, 0x10
cmp dword [ebp - 0x60], 0
jg 0x10032c5e
push 0x10032340
push 0x15
mov byte [eax + esi], 0
mov dword [0x101fe4b0], esi
mov byte [0x101fe4b4], 1
call fcn.10100856
add esp, 8
jmp 0x10032c67
push esi
call fcn.10100856
add esp, 4
pop esi
mov eax, dword [0x101fe4b0]
mov ecx, 0x10166518
test eax, eax
cmovne ecx, eax
mov dword [0x101fe4b0], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e580b
mov esp, ebp
pop ebp
ret