joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1029156
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x104ca06
call fcn.0102eb23
call fcn.01023619
test eax, eax
jne 0x102922f
push 7
pop ecx
xor esi, esi
mov dword [ebp - 0x54], esi
lea edi, [ebp - 0x50]
push 0x10075ec
rep stosd dword es:[edi], eax
call dword [sym.imp.msvcrt.dll__wgetenv]
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.01010e7e
push 0x10075bc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.01010dac
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x3c], 0x1007590
mov dword [ebp - 0x38], esi
jae 0x10291c1
lea eax, [ebp - 0x28]
push esi
push esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
push 0x1028bef
push esi
push esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], 0x1007550
mov dword [ebp - 0x40], 0x10015dc
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push edi
mov dword [ebp - 0x30], edi
call fcn.0100d382
test al, al
je 0x1029224
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x34]
push 0x10074c8
call fcn.0101c26a
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.0100d39e
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0100e576
call fcn.0102ebb5
ret

Function at 0x102923a
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x104ca06
call fcn.0102eb23
push 7
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x54], esi
lea edi, [ebp - 0x50]
push 0x10075ec
rep stosd dword es:[edi], eax
call dword [sym.imp.msvcrt.dll__wgetenv]
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.01010e7e
push 0x1007698
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.01010dac
push 8
pop eax
cmp dword [ebp - 0x14], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x3c], 0x1007590
mov dword [ebp - 0x38], esi
jae 0x1029298
lea eax, [ebp - 0x28]
push esi
push esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
push 0x1028bef
push esi
push esi
mov dword [ebp - 0x44], 0x1007690
mov dword [ebp - 0x4c], 0x1007484
mov dword [ebp - 0x40], 0x10015dc
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push edi
mov dword [ebp - 0x30], edi
call fcn.0100d382
test al, al
je 0x10292ff
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x34]
push 0x1007608
call fcn.0101c26a
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.0100d39e
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0100e576
call fcn.0102ebb5
ret
Function at 0x10295c6
Capabilities:
Check mutex on windows
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1054254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x418], eax
cmp eax, ebx
je 0x1029791
cmp dword [ebp + 0xc], ebx
je 0x1029791
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jne 0x1029633
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1029796
and eax, 0xffff
or eax, 0x80070000
jmp 0x1029796
cmp eax, edi
jae 0x1029791
push ebx
push 0x100241c
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100e36e
cmp eax, ebx
jl 0x1029796
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1029692
call esi
cmp eax, 0xb7
je 0x1029692
call esi
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1007710
call fcn.0101c26a
add esp, 0xc
call esi
jmp 0x102961c
push 0x1006fd0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10296cd
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x10296cd
cmp eax, 0x80
je 0x10296cd
push ebx
lea eax, [ebp - 0x420]
push eax
call fcn.0100d39e
mov dword [ebp - 0x41c], ebx
push dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push 0x10076f0
push edi
push eax
call fcn.01013376
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0x1029748
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x418]
call fcn.0100e11f
mov ebx, eax
test ebx, ebx
jl 0x1029748
xor ebx, ebx
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x102975a
call esi
cmp eax, 0xb7
jne 0x1029767
inc dword [ebp - 0x41c]
cmp dword [ebp - 0x41c], 0xffffffff
jb 0x10296d3
mov ebx, 0x80070003
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0102526f
mov eax, ebx
jmp 0x1029796
push dword [ebp - 0x418]
call fcn.0102951c
jmp 0x1029748
call esi
push eax
push dword [ebp - 0x418]
push 0x1007710
call fcn.0101c26a
add esp, 0xc
call esi
cmp eax, ebx
jle 0x102978d
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x1029748
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102ea9b
leave
ret 8
Function at 0x1029826
Capabilities:
Delete registry key
Identify system language via api
Query or enumerate registry key

Disassembly:
push 0x854
mov eax, 0x104cb09
call fcn.0102eb23
xor esi, esi
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x820], esi
call fcn.01027735
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], esi
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], esi
call fcn.010307ff
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x814], esi
call dword [sym.imp.ntdll.dll_NtIsUILanguageComitted]
test eax, eax
jge 0x102988e
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1029a08
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x83c]
push eax
push 0x98
push 0x10294dc
call dword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
mov edi, 0x1006600
push edi
push 0x1007778
call fcn.0101c26a
pop ecx
pop ecx
lea eax, [ebp - 0x814]
push eax
push 0xf003f
push esi
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x10298f5
mov dword [ebp - 0x814], esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1029a12
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x844]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x818], esi
mov ebx, 0x400
push esi
jmp 0x102997f
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x860]
call fcn.01010e7e
push eax
push dword [ebp - 0x828]
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
call fcn.01029485
push esi
push 1
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 1
call fcn.0100e576
inc dword [ebp - 0x818]
lea eax, [ebp - 0x844]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x818]
push dword [ebp - 0x814]
mov dword [ebp - 0x81c], ebx
call edi
cmp eax, esi
je 0x1029921
cmp eax, 0x103
jne 0x10298e9
mov ebx, dword [ebp - 0x828]
mov edi, dword [ebx]
jmp 0x1029a04
cmp dword [edi + 0x20], 8
jb 0x10299b1
mov eax, dword [edi + 0xc]
jmp 0x10299b4
lea eax, [edi + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
cmp ax, word [ebp - 0x830]
je 0x1029a02
cmp eax, esi
je 0x10299df
mov edx, dword [ebp - 0x838]
mov ecx, dword [edx]
jmp 0x10299db
cmp word [ecx + 8], ax
je 0x1029a02
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x10299d3
cmp dword [edi + 0x20], 8
jb 0x10299ea
mov eax, dword [edi + 0xc]
jmp 0x10299ed
lea eax, [edi + 0xc]
push eax
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, esi
jne 0x10298e9
mov edi, dword [edi]
cmp edi, ebx
jne 0x10299a6
mov dword [ebp - 0x820], 1
push esi
lea eax, [ebp - 0x814]
push eax
call fcn.01012df6
lea ecx, [ebp - 0x83c]
call fcn.01027753
lea ecx, [ebp - 0x82c]
call fcn.010294be
mov eax, dword [ebp - 0x820]
call fcn.0102ebb5
ret
Function at 0x1029dc3
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x1054254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x1029e26
lea eax, [ebp - 0x804]
push eax
push 0
push 0xc
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 5
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0102ea9b
leave
ret 0xc

Function at 0x102bc91
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x1054254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp - 0x61c]
push eax
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x620], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x102bce6
xor eax, eax
jmp 0x102be06
push edi
push 0x1008810
lea eax, [ebp - 0x61c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100e11f
test eax, eax
jl 0x102bcdf
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileMUIPath]
jmp 0x102bd2a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x102bd5a
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x620], esi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x624]
push eax
push edi
lea eax, [ebp - 0x414]
push eax
push edi
call ebx
test eax, eax
jne 0x102bd0d
jmp 0x102bddf
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x630]
push esi
add eax, 0x434
push eax
call fcn.0100d5f0
test eax, eax
jl 0x102bddf
push edi
push 0x10087f8
lea eax, [ebp - 0x61c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100e11f
test eax, eax
jge 0x102bda8
jmp 0x102bddf
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x102bde3
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x624]
push eax
push edi
lea eax, [ebp - 0x414]
push eax
push edi
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x620], esi
call ebx
test eax, eax
jne 0x102bd97
xor eax, eax
jmp 0x102be05
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x630]
push esi
add eax, 0x63c
push eax
call fcn.0100d5f0
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0102ea9b
leave
ret
Function at 0x102be19
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x102be3d
cmp dword [ebp + 8], ebx
je 0x102be33
cmp dword [ebp + 0xc], ebx
jne 0x102be3d
mov eax, 0x80070057
jmp 0x102bf43
mov eax, dword [esi + 0x10]
cmp eax, 1
je 0x102be59
cmp eax, 2
je 0x102be59
cmp eax, 5
je 0x102be59
mov eax, 0x80070032
jmp 0x102bf43
push edi
lea edi, [esi + 0x870]
mov ecx, edi
call fcn.0101317c
test al, al
je 0x102be75
mov eax, 0x80070032
jmp 0x102bf42
mov eax, dword [esi + 0x10]
dec eax
je 0x102be82
dec eax
jne 0x102be93
push 4
jmp 0x102be84
push 3
mov ecx, edi
call fcn.0101ac9c
cmp eax, ebx
jl 0x102bf42
cmp dword [esi + 0x14], ebx
je 0x102beb9
mov edi, dword [ebp + 0xc]
push edi
lea ecx, [esi + 0x8dc]
call fcn.0100ce2e
mov eax, dword [ebp + 8]
cmp dword [esi + 0x14], ebx
mov dword [esi + 0x884], eax
mov dword [esi + 0x888], edi
sete al
movzx eax, al
push eax
lea ecx, [esi + 0x8dc]
call fcn.0100ce42
push ebx
push ebx
push esi
push 0x102b109
push ebx
push ebx
mov dword [esi + 0x95c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0x880]
mov dword [edi], eax
cmp eax, ebx
je 0x102bf40
cmp dword [esi + 0x10], 1
jne 0x102bf05
lea eax, [esi + 0x24]
cmp word [eax], bx
je 0x102bf05
cmp eax, ebx
je 0x102bf05
push eax
call fcn.010277e6
cmp dword [esi + 0x14], ebx
jne 0x102bf40
push 0x1008870
call fcn.0101c26a
cmp dword [esi + 0x10], 5
pop ecx
jne 0x102bf24
mov ecx, esi
call fcn.0102a43e
jmp 0x102bf2e
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push edi
call fcn.0100d39e
push 0x1008828
call fcn.0101c26a
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x102c6e9
Capabilities:
Create thread

Disassembly:
push 0x34
mov eax, 0x104ce3c
call fcn.0102eab0
mov esi, ecx
call fcn.0102a3fd
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x102c3fc
xor eax, eax
jmp 0x102c532
push ebx
push 0x10064e0
push 0x80000001
lea eax, [ebp - 0x14]
push eax
call fcn.0101881d
mov ecx, dword [eax]
mov edi, ecx
mov dword [eax], ebx
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
xor ebx, ebx
inc ebx
test ecx, ecx
je 0x102c42c
push ebx
call fcn.01015d88
test edi, edi
je 0x102c484
mov ecx, edi
call fcn.0101317c
test al, al
jne 0x102c484
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov dword [esi + 0x958], ebx
call fcn.01018c8c
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0101a59e
push eax
lea ecx, [esi + 0x8a4]
mov byte [ebp - 4], 2
call fcn.01015dae
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.0100e576
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.01015cfe
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x102c494
push ebx
mov ecx, edi
call fcn.01015d88
push 0
push 0x1006538
push 0x80000001
lea eax, [ebp - 0x14]
push eax
call fcn.0101881d
mov ecx, dword [eax]
and dword [eax], 0
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x102c4c7
push ebx
call fcn.01015d88
test edi, edi
je 0x102c520
mov ecx, edi
call fcn.0101317c
test al, al
jne 0x102c520
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov dword [esi + 0x958], ebx
call fcn.01018c20
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0101a59e
push eax
lea ecx, [esi + 0x8c0]
mov byte [ebp - 4], 5
call fcn.01015dae
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.0100e576
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.01015cfe
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x102c530
push ebx
mov ecx, edi
call fcn.01015d88
mov eax, ebx
call fcn.0102eb9c
ret
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x964]
push edi
push 0x100896c
push 1
xor ebx, ebx
push ebx
push 0x100895c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x102c712
mov dword [edi], ebx
cmp dword [esi + 0x10], 3
jne 0x102c72f
mov ecx, esi
call fcn.0102ab12
call fcn.01028f67
mov dword [esi + 0x10], 6
pop edi
pop esi
pop ebx
ret
call fcn.01026182
push edx
push eax
call fcn.01022e72
test eax, eax
je 0x102c755
push ebx
push ebx
push esi
push 0x102bbd9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x980], eax
cmp dword [esi + 0x14], 2
jne 0x102c72b
cmp dword [esi + 0x10], ebx
jne 0x102c72b
call fcn.0102621b
push edx
push eax
call fcn.01022e72
test eax, eax
je 0x102c72b
pop edi
mov ecx, esi
pop esi
pop ebx
jmp 0x102c3d9
Function at 0x102cb69
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x104cf46
call fcn.0102eab0
mov esi, ecx
lea ecx, [esi + 0x84c]
mov ebx, 0x490
mov dword [ebp - 0x18], ecx
call fcn.01014783
lea ecx, [esi + 0x870]
mov dword [ebp - 0x10], ecx
call fcn.01014779
cmp dword [ebp + 8], 0
jne 0x102cbab
lea edi, [esi + 0x24]
xor eax, eax
mov word [edi], ax
jmp 0x102ccd8
push dword [ebp + 8]
push 0x1008bd8
call fcn.0101c26a
and dword [ebp - 0x1c], 0
pop ecx
pop ecx
lea eax, [esi + 0x22c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
lea edi, [esi + 0x24]
push 0x104
push edi
call fcn.010221c7
test eax, eax
jl 0x102ccc4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x102ccc4
push edi
push 0x1008b70
call fcn.0101c26a
pop ecx
pop ecx
lea ebx, [esi + 0x8dc]
mov ecx, ebx
call fcn.010107c4
test al, al
jne 0x102cc1b
mov ebx, 0x54f
jmp 0x102ccd8
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x102ccb6
push edi
lea ecx, [ebp - 0x3c]
call fcn.01010e7e
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0101046b
mov ecx, dword [eax]
and dword [eax], 0
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x102cc62
push 1
call fcn.0100cec0
push 0
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0100e576
test esi, esi
jne 0x102cc8a
push edi
push 0x1008b28
call fcn.0101c26a
pop ecx
pop ecx
mov ebx, 0x570
jmp 0x102ccb0
push esi
mov ecx, ebx
call fcn.010105e4
mov ecx, dword [ebp - 0x10]
push esi
call fcn.01017c0c
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
xor ebx, ebx
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x14], ebx
mov dword [eax], esi
call fcn.01017ca0
or dword [ebp - 4], 0xffffffff
jmp 0x102ccd4
push 2
push edi
mov ecx, esi
call fcn.0102c77f
mov ebx, eax
jmp 0x102ccd4
push edi
push 0x1008aa0
call fcn.0101c26a
pop ecx
pop ecx
push 3
pop ebx
test ebx, ebx
je 0x102cce7
push ebx
push edi
push 0x1008a00
call fcn.0101c26a
add esp, 0xc
push 0x10089a0
call fcn.0101c26a
pop ecx
mov eax, ebx
call fcn.0102eb9c
ret 4
Function at 0x102d85c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1054254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0102d7f1
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x102d8cf
cmp dword [ebp - 0x94], 5
jb 0x102d8f0
jmp 0x102d8ec
cmp dword [ebp - 0x88], 1
jne 0x102d8f0
cmp dword [ebp - 0x94], 4
ja 0x102d8ec
jne 0x102d8f0
cmp dword [ebp - 0x90], 0
jbe 0x102d8f0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1009410
call fcn.0100bffd
test eax, eax
jge 0x102d911
mov byte [0x10542cc], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0102ea9b
leave
ret
Function at 0x102e921
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1050e18
call fcn.0102e930
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1058d6c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x102e6dc
cmp eax, esi
jne 0x102e6cf
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x102e6df
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x102e6b6
xor esi, esi
inc esi
mov eax, dword [0x1058d68]
cmp eax, esi
jne 0x102e6f2
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x102e721
mov eax, dword [0x1058d68]
test eax, eax
jne 0x102e71b
mov dword [0x1058d68], esi
push 0x10015b8
push 0x10015ac
call fcn.0102e618
pop ecx
pop ecx
test eax, eax
je 0x102e721
jmp 0x102e845
mov dword [0x10587cc], esi
mov eax, dword [0x1058d68]
cmp eax, esi
jne 0x102e745
push 0x10015a8
push 0x1001554
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1058d68], 2
cmp dword [ebp - 0x20], ebx
jne 0x102e752
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1058d78], ebx
je 0x102e773
push 0x1058d78
call fcn.0102f0e9
pop ecx
test eax, eax
je 0x102e773
push ebx
push 2
push ebx
call dword [0x1058d78]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x102e845
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x102e7dd
cmp cx, bx
je 0x102e798
cmp dword [ebp - 0x1c], ebx
jne 0x102e7dd
movzx ecx, word [eax]
cmp cx, bx
je 0x102e7ad
cmp cx, 0x20
ja 0x102e7ad
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x102e798
test byte [ebp - 0x40], 1
je 0x102e7b9
movzx ecx, word [ebp - 0x3c]
jmp 0x102e7bc
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x10587c8], eax
cmp dword [0x10587bc], ebx
jne 0x102e822
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x102e7ee
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x102e782
cmp dword [0x10587cc], ebx
jne 0x102e830
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10587c8]
jmp 0x102e851
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0102e975
ret
call fcn.0102f22e
jmp 0x102e679
Function at 0x103a0bb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push dword [ebp + 0xc]
push eax
call fcn.0103a06f
mov eax, dword [esi]
movzx edx, word [eax]
movzx ecx, dx
cmp ecx, 0x66
jg 0x103a1b6
je 0x103a1ac
cmp ecx, 0x30
jl 0x103a227
cmp ecx, 0x37
jle 0x103a169
push 0x5c
pop edi
cmp ecx, edi
je 0x103a15a
cmp ecx, 0x61
je 0x103a149
cmp ecx, 0x63
je 0x103a117
cmp ecx, 0x65
jne 0x103a227
push 0x1b
jmp 0x103a22e
push dword [ebp + 0xc]
add eax, 2
push eax
mov dword [esi], eax
call fcn.0103a06f
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
movzx edi, word [eax]
lea eax, [edi - 0x61]
cmp ax, 0x19
ja 0x103a141
push edi
call fcn.0102f4a6
movzx edi, ax
xor edi, 0x40
jmp 0x103a234
cmp byte [ebp + 0x10], 0
je 0x103a227
push 7
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
je 0x103a227
jmp 0x103a22f
lea ecx, [eax + 2]
mov dword [esi], ecx
mov ax, word [eax]
sub ax, 0x30
movzx edi, ax
mov eax, dword [esi]
movzx ecx, word [eax]
push 0x30
pop edx
cmp dx, cx
ja 0x103a234
push 0x37
pop edx
cmp dx, cx
jb 0x103a234
push dword [ebp + 0xc]
add eax, 2
lea ecx, [ecx + edi*8 - 0x30]
push eax
movzx edi, cx
mov dword [esi], eax
call fcn.0103a06f
jmp 0x103a178
cmp byte [ebp + 0x10], 0
je 0x103a227
push 0xc
jmp 0x103a22e
sub ecx, 0x6e
je 0x103a221
sub ecx, 4
je 0x103a217
dec ecx
dec ecx
je 0x103a20d
dec ecx
dec ecx
je 0x103a203
dec ecx
dec ecx
jne 0x103a227
add eax, 2
mov dword [esi], eax
xor edi, edi
mov ebx, dword [esi]
movzx eax, word [ebx]
push eax
call fcn.0102f866
test al, al
je 0x103a234
movzx eax, word [ebx]
push eax
call fcn.0102f8a7
push dword [ebp + 0xc]
shl edi, 4
add eax, edi
movzx edi, ax
lea eax, [ebx + 2]
push eax
mov dword [esi], eax
call fcn.0103a06f
jmp 0x103a1d3
cmp byte [ebp + 0x10], 0
je 0x103a227
push 0xb
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
je 0x103a227
push 9
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
je 0x103a227
push 0xd
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
jne 0x103a22c
movzx edi, dx
jmp 0x103a22f
push 0xa
pop edi
add eax, 2
mov dword [esi], eax
mov ax, di
pop edi
pop esi
pop ebx
pop ebp
ret 0xc