joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7980
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a17e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x677128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040d6d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCToolBarButton.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00404320
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00404320
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00604070
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.006014f0
mov ecx, dword [ebp - 0x10]
call fcn.004b7b10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004b99e0
cmp dword [ebp + 0x10], 0
jne 0x4b7a34
mov dword [ebp - 0x14], 0x61af9c
jmp 0x4b7a3a
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00404420
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x4b7af2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jne 0x4b7af2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x4b7ab0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0xffffffff
je 0x4b7a93
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00484b10
mov ecx, eax
call fcn.00484c90
jmp 0x4b7aae
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00484b10
mov ecx, eax
call fcn.00484d00
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
jmp 0x4b7af2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xffffffff
je 0x4b7ad7
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00484b10
mov ecx, eax
call fcn.00484c90
jmp 0x4b7af2
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call fcn.00484b10
mov ecx, eax
call fcn.00484d00
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4dc290
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dc2c4
push str.m_hKey___0
push 0
push 0x170a
push 0x61daa0
push 2
call fcn.005d7b10
add esp, 0x14
cmp eax, 1
jne 0x4dc2c4
int3
xor edx, edx
jne 0x4dc2c4
xor eax, eax
jne 0x4dc29b
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4dc2ff
mov eax, dword [ebp - 0xc]
jmp 0x4dc30e
cmp dword [ebp - 4], 4
je 0x4dc30c
mov eax, 0xd
jmp 0x4dc30e
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4dc320
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x4dc352
push str.pnBytes___0
push 0
push 0x1733
push 0x61daa0
push 2
call fcn.005d7b10
add esp, 0x14
cmp eax, 1
jne 0x4dc352
int3
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
jne 0x4dc37b
push str.m_hKey___0
push 0
push 0x1734
push 0x61daa0
push 2
call fcn.005d7b10
add esp, 0x14
cmp eax, 1
jne 0x4dc37b
int3
xor eax, eax
jne 0x4dc37b
xor ecx, ecx
jne 0x4dc352
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4dc3af
mov eax, dword [ebp - 8]
jmp 0x4dc3be
cmp dword [ebp - 4], 3
je 0x4dc3bc
mov eax, 0xd
jmp 0x4dc3be
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4dc3d0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4dc402
push str.m_hKey___0
push 0
push 0x1805
push 0x61daa0
push 2
call fcn.005d7b10
add esp, 0x14
cmp eax, 1
jne 0x4dc402
int3
xor edx, edx
jne 0x4dc402
xor eax, eax
jne 0x4dc3d9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4dc430
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4dc462
push str.m_hKey___0
push 0
push 0x180d
push 0x61daa0
push 2
call fcn.005d7b10
add esp, 0x14
cmp eax, 1
jne 0x4dc462
int3
xor edx, edx
jne 0x4dc462
xor eax, eax
jne 0x4dc439
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x575200
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00574e50
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x575256
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00423e40
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.0040bf30
jmp 0x575268
mov ecx, dword [ebp + 0x10]
call fcn.004af650
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00411380
mov esp, ebp
pop ebp
ret 0xc

Function at 0x575350
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.00432900
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
cmp eax, 3
je 0x57538d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00574e50
jmp 0x575399
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00574e80
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x5753fd
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x5753d4
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00423e40
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x5753f1
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.0040d690
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.0040bf30
jmp 0x57542e
mov ecx, dword [ebp + 0x10]
call fcn.004af650
push eax
push 0xffffffffffffffff
push 0x14d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x57542e
mov ecx, dword [ebp + 0x10]
call fcn.004af650
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00411380
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5d3830
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x677128]
jne 0x5d383a
repz ret
jmp fcn.005e2b00
Function at 0x41f030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x418015
lea edi, [esi - 0x17015]
push edi
or ebp, 0xffffffff
jmp 0x41f052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f048
mov eax, 1
add ebx, ebx
jne 0x41f06b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f060
jne 0x41f07c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f060
xor ecx, ecx
sub eax, 3
jb 0x41f090
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f102
mov ebp, eax
add ebx, ebx
jne 0x41f09b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f0a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f0cc
inc ecx
add ebx, ebx
jne 0x41f0b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f0ad
jne 0x41f0c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f0ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f0ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f0dd
jmp 0x41f04e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f0ec
add edi, ecx
jmp 0x41f04e
pop esi
mov edi, esi
mov ecx, 0x59
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f10a
cmp byte [edi], 2
jne 0x41f10a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41f10f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f17e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f13c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f058]
or eax, eax
je 0x41f178
mov dword [ebx], eax
add ebx, 4
jmp 0x41f159
call dword [esi + 0x1f054]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41f1af
cmp al, 0xef
ja 0x41f1a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41f184
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41f191
mov ebp, dword [esi + 0x1f05c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1f20a]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41f1fb
sub esp, 0xffffff80
jmp 0x4013f0
Function at 0x10001330
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000139d
cmp dword [ebp - 4], 1
je 0x1000136a
cmp dword [ebp - 4], 6
je 0x10001357
jmp 0x100013a8
cmp dword [ebp + 0x10], 0
je 0x10001368
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x10067894]
mov dword [ecx], edx
jmp 0x100013a8
push str._SyDbgOut__QQSPY_DllMain::DLL_PROCESS_ATTACH
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
mov dword [0x10067894], eax
push 0
push 0
push 0
push 0x1000a670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100013a8
push str._SyDbgOut__QQSPY_DllMain::DLL_PROCESS_DETACH
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003f00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100516c6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1444
call fcn.100253c0
mov eax, dword [0x100643f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x1005b700
lea ecx, [ebp - 0x1430]
call fcn.1000a880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1454]
push eax
call fcn.10003d30
add esp, 4
mov dword [ebp - 0x143c], eax
mov ecx, dword [ebp - 0x143c]
mov dword [ebp - 0x1438], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1438]
push edx
lea ecx, [ebp - 0x1430]
call fcn.1000aa00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1454]
call fcn.1000a9c0
push 0x1005b70c
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
cmp dword [ebp + 8], 1
jne 0x10003fbb
push str._CaptureScreen_
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
jmp 0x10004030
cmp dword [ebp + 8], 2
jne 0x10003fd3
push 0x1005b720
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
jmp 0x10004030
cmp dword [ebp + 8], 3
jne 0x10003feb
push 0x1005b72c
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
jmp 0x10004030
cmp dword [ebp + 8], 4
jne 0x10004003
push 0x1005b73c
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
jmp 0x10004030
cmp dword [ebp + 8], 5
jne 0x10004030
push 0x1005b750
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1430]
call fcn.1000a9c0
jmp 0x10004116
mov byte [ebp - 4], 2
mov byte [ebp - 0x1418], 0
push 0x1400
push 0
lea eax, [ebp - 0x1417]
push eax
call fcn.1001f4a0
add esp, 0xc
mov dword [ebp - 0x1434], 0
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp - 0x1434]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x1400
lea ecx, [ebp - 0x1418]
push ecx
call fcn.10018a8d
add esp, 0x10
push 0x1005b758
lea edx, [ebp - 0x1418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x1434], 0
lea eax, [ebp - 0x1418]
push eax
lea ecx, [ebp - 0x1430]
call fcn.1000aa20
jmp 0x100040c9
mov dword [ebp - 4], 0
jmp 0x100040d9
lea ecx, [ebp - 0x1430]
call fcn.1000ab50
push eax
push 0x10067528
call fcn.10011480
add esp, 8
lea ecx, [ebp - 0x1430]
call fcn.1000ab50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1430]
call fcn.1000a9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10016e8b
mov esp, ebp
pop ebp
ret
Function at 0x10004140
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051706
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2844
call fcn.100253c0
mov eax, dword [0x100643f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str._SyDbgOut__
lea ecx, [ebp - 0x2830]
call fcn.1000b590
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2854]
push eax
call fcn.10003da0
add esp, 4
mov dword [ebp - 0x283c], eax
mov ecx, dword [ebp - 0x283c]
mov dword [ebp - 0x2838], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2838]
push edx
lea ecx, [ebp - 0x2830]
call fcn.1000b710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2854]
call fcn.1000b6d0
push 0x1005b780
lea ecx, [ebp - 0x2830]
call fcn.1000b730
cmp dword [ebp + 8], 1
jne 0x100041fb
push 0x1005b784
lea ecx, [ebp - 0x2830]
call fcn.1000b730
jmp 0x10004270
cmp dword [ebp + 8], 2
jne 0x10004213
push str._Clipboard_
lea ecx, [ebp - 0x2830]
call fcn.1000b730
jmp 0x10004270
cmp dword [ebp + 8], 3
jne 0x1000422b
push str._PrintMonitor_
lea ecx, [ebp - 0x2830]
call fcn.1000b730
jmp 0x10004270
cmp dword [ebp + 8], 4
jne 0x10004243
push str._WatermarkMonitor_
lea ecx, [ebp - 0x2830]
call fcn.1000b730
jmp 0x10004270
cmp dword [ebp + 8], 5
jne 0x10004270
push str._QQSPY_
lea ecx, [ebp - 0x2830]
call fcn.1000b730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2830]
call fcn.1000b6d0
jmp 0x10004358
mov byte [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x2818], ax
push 0x2800
push 0
lea ecx, [ebp - 0x2816]
push ecx
call fcn.1001f4a0
add esp, 0xc
mov dword [ebp - 0x2834], 0
lea edx, [ebp + 0x10]
mov dword [ebp - 0x2834], edx
mov eax, dword [ebp - 0x2834]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1400
lea edx, [ebp - 0x2818]
push edx
call fcn.1001899d
add esp, 0x10
push 0x1005b814
lea eax, [ebp - 0x2818]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x2834], 0
lea ecx, [ebp - 0x2818]
push ecx
lea ecx, [ebp - 0x2830]
call fcn.1000b730
jmp 0x1000430b
mov dword [ebp - 4], 0
jmp 0x1000431b
lea ecx, [ebp - 0x2830]
call fcn.1000b7d0
push eax
push 0x10067578
call fcn.100117b0
add esp, 8
lea ecx, [ebp - 0x2830]
call fcn.1000b7d0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2830]
call fcn.1000b6d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10016e8b
mov esp, ebp
pop ebp
ret
Function at 0x10004380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005173b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100643f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x118], 0
push 0x104
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.1001f4a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, 1
imul eax, edx, 3
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x105
jae 0x10004400
jmp 0x10004405
call fcn.10018cb3
mov ecx, dword [ebp - 0x138]
mov byte [ebp + ecx - 0x118], 0
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x130]
call fcn.1000a880
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.1000abb0
movzx eax, al
test eax, eax
je 0x1000444e
push 0x1005b994
lea ecx, [ebp - 0x130]
call fcn.1000a9e0
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000a8c0
mov edx, dword [ebp - 0x134]
or edx, 1
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.1000a9c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016e8b
mov esp, ebp
pop ebp
ret

Function at 0x10004740
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100643f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xc
lea eax, [ebp - 0x10]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp + 8]
push edx
call fcn.1000a7f0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10003e10
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.1000b7d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x40]
call fcn.1000b6d0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10016e8b
mov esp, ebp
pop ebp
ret

Function at 0x10004940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
mov eax, dword [ebp + 8]
push eax
call fcn.1000a7f0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.10003e10
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
call fcn.1000b7d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x1000498c
mov dword [ebp - 8], 1
jmp 0x10004993
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov byte [ebp - 1], al
lea ecx, [ebp - 0x30]
call fcn.1000b6d0
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x100049ad
mov al, 1
jmp 0x100049af
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10004dc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x100643f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x42c], 0
push 0x424
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.1001f4a0
add esp, 0xc
push 0
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
je 0x10004e9b
mov dword [ebp - 0x42c], 0x428
lea ecx, [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x10004e8e
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40c]
push ecx
call fcn.10004da0
add esp, 8
test eax, eax
je 0x10004e72
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x430], edx
jmp 0x10004e8e
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
mov dword [ebp - 0x438], eax
jmp 0x10004e44
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x430], 1
ja 0x10004ea6
jmp 0x10004ec1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x430]
sub ecx, 1
mov dword [ebp - 0x430], ecx
jne 0x10004e9b
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]