joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002450
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [esp + 0x14], edx
mov byte [esp + 0x10], cl
je 0x10002531
test cl, cl
je 0x10002516
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax], 0xffff
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ecx], eax
mov ecx, dword [ecx]
mov eax, dword [ebx]
mov esi, eax
sub ecx, dword [eax + 0xc]
neg ecx
mov edi, dword [esi + 8]
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, dword [esi]
setl al
xor ecx, ecx
cmp eax, edi
setg cl
xor edx, edx
cmp dword [esi + 4], ecx
setg dl
xor eax, eax
cmp edx, edi
setle al
xor ecx, ecx
imul eax, eax, 0xffff
cmp eax, dword [esi + 0xc]
mov eax, 0xffff
setl cl
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
neg eax
cmp eax, 0xe11a796d
sbb eax, eax
xor ecx, ecx
inc eax
cmp edi, eax
mov eax, dword [ebp + 0x1c]
setg cl
xor edx, edx
add ecx, 9
mov eax, dword [eax]
cmp ecx, 0xc3d21462
setne dl
xor ecx, ecx
sub edx, edi
cmp edx, eax
mov eax, dword [ebx]
setge cl
mov eax, dword [eax + 8]
add eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x10002566
push 0
push 0x17d6
push 0
push 0x336
push 0x1b56
call dword [sym.imp.GDI32.dll_ExtCreatePen]
jmp 0x10002566
cmp byte [ebp + 0xc], 0
je 0x1000253f
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10002566
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push eax
push 0x755a
push 0x638f
push ecx
mov edx, 0x3bd9
mov ecx, 0x35f3
call fcn.10001c58
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100041c3
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x100041da
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x100041fc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x10080864
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x10080bf0
jl 0x1000420a
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x10080e94
jl 0x1000424a
mov ecx, dword [0x10081be0]
xor ecx, dword [0x10080864]
and ecx, edi
xor ecx, dword [0x10081be0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10080860], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x10080e94]
mov dword [0x10081220], eax
pop esi
ret
Function at 0x100088b5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov byte [ebp - 4], cl
mov ebx, edx
mov dword [ebp - 8], 0x501
cmp dword [ebp - 8], 0x7e8
push esi
push edi
jle 0x10008914
xor esi, esi
xor edi, edi
lea eax, [edi + esi]
cdq
lea ecx, [ebp - 0x20]
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100088ef
mov eax, dword [eax]
push eax
call fcn.1004a873
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.10003d33
inc edi
cmp edi, 0x556
jl 0x100088d7
inc esi
cmp esi, 0x4a2c
jl 0x100088d5
cmp byte [ebp - 4], 0
je 0x10008923
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
sub dword [eax], ecx
jmp 0x10008931
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10008931
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp dword [ebp - 8], 0x268
jge 0x10008945
push str.nnsufgnfs_uew_kzi_hplqk_ryjmv_cntq_nsynn_lmlbw_liguuhiuh_zertvwher_kmconaxbf_rpwaxpds_zafzkb
call fcn.1004a873
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100095af
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10061dd1
call fcn.100615d8
sub esp, 0x1c
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x100095d3
push 0xb
pop eax
mov word [ecx], ax
jmp 0x1000966e
mov dword [ebp - 0x1c], 0x2645
cmp dword [ebp - 0x1c], 0x28b6
jle 0x10009641
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
and dword [ebp - 0x20], 0
mov eax, esi
cdq
idiv ebx
mov esi, dword [ebp - 0x20]
mov ebx, 0x43cc
mov dword [ebp - 0x24], edx
mov eax, esi
mov ecx, 0x1007dbf8
xor eax, edi
cdq
push edx
push eax
call fcn.100036f4
add esi, dword [ebp - 0x24]
dec ebx
jne 0x10009603
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 0x4d26
jl 0x100095ef
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x4d3a
jl 0x100095ea
inc edi
cmp edi, 0x11c8
jl 0x100095e5
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x25c6
jge 0x1000965d
mov edx, str.kmercw_qpcb_riaapfegw_acdz_kdlymgh_rff_dhpxtd_baedrfhq_ofaokmo_djnlsxx_rdeo_qpyseb_svea
mov ecx, 0x1007dbf8
call fcn.10007689
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp byte [eax], 0
je 0x1000966e
call fcn.1000940c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e920
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov byte [ebp - 4], dl
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push esi
push edi
test dl, dl
je 0x1000e94e
push 0x2162
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1000ea00
mov dword [ebp - 0x10], 0x32c2
cmp dword [ebp - 0x10], 0x353f
jle 0x1000e9d4
xor esi, esi
mov dword [ebp - 0xc], esi
xor edi, edi
lea eax, [edi + esi]
mov dword [ebp - 8], 0x70ca
mov dword [ebp - 0x14], eax
mov esi, eax
xor ebx, ebx
mov eax, esi
lea ecx, [ebp - 0x30]
and eax, ebx
cdq
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000e98f
mov eax, dword [eax]
push eax
call fcn.1004a873
pop ecx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10003d33
inc ebx
cmp ebx, 0x4058
jl 0x1000e976
dec esi
dec dword [ebp - 8]
jne 0x1000e974
mov esi, dword [ebp - 0xc]
inc edi
cmp edi, 0x1924
jl 0x1000e965
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0x2be4
jl 0x1000e963
push 0
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea eax, [ecx + 2]
mov dword [ebx], eax
call fcn.1000cb73
mov ecx, dword [ebp + 0xc]
movzx eax, ax
push eax
call fcn.1000386c
cmp dword [ebp - 0x10], 0x2eeb
jge 0x1000ea00
push str.bjpmwovol_oiuzvotib_toad_aige_hnwgalcw_acimh_mgdaci_fxx_fgze
call fcn.1004a873
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000eb78
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov byte [ebp - 8], dl
push esi
push edi
test dl, dl
je 0x1000eba3
push 0xc08
push 0x1b85
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x1000ec29
mov dword [ebp - 0xc], 0x6161
cmp dword [ebp - 0xc], 0x6272
jle 0x1000ec10
push 0x1ebd
push 0x104a
push 0
push 0x5ed
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
shl eax, cl
lea ecx, [ebp - 0x24]
cdq
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000ebeb
mov eax, dword [eax]
push eax
call fcn.1004a873
pop ecx
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.10003d33
inc edi
cmp edi, 0x4a93
jl 0x1000ebd0
inc esi
cmp esi, 0x482b
jl 0x1000ebce
mov eax, dword [ebp + 8]
dec dword [eax]
cmp dword [ebp - 0xc], 0x60ce
jge 0x1000ec29
push str.ppkgfmll_ddcaytfbj_klkah_nnu_igvslk_rsi_nutuku_avmoswxas_tnntch_teqdsc_nbpbiollx_kxh_mukc_lacdvoq
call fcn.1004a873
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010183
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push esi
mov esi, ecx
je 0x10010213
cmp byte [ebp + 0x10], 0
je 0x100101dd
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1001023c
push 0x4cd2
push 0x2f15
push 0x6f7c
push 0x1e6
push 0x1cd6
push 1
push 0x1d11
push 1
push 0x22a6
mov dl, 1
mov ecx, 0x239f
call fcn.1000d93a
add esp, 0x24
jmp 0x1001023c
mov dword [esi], 0
cmp dword [esi], 0xfffffffd
jl 0x1001023c
push edi
mov edi, dword [ebp + 0x18]
mov dword [edi], 0xc662a2b3
mov byte [ebp + 0x17], 0
cmp byte [ebp + 0x17], 0
je 0x10010209
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
dec dword [esi]
cmp dword [esi], 0xfffffffd
jge 0x100101ec
pop edi
jmp 0x1001023c
cmp byte [ebp + 8], 0
je 0x10010228
push 0x226b
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1001023c
cmp byte [edx], 0
je 0x1001023c
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
pop esi
pop ebp
ret

Function at 0x1001026d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov edx, ecx
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
je 0x100102a7
mov dword [edx], 0
cmp dword [edx], 3
jge 0x10010314
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xee2de598
inc dword [edx]
cmp dword [edx], 3
jl 0x10010293
jmp 0x10010314
mov dword [esp + 0xc], 0x7709
cmp dword [esp + 0xc], 0x7aa2
jle 0x100102f9
xor esi, esi
xor edi, edi
mov ebx, 0x372
mov eax, edi
lea ecx, [esp + 0x10]
cdq
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100102da
mov eax, dword [eax]
push eax
call fcn.1004a873
pop ecx
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.10003d33
add edi, esi
dec ebx
jne 0x100102c2
inc esi
cmp esi, 0x6e
jl 0x100102bb
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp dword [esp + 0xc], 0x7650
jge 0x10010314
push str.qud_vwzesn_sohk_bnkj_avr_pmzo_nuvyl_novgc_zokn
call fcn.1004a873
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001086e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, edx
je 0x10010896
push 0x25b1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
jmp 0x1001093e
xor ebx, ebx
mov dword [esi], ebx
jmp 0x10010936
mov byte [ebp - 5], bl
mov dword [ebp - 0xc], 0x7949
cmp dword [ebp - 0xc], 0x7b9a
jle 0x1001090c
push 0x1ebd
push 0x104a
push ebx
push 0x5ed
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, ebx
mov eax, ebx
lea ecx, [ebp - 0x24]
and eax, edi
cdq
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100108e4
mov eax, dword [eax]
push eax
call fcn.1004a873
pop ecx
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.10003d33
inc ebx
cmp ebx, 0x5ddc
jl 0x100108cb
inc edi
push 0
pop ebx
cmp edi, 0x15f0
jl 0x100108cb
cmp byte [ebp - 5], 0
je 0x10010920
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebp - 0xc], 0x75ad
jge 0x10010934
push str.qycjexx_drzdvevo_hlnd_txwc_fcb
call fcn.1004a873
pop ecx
inc dword [esi]
cmp dword [esi], ebx
jle 0x1001089f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10031c73
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10062b29
call fcn.100615d8
sub esp, 0x54
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x14], cl
je 0x10031cdf
cmp byte [ebp + 0xc], 0
je 0x10031cd5
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x28]
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
mov dword [esi], eax
jmp 0x10031cc0
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.10034efb
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [ebx]
jl 0x10031cad
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
dec dword [eax + 0xc]
jmp 0x10031cc4
mov dword [ebp - 0x18], 0x53d6
cmp dword [ebp - 0x18], 0x54a8
jle 0x10031d25
xor esi, esi
mov edi, esi
mov dword [ebp + 0x10], 0x2f1c
xor ebx, ebx
mov eax, edi
mov ecx, 0x1007dbf8
xor eax, ebx
cdq
push edx
push eax
call fcn.100036f4
inc ebx
cmp ebx, 0x60d5
jl 0x10031cfc
dec edi
dec dword [ebp + 0x10]
jne 0x10031cfa
inc esi
cmp esi, 0x5819
jl 0x10031cf1
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x513d
jge 0x10031d41
mov edx, str.avrgrtu_gxbtl_hrudncaxf_oggbbmi_ktscbaf_nrskqs
mov ecx, 0x1007dbf8
call fcn.10007689
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], 0
je 0x10031db4
mov edi, dword [ebp + 0x18]
mov esi, dword [edi]
mov edi, dword [edi + 4]
jmp 0x10031dab
push esi
lea ecx, [ebp - 0x44]
call fcn.10003809
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 2
call fcn.10017d3b
pop ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10034efb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.1000400a
add esi, 0x18
cmp esi, edi
jne 0x10031d6f
jmp 0x10031cc4
mov edi, dword [ebp + 0x14]
mov dword [edi], 0xfffffffe
cmp dword [edi], 0x32
jl 0x10031cc4
mov dword [ebp - 0x1c], 0xece
cmp dword [ebp - 0x1c], 0xf6a
jle 0x10031e41
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
mov dword [ebp + 0x10], 0x3945
xor edi, edi
mov eax, esi
lea ecx, [ebp - 0x5c]
and eax, edi
and eax, ebx
cdq
push edx
push eax
call fcn.10001a6a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10031e04
mov eax, dword [eax]
push eax
call fcn.1004a873
pop ecx
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.10003d33
inc edi
cmp edi, 0x6e98
jl 0x10031de9
dec esi
dec dword [ebp + 0x10]
jne 0x10031de7
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x5060
jl 0x10031ddd
inc ebx
cmp ebx, 0xeee
jl 0x10031dd8
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x10031cc4
cmp dword [ebp - 0x1c], 0xb26
jge 0x10031e61
push str.iowxavcp_xwbhlkc_bwyzbd_vehuahmm_dfuhajb_vbkbwqyy_ofmbp
call fcn.1004a873
pop ecx
or dword [ebp - 4], 0xffffffff
inc dword [edi]
jmp 0x10031dbd
Function at 0x10032e37
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10062bdb
call fcn.100615d8
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x14], 0x791b
mov ebx, edx
cmp dword [ebp - 0x14], 0x7b9d
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
jle 0x10032e99
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007dbf8
and eax, edi
xor eax, esi
cdq
push edx
push eax
call fcn.100036f4
inc ebx
cmp ebx, 0xb25
jl 0x10032e68
inc edi
cmp edi, 0x284c
jl 0x10032e66
inc esi
cmp esi, 0x193e
jl 0x10032e64
mov ebx, dword [ebp - 0x18]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x785c
jge 0x10032ed4
mov edx, str.wxwq_eneqdlo_wbxiydt_tpzd_qqxweiqi_ecfn_puyydak
mov ecx, 0x1007dbf8
call fcn.10007689
jmp 0x10032ed4
or dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x20]
push ebx
push ecx
push dword [ebp - 0x1c]
push 0x46bb
push ecx
mov cl, 1
call fcn.10032cdd
mov eax, dword [ebp - 0x20]
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003fe82
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006307c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10040007
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1003fee5
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003fee0
push 0x7e87
push 0x452a
push 0
call fcn.1004062b
add esp, 0xc
jmp 0x10040005
mov dword [ebp - 0x28], 0x41dd
mov dword [ebp - 0x30], str.rdyuidoru_yicdbuw_kdpilal_gkauyqkb_wriokgx_zhj_qdnndi
cmp dword [ebp - 0x28], 0x431b
jle 0x1003ff99
push 0
push 0xa01
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x20], 0
jmp 0x1003ff1a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x677a
jge 0x1003ff99
and dword [ebp - 0x24], 0
jmp 0x1003ff30
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7da5
jge 0x1003ff94
and dword [ebp - 0x18], 0
jmp 0x1003ff46
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x224d
jge 0x1003ff92
and dword [ebp - 0x1c], 0
jmp 0x1003ff5c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6048
jge 0x1003ff90
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x24]
sub edx, ecx
mov eax, edx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov ecx, 0x1007dbf8
call fcn.100036f4
jmp 0x1003ff55
jmp 0x1003ff3f
jmp 0x1003ff29
jmp 0x1003ff13
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1003ffc5
push 0
push 0x2119
push 0x2439
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x3f8b
jge 0x1003ffdf
mov edx, dword [ebp - 0x30]
mov ecx, 0x1007dbf8
call fcn.10007689
jmp 0x1003fffb
or dword [ebp - 4], 0xffffffff
jmp 0x10040005
jmp 0x10040023
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
call fcn.100382e8
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c01b337
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x2000000
push edi
push 0x5c002c2c
push 0x80000002
mov esi, edx
mov dword [ebp - 4], edi
mov ebx, ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x5c01b397
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0x5c01b393
cmp dword [ebp - 8], ebx
jne 0x5c01b393
inc edi
mov eax, edi
jmp 0x5c01b399
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c04ff90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x5c04ffce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x5c04ffc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x5c04ffd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x5c04ffb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5c0500c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x5c0500d6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x5c0500f1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x5c07014e
Capabilities:
Encode data using xor

Disassembly:
call 0x5c0700c7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x5c0700f7
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x5c070113
xor edx, 0
jmp 0x5c07011e
xor edx, edx
jmp 0x5c070135
jmp 0x5c070141
xor eax, eax
push 0x8427d7c0
call 0x5c07014e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x5c07018a
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x5c070163
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x5c0701a1
add eax, 0
jno 0x5c0701a6
add esi, 0
ret 0x10
Function at 0x5c070f0f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x5c070f31
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x5c0710d3
cmp edi, dword [ebp + 0x10]
jb 0x5c0710d3
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.5c0709fb
inc edi
jmp 0x5c070fba
jmp 0x5c070fc7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c0709fb
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c0709fb
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x5c07101b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x5c070fff
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.5c071049
add dword [eax], 0x39
jle 0x5c071025
sub al, 0xf5
mov ch, al
call fcn.5c07105e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x5c072d36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x5c072d4c
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x5c072d5d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.5c072d9e
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx