joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024d5e
Capabilities:
Create pipe

Disassembly:
mov eax, 0x10064d45
call fcn.10063a38
sub esp, 0x18
mov dword [ebp - 0x24], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10024ebe
xor esi, esi
cmp byte [ebp + 0xc], 0
je 0x10024d97
push esi
push esi
push esi
push 0xc84
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
jmp 0x10024efb
mov dword [ebp - 0x1c], 0x272b
cmp dword [ebp - 0x1c], 0x290f
jle 0x10024e13
mov edi, esi
mov dword [ebp - 0x18], esi
mov ebx, esi
mov eax, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov ecx, eax
lea esi, [ebx + edi]
mov edi, dword [ebp - 0x20]
shl esi, cl
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x10081ef8
cdq
push edx
push eax
call fcn.10003ea0
inc edi
cmp edi, 0x51a3
jl 0x10024dc0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x14], eax
push 0
pop esi
cmp eax, 0x1149
jl 0x10024db3
inc ebx
cmp ebx, 0x7479
jl 0x10024dae
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x6188
jl 0x10024dac
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0x24eb
jge 0x10024e4c
mov edx, str.srt_yjqz_ueix_luiucx_gtyem_yjrdvnrv_hkjjtznfi_cwy_uns_yaqiq_snyv_tbzmfz_qvc_rwmp
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x10024e4c
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x30]
cmp dword [edi], esi
je 0x10024e6e
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, 0x54bc
mov eax, dword [ebp + 0x34]
setle cl
mov dword [eax], ecx
cmp dword [eax], esi
je 0x10024e6e
xor esi, esi
inc esi
mov edx, dword [ebp + 0x2c]
push 4
mov eax, dword [edx]
mov ecx, dword [edx]
sub ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [ebx]
test eax, eax
mov eax, dword [ebp + 0x28]
setne cl
mov dword [eax], esi
mov eax, dword [edi]
imul eax, ecx
xor ecx, ecx
cmp esi, eax
mov eax, dword [ebp + 8]
setg cl
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [edx]
add ecx, eax
xor eax, eax
cmp ecx, 0x37d7
pop ecx
setl al
neg eax
cmp ecx, eax
mov eax, dword [ebp + 0x20]
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
jmp 0x10024efb
cmp byte [ebp + 0x18], 0
je 0x10024eea
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10024efb
push 0x157a
push 0x628
push 0x1569
push 0xf22
push 0
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x10024efb
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x709b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002809b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10064fe2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
push edi
push ecx
mov edx, 0xc93
lea ecx, [esp + 0x40]
call fcn.10003aa8
pop ecx
xor edi, edi
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0x98], edi
call fcn.10021999
xor esi, esi
mov byte [esp + 0x94], 2
push edi
inc esi
lea ecx, [esp + 0x40]
push esi
call fcn.1000430d
lea ecx, [esp + 0x6c]
call fcn.1002325b
push ecx
mov edx, 0xbab
lea ecx, [esp + 0x28]
call fcn.10003aa8
mov edx, 0xbac
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x40]
call fcn.10003aa8
pop ecx
mov edx, eax
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x18]
call fcn.1002541a
push edi
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 6
call fcn.1000430d
push ecx
mov edx, 0xbad
lea ecx, [esp + 0x58]
call fcn.10003aa8
pop ecx
mov edx, eax
mov byte [esp + 0x94], 7
lea ecx, [esp + 0xc]
call fcn.1002541a
push edi
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 9
call fcn.1000430d
push 0x2de
push esi
push 0x5ce9
lea eax, [esp + 0x30]
push eax
sub esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x28]
call fcn.10027f45
add esp, 0x1c
lea ecx, [esp + 0xc]
call fcn.10028919
lea ecx, [esp + 0x18]
call fcn.10028919
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.1000430d
or dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.100233d4
mov ecx, dword [esp + 0x8c]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10032324
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10032475
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1003238e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10032389
push 1
push 1
call fcn.1002f7eb
pop ecx
pop ecx
jmp 0x10032473
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0x56a4
mov dword [ebp - 0x38], str.lunbfwht_qiphaih_chlwvlfj_rxbszoali_hvlua_smvk_ezysu
cmp dword [ebp - 0x20], 0x59e8
jle 0x10032422
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 0x18], 0
jmp 0x100323c0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3688
jge 0x1003241a
and dword [ebp - 0x1c], 0
jmp 0x100323d6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7354
jge 0x10032418
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.10003a70
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.10003e80
push eax
call fcn.1004bc39
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.10002f2e
jmp 0x100323cf
jmp 0x100323b9
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x3891
lea eax, [ebp - 0x11]
push eax
push 1
push 1
call fcn.1002cf3e
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x546c
jge 0x1003244d
push dword [ebp - 0x38]
call fcn.1004bc39
pop ecx
jmp 0x10032469
or dword [ebp - 4], 0xffffffff
jmp 0x10032473
jmp 0x10032487
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 0
push dword [ebp - 0x3c]
call fcn.1002d6d9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10036f87
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100654d3
call fcn.10063a38
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0x72fb
cmp dword [ebp - 0x18], 0x7333
push edi
mov dword [ebp - 0x10], esp
jle 0x10036ff7
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, ebx
cdq
idiv ecx
mov ecx, 0x10081ef8
xor edx, edi
or edx, esi
mov eax, edx
cdq
push edx
push eax
call fcn.10003ea0
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x36e9
jl 0x10036fb5
inc ebx
cmp ebx, 0xbaf
jl 0x10036fb0
inc edi
cmp edi, 0x31a9
jl 0x10036fae
inc esi
cmp esi, 0x604
jl 0x10036fac
cmp byte [ebp + 0x14], 0
je 0x10037022
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1003702a
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x4fd3
inc dword [edx]
cmp dword [edx], 3
jl 0x1003700e
jmp 0x1003702a
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x70f2
jge 0x10037046
mov edx, str.ibha_zudxkeesd_yyqfbi_oxgngrmcy
mov ecx, 0x10081ef8
call fcn.10005908
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10037d7d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10065515
call fcn.10063a38
sub esp, 0x14
mov byte [ebp - 0x18], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10037e0e
mov dword [ebp - 0x1c], 0x4bdd
cmp dword [ebp - 0x1c], 0x4c17
jle 0x10037dce
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10081ef8
xor eax, esi
cdq
push edx
push eax
call fcn.10003ea0
inc edi
cmp edi, 0x77d6
jl 0x10037dab
inc esi
cmp esi, 0x74ab
jl 0x10037da9
mov edx, dword [ebp + 8]
mov eax, dword [edx]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x4ac6
mov dword [edx + 4], eax
jge 0x10037df2
mov edx, str.cztj_quraezuas_mminya_hznamfa_cgwmi_itv_vdlp
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x10037e25
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x10037e25
push 0
push 0x2634
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003c3c6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov byte [esp + 4], dl
mov dword [esp + 0x14], 0x58cb
cmp dword [esp + 0x14], 0x5a0e
push esi
push edi
jle 0x1003c467
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor esi, esi
mov dword [esp + 0x18], esi
mov ebx, esi
mov dword [esp + 0x14], 0x2837
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], 0x394
mov eax, ebx
lea ecx, [esp + 0x20]
xor eax, esi
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c42a
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.10003049
add esi, edi
dec dword [esp + 0x10]
jne 0x1003c410
inc edi
cmp edi, 0x1866
jl 0x1003c406
dec ebx
dec dword [esp + 0x14]
jne 0x1003c404
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, 0x6e4f
jl 0x1003c3fa
cmp dword [esp + 0x1c], 0x56e1
jge 0x1003c47c
push str.bgbmzr_cfmwixol_ppzbtszrb_xxekvf
call fcn.1004bc39
pop ecx
cmp byte [esp + 0xc], 0
je 0x1003c4a5
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1003c4ab
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [esi]
and dword [eax + ecx*4], 0
inc dword [edx]
cmp dword [edx], 3
jl 0x1003c494
jmp 0x1003c4ab
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003ebc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov byte [esp], cl
push esi
push edi
test cl, cl
je 0x1003ec6c
mov dword [esp + 0xc], 0x69ce
cmp dword [esp + 0xc], 0x6a8a
jle 0x1003ec4b
push 0
push 0x1636
push 0x619
push 0x2b5
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [esp + 0x10]
or eax, esi
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003ec1d
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.10003049
inc edi
cmp edi, 0x6dbd
jl 0x1003ec03
inc esi
cmp esi, 0x720e
jl 0x1003ec01
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0xc], 0x69a3
jge 0x1003ec60
push str.bdnj_kzyc_jysyhvobr_pcgm_emphimiqa_cvosvg_jex_oiacsgt_irqqlrhj_tstmmb_drogkj_uylkykftz_inineis
call fcn.1004bc39
pop ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x1003ec77
push 0x1ba7
call dword [sym.imp.USER32.dll_DrawMenuBar]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003eca1
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100657ea
call fcn.10063a38
sub esp, 0x14
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edi
je 0x1003ed78
mov dword [ebp - 0x14], 0x1fad
cmp dword [ebp - 0x14], 0x2001
jle 0x1003ed12
xor esi, esi
mov ebx, esi
mov dword [ebp + 0xc], 0x237a
xor edi, edi
mov eax, ebx
mov ecx, 0x10081ef8
xor eax, edi
cdq
push edx
push eax
call fcn.10003ea0
inc edi
cmp edi, 0x195d
jl 0x1003ece3
dec ebx
dec dword [ebp + 0xc]
jne 0x1003ece1
inc esi
cmp esi, 0xe57
jl 0x1003ecd8
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp byte [ebp + 0x10], 0
je 0x1003ed3b
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003ed34
cmp dword [edi], 0
jne 0x1003ed2a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov eax, dword [edi]
cmp eax, dword [edi]
je 0x1003ed34
xor eax, eax
jmp 0x1003ed37
xor eax, eax
inc eax
mov dword [edx], eax
jmp 0x1003ed40
mov eax, dword [ebp + 0x20]
inc dword [eax]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1cb6
jge 0x1003ed5c
mov edx, str.sva_xbd_ovuspvfpd_eacfhb_jeovzl_mzumdmcio_gojrnoa
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x1003ed90
cmp byte [ebp + 0x18], 0
je 0x1003ed85
mov eax, dword [ebp + 0x1c]
inc dword [eax]
jmp 0x1003ed90
push 0x1ba7
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040307
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov eax, 0x10065887
call fcn.10063a38
sub esp, 0x3c
push ebx
push esi
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x28], 0x61c0
cmp dword [ebp - 0x28], 0x631a
push edi
mov dword [ebp - 0x10], esp
jle 0x10040364
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, edi
mov ecx, 0x10081ef8
cdq
idiv ebx
xor edx, esi
mov eax, edx
cdq
push edx
push eax
call fcn.10003ea0
inc ebx
cmp ebx, 0x124a
jl 0x10040333
inc edi
cmp edi, 0x257
jl 0x10040331
inc esi
cmp esi, 0x76c2
jl 0x1004032f
mov dword [ebp - 0x24], 0x1da5
cmp dword [ebp - 0x24], 0x1de2
jle 0x10040412
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
xor ebx, ebx
and dword [ebp - 0x30], 0
lea eax, [edi + esi]
mov esi, dword [ebp - 0x30]
mov ecx, ebx
mov edi, eax
mov dword [ebp - 0x2c], eax
shl edi, cl
mov ecx, esi
mov eax, edi
shl eax, cl
lea ecx, [ebp - 0x48]
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100403ba
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10003049
inc esi
cmp esi, 0x5940
jl 0x1004039f
mov esi, dword [ebp - 0x20]
inc ebx
mov edi, dword [ebp - 0x1c]
cmp ebx, 0x45b2
jl 0x1004038c
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0xbc7
jl 0x1004038a
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x4911
jl 0x10040385
push 0x2261
push 0x478
push 0x1b36
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp - 0x24], 0x1b74
jge 0x10040426
push str.mlkec_yxaz_oydm_zbjnzusk_nohjtd_ruawungoq_evo_pzhhnxuo_ljlnrazr_jkkxla_pjdaha_sdgp
call fcn.1004bc39
pop ecx
cmp byte [ebp - 0x14], 0
je 0x10040453
push 1
lea eax, [ebp - 0x15]
mov byte [ebp - 0x15], 0
push eax
push 0x3f21
mov dl, 1
push 0x2ced
push 0x24d3
mov cl, dl
call fcn.1003b490
add esp, 0x14
jmp 0x10040458
mov eax, dword [ebp + 8]
dec dword [eax]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x28], 0x5dfd
jge 0x10040477
mov edx, str.gkxkix_tzrikikfc_pqyrfm_oabc_inzy_gpq_kzmjhdlp_lzjsuffcz_mjilinje_tkeum_voizh_yfzdb
mov ecx, 0x10081ef8
call fcn.10005908
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001094
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
jmp 0x10001160
lea eax, [ebp - 0x104]
push eax
call fcn.10001308
push 0x100010a2
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x1000122d
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push 0x100010c1
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x1000128d
mov dword [ebp - 0x10c], 0x103
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x100010db
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x1000128d
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x10001212
mov word [ebx], 0x5c
push 0x100010ac
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x1000128d
mov dword [section..data], eax
push 0x100010b6
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10001282
push eax
push 0x3ea
call eax
pop ebx
test eax, eax
je 0x10001282
mov dword [0x10003010], eax
push 0x3e9
call ebx
test eax, eax
je 0x10001282
mov dword [0x10003004], edx
call 0x10001269
add dword [esp], 0x3d97
call eax
mov dword [0x1000300c], eax
sub esp, 4
pop dword [0x10003008]
leave
ret
push dword [section..data]
call sub.KERNEL32.dll_FreeLibrary
mov dword [section..data], 0
mov dword [0x10003004], 0xffffffff
mov dword [0x10003008], 0
mov dword [0x1000300c], 0
mov dword [0x10003010], 0
push 0x10
push 0x1000115a
push 0x100010e0
push 0
call sub.USER32.dll_MessageBoxA
push 0xffffffffffffffff
call sub.KERNEL32.dll_ExitProcess
leave
ret
Function at 0x402a64
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041dc
test esi, esi
jne 0x402a9a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004042cc
jmp 0x402ab8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402ab8
cmp dword [ebx], 0
je 0x402ab8
dec esi
jmp 0x402aa1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x485020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403318
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032f8
xor eax, eax
push ebp
push 0x4032f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403334
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x485020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x485020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403fdc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x488048], 0
je 0x40403d
cmp word [0x48821c], 0xd7b2
jne 0x404005
cmp dword [0x488224], 0
jbe 0x404005
mov eax, 0x488218
call dword [0x488234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x485074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404064
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x485030], 0
jne 0x404059
push 0
push 0x48506c
push 0x485074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x488049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404158
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40580c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a3c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40588f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40588f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405918
xor eax, eax
push ebp
push 0x405911
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405654
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4058f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405a78
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4058f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405918
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405a32
cmp byte [ebp - 0xd], 0
jne 0x40595f
cmp byte [ebp - 0x12], 0
je 0x405a32
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405978
dec ebx
cmp byte [ebx], 0x2e
je 0x405987
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405977
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405a32
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4059c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405a32
cmp byte [ebp - 0xd], 0
je 0x405a32
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405a32
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret