joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004103a4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00410359
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00410394
xchg ebp, eax
scasd eax, dword es:[edi]
sub ebp, dword [esi + 0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x41105d
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x411088
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x411252
cmp dword [ebp + 0xc], 1
je 0x411252
cmp dword [ebp + 0xc], 8
jne 0x41121a
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.004103a4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00410359
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
invalid
Function at 0x402820
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push edi
mov edi, dword [esp + 0x60]
mov esi, ecx
push edi
push str.Serial:_ReadFile._length__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00402b20
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x60]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x60]
lea eax, [esp + 8]
push edx
push str.Serial:_ReadFile._actually_got__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00402b20
mov eax, dword [esp + 0x60]
pop edi
pop esi
add esp, 0x50
ret 8

Function at 0x403190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40f539
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 2
xor ebx, ebx
mov dword [esi + 8], 0x410300
mov dword [esi + 0xc], 0x4102ec
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov byte [esp + 0x28], 3
mov dword [esi], 0x4102b0
mov dword [esi + 8], 0x410294
mov dword [esi + 0xc], 0x410280
mov dword [esi + 0x10], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x28], eax
call edi
push ebx
push 1
push 1
push ebx
mov dword [esi + 0x30], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x2c], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x403243
mov dword [esi + 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x403253
mov dword [esi + 0x1c], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x403263
mov dword [esi + 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x3d], bl
mov byte [esi + 0x3c], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x403300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40f56e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4102b0
mov dword [esi + 8], 0x410294
mov dword [esi + 0xc], 0x410280
mov dword [esp + 0x14], 2
call fcn.004032c0
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x28]
push ecx
call edi
mov edx, dword [esi + 0x34]
push edx
call edi
mov eax, dword [esi + 0x30]
push eax
call edi
mov ecx, dword [esi + 0x2c]
push ecx
call edi
mov edx, dword [esi + 0x38]
push edx
call edi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x403376
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
mov byte [esp + 0x14], 1
test eax, eax
je 0x403388
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x14]
mov byte [esp + 0x14], 0
test eax, eax
je 0x40339a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x410214
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40a7f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
test edi, edi
mov esi, ecx
jbe 0x40a82a
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [esi]
xor ecx, ecx
mov cl, byte [edx + ebp]
mov ebx, eax
and ebx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4103f4]
xor ecx, eax
inc edx
cmp edx, edi
mov dword [esi], ecx
jb 0x40a804
pop ebp
pop ebx
pop edi
pop esi
ret 8
Function at 0x40aad0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
cmp ebp, 0x40
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], 0xc3d2e1f0
jl 0x40ab5e
mov eax, ebp
mov ebx, dword [esp + 0x6c]
shr eax, 6
mov dword [esp + 0x70], eax
neg eax
shl eax, 6
add ebp, eax
mov ecx, 0x10
mov esi, ebx
lea edi, [esp + 0x28]
lea eax, [esp + 0x28]
push 0x40
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040af10
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
push edx
add ebx, 0x40
call fcn.0040ac30
mov eax, dword [esp + 0x80]
add esp, 0x10
dec eax
mov dword [esp + 0x70], eax
jne 0x40ab20
jmp 0x40ab62
mov ebx, dword [esp + 0x6c]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
mov esi, ebx
rep stosd dword es:[edi], eax
mov ecx, ebp
lea edi, [esp + 0x28]
mov eax, ecx
push 0x40
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
mov byte [esp + ebp + 0x2c], 0x80
push ecx
call fcn.0040af10
add esp, 8
inc ebp
cmp ebp, 0x38
jle 0x40abbe
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0040ac30
add esp, 8
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea edx, [ecx*8]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x6c], edx
call fcn.0040ac30
mov edx, dword [esp + 0x1c]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
push 0x14
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
call fcn.0040af10
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x40bcc0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, ecx
jne 0x40bcd8
pop edi
pop esi
mov eax, 4
pop ebx
ret 4
mov ecx, dword [esi]
push edi
call fcn.00409f10
mov ecx, dword [esi]
push eax
push 1
call fcn.0040b0a0
push eax
call sub.MSVCRT.dll_fwrite
mov ecx, dword [esi]
add esp, 0x10
mov ebx, eax
call fcn.00409f10
cmp ebx, eax
je 0x40bd0b
pop edi
pop esi
mov eax, 0x14
pop ebx
ret 4
mov ecx, dword [esi + 4]
push ebp
call fcn.00409f10
mov ecx, dword [esi + 4]
mov ebx, eax
and ebx, 1
call fcn.00409f10
mov ecx, dword [esi + 4]
lea ebx, [ebx + eax + 0xc]
call fcn.00409f10
mov ecx, dword [esi + 4]
mov ebp, eax
and ebp, 1
call fcn.00409f10
add eax, ebx
lea eax, [eax + ebp + 8]
push eax
call fcn.0040bde0
push edi
push 4
push 1
push str.FORM
mov dword [esp + 0x28], eax
call sub.MSVCRT.dll_fwrite
add esp, 0x14
cmp eax, 4
pop ebp
je 0x40bd6d
pop edi
pop esi
mov eax, 0x14
pop ebx
ret 4
push edi
push 4
lea eax, [esp + 0x18]
push 1
push eax
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 4
je 0x40bd8f
pop edi
pop esi
mov eax, 0x14
pop ebx
ret 4
push edi
push 4
push 1
push str.REDF
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 4
je 0x40bdb1
pop edi
pop esi
mov eax, 0x14
pop ebx
ret 4
mov ecx, dword [esi + 4]
push ecx
push edi
push str.EDMP
call fcn.0040be10
add esp, 0xc
test eax, eax
jne 0x40bdd9
mov edx, dword [esi + 8]
push edx
push edi
push str.EKEY
call fcn.0040be10
add esp, 0xc
pop edi
pop esi
pop ebx
ret 4

Function at 0x40be10
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00409f10
mov esi, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x10]
push esi
push 4
push 1
push eax
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 4
je 0x40be44
pop edi
pop esi
mov eax, 0x14
pop ebx
ret
mov ecx, edi
call fcn.00409f10
push eax
call fcn.0040bde0
push esi
push 4
lea ecx, [esp + 0x24]
push 1
push ecx
mov dword [esp + 0x2c], eax
call sub.MSVCRT.dll_fwrite
add esp, 0x14
cmp eax, 4
je 0x40be75
pop edi
pop esi
mov eax, 0x14
pop ebx
ret
push esi
push ebx
push 1
mov ecx, edi
call fcn.0040b0a0
push eax
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp ebx, eax
je 0x40be96
pop edi
pop esi
mov eax, 0x14
pop ebx
ret
test bl, 1
je 0x40bebb
push esi
push 1
push 1
push 0x45ebbc
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, 1
je 0x40bebb
pop edi
pop esi
mov eax, 0x14
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40ed60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x98
lea eax, [esp + 0xc]
push 0x8c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
mov dword [esp + 4], eax
je 0x40ee9d
cmp eax, 0x8a
jae 0x40ee9d
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 4], eax
je 0x40ee9d
push esi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push esi
push eax
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40ee84
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
push str.StringFileInfo040904b0FileDescription
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40ee00
mov ecx, dword [esp + 4]
push ecx
push 0x41d5ec
push 0x45e790
call fcn.0040ec00
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
push str.StringFileInfo040904b0FileVersion
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40ee30
mov ecx, dword [esp + 4]
push ecx
push str._Version__s
push 0x45e790
call fcn.0040ec00
add esp, 0xc
push 0x4130f4
push 0x45e790
call fcn.0040ec00
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
push str.StringFileInfo040904b0LegalCopyright
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40ee72
mov ecx, dword [esp + 4]
push ecx
push 0x41d5ec
push 0x45e790
call fcn.0040ec00
add esp, 0xc
push 0x4130f4
push 0x45e790
call fcn.0040ec00
add esp, 8
push 0x4130f4
push 0x45e790
call fcn.0040ec00
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
pop esi
add esp, 0x98
ret
Function at 0xc94880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0xc9489a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc948a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc94890
mov eax, 1
add ebx, ebx
jne 0xc948b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc948a8
jne 0xc948c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc948a8
xor ecx, ecx
sub eax, 3
jb 0xc948d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc9494a
mov ebp, eax
add ebx, ebx
jne 0xc948e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xc948f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xc94914
inc ecx
add ebx, ebx
jne 0xc94900
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc948f5
jne 0xc94911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc948f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc94934
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc94925
jmp 0xc94896
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc94934
add edi, ecx
jmp 0xc94896
pop esi
mov edi, esi
mov ecx, 0x528
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc94952
cmp byte [edi], 1
jne 0xc94952
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xc94957
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0xc949c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x140ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x141c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc94984
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x141cc]
or eax, eax
je 0xc949c0
mov dword [ebx], eax
add ebx, 4
jmp 0xc949a1
call dword [esi + 0x141dc]
mov ebp, dword [esi + 0x141d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xc949fa
sub esp, 0xffffff80
jmp 0xc888f4
Function at 0x1159e38
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1159e42
pushal
call 0x1159e48
pop ebp
sub ebp, 0x10
sub ebp, 0xd59e38
jmp 0x1159e5e
mov eax, 0xd59e38
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d4
mov edx, 0x52afaa6
xor byte [eax], dl
inc eax
dec ecx
jne 0x1159e75
jmp 0x1159e88
sub eax, 0x9a2f2d6b
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
daa
pop esi
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
imul ebx, dword [esi], 0xffffffa2
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
sbb al, 0x8e
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
push ecx
inc esp
movsd dword es:[edi], dword [esi]
outsb dx, byte [esi]
sub eax, 0xa6a6aa27
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
arpl word [ebx], bp
ret 0x5a82
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x2ae0634d
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x11035ef4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x4026e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402778
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402758
xor eax, eax
push ebp
push 0x402751
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402794
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402758
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x403bd4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403d8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403c35
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403da8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403ca2
xor eax, eax
push ebp
push 0x403c9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403c84
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403dc8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ca2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403d83
cmp byte [ebp - 0xd], 0
jne 0x403ce4
cmp byte [ebp - 0x12], 0
je 0x403d83
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403cfd
dec ebx
cmp byte [ebx], 0x2e
je 0x403d0c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403cfc
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403d83
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403d39
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403d83
cmp byte [ebp - 0xd], 0
je 0x403d83
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403d83
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405cb4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x405dbe
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x405d07
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.004030fc
jmp 0x405da5
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.00405c68
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.00405c88
mov ebx, eax
test esi, esi
je 0x405d2f
dec esi
test esi, esi
jl 0x405d2f
cmp edi, ebx
jne 0x405d0e
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.0040313c
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403344
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403184
cmp eax, 2
jl 0x405da5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x405da5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403184
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x405da5
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403184
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405dc5
lea eax, [ebp - 0x110]
call fcn.00403018
ret

Function at 0x405e1c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x405eb4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x405e69
mov eax, dword [ebx + 0x19]
call fcn.00403338
push eax
push esi
mov eax, edi
call fcn.00403338
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403338
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x405e9e
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.00403338
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.00405b28
mov eax, dword [ebp - 8]
call fcn.00403338
push eax
mov eax, edi
call fcn.00403338
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403338
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ebb
lea eax, [ebp - 8]
call fcn.00403018
ret
Function at 0x4074e4
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x4074f3
mov edx, dword [edx + 0x36]
jmp fcn.0040313c
mov ecx, dword [edx + 0x18]
jecxz 0x4074eb
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.004033cc
pop edx
mov ecx, dword [ebx]
jecxz 0x40751b
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret