joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x414a7f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x414a75
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x414ad9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x414a9f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x416400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x41641a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x416424
mov eax, 0x1000000
jmp 0x4164ac
mov edx, dword [ebp - 0x10]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x42e140
mov eax, dword [ebp - 0x10]
add eax, 0x138
push eax
call dword [sym.imp.MSVCR90.dll_wcscat]
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x416470
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x416470
mov eax, 0x2000000
jmp 0x4164ac
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00414700
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x416496
mov eax, dword [ebp - 8]
jmp 0x4164ac
mov eax, dword [ebp - 4]
push eax
call fcn.00414ec0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [0x438624]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416c50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x438478]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x416c73
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x416c78
jmp 0x416d63
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
test edx, edx
je 0x416cca
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x416cb0
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x416cb9
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x416c87
mov eax, dword [ebp - 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x416d2c
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x420], ax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00416c50
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 2
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.MSVCR90.dll_wcscpy]
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.MSVCR90.dll_wcscat]
add esp, 8
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042673a
mov esp, ebp
pop ebp
ret
Function at 0x41e4f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 4
mov eax, dword [ebp - 4]
push eax
push 0x41e800
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x41e522
xor al, al
jmp 0x41e53c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x420710
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [0x43862c]
test eax, eax
je 0x420722
xor al, al
jmp 0x420776
mov byte [0x43862c], 1
push 0
push 4
push 0
push 0x420990
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [0x438630], eax
cmp dword [0x438630], 0
jne 0x42075a
mov byte [0x43862c], 0
xor al, al
jmp 0x420776
mov ecx, dword [0x438630]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [0x438630]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret

Function at 0x420780
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [0x43862e]
test eax, eax
jne 0x420792
xor al, al
jmp 0x420806
movzx ecx, byte [0x43862d]
test ecx, ecx
je 0x4207a1
xor al, al
jmp 0x420806
mov ecx, 0x438638
call fcn.00422d60
test eax, eax
jne 0x4207b3
xor al, al
jmp 0x420806
mov byte [0x43862d], 1
push 0
push 4
push 0
push 0x421350
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [0x438634], eax
cmp dword [0x438634], 0
jne 0x4207eb
mov byte [0x43862d], 0
xor al, al
jmp 0x420806
mov edx, dword [0x438634]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x438634]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret
Function at 0x426284
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4386e4], 0
push esi
jne 0x4261f2
call fcn.00426106
test eax, eax
je 0x426235
mov eax, dword [0x4386e4]
cmp eax, 1
jne 0x426213
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x426235
pop esi
ret
push eax
call dword [0x4386ec]
test eax, eax
jne 0x42627d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x426239
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4386e4]
call dword [0x4386ec]
mov edi, eax
test edi, edi
je 0x42625e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42627a
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4386e4]
call dword [0x4386e8]
add edi, 0x10
cmp edi, esi
jb 0x426266
mov eax, edi
pop edi
pop esi
ret
jmp 0x4261df

Function at 0x42673a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438478]
jne 0x426744
repz ret
jmp fcn.00426fb5
Function at 0x8b5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8b51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8b507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b506a
add dl, dl
jne 0x8b5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b50dc
xor eax, eax
add dl, dl
jne 0x8b5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b517d
add dl, dl
jne 0x8b50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8b50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8b5075
mov eax, 1
add dl, dl
jne 0x8b50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b50e1
sub eax, ebx
mov ebx, 1
jne 0x8b5128
mov ecx, 1
add dl, dl
jne 0x8b510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8b5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8b513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8b514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b5136
cmp eax, 0x7d00
jae 0x8b516d
cmp eax, 0x500
jb 0x8b5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b5075
cmp eax, 0x7f
ja 0x8b5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8b519e
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 0x8b5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x104fc470
Capabilities:
Encode data using xor

Disassembly:
jmp 0x104fc47a
pushal
call 0x104fc480
pop ebp
sub ebp, 0x10
sub ebp, 0x4fc470
mov al, byte [esp + 0x28]
cmp al, 1
je 0x104fc4a4
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x104fc4ad
mov eax, 0x4fc470
add eax, ebp
add eax, 0x63
mov ecx, 0x5e3
mov edx, 0xc4336f33
xor byte [eax], dl
inc eax
dec ecx
jne 0x104fc4c4
jmp 0x104fc4d7
mov eax, 0xfbab8fe
xor esi, dword [ebx]
xor esi, dword [edx + 0x3333cbf2]
xor esi, dword [eax]
dec byte [ebx + 0x33333337]
mov dword [ebx], ebx
xor esi, dword [ebx]
xor eax, esp
sal dword [eax], 1
sti
mov eax, 0x33333fb2
xor esi, dword [eax]
mul byte [ebx + 0x63]
pop ebx
xlatb
mov byte [0xb85b333d], al
add dword [edx + 0x33], esi
xor bl, byte [edi]
pop ss
pop ebx
mov dword [eax], 0x36db2e0c
xor esi, dword [ebx]
xor ebx, edx
sbb eax, 0x66333333
mov eax, 0x3bb6b8df
xor esi, dword [ebx]
xor edi, dword [eax + 0x33333fa6]
xor edi, dword [eax + 0x333323be]
xor esi, edx
fidiv dword [ecx]
add dh, byte [ecx]
mov al, 0xf1
aaa
jp 0x104fc576
mov dh, 0xc7
int3
cmp ebx, ebx
pop edi
xor esi, dword [ebx]
xor edi, dword [eax + 0x33333b8e]
xor eax, dword [eax]
cli
add cl, ah
mov al, 0xdb
jnp 0x104fc5c7
mov bh, 0x7d
xor esi, dword [ebx]
xor edi, dword [ebx + edi*4]
jnp 0x104fc5c7
xor esi, dword [ebx]
push ebp
mov eax, 0xc8b30a2f
fstp xword [edi + esi*4]
sub dword [ebx], esi
xor esi, dword [ebx]
mov bl, 0xc8
fidivr dword [edi + esi*4]
and dh, byte [ebx]
xor esi, dword [ebx]
push ebp
mov dl, 0xc8
int3
fimul dword [esi + 0x1acccccc]
or dh, byte [bx + di]
mov al, 0xf2
xor eax, 0xb037d9b0
invalid
Function at 0x402ce0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402d1d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402d3d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404660
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x40344c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x492020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4034e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4034c4
xor eax, eax
push ebp
push 0x4034bd
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 0x403500
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 0x4034c4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x492020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x492020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4041e8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49504c], 0
je 0x404249
cmp word [0x495220], 0xd7b2
jne 0x404211
cmp dword [0x495228], 0
jbe 0x404211
mov eax, 0x49521c
call dword [0x495238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49206c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404270
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x492030], 0
jne 0x404265
push 0
push 0x492064
push 0x49206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4043a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402ae0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40436c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406488
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064ee
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404660
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403004
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064d8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064f5
lea eax, [ebp - 0x10]
call fcn.004043f0
ret

Function at 0x40bc4c
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_1
test eax, eax
jle 0x40bc85
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044e0
jmp 0x40bc8e
mov eax, ebx
mov edx, esi
call fcn.00404444
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc98
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_1
test eax, eax
jle 0x40bcb9
mov al, byte [esp]
jmp 0x40bcbb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c350
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c1b8
mov eax, dword [0x4945e8]
cmp byte [eax], 0
je 0x40c3cc
mov eax, dword [0x494268]
call fcn.00402e70
call fcn.00402c6c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409320
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c414
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c402
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4941dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x495668]
call fcn.004058d8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cce8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cdbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404488
lea eax, [ebp - 8]
call fcn.00404900
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048b0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cda8
mov eax, ebx
call fcn.00402ae0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cda1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048b0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cd8b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cdd0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd8b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cda8
mov eax, dword [ebp - 0x10]
call fcn.00402b10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdc5
lea eax, [ebp - 8]
call fcn.004043f0
ret

Function at 0x40d3e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d448
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404660
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408db0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d44f
lea eax, [ebp - 0xc]
call fcn.004043f0
ret

Function at 0x41f0f4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041ef4c
dec esi
jne 0x41f116
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x420258
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49588c
cmp dword [edi], 0
jne 0x4202d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x495888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4923fc
mov ecx, 2
call fcn.00402d78
mov edx, 0x420230
lea eax, [esi + 5]
call fcn.00420250
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420250
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4202a9
mov dword [0x495888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x421910
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421916
ret

Function at 0x423ddc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x423e2d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423e14
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423e04
jmp 0x423e2d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x423e15
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e46c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004048a0
xor eax, eax
push ebp
push 0x42e59a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e56d
xor eax, eax
push ebp
push 0x42e566
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046b0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e53b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42e52a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046b0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004048b0
mov edx, ebx
pop ecx
call fcn.00402d78
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e531
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x494110]
mov dl, 1
mov eax, dword [0x4078c0]
call fcn.0040c504
call fcn.00403d80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e5a1
lea eax, [ebp - 4]
call fcn.004043f0
ret