joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401443
pop dword [ebp - 0x34]
mov eax, 0xf1fe9729
sub eax, 0xf1be82e6
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xc7a82596
sub dword [ebp - 0x44], 0x7955e04b
mov dword [ebp - 0x40], 0x5cb14b90
add dword [ebp - 0x40], 0xd58200b5
mov dword [ebp - 0x3c], 0xf0cf9945
sub dword [ebp - 0x3c], 0xa4835517
mov dword [ebp - 0x38], 0x5b4f678b
add dword [ebp - 0x38], 0xa4b09875
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3c5de650
add dword [ebp - 0x44], 0x38148306
mov dword [ebp - 0x40], 0xffc23598
add dword [ebp - 0x40], 0x41aa2bdd
mov dword [ebp - 0x3c], 0xa2b9604c
add dword [ebp - 0x3c], 0xc0b60c20
mov dword [ebp - 0x38], 0x87a4ffcd
sub dword [ebp - 0x38], 0x87a4ffcd
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x1f49fd59
sub eax, 0x1f097c59
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3ee1e
push 0
call eax
mov ecx, 0x625e
xor edx, edx
add edx, eax
mov edi, 0x7b998533
add edi, 0x84ad5ecd
add edi, dword [ebp - 0x34]
mov esi, 0x7f543aa3
sub esi, 0x623e2816
sub dword [ebp - 0x30], 0xaba34ad4
mov ebx, dword [edi]
add dword [ebp - 0x20], ecx
xor ebx, esi
add dword [ebp - 0xc], 0xa4585a88
mov dword [edx], ebx
add edx, 0xcc61a10
add edx, 0xf339e5f4
add edi, 0x95027bb7
add edi, 0x6afd844d
loop 0x40155c
add eax, 0x17c4b
mov ebx, eax
add eax, 0x6231241
sub eax, 0x623123c
mov ecx, 0x31d2daa5
sub ecx, 0x3192daa5
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x10358b8
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi + 0x30], eax
jne 0x10358d9
xor eax, eax
jmp 0x10358ec
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x103581a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret

Function at 0x1035cf9
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x1035d18
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [eax]
xor dl, byte [ebp + 0x14]
inc eax
mov byte [ecx], dl
inc ecx
dec esi
jne 0x1035d0c
pop esi
pop ebp
ret 0x10

Function at 0x10375d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov esi, ecx
je 0x1037685
mov eax, dword [0x1113528]
add eax, 0x74
mov dword [ebp - 8], eax
push ebx
push dword [edi + 0x100266c]
call fcn.01035c2c
test eax, eax
je 0x1037678
mov ecx, dword [ebp - 8]
lea eax, [edi + 0x1002678]
push dword [eax + 4]
push dword [eax]
call fcn.01063f5e
test eax, eax
je 0x1037678
lea eax, [ebp - 4]
push eax
push dword [edi + 0x100266c]
mov eax, esi
neg eax
lea ecx, [esi + 0xc]
sbb eax, eax
and eax, ecx
push eax
call fcn.01062306
test eax, eax
jl 0x1037678
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x103766f
lea ebx, [esi + 0x34]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0105f7db
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 4]
je 0x1037668
cmp dword [ebp + 0xc], 0
jne 0x103764d
jmp 0x103766f
mov dword [eax + 0x28], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 0x14
cmp edi, 0x3c
jb 0x10375fb
pop ebx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10376fa
push 0x20019
push edi
push 0x80000001
push 0x1001bd0
lea ecx, [ebp - 0x24]
call fcn.01064103
mov eax, dword [esi + 0x80]
push dword [eax*4 + 0x10026bc]
lea ecx, [ebp - 0x24]
push 0x1001f0c
call fcn.01063f5e
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx*4 + 0x10026bc]
cmp eax, edx
ja 0x10376df
cmp ecx, 5
mov edi, edx
jae 0x10376e1
inc ecx
mov dword [esi + 0x80], ecx
jmp 0x10376e1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x7530
div ecx
lea ecx, [ebp - 0x24]
add edi, edx
call fcn.0106413d
push 0
push edi
push 0x67
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
leave
ret 8
Function at 0x1037732
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x111121c]
push ebx
push esi
mov dword [ebp - 4], eax
mov esi, ecx
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x298]
push eax
xor ebx, ebx
push 0x101
mov dword [ebp - 0x29c], ebx
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x10378eb
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x103785a
lea eax, [ebp - 0x108]
push eax
call sub.WSOCK32.dll_gethostbyname
cmp eax, ebx
je 0x103785a
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call fcn.01037713
test eax, eax
je 0x103785a
cmp dword [ebp - 0x2a0], ebx
je 0x103785a
push edi
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [esi + 0x34]
call fcn.0105f7db
cmp dword [eax + 0x28], ebx
je 0x103784d
mov ecx, dword [0x1113528]
cmp dword [ecx + 0x5f0], ebx
jne 0x103784d
mov edi, dword [eax + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x2a8]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
jl 0x103784d
cmp dword [ebp - 0x2a8], 1
jne 0x103784d
mov eax, dword [edi]
push ebx
push ebx
push edi
call dword [eax + 0x4c]
test eax, eax
jge 0x1037843
mov eax, dword [0x1113528]
push ebx
push ebx
push edi
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a4], eax
call fcn.01062bda
mov ecx, dword [ebp - 0x29c]
push eax
push 0x400
push edi
call fcn.0104b05e
mov ecx, dword [ebp - 0x2a4]
push eax
call fcn.0104eca5
mov dword [ebp - 0x29c], 1
cmp dword [ebp - 0x2a0], ebx
jne 0x10377c1
pop edi
call sub.WSOCK32.dll_WSACleanup
cmp dword [ebp - 0x29c], ebx
je 0x10378eb
push 0x67
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x20019
push ebx
push 0x80000001
push 0x1001bd0
lea ecx, [ebp - 0x2c4]
call fcn.01064103
mov eax, dword [esi + 0x80]
push dword [eax*4 + 0x10026bc]
lea ecx, [ebp - 0x2c4]
push 0x1001f0c
call fcn.01063f5e
mov ecx, dword [esi + 0x80]
mov ecx, dword [ecx*4 + 0x10026bc]
cmp eax, ecx
ja 0x10378c1
mov eax, ecx
push ebx
push eax
push 0x67
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0x80]
cmp eax, 5
jae 0x10378e0
inc eax
mov dword [esi + 0x80], eax
lea ecx, [ebp - 0x2c4]
call fcn.0106413d
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0105eca9
leave
ret
Function at 0x10391ef
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0x81000323
push esi
mov esi, ecx
je 0x10392ca
cmp dword [ebp + 8], 0x81000347
je 0x10392ca
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [ebp + 8], eax
je 0x10392ca
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x34]
call fcn.0105f7db
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x14]
jne 0x10392bf
push 0x20019
push 0
push 0x80000001
push 0x1001bd0
lea ecx, [ebp - 0x1c]
mov dword [eax + 0x28], 1
call fcn.01064103
mov eax, dword [esi + 0x80]
push dword [eax*4 + 0x10026bc]
lea ecx, [ebp - 0x1c]
push 0x1001f0c
call fcn.01063f5e
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx*4 + 0x10026bc]
cmp eax, edx
ja 0x1039296
cmp ecx, 5
mov edi, edx
jae 0x1039298
inc ecx
mov dword [esi + 0x80], ecx
jmp 0x1039298
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x7530
div ecx
lea ecx, [ebp - 0x1c]
add edi, edx
call fcn.0106413d
push 0
push edi
push 0x67
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [ebp + 8], 0
jne 0x1039223
pop edi
pop esi
leave
ret 8

Function at 0x103a50f
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
call fcn.01036aaa
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
je 0x103a548
lea eax, [ebp - 0x10]
push eax
push 0x65
mov ecx, esi
mov dword [esi + 0x7c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.01039be0
jmp 0x103a61a
mov eax, dword [ebp + 8]
cmp eax, 0x81000301
jl 0x103a61a
cmp eax, 0x81000302
jle 0x103a56f
cmp eax, 0x8100030d
je 0x103a56f
cmp eax, 0x8100031d
jne 0x103a61a
mov eax, dword [esi + 0x38]
cmp eax, ebx
push edi
mov dword [ebp + 8], eax
je 0x103a59e
lea edi, [esi + 0x34]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0105f7db
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp + 0xc]
je 0x103a597
cmp dword [ebp + 8], ebx
jne 0x103a57d
jmp 0x103a59e
mov dword [eax + 0x28], 1
push 0x20019
push ebx
push 0x80000001
push 0x1001bd0
lea ecx, [ebp - 0x1c]
call fcn.01064103
mov eax, dword [esi + 0x80]
push dword [eax*4 + 0x10026bc]
lea ecx, [ebp - 0x1c]
push 0x1001f0c
call fcn.01063f5e
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx*4 + 0x10026bc]
cmp eax, edx
ja 0x103a5f1
cmp ecx, 5
mov edi, edx
jae 0x103a5f3
inc ecx
mov dword [esi + 0x80], ecx
jmp 0x103a5f3
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x7530
div ecx
lea ecx, [ebp - 0x1c]
add edi, edx
call fcn.0106413d
push ebx
push edi
push 0x67
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
push ebx
call fcn.0103f311
pop esi
pop ebx
leave
ret 8
Function at 0x103cb04
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x111121c]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x418], eax
xor esi, esi
xor eax, eax
mov word [ebp - 0x414], si
mov ecx, 0x81
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push 5
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
mov esi, 0x104
push esi
jne 0x103cb6c
push 0x1002e78
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
jmp 0x103cb9e
lea eax, [ebp - 0x20c]
push eax
call fcn.0103f0fb
mov edi, eax
test edi, edi
jl 0x103cb95
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x103cb9a
mov edi, 0x80004005
test edi, edi
jl 0x103cbe8
and word [ebp - 0x20c], 0
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push 0xa227
push dword [0x1112f58]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.0105eca9
leave
ret 8
Function at 0x103d47f
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor esi, esi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
mov edi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x103d5ed
push esi
lea ecx, [ebp - 8]
push ecx
push 0x24
push 0x1002d28
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x103d5e4
cmp dword [ebp - 8], 0x24
jne 0x103d5e4
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov dword [ebp - 0x10], esi
call dword [eax + 0x7c]
mov edi, eax
cmp edi, esi
jl 0x103d5e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov edi, eax
cmp edi, esi
jl 0x103d5b3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x28]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x103d5aa
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 8]
push edx
push 0x1009d28
mov dword [ebp + 8], esi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
cmp edi, esi
jl 0x103d599
push dword [ebp + 8]
call fcn.01060d13
test eax, eax
je 0x103d590
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp edi, esi
jl 0x103d590
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x18], esi
je 0x103d587
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0103d1b9
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jge 0x103d50d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jl 0x103d5e4
push esi
lea eax, [ebp - 8]
push eax
push 0xe
push 0x1002e08
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x103d5df
cmp dword [ebp - 8], 0xe
je 0x103d5e4
mov edi, 0x80004005
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x103f482
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x10], eax
push edi
mov dword [ebp - 4], 0x80004005
mov edi, 0x10043f0
mov ebx, 0x1048
jne 0x103f4d4
push edi
push ebx
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 0x10], eax
je 0x103f4d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x103f4d4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
cmp dword [esi + 0x10], 0
jne 0x103f4e8
push edi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x10], eax
mov esi, dword [esi + 0x10]
test esi, esi
je 0x103f53f
push ebx
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov eax, 0x824
je 0x103f528
cmp dword [ebp + 0xc], eax
jae 0x103f510
mov eax, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x103f53f
cmp dword [ebp + 0xc], eax
jae 0x103f530
mov eax, dword [ebp + 0xc]
push eax
push 0x1001bc8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x103fd96
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x111121c]
push esi
push 0x1001bc8
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
call fcn.0103f54e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x103fe7e
push ebx
mov ebx, 0x104
push edi
mov ax, word [esi]
test ax, ax
je 0x103fe7c
cmp ax, 0x20
jne 0x103fdea
inc esi
inc esi
jmp 0x103fe74
cmp ax, 0x22
jne 0x103fe35
inc esi
push 0x1004414
inc esi
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
mov edi, eax
test edi, edi
je 0x103fe74
sub eax, esi
sar eax, 1
inc eax
cmp eax, ebx
jbe 0x103fe0f
mov eax, ebx
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0103fd39
lea esi, [edi + 2]
jmp 0x103fe74
xor edi, edi
test ax, ax
je 0x103fe47
inc edi
mov ax, word [esi + edi*2]
cmp ax, 0x20
jne 0x103fe37
lea eax, [edi + 1]
cmp eax, ebx
jbe 0x103fe50
mov eax, ebx
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0103fd39
lea esi, [esi + edi*2]
test esi, esi
jne 0x103fdd1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0105eca9
leave
ret
Function at 0x104155f
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x768
mov eax, dword [0x111121c]
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x760], eax
call ebx
push 1
push dword [edi + 0xb04]
mov dword [ebp - 0x768], eax
push eax
push dword [esi + 4]
call fcn.01062f57
cmp eax, 1
jne 0x1041724
mov eax, dword [ebp - 0x760]
test eax, eax
je 0x10415c9
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x1041649
push dword [edi + 0xb04]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x75c]
call fcn.010d7131
push 0xa1eb
lea ecx, [ebp - 0x75c]
call fcn.010d5ef6
push 0xa1f4
lea ecx, [ebp - 0x75c]
call fcn.010d5f3c
push 0xa1fd
lea ecx, [ebp - 0x75c]
call fcn.010d5fea
lea ecx, [edi + 0x28]
call fcn.0108977f
push eax
lea ecx, [ebp - 0x75c]
call fcn.010d5ec7
push 0
lea eax, [ebp - 0x760]
push eax
push dword [edi + 0xb04]
lea ecx, [ebp - 0x75c]
call fcn.010d815c
lea ecx, [ebp - 0x75c]
call fcn.010d7262
xor eax, eax
cmp dword [ebp - 0x760], eax
mov dword [ebp - 0x764], eax
je 0x1041724
push eax
push 1
push eax
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x764]
push ecx
mov ecx, dword [0x1113528]
push eax
push 1
push dword [ebp - 0x760]
call fcn.0104d78d
test eax, eax
jl 0x1041718
mov edi, dword [ebp - 0x764]
mov ecx, edi
call fcn.01040eef
test eax, eax
je 0x10416b1
push 0
push 0
push 0x40
push 0x9edb
push dword [edi + 0x2614]
call fcn.01062c09
jmp 0x1041718
test edi, edi
je 0x1041718
xor edi, edi
cmp dword [ebp - 0x768], edi
jbe 0x1041718
cmp edi, 0xa
jae 0x1041718
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [esi + 4]
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x104170f
cmp eax, 0xffffffff
je 0x104170f
mov ecx, dword [0x1113528]
test ecx, ecx
je 0x104170f
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x760]
push dword [ebp - 0x764]
call fcn.0104d66c
inc edi
cmp edi, dword [ebp - 0x768]
jb 0x10416bf
mov eax, dword [ebp - 0x760]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8

Function at 0x104246b
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
push esi
push 0x1005994
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x10424c5
push edi
push esi
push 0x1005978
push esi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
cmp edi, esi
je 0x10424c4
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
pop edi
pop esi
leave
ret 4
Function at 0x1045e90
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1045eb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1045eb9
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1045fd0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp byte [0x1113510], bl
jne 0x1046057
push 0x20019
push ebx
push 0x80000001
push 0x1005df0
lea ecx, [ebp - 0x1c]
call fcn.01064103
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jle 0x104600f
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x104602d
push ebx
push 0x1005e38
lea ecx, [ebp - 0x1c]
call fcn.01063f5e
cmp eax, 1
jne 0x104602d
mov byte [0x1113505], al
push 0x11132a0
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x1046048
mov word [0x11132a0], bx
lea ecx, [ebp - 0x1c]
mov byte [0x1113510], 1
call fcn.0106413d
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x104646c
Capabilities:
Link many functions at runtime

Disassembly:
cmp byte [0x1113505], 0
push edi
mov edi, 0x80070057
jne 0x104664b
xor edi, edi
cmp dword [0x11134fc], edi
jne 0x104664b
push esi
push 0x1005fb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x11134fc], eax
je 0x1046640
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 2
push eax
call esi
test eax, eax
mov dword [0x11134b0], eax
je 0x1046640
push 3
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134b4], eax
je 0x1046640
push 4
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134b8], eax
je 0x1046640
push 5
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134bc], eax
je 0x1046640
push 8
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134c4], eax
je 0x1046640
push 9
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134c8], eax
je 0x1046640
push 0xa
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134cc], eax
je 0x1046640
push 0xb
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134d0], eax
je 0x1046640
push 0xc
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134d4], eax
je 0x1046640
push 0x12
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134d8], eax
je 0x1046640
push 0x13
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134dc], eax
je 0x1046640
push 0x16
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134c0], eax
je 0x1046640
push 0x1d
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134e0], eax
je 0x1046640
push 0x1e
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134e4], eax
je 0x1046640
push 0x1f
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134e8], eax
je 0x1046640
push 0x20
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134ec], eax
je 0x1046640
push 0x21
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134f0], eax
je 0x1046640
push 0x2e
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134f4], eax
je 0x1046640
push 0x2f
push dword [0x11134fc]
call esi
test eax, eax
mov dword [0x11134f8], eax
jne 0x104664a
mov edi, 0x80004005
call fcn.010463d8
pop esi
mov eax, edi
pop edi
ret