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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword fs:[0x30]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x10]
xor ecx, ecx
push edi
mov dword [ebp - 0xc], ebx
mov esi, dword [eax + 0x48]
cmp word [esi], cx
je 0x41488a
mov dword [ebp - 4], 0x3d
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ecx
xor edi, edi
mov dword [ebp - 0x14], ecx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x41470b
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00414b06
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x41485b
mov edx, eax
movzx eax, word [eax]
jmp 0x414750
cmp ecx, 1
je 0x414758
dec ecx
add edx, 2
movzx eax, word [edx]
cmp ax, word [ebp - 4]
jne 0x414744
mov edi, edx
mov eax, dword [ebp - 8]
test edi, edi
je 0x41485b
sub edi, eax
sar edi, 1
cmp edi, 0xffffffff
je 0x41485b
push edi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00414a8d
cmp dword [ebp - 0x30], 0
jne 0x41479f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x40]
lea esi, [esi + eax*2]
add esi, 2
call fcn.00414adb
jmp 0x414868
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
cmova edx, dword [ebp - 0x40]
or ecx, 0xffffffff
movzx eax, word [edx]
mov ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
test ax, ax
je 0x4147da
movzx eax, ax
xor eax, ecx
lea edx, [edx + 2]
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x41a350]
movzx eax, word [edx]
test ax, ax
jne 0x4147c0
cmp ecx, dword [ebp - 0x10]
jne 0x414785
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00414a8d
mov ebx, eax
cmp dword [ebx + 0x14], 7
jbe 0x4147fb
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
call fcn.00418a0b
pop ecx
mov edi, eax
lea ecx, [esi + 1]
xor eax, eax
push eax
push eax
push ecx
push edi
push 0xffffffffffffffff
push ebx
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebp - 0xc]
mov ecx, esi
push edi
call fcn.00401a09
lea ecx, [ebp - 0x58]
call fcn.00414adb
lea ecx, [ebp - 0x40]
call fcn.00414adb
mov edx, dword [ebp - 0x14]
cmp edx, 7
jbe 0x414857
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
call fcn.00401bbe
mov eax, esi
jmp 0x4148a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
add esi, 2
mov edx, dword [ebp - 0x14]
cmp edx, 7
jbe 0x41487f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
call fcn.00401bbe
xor ecx, ecx
cmp word [esi], cx
jne 0x4146f5
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, ebx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 0xf
mov byte [ebx], cl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415e93
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x415ec1
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebx*8 + 0x41acc2]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x41acc0]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x41acc4]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x41acc6]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x415f24
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x415f2f
cmp ebx, 8
jl 0x415f2f
mov eax, dword [ebp + 8]
or word [eax], cx
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x1af70]
push 0x10000
push eax
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call ecx
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x415f9c
cmp eax, 0xffffffff
je 0x415f9c
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x415f73
mov ecx, esi
call fcn.0041611b
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [esi + edi + 0x1af70]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x415f7b
jmp 0x415fac
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x416254
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov dword [esi + 0x6af80], 2
jmp 0x41644c
cmp eax, 3
jb 0x4162cd
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41630a
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x41630a
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x4162f4
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.00415fb1
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x4163d9
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00415913
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x4163a8
cmp ecx, 3
jb 0x4163a8
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x41634c
jmp 0x4163f5
add dword [esi + 0x6af84], edi
mov edi, ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x416401
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00415913
dec dword [esi + 0x6af90]
pop ecx
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x416436
mov eax, dword [esi + 0x6af74]
sub edx, eax
test eax, eax
js 0x41641b
add eax, 0x1af70
add eax, esi
jmp 0x41641d
mov eax, ebx
push ebx
push edx
mov edx, eax
mov ecx, esi
call fcn.00415738
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x416449
mov ecx, esi
call fcn.0041611b
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x416276
mov eax, dword [esi + 0x6af74]
mov ecx, dword [esi + 0x6af84]
sub ecx, eax
test eax, eax
js 0x416474
lea ebx, [esi + 0x1af70]
add ebx, eax
push 1
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00415738
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417073
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41707e
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41713a
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
sub edi, 1
jne 0x417093
pop edi
test esi, esi
je 0x417156
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
inc edx
sub esi, 1
jne 0x41713e
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x41715d
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x41a780]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x41a780]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x417533
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], edx
push edi
mov edx, 0x40da17ae
mov dword [ebp - 4], esi
xor ecx, ecx
call fcn.00404bfc
lea ecx, [ebp - 0x48]
push ecx
push esi
call eax
test eax, eax
jne 0x417565
mov eax, 0x200
jmp 0x417759
mov ebx, dword [ebp - 0x48]
mov edi, 0x41000000
mov esi, ebx
and esi, 1
mov ecx, esi
or ecx, 2
test bl, 2
cmove ecx, esi
mov edx, ecx
or edx, 4
test bl, 4
cmove edx, ecx
mov ecx, ebx
and ecx, 0x10
mov eax, edx
or eax, 0x10
mov dword [ebp - 8], ecx
test ecx, ecx
cmove eax, edx
mov edx, 0x81000000
mov ecx, eax
or ecx, 0x20
test bl, 0x20
cmove ecx, eax
mov eax, dword [ebp - 8]
test eax, eax
cmove edi, edx
or edi, ecx
test esi, esi
jne 0x4175c9
test eax, eax
mov edi, 0x41800000
mov edx, 0x81800000
cmove edi, edx
or edi, ecx
mov edx, 0xd92895d8
xor ecx, ecx
call fcn.00404bfc
mov ebx, dword [ebp - 4]
push 0
push ebx
call eax
mov esi, eax
cmp esi, 0x28
jbe 0x4176b2
mov edx, 0x7c3fb761
xor ecx, ecx
call fcn.00404bfc
xor ecx, ecx
push ecx
push ecx
push ecx
push ebx
call eax
mov edx, 0x4e8f7860
xor ecx, ecx
call fcn.00404bfc
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea ecx, [ebp - 4]
push ecx
push ebx
call eax
mov edx, 0x7c3fb761
xor ecx, ecx
call fcn.00404bfc
push 0
push 0
push 0x24
push ebx
call eax
mov edx, 0x4e8f7860
xor ecx, ecx
call fcn.00404bfc
push 0
lea ecx, [ebp - 0xc]
push ecx
push 4
lea ecx, [ebp - 8]
push ecx
push ebx
call eax
mov eax, 0x54ad
cmp word [ebp - 4], ax
jne 0x4176b2
mov eax, dword [ebp - 8]
add eax, 0x34
cmp esi, eax
jbe 0x4176b2
mov edx, 0x7c3fb761
xor ecx, ecx
call fcn.00404bfc
push 0
push 0
push dword [ebp - 8]
push ebx
call eax
mov edx, 0x4e8f7860
xor ecx, ecx
call fcn.00404bfc
push 0
lea ecx, [ebp - 0xc]
push ecx
push 4
lea ecx, [ebp - 0x10]
push ecx
push ebx
call eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x5a4d
je 0x4176ac
cmp eax, 0x454e
je 0x4176ac
cmp eax, 0x454c
je 0x4176ac
cmp eax, 0x4550
jne 0x4176b2
or edi, 0x400000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4176bb
mov dword [eax], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4176c4
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41772e
mov ecx, dword [ebp - 0x3c]
mov ebx, 0x19db1de
mov eax, dword [ebp - 0x38]
sub ecx, 0xd53e8000
push 0
mov edi, 0x989680
sbb eax, ebx
push edi
push eax
push ecx
call fcn.00419640
mov ecx, dword [ebp - 0x34]
mov dword [esi], eax
sub ecx, 0xd53e8000
mov eax, dword [ebp - 0x30]
push 0
push edi
sbb eax, ebx
mov dword [esi + 4], edx
push eax
push ecx
call fcn.00419640
mov ecx, dword [ebp - 0x44]
mov dword [esi + 8], eax
sub ecx, 0xd53e8000
mov eax, dword [ebp - 0x40]
push 0
push edi
sbb eax, ebx
mov dword [esi + 0xc], edx
push eax
push ecx
call fcn.00419640
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x417757
push dword [ebp - 0x30]
lea edx, [ebp - 8]
push dword [ebp - 0x34]
lea ecx, [ebp - 4]
call fcn.004174d0
movzx eax, word [ebp - 8]
pop ecx
pop ecx
movzx ecx, word [ebp - 4]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419135
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x419174
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x419174
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x419174
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x419174
cmp dword [ecx + 0x74], 0xe
jbe 0x419174
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401023
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [section..data], eax
push 1
push 0
push 0
push dword [section..data]
call 0x401023
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffe4
push dword [section..data]
pop dword [0x403030]
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x403034], eax
mov dword [0x403048], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x403038], eax
push 0x40301c
call sub.user32.dll_RegisterClassExA
push 1
call sub.user32.dll_GetSystemMetrics
shr eax, 1
sub eax, 0xaf
push eax
push 0
call sub.user32.dll_GetSystemMetrics
shr eax, 1
sub eax, 0x12c
pop ebx
push 0
push dword [section..data]
push 0
push 0
push 0x15e
push 0x258
push ebx
push eax
push 0xcf0000
push 0x403018
push str.MainWindowClass
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x403004], eax
push dword [ebp + 0x14]
push eax
call sub.user32.dll_ShowWindow
push dword [0x403004]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4010f2
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x4010cb
mov eax, dword [ebp - 0x14]
leave
ret 0x10

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x405a94
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 0x405afa
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.00404150
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ae4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b01
lea eax, [ebp - 0x10]
call fcn.00403ee0
ret

Function at 0x40ac2c
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 0x40ac65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fd0
jmp 0x40ac6e
mov eax, ebx
mov edx, esi
call fcn.00403f34
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b320
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b198
mov eax, dword [0x462848]
cmp byte [eax], 0
je 0x40b39c
mov eax, dword [0x46256c]
call fcn.004029b4
call fcn.00402834
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.004084a0
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 0x40b3e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b3d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x462500]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x463664]
call fcn.00404fa8
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 0x40bc38
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 0x40bd0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f78
lea eax, [ebp - 8]
call fcn.004043f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bcf8
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bcf1
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.004043a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bcdb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bd20
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bcdb
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 0x40bcf8
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd15
lea eax, [ebp - 8]
call fcn.00403ee0
ret

Function at 0x40c294
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 0x40c2f8
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.00404150
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f70
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2ff
lea eax, [ebp - 0xc]
call fcn.00403ee0
ret

Function at 0x41a484
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41a4d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041a298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a4e9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41a4f0
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.0041a298
dec esi
jne 0x41a512
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41b654
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x463888
cmp dword [edi], 0
jne 0x41b6d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x463884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x461408
mov ecx, 2
call fcn.004028c8
mov edx, 0x41b62c
lea eax, [esi + 5]
call fcn.0041b64c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b64c
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 0x41b6a5
mov dword [0x463884], 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 0x41cc44
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 0x41cc4a
ret

Function at 0x41f0e0
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 0x41f131
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f118
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f108
jmp 0x41f131
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 0x41f119
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427c18
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.00404390
xor eax, eax
push ebp
push 0x427d46
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427d19
xor eax, eax
push ebp
push 0x427d12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x427ce7
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 0x427cd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043a0
mov edx, ebx
pop ecx
call fcn.004028c8
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 0x427cdd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x462470]
mov dl, 1
mov eax, dword [0x406e24]
call fcn.0040b4a4
call fcn.00403898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d4d
lea eax, [ebp - 4]
call fcn.00403ee0
ret