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

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x818058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81806a
add dl, dl
jne 0x818089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8180dc
xor eax, eax
add dl, dl
jne 0x818096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81817d
add dl, dl
jne 0x8180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x818075
mov eax, 1
add dl, dl
jne 0x8180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8180e1
sub eax, ebx
mov ebx, 1
jne 0x818128
mov ecx, 1
add dl, dl
jne 0x81810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x818119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818136
cmp eax, 0x7d00
jae 0x81816d
cmp eax, 0x500
jb 0x818168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
cmp eax, 0x7f
ja 0x818170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x818075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x31eb2d43
xor eax, 0x6feeb685
push eax
mov esi, 0x4ee24da6
xor esi, 0x50705908
mov ecx, 0x7f907a1c
xor ecx, 0x76159db9
push ecx
mov ebx, 0x27d84ae4
xor ebx, 0x2e5dad41
pop edx
xor ebx, edx
xor ebx, ebx
jmp 0x403f50

Function at 0x4051fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405248
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xb41a7f
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0xb5f044]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00b4c400
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0xb41b31
push edi
mov edi, 0xb5bd44
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0xb41aca
sub eax, edx
sar eax, 1
je 0xb41b30
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.00b5a0ac]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00b48b61
push 0xb5bd60
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00b490bb
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0xb41b30
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00b493ae
push dword [ebp - 0x78]
call fcn.00b49442
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00b48b52
add ebp, 0x198
leave
ret

Function at 0xb41b4a
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0xb5f044]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00b4c400
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0xb41c25
push edi
mov edi, 0xb5bc90
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0xb41b99
sub eax, edx
sar eax, 1
je 0xb41c24
cmp dword [0xb6006c], 3
mov esi, 0x104
lea eax, [ebp - 0x74]
jne 0xb41bd6
push esi
push eax
call dword [0xb5a028]
push 0xb5bd68
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00b48b61
add esp, 0xc
jmp 0xb41bde
push eax
push esi
call dword [fcn.00b5a0ac]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00b48b61
push 0xb5bd60
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00b490bb
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0xb41c24
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00b493ae
push dword [ebp - 0x78]
call fcn.00b49442
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00b48b52
add ebp, 0x198
leave
ret
Function at 0xb422c1
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0xb5f044]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
xor esi, esi
call fcn.00b4c400
add esp, 0xc
test edi, edi
je 0xb42387
and dword [ebp - 0x7c], esi
mov ecx, 0xb5bc40
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0xb4230c
sub eax, esi
sar eax, 1
je 0xb42330
push 0xb5bddc
push ecx
lea eax, [ebp - 0x7c]
push eax
call fcn.00b490bb
add esp, 0xc
jmp 0xb42364
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [fcn.00b5a0ac]
push 0xb5bd44
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00b48b61
push 0xb5bddc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00b490bb
add esp, 0x18
xor esi, esi
inc esi
cmp dword [ebp - 0x7c], 0
je 0xb42387
push dword [ebp - 0x7c]
push esi
push 0x200
push edi
call fcn.00b4975b
push dword [ebp - 0x7c]
call fcn.00b49442
add esp, 0x14
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00b48b52
add ebp, 0x194
leave
ret

Function at 0xb4239f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0xb5bd60
push dword [ebp + 8]
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00b490bb
add esp, 0xc
test eax, eax
je 0xb423c9
xor eax, eax
jmp 0xb4244c
push ebx
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.00b49867
push dword [ebp - 4]
call fcn.00b49a89
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.00b49867
lea eax, [esi + 0x32]
push eax
mov dword [ebp - 8], eax
call fcn.00b49b46
push dword [ebp - 4]
mov edi, eax
push 1
push esi
push edi
call fcn.00b493ae
push dword [ebp - 4]
call fcn.00b49442
push 0x32
lea ebx, [edi + esi]
call fcn.00b4244f
push 0xb5bddc
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00b490bb
add esp, 0x44
pop esi
pop ebx
test eax, eax
jne 0xb423c2
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push edi
call fcn.00b4975b
push dword [ebp - 4]
call fcn.00b49442
xor eax, eax
add esp, 0x14
inc eax
pop edi
leave
ret
Function at 0xb46ea8
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0xb46eb3
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0xb46f65
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xb5d308]
inc ecx
sub edi, 8
dec esi
jne 0xb46eca
pop ebx
test edi, edi
je 0xb46f7e
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0xb5d308]
inc ecx
dec edi
jne 0xb46f69
pop esi
not eax
pop edi
ret

Function at 0xb46f83
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0xb5d308]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0xb5d308]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x403030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
jmp 0x434efe
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
inc edi
dec dword [ebp - 0x210]
jne 0x434f21
mov ecx, dword [ebp - 8]
push 0x53d3a0
ret
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
test eax, eax
je 0x427448
mov edi, ebx
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x214]
mov ecx, edi
and ecx, 0xffff
mov eax, dword [edx + ecx*4]
lea esi, [edx + ecx*4]
test eax, eax
je 0x4b6258
jmp 0x4b623c
lea esp, [esp]
mov ecx, dword [eax]
cmp dword [ecx], edi
je 0x526722
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4b6243
push 0xc
call dword [sym.imp.msvcrt.dll_malloc]
mov edx, dword [ebp + 0x10]
add esp, 4
push 0
push 0
push eax
mov dword [eax + 4], edx
mov dword [eax], edi
mov dword [eax + 8], ebx
call fcn.00523a21
jmp 0x52671a
test eax, eax
jne 0x42743b
mov eax, dword [esi]
test eax, eax
je 0x526741
mov ecx, dword [eax]
cmp dword [ecx], edi
je 0x526741
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x52672c
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x6d9c
xor dx, word [eax*2 + 0x59e2a4]
inc eax
mov word [ebp + eax*2 - 0x20e], dx
cmp eax, 0x10
jl 0x526743
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x10c]
jmp 0x42741e

Function at 0x409486
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x53e556
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 0x40949c
push 0x53e554
ret
pop ebp
ret 8

Function at 0x4098ac
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 0x447c24
mov byte [eax], 0
xor eax, eax
lea esp, [esp]
jmp 0x436bf6
lea ecx, [eax + 1]
imul ecx, ecx, 0x2514
xor cx, word [eax*2 + 0x59e7e0]
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 7
jl 0x436bf6
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 0x447c24
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ebf
xor cx, word [eax*2 + 0x59e7f0]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
push 0x440676
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053b460
mov esp, ebp
pop ebp
ret
Function at 0x41dda8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp eax, 1
jne 0x401641
lea esi, [edi + 0x15]
jmp 0x40166f
cmp eax, 2
jne 0x401652
lea esi, [eax + 0x14]
jmp 0x40166f
cmp eax, 3
jne 0x40166f
lea esi, [eax + 0x14]
jmp 0x40166f
cmp eax, 0xa
jne 0x40166f
lea esi, [eax + 0xe]
mov ebx, dword [0x6a7674]
cmp ebx, edi
jne 0x558648
jmp 0x558628
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6a72fc]
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 0x401663
mov eax, dword [0x6a7300]
jmp 0x401630
mov dword [ecx + 4], edx
mov eax, dword [0x660084]
mov dword [ecx + 8], eax
mov edx, dword [0x660088]
mov dword [ecx + 0xc], edx
movzx eax, word [0x66008c]
mov word [ecx + 0x10], ax
mov ecx, 0x2c
mov esi, 0x660520
lea edi, [ebx + 0x112]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x1c5]
mov ecx, 7
mov esi, 0x660090
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x10], ebx
pushal
pushfd
call dword [ebp + 0x10]
add esp, 4
popfd
jmp dword [0x425781]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [0x66053d], 0x7ffeffff
mov dword [0x660551], 0x3000
mov dword [0x660560], 0x40
mov edx, ebx
add edx, 0x400
mov dword [0x6605ab], edx
adc eax, edi
mov dword [0x6605af], eax
jmp 0x5750d4
mov byte [ebx + 0x40a], dl
mov eax, dword [0x6600cc]
mov dword [ebx], eax
mov edx, dword [0x6600d0]
mov dword [ebx + 4], edx
movzx eax, word [0x6600d4]
mov word [ebx + 8], ax
movzx edx, byte [0x6600d6]
mov byte [ebx + 0xa], dl
mov eax, dword [0x66007c]
mov dword [ecx], eax
mov edx, dword [0x660080]
jmp 0x425726
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x6a7674], ebx
jmp 0x55865c
mov eax, dword [0x6a7678]
push eax
call fcn.00555603
mov ebx, dword [0x6a7674]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x660529], edx
mov edx, dword [ebp + 0x10]
mov dword [0x66052d], eax
mov eax, dword [ebp + 0x14]
mov dword [0x660533], edx
mov dword [0x660547], eax
xor eax, eax
mov dword [0x660541], edi
jmp 0x44a4fc
lea ecx, [ebx + 0x100]
mov dword [0x6600cd], ecx
lea eax, [ebp - 8]
cdq
mov dword [0x6605c0], edx
mov edx, dword [ebp - 0x14]
mov dword [0x6605bc], eax
movzx eax, word [ebp - 0xc]
mov dword [ebx + 0x400], edx
movzx edx, byte [ebp - 0xa]
mov dword [ebx + 0x404], esi
mov word [ebx + 0x408], ax
jmp 0x4aa6be
Function at 0x420ab8
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]
mov dword [0x6a7544], eax
cmp eax, 0xffffffff
jne 0x44bb8f
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x59eb58]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
jmp dword [0x420b0c]
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x59eb6c]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 5
jmp dword [0x44bbbb]

Function at 0x4279d3
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + 0x59e3a8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 0xc
jl 0x425e66
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]
jmp 0x4bc130
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
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 0x4bc13d
jmp 0x425e64
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x52bfc4
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.0053b460
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
jmp 0x4a2a04
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0053b460
mov esp, ebp
pop ebp
ret 0xc
xor ecx, ebp
call fcn.0053b460
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
test eax, eax
jle 0x5503e3
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 0x5503d1
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x4bc14a
jmp 0x5503cc
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x52bfa0
inc dword [edi]
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x43c315
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x59e3c4]
jmp 0x43c2de
jmp 0x5503e3
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
test ecx, ecx
jne 0x52bfb0
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
jmp 0x52bf9e

Function at 0x431acb
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 0x431ae5
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x431ae1
xor edx, edx
mov ecx, 0x10b
jmp dword [0x431b04]
Function at 0x452b67
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov byte [ebp - 0x5f4], 0
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x72a4
xor cx, word [eax*2 + 0x59e874]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 9
jl 0x40a711
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]
jmp 0x4ec414
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
xor cx, word [eax*2 + 0x59e844]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x40ad7d
lea edx, [ebp - 0x33b4]
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x56fef5
xor ecx, ecx
jmp 0x56fec0
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.00475b72
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 0x40ad78
lea eax, [ebp - 0x1b74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46382b
sub eax, edx
inc eax
cmp eax, dword [ebp - 0x33b0]
jae 0x46384a
jmp 0x463845
mov eax, dword [ebp - 0x33b4]
jmp dword [0x463857]
lea eax, [ebp - 0x5f4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47e9e5
sub eax, edx
lea edx, [eax + 1]
cmp edx, esi
jb 0x4ec44d
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 + 0x59e888]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
jmp 0x50b15a
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47e9fd
lea eax, [ebp - 0x5f4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ec42d
mov esi, dword [ebp - 0x33b0]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, esi
jae 0x47e9fd
mov bl, 0x20
mov byte [ebp + eax - 0x5f4], bl
jmp 0x47e9dc
cmp eax, 7
jl 0x47ea10
lea edx, [ebp - 0x33b0]
push edx
mov edx, dword [ebp - 0x33b4]
lea eax, [ebp - 0x1b74]
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 0x46384a
jmp 0x463822
lea edx, [ecx + 1]
imul edx, edx, 0x1991
xor dx, word [ecx*2 + 0x59e864]
inc ecx
mov word [ebp + ecx*2 - 0x318e], dx
cmp ecx, 6
jl 0x56fec0
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
jmp 0x40a708
Function at 0x470321
Capabilities:
Encode data using xor
Terminate process

Disassembly:
lea edx, [ebp - 0x178]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x44f186
lea ecx, [eax + 1]
imul ecx, ecx, 0x442
xor cx, word [eax*2 + 0x59ebf4]
inc eax
mov word [ebp + eax*2 - 0x17a], cx
cmp eax, 0xc
jl 0x41d67b
push 0
push 0
lea edx, [ebp - 0x178]
jmp 0x44f16e
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [0x6a766c], 0
mov ebx, eax
jne 0x44f1b7
push 0x1000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [0x6a740c], eax
mov byte [0x6a766c], 1
mov esi, dword [0x6a740c]
jmp 0x4fa496
push ebp
mov ebp, esp
sub esp, 0x3cc
mov eax, dword [section..data]
jmp 0x526d8a
add esi, 0x43e
mov edx, 0x59ec10
xor eax, eax
mov ecx, esi
sub edx, esi
jmp 0x4fa4ac
lea edi, [eax + 1]
imul edi, edi, 0x4f51
xor di, word [edx + ecx]
inc eax
mov word [ecx], di
add ecx, 2
cmp eax, 4
jl 0x4fa4ac
push 0xf0f0f
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
xor eax, eax
push 0x7f00
push eax
mov dword [ebp - 0x3b0], 3
jmp dword [0x4fa4ee]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
jmp 0x526d99
lea ecx, [eax + 1]
imul ecx, ecx, 0x23e2
xor cx, word [eax*2 + 0x59ebe4]
inc eax
mov word [ebp + eax*2 - 0x17a], cx
cmp eax, 7
jl 0x526d99
jmp 0x41d666