joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f3c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10079138
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.10039cc0
test eax, eax
je 0x1003f4c8
lea ecx, [esp + 0xc]
call fcn.1000ea00
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.10039cc0
mov ecx, eax
call fcn.10037360
test eax, eax
je 0x1003f4af
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x1003f4af
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1003f4af
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.1000ec00
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x1003f491
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1003f4af
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x101bee78]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x10193d68
call fcn.1000ec00
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x1003f510
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.10039cc0
test eax, eax
je 0x1003f5ff
mov ecx, edi
call fcn.10039cc0
mov ecx, eax
call fcn.10037210
test eax, eax
jne 0x1003f5ff
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1003f5ff
mov eax, dword [0x101bee78]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x1003f572
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.10039cc0
mov ecx, eax
call fcn.10037440
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x1003f5ff
cmp ebx, eax
jne 0x1003f5ff
cmp dword [esp + 0x10], eax
jne 0x1003f5e5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x10042240
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100793c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x10042279
inc eax
mov dword [esi + 0x10], eax
jmp 0x1004238c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1004228d
mov eax, 0xffffffc7
jmp 0x1004238e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1004229e
cmp dword [esi + 8], eax
jne 0x1004228d
cmp dword [esi + 8], eax
jne 0x100422b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x100422b7
mov eax, 0xffffffc7
jmp 0x1004238e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x100422cb
push eax
mov ecx, ebx
call fcn.10041a70
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.1000ea00
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x100422fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1000ea20
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.100411e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x1004232f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10193d68
call fcn.1000ec00
mov eax, dword [esp + 0x38]
jmp 0x1004238e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.100420a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x10042373
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.100420c0
mov esi, eax
test esi, esi
jne 0x100423a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.100420a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10042345
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10193d68
call fcn.1000ec00
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10193d68
call fcn.1000ec00
mov eax, esi
jmp 0x1004238e

Function at 0x100454c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10045520
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10045520
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10045520
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10045520
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10045560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x1004b470
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100799f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.100721ea
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.1004ae10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10072118
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1006e9c2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1006e9c2
push 1
push 0
push 0
mov ecx, esi
call fcn.1006e96a
push 1
push 0
push 1
mov ecx, esi
call fcn.1006e96a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007225c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x1004b5f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10079a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100721ea
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.1004ae10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.10072118
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x1004b6b4
cmp dword [esp + 0x40], 1
jne 0x1004b6b2
cmp ecx, eax
jge 0x1004b6b4
mov eax, ecx
cmp eax, 0xc8
jge 0x1004b6c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.1004b470
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007225c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1004be30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10079a83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1006cde0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.10072492
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100739f1
test eax, eax
je 0x1004bf4c
mov ecx, dword [esp + 0x3c]
call fcn.100724bf
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1004bf10
push edi
mov ecx, esi
call fcn.1006fb11
mov ecx, esi
call fcn.1004c0b0
cmp dword [esp + 0x38], 1
jne 0x1004bf45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1006fc4c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1004e980
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1004e9b3
push esi
call fcn.10051a70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004e9ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1004ea39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1004ea22
mov eax, dword [esi + 8]
test eax, eax
je 0x1004e9d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004ea1e
cmp eax, 2
je 0x1004ea22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004e9ca
cmp eax, 3
je 0x1004e9fd
cmp eax, 1
jne 0x1004e9ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1004e9ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004e9ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1004ea60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1004ea48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1004ea60
add esp, 4
pop esi
ret

Function at 0x1005a270
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x1006dbd5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1006dc0d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1006bc8c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1006bc64
jmp 0x1006dc19
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1006f2c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1006f308
call fcn.10074ddc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1006f308
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1006f2ff
xor eax, eax
jmp 0x1006f310
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1006f316
pop edi
pop esi
pop ebx
ret 4
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1b8306ff
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x304e575d
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100598f
Capabilities:
Query environment variable

Disassembly:
push 0x14
mov eax, 0x10207d1
call fcn.01013512
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call fcn.01011f6f
mov dword [ebp - 4], ebx
mov edi, 0x80004005
cmp dword [ebp + 8], ebx
jne 0x10059cb
mov dword [ebp + 8], 0x80070057
jmp 0x1005b07
mov ecx, dword [ebp + 0xc]
call sub.MFC42u.dll_CString::Empty
push 0x1025788
xor ecx, ecx
push 2
pop edx
mov eax, 0x411
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101363f
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x1005a06
mov dword [ebp + 8], 0x8007000e
jmp 0x1005b07
mov esi, 0x410
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebx
je 0x1005b04
cmp eax, esi
ja 0x1005b04
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_SHEvaluateSystemCommandTemplate]
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1005b04
cmp byte [ebp + 0x14], bl
je 0x1005ac6
push 0x822
push ebx
push dword [ebp - 0x18]
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x18]
call fcn.010054db
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1005b07
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
test eax, eax
je 0x1005b04
push 0x1001c84
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x1005ac6
cmp dword [ebp - 0x1c], ebx
je 0x1005ac6
cmp dword [ebp - 0x14], ebx
je 0x1005aaf
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
push 0x1001c80
push dword [ebp - 0x1c]
call dword [sym.imp.msvcrt.dll_wcstok]
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x1005b04
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.010124eb
test eax, eax
jl 0x1005b07
lea ecx, [ebp - 0x20]
cmp byte [ebp + 0x10], bl
jne 0x1005ae5
call fcn.01011f88
jmp 0x1005aea
call fcn.01011f9c
mov ecx, dword [ebp + 0xc]
push eax
call fcn.01012aaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 8], ebx
je 0x1005b07
call sub.MFC42u.dll_CString::TrimLeft
jmp 0x1005b07
mov dword [ebp + 8], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 8], ebx
jne 0x1005b24
cmp byte [ebp + 0x10], bl
jne 0x1005b24
push 0x7b
call sub.MFC42u.dll_CString::LoadStringW
test eax, eax
jg 0x1005b24
mov dword [ebp + 8], edi
cmp dword [ebp - 0x18], ebx
je 0x1005b32
push dword [ebp - 0x18]
call fcn.0101302e
pop ecx
cmp byte [ebp - 0xd], bl
je 0x1005b45
cmp dword [ebp - 0x14], ebx
je 0x1005b45
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x1c], ebx
je 0x1005b53
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.01011f7a
mov eax, dword [ebp + 8]
call fcn.010135fe
ret 0x10
Function at 0x1009cf8
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0x690
mov eax, 0x1020f89
call fcn.01013585
push 7
xor ebx, ebx
pop eax
mov dword [ebp - 0x684], ecx
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x694], 0x18
mov dword [ebp - 0x690], ebx
mov dword [ebp - 0x678], ebx
push ebx
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1009f0c
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x674]
call sub.MFC42u.dll_CString::CString_1
push 0x5c
lea ecx, [ebp - 0x674]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::ReverseFind
lea ecx, [ebp - 0x674]
cmp eax, 0xffffffff
je 0x1009f03
push eax
lea eax, [ebp - 0x688]
push eax
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 1
call fcn.01012b16
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], bl
call fcn.01012a9e
mov eax, dword [ebp - 0x674]
mov ecx, eax
movzx eax, word [eax]
cmp ax, bx
je 0x1009dc5
movzx eax, ax
cmp ax, 0x20
jbe 0x1009dc5
inc ecx
inc ecx
movzx eax, word [ecx]
cmp ax, bx
jne 0x1009db5
cmp word [ecx], bx
je 0x1009efd
push 0x1002558
lea ecx, [ebp - 0x68c]
call sub.MFC42u.dll_CString::CString_1
push eax
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], bl
call fcn.01012a9e
lea eax, [ebp - 0x674]
push eax
lea ecx, [ebp - 0x67c]
call sub.MFC42u.dll_CString::CString_2
push 0x100254c
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString_1
push eax
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 3
call fcn.01012a9e
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x67c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1009eef
test byte [ebp - 0x670], 2
jne 0x1009ed2
lea eax, [ebp - 0x644]
push 0x1002534
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1009ed2
test byte [ebp - 0x670], 0x10
jne 0x1009ed2
push 0x10
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x69c], ecx
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x1009ebc
push dword [ebp - 0x674]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x644]
push eax
call fcn.01007f14
jmp 0x1009ebe
xor eax, eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1009ed2
mov ecx, dword [ebp - 0x684]
push eax
call fcn.010088e9
lea eax, [ebp - 0x670]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1009e5f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], bl
call fcn.01012a9e
lea ecx, [ebp - 0x674]
or dword [ebp - 4], 0xffffffff
call fcn.01012a9e
inc dword [ebp - 0x678]
mov eax, dword [ebp - 0x678]
mov eax, dword [ebp + eax*4 - 0x698]
cmp eax, ebx
jne 0x1009d2e
xor eax, eax
inc eax
call fcn.01013617
ret
Function at 0x100affd
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0x480
mov eax, 0x1021065
call fcn.01013585
push 7
pop eax
xor ebx, ebx
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], 0x18
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x474], ebx
mov dword [ebp - 0x46c], eax
mov ecx, 0x208
lea eax, [ebp - 0x218]
mov byte [eax], bl
inc eax
dec ecx
jne 0x100a49a
push ebx
push dword [ebp - 0x46c]
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100a60c
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x100a60c
movzx ecx, word [ebp - 0x218]
cmp cx, 0x20
jbe 0x100a4e7
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x100a4d7
cmp word [eax], bx
je 0x100a60c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x470]
call sub.MFC42u.dll_CString::CString_1
push 0x100254c
lea ecx, [ebp - 0x47c]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::CString_1
push eax
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], bl
call fcn.01012a9e
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100a5fd
test byte [ebp - 0x468], 2
jne 0x100a5e0
lea eax, [ebp - 0x43c]
push 0x1002534
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100a5e0
test byte [ebp - 0x468], 0x10
jne 0x100a5e0
push 0x2c
call sub.MFC42u.dll_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x48c], ecx
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x100a5a0
call fcn.010086de
mov esi, eax
jmp 0x100a5a2
xor esi, esi
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x100a5e0
push dword [ebp - 0x46c]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x43c]
push eax
mov ecx, esi
call fcn.010096ae
test eax, eax
je 0x100a5d8
mov ecx, dword [ebp - 0x478]
push esi
call fcn.0100823b
test eax, eax
jge 0x100a5e0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100a551
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.01012a9e
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
mov eax, dword [ebp + eax*4 - 0x488]
mov dword [ebp - 0x46c], eax
cmp eax, ebx
jne 0x100a48f
call fcn.01013617
ret
mov edi, edi
push esi
mov esi, ecx
call fcn.01009028
mov ecx, esi
pop esi
jmp 0x100a453

Function at 0x100b182
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
mov dword [esi + 0xa8], 1
call fcn.010076b7
push edi
mov ecx, esi
mov dword [esi + 0xa4], edi
call sub.MFC42u.dll_CWnd::EnableWindow
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x100b16c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
pop edi
pop esi
jne 0x100b1cc
mov eax, 0x80004005
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
leave
ret