joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000b013
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000b056
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000b052
nop dword [eax + eax]
cmp esi, edx
jae 0x1000b056
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000b040
cmp esi, edx
jb 0x1000b05a
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x1000ec90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push esi
xor eax, eax
mov dword [esp + 0x26], 0x6c006c
xor esi, esi
mov word [esp + 0x2a], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x22], 0x64002e
push eax
mov dword [esp + 0x20], 0x6c0064
lea ecx, [esi + 0x6c]
mov dword [esp + 0x1c], 0x74006e
mov word [esp + 0x24], cx
mov dword [esp + 8], 0x6554744e
mov dword [esp + 0xc], 0x6e696d72
mov dword [esp + 0x12], 0x6f725065
mov word [esp + 0x19], 0x73
mov word [esp + 0x16], 0x6563
mov word [esp + 0x10], 0x7461
mov byte [esp + 0x18], 0x73
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000ed2c
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10074038], eax
test eax, eax
je 0x1000ed2c
push esi
push dword [esp + 0x34]
call eax
test eax, eax
mov ecx, 1
cmove esi, ecx
mov eax, esi
pop esi
add esp, 0x28
ret

Function at 0x1000eec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043c2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 0
push edi
push 2
mov dword [ebp - 0x238], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ef47
lea eax, [ebp - 0x238]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000ef40
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp + 8]
call fcn.1000fb40
test eax, eax
je 0x1000ef3b
lea eax, [ebp - 0x238]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1000ef14
jmp 0x1000ef40
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.10009400
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000f940
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043d1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
mov eax, 0x6f
mov dword [ebp - 0x2a], 0x650072
push esi
mov word [ebp - 0x2c], ax
mov ecx, 0x72
xor eax, eax
mov dword [ebp - 0x24], 0x65002e
push edi
mov dword [ebp - 0x34], 0x780065
mov dword [ebp - 0x20], 0x650078
mov dword [ebp - 0x30], 0x6c0070
mov word [ebp - 0x26], cx
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
xor edi, edi
mov dword [ebp - 0x260], 0x22c
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000fa78
lea eax, [ebp - 0x260]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1000fa71
nop dword [eax]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10008cc0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.1000fb40
test eax, eax
jne 0x1000fa46
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x1000fa46
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1000fa69
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10009400
lea eax, [ebp - 0x260]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1000f9f0
jmp 0x1000fa71
lea ecx, [ebp - 0x10]
call fcn.10009400
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10013acb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10037b6d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003782d
Function at 0x10003e25
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
cmp byte [ebp + 0x24], 0
push ebx
push esi
push edi
mov byte [esp + 0x10], dl
mov esi, ecx
je 0x10003ef2
cmp byte [ebp + 0x20], 0
je 0x10003e6b
push ecx
lea eax, [esp + 0x12]
xor ebx, ebx
push eax
sub esp, 0xc
mov byte [esp + 0x22], bl
push ebx
push ecx
push ecx
push 0x316f
call fcn.10003a88
add esp, 0x24
jmp 0x10003fa1
mov dword [esp + 0x14], 0x175b
cmp dword [esp + 0x14], 0x1785
push 0
pop ebx
jle 0x10003ec3
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [esp + 0x18]
or eax, esi
cdq
push edx
push eax
call fcn.1000288f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10003e9e
mov eax, dword [eax]
push eax
call fcn.1004603d
pop ecx
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.100078fb
inc edi
cmp edi, 0x6ea6
jl 0x10003e84
inc esi
cmp esi, 0x6317
jl 0x10003e82
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x10003ed4
call dword [sym.imp.USER32.dll_GetCapture]
cmp dword [esp + 0x14], 0x1562
jge 0x10003fa1
push str.optlgoinf_zhff_kmnuaq_miutv_hqe_qkdayokaa_xmfho
call fcn.1004603d
pop ecx
jmp 0x10003fa1
xor ebx, ebx
test dl, dl
je 0x10003f19
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], bl
je 0x10003fa1
push ebx
push 0x1096
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x10003fa1
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
cmp dword [eax], ebx
je 0x10003f9b
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [eax], 0xfffffffd
mov eax, dword [eax]
test eax, eax
mov eax, dword [ebp + 0x14]
setne cl
xor edx, edx
mov dword [eax], 6
mov eax, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ecx - 0xffa8]
imul ecx, eax, 0x5019
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [ebp + 0xc]
setne dl
mov dword [eax], edx
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [esi]
cmp ecx, eax
setne dl
cmp edx, 6
jge 0x10003f74
cmp dword [esi], ebx
je 0x10003f74
xor ebx, ebx
inc ebx
mov eax, dword [esi]
lea ecx, [ebx - 0x52ee8b72]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x10]
setl dl
xor ecx, ecx
add edx, 0xffff0004
mov eax, dword [eax]
cmp edx, eax
setge cl
mov dword [esi], ecx
mov eax, dword [esi]
mov eax, dword [edi]
mov dword [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000410f
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1005e3a8
call fcn.1005dcd4
sub esp, 0x60
push ebx
push esi
mov dword [ebp - 0x14], 0x3ae8
cmp dword [ebp - 0x14], 0x3d2b
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
jle 0x1000417f
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [ebp - 0x3c]
or eax, esi
cdq
push edx
push eax
call fcn.1000288f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000415a
mov eax, dword [eax]
push eax
call fcn.1004603d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.100078fb
inc edi
cmp edi, 0x2f8d
jl 0x10004141
inc esi
cmp esi, 0x7a3
jl 0x1000413f
cmp dword [ebp - 0x14], 0x37cc
jge 0x10004193
push str.cvyzmnly_ngbjmzki_mzyw_kudvcorrm_lsl_nos_fzwelpi
call fcn.1004603d
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x18], 0
je 0x10004285
mov dword [ebp - 0x20], 0x5fdb
cmp dword [ebp - 0x20], 0x5ff4
jle 0x10004222
xor edi, edi
xor esi, esi
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [ebp - 0x18], 0x4c3d
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
xor ebx, ebx
mov eax, esi
lea ecx, [ebp - 0x54]
cdq
idiv ebx
lea eax, [edi + edx]
cdq
push edx
push eax
call fcn.1000288f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100041e6
mov eax, dword [eax]
push eax
call fcn.1004603d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.100078fb
inc ebx
cmp ebx, 0x7c6e
jl 0x100041c9
mov esi, dword [ebp - 0x1c]
add dword [ebp - 0x14], esi
dec dword [ebp - 0x18]
jne 0x100041c4
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x4ec7
jl 0x100041b8
inc edi
cmp edi, 0x345d
jl 0x100041b3
cmp dword [ebp - 0x20], 0x5d52
jge 0x10004236
push str.bbfkh_rfznbn_fer_udg_ilu
call fcn.1004603d
pop ecx
mov esi, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
push 0x18
pop ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cdq
idiv ecx
mov ebx, eax
test ebx, ebx
je 0x10004313
xor edi, edi
mov edx, dword [esi]
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x24]
add edx, edi
call fcn.100028f2
pop ecx
mov ecx, dword [esi]
push eax
add ecx, edi
call fcn.10006fbb
push 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.10007bf6
add edi, 0x18
dec ebx
jne 0x10004254
jmp 0x10004313
mov dword [ebp - 0x14], 0xff9
cmp dword [ebp - 0x14], 0x134b
jle 0x100042eb
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov eax, esi
mov dword [ebp - 0x20], 0x3593
cdq
idiv edi
mov ebx, edx
mov esi, ebx
mov edi, 0x3585
mov eax, esi
mov ecx, 0x10079b38
cdq
push edx
push eax
call fcn.10006e46
dec esi
dec edi
jne 0x100042b4
dec ebx
dec dword [ebp - 0x20]
jne 0x100042ad
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x5bf7
jl 0x1000429f
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x20c3
jl 0x1000429a
mov dword [ebp - 4], 4
cmp dword [ebp - 0x14], 0xdc8
jge 0x1000430a
mov edx, str.cmcnoitd_dtjnt_jammd_juvr_gkfllnpn_gezhxpn_abrdekp_upuxkhc_lhntrlsry_vdolmzcw_zifp_ekdehz
mov ecx, 0x10079b38
call fcn.10009b61
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffffc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000555e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
je 0x1000559c
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
mov dword [esi], eax
jmp 0x10005596
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1000742a
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [ebx]
jl 0x10005581
jmp 0x100055ae
push 0x86b
push 0
push 0x1851
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b1ce
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov byte [esp + 4], cl
push ebx
push esi
push edi
test cl, cl
je 0x1000b27b
mov byte [esp + 0xf], 0
mov dword [esp + 0x14], 0x7a7d
cmp dword [esp + 0x14], 0x7b5c
jle 0x1000b24e
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
lea ecx, [esp + 0x18]
and eax, edi
and eax, esi
cdq
push edx
push eax
call fcn.1000288f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000b21f
mov eax, dword [eax]
push eax
call fcn.1004603d
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.100078fb
inc ebx
cmp ebx, 0x63a2
jl 0x1000b203
inc edi
cmp edi, 0x7b05
jl 0x1000b201
inc esi
cmp esi, 0x1106
jl 0x1000b1ff
cmp byte [esp + 0xf], 0
je 0x1000b264
push 0x960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp dword [esp + 0x14], 0x7987
jge 0x1000b294
push str.njwxop_ifvvtwpym_xgpaku_uplumxm_xwat_rurhc_axrnh_kygegf_mxchpmto_atuppxkzg_drc_teynhjvld
call fcn.1004603d
pop ecx
jmp 0x1000b294
push 0xcaf
push 0x1059
push 1
push 0
push 0x25b7
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b84e
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov eax, 0x1005e800
call fcn.1005dcd4
sub esp, 0x1c
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
je 0x1000b876
mov eax, dword [ebp + 8]
inc dword [eax]
jmp 0x1000b949
mov dword [ebp - 0x20], 0x398d
cmp dword [ebp - 0x20], 0x3aba
jle 0x1000b8f1
push 0x986
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov ecx, edi
mov dword [ebp - 0x14], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
mov dword [ebp - 0x14], 0x5e13
mov eax, edi
mov ecx, 0x10079b38
xor eax, esi
cdq
push edx
push eax
call fcn.10006e46
add edi, ebx
dec dword [ebp - 0x14]
jne 0x1000b8af
inc ebx
cmp ebx, 0x73be
jl 0x1000b8a6
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x3b90
jl 0x1000b89d
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x746c
jl 0x1000b898
mov ebx, dword [ebp - 0x24]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x3801
jge 0x1000b92c
mov edx, str.kyupvf_qwfc_yytmgu_ailhce_jzd
mov ecx, 0x10079b38
call fcn.10009b61
jmp 0x1000b92c
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
jmp 0x1000b944
mov ecx, dword [edx]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x93c34f97
inc dword [edx]
cmp dword [edx], 4
jl 0x1000b937
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000bd22
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, edx
push edi
test cl, cl
je 0x1000be28
cmp byte [ebp + 0xc], 0
je 0x1000bdcd
mov dword [ebp - 8], 0x77a7
cmp dword [ebp - 8], 0x7a6e
jle 0x1000bda3
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, edi
cdq
idiv ebx
mov eax, esi
mov ecx, edx
sar eax, cl
lea ecx, [ebp - 0x20]
cdq
push edx
push eax
call fcn.1000288f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000bd75
mov eax, dword [eax]
push eax
call fcn.1004603d
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.100078fb
inc ebx
cmp ebx, 0x55d5
jl 0x1000bd55
inc edi
cmp edi, 0x6787
jl 0x1000bd53
inc esi
cmp esi, 0x1844
jl 0x1000bd51
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
push dword [eax]
call fcn.1000caa7
cmp dword [ebp - 8], 0x744e
jge 0x1000be65
push str.yfwxlqenz_huipwtk_tohuojdf_dabovne_qvivrfsvz_qzcbyip_idmplwnl
call fcn.1004603d
pop ecx
jmp 0x1000be65
mov dword [esi], 4
cmp dword [esi], 0x24
jg 0x1000be65
mov edi, dword [ebp + 0x18]
mov dword [edi], 3
jmp 0x1000be1a
push 0
push 0xc71
push 0x4a88
push 1
push 0x69ec
push 0x4ada
push 0x15e7
push 0x1863
mov edx, 0x29ac
xor cl, cl
call fcn.1000baa5
add esp, 0x20
dec dword [edi]
cmp dword [edi], 0
jge 0x1000bde7
inc dword [esi]
cmp dword [esi], 0x24
jle 0x1000bddf
jmp 0x1000be65
cmp byte [ebp + 0x14], 0
je 0x1000be42
push 0x86b
push 0
push 0x1851
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1000be65
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [edx], 4
jge 0x1000be65
mov esi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x223dec99
inc dword [edx]
cmp dword [edx], 4
jl 0x1000be53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cc4d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x100a8984], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x100a8984], ecx
inc edx
cmp edx, esi
jl 0x1000cc62
mov dword [0x100a8980], esi
pop esi
pop ebp
ret 8

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

Disassembly:
push esi
mov edx, 0x100a8984
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, 0x100a8d10
jl 0x1000cc96
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, 0x100a8fb4
jl 0x1000ccd6
mov ecx, dword [0x100a9d00]
xor ecx, dword [0x100a8984]
and ecx, edi
xor ecx, dword [0x100a9d00]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x100a8980], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x100a8fb4]
mov dword [0x100a9340], eax
pop esi
ret
Function at 0x1000dfc6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e8c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000e02a
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1000e014
push 0
push 0x1d50
push 0xfda
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x1000e025
push 0
push 0x1096
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1000e105
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x3224
mov dword [ebp - 0x30], str.szikyw_wtrju_tckjjtoy_jiri_gnhwve_weea_yzv_epcli_tpov_sagurcwbj_qikrfsjqn
cmp dword [ebp - 0x20], 0x35bd
jle 0x1000e0b5
and dword [ebp - 0x1c], 0
jmp 0x1000e05a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x58a1
jge 0x1000e0b5
and dword [ebp - 0x14], 0
jmp 0x1000e070
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x477e
jge 0x1000e0b3
and dword [ebp - 0x18], 0
jmp 0x1000e086
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5bab
jge 0x1000e0b1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, 0x10079b38
call fcn.10006e46
jmp 0x1000e07f
jmp 0x1000e069
jmp 0x1000e053
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.1000d2c2
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x2f0f
jge 0x1000e0df
mov edx, dword [ebp - 0x30]
mov ecx, 0x10079b38
call fcn.10009b61
jmp 0x1000e0fb
or dword [ebp - 4], 0xffffffff
jmp 0x1000e105
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002564c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005eed7
call fcn.1005dcd4
sub esp, 0x1c
cmp byte [ebp + 8], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], eax
je 0x1002568f
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002567e
push ecx
push 0
call fcn.10024f45
pop ecx
pop ecx
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 - 0x20], 0x4366
cmp dword [ebp - 0x20], 0x43f8
jle 0x100256ff
push 1
push 0x1b6c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x18], 0x7525
xor edi, edi
xor esi, esi
mov eax, esi
mov ecx, 0x10079b38
and eax, edi
xor eax, ebx
cdq
push edx
push eax
call fcn.10006e46
inc esi
cmp esi, 0x322
jl 0x100256c2
inc edi
cmp edi, 0x16bf
jl 0x100256c0
dec ebx
dec dword [ebp - 0x18]
jne 0x100256be
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x6451
jl 0x100256b5
mov eax, dword [ebp - 0x24]
inc dword [eax]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x41f1
jge 0x1002567e
mov edx, str.fzdqpt_evczeuyac_tpwih_deq_hne_iat_bvlrioed_sbiaj
mov ecx, 0x10079b38
call fcn.10009b61
jmp 0x1002567e

Function at 0x10025a93
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov dword [esp + 8], 0x3274
mov ebx, ecx
cmp dword [esp + 8], 0x3313
push esi
push edi
mov dword [esp + 0x14], ebx
jle 0x10025b26
push 0x207c
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
mov dword [esp + 0xc], esi
xor edi, edi
mov eax, esi
mov esi, 0x35c6
cdq
idiv edi
mov ebx, edx
mov eax, ebx
lea ecx, [esp + 0x18]
cdq
push edx
push eax
call fcn.1000288f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10025af0
mov eax, dword [eax]
push eax
call fcn.1004603d
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.100078fb
inc ebx
dec esi
jne 0x10025ad8
mov esi, dword [esp + 0xc]
inc edi
cmp edi, 0x3e40
jl 0x10025acc
inc esi
mov dword [esp + 0xc], esi
cmp esi, 0x4005
jl 0x10025aca
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], 0x2f46
jge 0x10025b3b
push str.tqamyeam_fbsqsbkyh_ptoay_acnif_wyix_fbzitznb_zfngexdv_jbmd_nunvn_ivqie_vxdw_jwbd_treygt
call fcn.1004603d
pop ecx
cmp byte [ebp + 0xc], 0
je 0x10025b4b
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10025b5a
push 0x960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002910f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 8], 0
je 0x10029133
xor eax, eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
je 0x1002914b
push 0x960
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x1002914b
mov ecx, dword [edx]
lea eax, [ecx + 2]
mov dword [edx], eax
call fcn.10028e2e
mov ecx, dword [ebp + 0xc]
movzx eax, ax
push eax
call fcn.1000c9dd
mov esp, ebp
pop ebp
ret
Function at 0x1002a1a4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [ebp + 0x1c], 0
push ebx
push esi
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
je 0x1002a1de
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x1002a26a
push 0x1a68
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1002a26a
mov edi, dword [ebp + 0x20]
xor esi, esi
mov ebx, dword [ebp + 0xc]
cmp dword [edi], esi
jne 0x1002a21b
mov eax, dword [edi]
mov eax, dword [edi]
cmp eax, dword [edi]
jne 0x1002a1fb
cmp dword [edi], esi
je 0x1002a1fb
xor ecx, ecx
inc ecx
jmp 0x1002a1fd
mov ecx, esi
mov eax, dword [edi]
mov edx, dword [edi]
imul eax, ecx
xor ecx, ecx
sub edx, eax
mov eax, dword [edi]
cmp edx, eax
setne cl
cmp ecx, dword [ebx]
jle 0x1002a21b
cmp dword [ebx], esi
jne 0x1002a21b
mov edx, esi
jmp 0x1002a21e
xor edx, edx
inc edx
mov eax, dword [edi]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x10]
setge cl
xor edx, edx
add ecx, 0xbfc3
mov dword [eax], ecx
mov ecx, dword [edi]
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [ebx]
setne dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [esp + 0x14]
setg cl
mov eax, dword [edx]
mov dword [eax + 8], ecx
xor eax, eax
test ecx, ecx
sete al
cmp eax, dword [ebx]
jg 0x1002a262
mov eax, dword [edx]
cmp dword [eax + 8], esi
jne 0x1002a265
xor esi, esi
inc esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret