joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f300
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x46f333
push esi
call fcn.00474200
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46f32c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x46f3b9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46f3a2
mov eax, dword [esi + 8]
test eax, eax
je 0x46f357
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46f39e
cmp eax, 2
je 0x46f3a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46f34a
cmp eax, 3
je 0x46f37d
cmp eax, 1
jne 0x46f34a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46f34a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46f34a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046f3f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46f3d9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0046f3f0
add esp, 4
pop esi
ret

Function at 0x49fe00
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x49fe0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x49ff0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x5c6f10]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5c6f10]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5c6f10]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5c6f10]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5c6f10]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5c6f10]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5c6f10]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5c6f10]
xor eax, edx
inc ecx
dec edi
jne 0x49fe26
pop edi
test esi, esi
je 0x49ff30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5c6f10]
xor eax, edx
inc ecx
dec esi
jne 0x49ff12
pop esi
pop ebx
not eax
ret
Function at 0x72262e
Capabilities:
Encode data using xor

Disassembly:
sub byte [edi - 0x432aba3b], ch
aad 0xbc
dec edi
cdq
jne 0x72262a
add edi, esi
sbb byte [ebp - 0x15], ah
jnp 0x72265a
in eax, dx
or cl, byte [ebp + 0x14e5820c]
neg byte [0x9b680999]
jo 0x7226c8
cli
push 0x5d1afa0f
fisttp word [edi + 0x2a]
invalid
xor cl, bl
movsd dword es:[edi], dword [esi]
sub eax, 0xd737c4bd
mov ch, 0x3e
lodsb al, byte [esi]
retf
lds esp, [ebx - 0xd]
xchg esi, eax
aam 0x3d
movsb byte es:[edi], byte [esi]
cmp bl, byte [ebp - 0x54]
sub ecx, dword [ebp - 0x2f]
inc ecx
and bl, dl
push esi
rcl byte [edx - 0x40]
cmpsd dword [esi], dword es:[edi]
push edx
xchg byte [edx - 0x29], dl
inc edi
and dl, cl
cmp eax, ecx
dec eax
fidivr word [ecx - 0x1a9956b8]
jne 0x72270c
out dx, eax
seto byte [esi]
test bl, ah
push ds
test dword [edx], 0x8d7e1b8b
imul ebp, dword [eax + 0x34c5a22c], 0xffffffda
xor al, 0xda
mov esi, 0x3bc8a939
rcl byte [eax + 0x1aef881a]
clc
mov bh, ch
sbb bh, al
bnd jg 0x722702
mov bh, byte [ecx + 0x20]
fcom dword [eax - 0x3a]
mov eax, dword [0xcd468450]
pop ebp
and al, 0xd7
cmp dl, al
pop esi
int3

Function at 0x72efaa
Capabilities:
Encode data using xor

Disassembly:
add al, 8
or cl, byte [edi]
lcall 0xe07, 0x7b52f9a
or dword [edx], edx
adc ah, byte [esi + esi]
add byte [eax - 0x1d1d64e5], 0xdf
cmp eax, 0x26cdebeb
daa
daa
dec esi
imul esi, dword [edx + 0x75cd7fb2], 0x99fea75
or dword [edx], edx
sbb eax, dword [ebx + 0x2c9e1d83]
sub al, 0x58
je 0x72eff7
ljmp 0x831b:0x1209099f
sbb dh, byte [esi + ebp]
sbb ebx, dword [ebx]
sub eax, 0xb2dc6e6e
outsb dx, byte [esi]
outsb dx, byte [esi]
fdiv qword [edx - 0x114ba5a6]
pop edx
pop edx
mov ah, 0xee
mov al, byte [0x52fb5ba0]
push edx
movsb byte es:[edi], byte [esi]
idiv byte [ebx]
cmp esi, dword [esi + 0x4d]
cmp edi, dword [ebx]
jbe 0x72f045
dec ebp
salc
salc
mov bh, 0x61
mov bl, 0xb3
jge 0x72efce
sub dword [ecx], ebp
push edx
jnp 0x72efe8
jecxz 0x72efe4
das
das
pop esi
jno 0x72ef91
test byte [ebx], dl
xchg edi, eax
push ebx
push ebx
cmpsb byte [esi], byte es:[edi]
cmc
rcl ecx, 1
mov ecx, 0x68
add ch, ch
in eax, dx
shr dword [eax], 0x20
inc eax
pushal
cld
cld
jecxz 0x72f047
mov cl, 0xb1
jns 0x72eff4
pop ebx
pop ebx
mov dh, 0xed
push 0x6a
aam 0xbe
retf
dec esp
cwde
aam 0x58
pop eax
mov al, 0xe8
iretd
Function at 0x744391
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
fld dword [ecx - 0x2f]
mov al, 0x43
test byte [ecx + 0x2f79002], bl
mov bl, 0x59
invalid
lcall 0xaa, 0x11e28717
mov byte [esi], bl
jns 0x744324
scasb al, byte es:[edi]
and eax, 0xec2fdcb5
fcom dword [esi - 0x3c]
mov dword [0xee479a5e], eax
stc
fdivr dword [ebx]
adc cl, byte [ebp - 0x7099d5f4]
lea ecx, [edx + ebp]
pop word [esp]
jmp 0x7443f2
mov cl, 0x9a
mov bp, word [esp]
mov ebp, esi
mov cl, ch
mov ebp, 0x4508239e
lea esp, [esp + 2]
jmp 0x744634
xchg word [esp + 0x1d], cx
mov dword [esp + 9], ecx
mov ecx, dword [esp + 0x44]
lea esp, [esp + 0x48]
call fcn.00744b25
pop edi
salc
inc esp
and ebx, esi
pop ds
retf
mov ebp, dword [esp + 0x20]
mov ecx, 0xd4f0524c
setne ch
mov ecx, 0x2c1f9160
lea ecx, [esi + 0x1d]
pushal
jmp 0x74460e

Function at 0x744b62
Capabilities:
Authenticate hmac

Disassembly:
lea esp, [esp + 2]
lea esp, [esp + 4]
test eax, eax
call 0x744b72
scasb al, byte es:[edi]
jmp 0x744b96

Function at 0x744b72
Capabilities:
Authenticate hmac

Disassembly:
lea esp, [esp + 2]
lea esp, [esp + 4]
test eax, eax
call 0x744b72
scasb al, byte es:[edi]
jmp 0x744b96

Function at 0x744b8d
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
pushal
lea esp, [esp + 0x20]
call fcn.0073584f
hlt
pop word [esp]
call fcn.00744b62
lea esp, [esp + 4]
jne 0x74466d
cmp dword [0x6407a0], eax
call int.00744b74
xor byte [ebx + 0xcb54623], dh
push ss
mov ah, 0x2a
dec ebp
mov esp, 0x31a1213b
push eax
mov dword [0xdaa36060], eax
xor eax, 0xdb8464cf
sar byte [edx + 0x5f], 1
dec edi
jnp 0x744bd3
inc edx
xchg dword [ebp + 0x58cea160], esp
pop ss
mov ch, byte [eax + ebp*2 - 0x47]
mov dl, bl
xor dword [ebx], ebx
out dx, eax
salc
stosd dword es:[edi], eax
xor bh, byte [ebp + 0x62]
adc al, 0x5c
fstp qword [ecx + esi*4 + 0x2772438c]

Function at 0x748391
Capabilities:
Encode data using xor

Disassembly:
rol dword [ecx + 0x20], 1
shl dword [edi - 0x25], cl
push edx
shl byte [edi - 0x28a06cae], 0x47
and dl, cl
sbb eax, edi
dec eax
fidivr word [ecx - 0x1a9401b8]
in eax, 0x75
invalid
out dx, eax
mov bh, ch
sbb ch, byte [ecx - 0x75108011]
jns 0x74840b
xor ecx, dword [edi]
and byte [ecx + 0xfffffd6], 0x83
push edx
salc
invalid

Function at 0x74bf03
Capabilities:
Encode data using xor

Disassembly:
push ebp
out 0x45, eax
aam 0x4a
sub eax, 0x41d56fdc

Function at 0x74eb5e
Capabilities:
Encode data using xor

Disassembly:
call 0x3f6020e7
push 0xffffffffffffffff
outsd dx, dword [esi]
div al
in eax, 0xe5
mov esp, 0xe3db0b06
outsb dx, byte [esi]
call 0x585d04f3
add byte [0xcf0ffc95], 0x32
mov dh, 0x24
inc ebx
mov esi, 0x3bab2009
pop esi
lodsd eax, dword [esi]
sbb eax, dword [esi - 0x34]
inc edx
and eax, 0x59d067d4
leave
test al, 0x5b
pop ebx
in al, dx
xor bh, byte [edx + 0xcba4f28]
adc byte [edi + 0x66996a0f], bl
jle 0x74eb91
add ax, si
xor al, 0x60
in eax, dx
jge 0x74ebad
test dword [ebx + 0x72], 0x60b6cfe
insb byte es:[edi], dx
or eax, dword [esi]
mov al, 0x40
rol dword [ebx + 0x26], cl
aad 0x64
invalid
Function at 0x401868
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
inc dword [0x404075]
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x5c]
push eax
push dword [0x404075]
call fcn.004022f4
lea eax, [ebp - 0x5c]
push eax
push str.col_butn_class
lea eax, [ebp - 0x54]
push eax
push 2
call fcn.00402350
add esp, 0x10
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 0x3000
mov dword [ebp - 0x2c], 0x401684
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x28
mov eax, dword [0x40413c]
mov dword [ebp - 0x20], eax
push 0xffffff
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x40413c]
push 0
push dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x50800000
push 0
lea eax, [ebp - 0x54]
push eax
push 0x200
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push 0
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
push 0xffffff
push 4
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
push dword [ebp + 0x24]
push 8
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
push dword [ebp + 0x20]
push 0xc
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
push 0
push 0x10
push dword [ebp - 4]
call sub.user32.dll_SetWindowLongA
push 5
push dword [ebp - 4]
call sub.user32.dll_ShowWindow
push dword [ebp - 4]
call sub.user32.dll_UpdateWindow
mov eax, dword [ebp - 4]
leave
ret 0x20
Function at 0x401c0a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov byte [0x4046fc], 0
mov dword [0x4098c8], 0x4c
mov eax, dword [ebp + 8]
mov dword [0x4098cc], eax
mov eax, dword [0x40413c]
mov dword [0x4098d0], eax
mov dword [0x4098e0], 0
mov dword [0x4098e4], 0x4046fc
mov dword [0x4098e8], 0x1000
mov dword [0x4098d4], 0x4040b9
mov dword [0x4098ec], 0x4056fc
mov dword [0x4098f0], 0x100
mov dword [0x4098f8], 0x404091
mov dword [0x4098fc], 0x281000
push 0x4098c8
call sub.comdlg32.dll_GetOpenFileNameA
or eax, eax
je 0x401dc3
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push 0x4046fc
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x401d9a
mov dword [0x404154], eax
push 0
push 0x40408d
push 0x4000
push 0x4057fc
push dword [0x404154]
call sub.kernel32.dll_ReadFile
cmp eax, 0xffffffff
je 0x401d81
cmp dword [0x40408d], 0
je 0x401d81
push dword [0x404154]
call sub.kernel32.dll_CloseHandle
push dword [ebp + 8]
call fcn.00401b84
or eax, eax
jne 0x401d5e
push 0x4046fc
push 0
push 0x401
push dword [0x404148]
call sub.user32.dll_SendMessageA
xor esi, esi
jmp 0x401d3e
mov ebx, dword [esi*4 + 0x404158]
xor edx, edx
mov dl, byte [esi + 0x40761d]
push 0
push edx
push 0xc8
push ebx
call sub.user32.dll_SendMessageA
inc esi
cmp esi, 0x168
jb 0x401d20
push 0
push 0x3ea
push dword [0x40414c]
call sub.user32.dll_EnableMenuItem
leave
ret 4
mov dword [0x40408d], 0
push 0x404100
push 0
push 0x401
push dword [0x404148]
call sub.user32.dll_SendMessageA
jmp 0x401db1
push 0x40410d
push 0
push 0x401
push dword [0x404148]
call sub.user32.dll_SendMessageA
jmp 0x401db1
push 0x4040eb
push 0
push 0x401
push dword [0x404148]
call sub.user32.dll_SendMessageA
push 2
push 0x3ea
push dword [0x40414c]
call sub.user32.dll_EnableMenuItem
leave
ret 4

Function at 0x401dea
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
call fcn.00401dc7
mov byte [0x4046fc], 0
mov dword [0x4098c8], 0x4c
mov eax, dword [ebp + 8]
mov dword [0x4098cc], eax
mov eax, dword [0x40413c]
mov dword [0x4098d0], eax
mov dword [0x4098e0], 0
mov dword [0x4098e4], 0x4046fc
mov dword [0x4098e8], 0x1000
mov dword [0x4098d4], 0x4040b9
mov dword [0x4098ec], 0x4056fc
mov dword [0x4098f0], 0x100
mov dword [0x4098f8], 0x4040a5
mov dword [0x4098fc], 0x280002
push 0x4098c8
call sub.comdlg32.dll_GetSaveFileNameA
or eax, eax
je 0x401eb3
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push 0x4046fc
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x401eb3
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
push dword [0x40408d]
push 0x4057fc
push ebx
call sub.kernel32.dll_WriteFile
push ebx
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x40207e
Capabilities:
Hide graphical window

Disassembly:
push 0x30
push 0x409898
call sub.kernel32.dll_RtlZeroMemory
mov dword [0x409898], 0x30
push 0xc9
push dword [0x40413c]
call sub.user32.dll_LoadIconA
mov dword [0x4098b0], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x4098b4], eax
mov dword [0x40989c], 0
mov dword [0x4098a0], 0x401eb7
mov dword [0x4098a8], 0
mov dword [0x4098a4], 0
push dword [0x40413c]
pop dword [0x4098ac]
mov dword [0x4098b8], 0x10
mov dword [0x4098bc], 0
mov dword [0x4098c0], 0x404055
push 0x409898
call sub.user32.dll_RegisterClassExA
push 0x65
push dword [0x40413c]
call sub.user32.dll_LoadMenuA
mov dword [0x40414c], eax
push 1
push eax
call sub.user32.dll_GetSubMenu
mov dword [0x404150], eax
push 0
push dword [0x40413c]
push dword [0x40414c]
push 0
push 0x2d0
push 0x2c6
push 0xa
push 0x64
push 0xce0000
push section..data
push str.Edit
push 0x200
call sub.user32.dll_CreateWindowExA
mov dword [0x404144], eax
push 0
push dword [0x404140]
push 0x30
push dword [0x404144]
call sub.user32.dll_SendMessageA
push 5
push dword [0x404144]
call sub.user32.dll_ShowWindow
push dword [0x404144]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x40987c
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4021c8
push 0x40987c
call sub.user32.dll_TranslateMessage
push 0x40987c
call sub.user32.dll_DispatchMessageA
jmp 0x40219e
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4037b8
Capabilities:
Query or enumerate registry value

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

Function at 0x404534
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x455048], 0
je 0x404595
cmp word [0x45521c], 0xd7b2
jne 0x40455d
cmp dword [0x455224], 0
jbe 0x40455d
mov eax, 0x455218
call dword [0x455234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x453070
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 0x4045bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x453030], 0
jne 0x4045b1
push 0
push 0x453068
push 0x453070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406318
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 0x40637e
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.00404928
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403214
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406368
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406385
lea eax, [ebp - 0x10]
call fcn.004046b8
ret

Function at 0x408aa8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b78
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ac1
test al, 0x10
jne 0x408ac5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b5b0
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 0x40b5e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047a8
jmp 0x40b5f2
mov eax, ebx
mov edx, esi
call fcn.0040470c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b5fc
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 0x40b61d
mov al, byte [esp]
jmp 0x40b61f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bcb4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb1c
mov eax, dword [0x4540cc]
cmp byte [eax], 0
je 0x40bd30
mov eax, dword [0x453ee0]
call fcn.00403074
call fcn.00402bf4
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.00408c64
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 0x40bd78
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd66
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e8c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00405784
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 0x40c5d4
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 0x40c6aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404750
lea eax, [ebp - 8]
call fcn.00404bc8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b78
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c694
mov eax, ebx
call fcn.00402a68
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c68d
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.00404b78
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c677
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6bc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c677
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 0x40c694
mov eax, dword [ebp - 0x10]
call fcn.00402a98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6b1
lea eax, [ebp - 8]
call fcn.004046b8
ret

Function at 0x40cb84
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 0x40cbe8
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.00404928
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408728
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbef
lea eax, [ebp - 0xc]
call fcn.004046b8
ret

Function at 0x41aebc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455884
cmp dword [edi], 0
jne 0x41af38
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x453470
mov ecx, 2
call fcn.00402c88
mov edx, 0x41ae94
lea eax, [esi + 5]
call fcn.0041aeb4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041aeb4
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 0x41af0d
mov dword [0x455880], 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 0x41c15c
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 0x41c162
ret
Function at 0x41e5d4
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 0x41e625
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e60c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e5fc
jmp 0x41e625
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 0x41e60d
pop ebx
mov esp, ebp
pop ebp
ret