joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x101370
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
je 0x1013b5
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x1013ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1013bb
mov ecx, esi
call fcn.001015c8
test eax, eax
jl 0x1013d0
mov eax, dword [ebp + 0xc]
add dword [ebp + 8], eax
sub edi, eax
jne 0x10137e
pop edi
pop esi
pop ebp
ret 8
lea eax, [ebp + 8]
push 0x149870
push eax
mov dword [ebp + 8], 0x2ee0
call fcn.0013668a
lea eax, [ebp + 8]
push 0x149870
push eax
mov dword [ebp + 8], 0x2ee0
call fcn.0013668a

Function at 0x103466
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1465d8
push 0x1366fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x38]
push eax
xor esi, esi
push esi
push 1
push dword [ebp + 8]
call fcn.00103419
add esp, 0x10
mov ebx, eax
cmp ebx, esi
je 0x103506
mov eax, dword [ebx + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], esi
mov edi, dword [ebx + 0x18]
dec edi
js 0x1034f8
jmp 0x1034c6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
lea esi, [edi + ecx]
sar esi, 1
mov eax, dword [eax + esi*4]
add eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.001366f6
pop ecx
pop ecx
test eax, eax
jge 0x1034e8
lea edi, [esi - 1]
jmp 0x1034f0
jle 0x1034f5
lea eax, [esi + 1]
mov dword [ebp - 0x48], eax
cmp edi, dword [ebp - 0x48]
jge 0x1034c3
mov ecx, dword [ebp - 0x30]
cmp edi, dword [ebp - 0x48]
jl 0x103506
movzx eax, word [ecx + esi*2]
cmp eax, dword [ebx + 0x14]
jb 0x10350a
xor eax, eax
jmp 0x103586
mov ebx, dword [ebx + 0x1c]
add ebx, dword [ebp + 8]
lea esi, [ebx + eax*4]
mov ebx, dword [ebp + 8]
add ebx, dword [esi]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
lea eax, [ebp - 0x3c]
push eax
push 0x40
push 4
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
test eax, eax
je 0x103563
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
push 4
push esi
call edi
jmp 0x103584
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
push eax
push 4
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10370f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x146600
push 0x1366fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
push edi
push 1
push 0x1595ec
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x1037c5
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
cmp ebx, edi
je 0x1037d5
push 0x40
push 0x3000
mov esi, 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1595e8], eax
cmp eax, edi
je 0x1037d5
push esi
push 0xcc
push eax
call fcn.00136690
add esp, 0xc
mov eax, dword [0x1595e8]
mov byte [eax], 0xe9
mov ecx, 0x1035e4
mov eax, dword [0x1595e8]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
push dword [0x1595e8]
push str.DisableThreadLibraryCalls
push ebx
call fcn.00103466
add esp, 0x10
mov dword [0x1595e4], eax
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x1037d7
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1037e6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x146610
push 0x1366fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x1595e8]
test eax, eax
je 0x103823
mov ecx, dword [0x1595e4]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
push str.mscorie.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0x63f00000
jne 0x103880
cmp dword [0x1595e0], 0
je 0x103880
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 4
push 0x63f010f4
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 4], 0
mov eax, dword [0x1595e0]
mov dword [0x63f010f4], eax
jmp 0x103868
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push 4
push 0x63f010f4
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
pop eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x103d7a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x146620
push 0x1366fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
push esi
push 1
pop edi
push edi
push 0x159604
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, edi
jne 0x103dbd
mov eax, edi
jmp 0x103ed6
push edi
push str.shimgvw.dll
call fcn.00114a16
pop ecx
pop ecx
mov edi, eax
cmp edi, esi
je 0x103de7
push 0xc
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00136c30
test eax, eax
jne 0x103dee
xor eax, eax
jmp 0x103ed6
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffff000
cmp esi, eax
jae 0x103ecf
test si, 0xfff
jne 0x103e27
push 1
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x103e27
add esi, 0x1000
mov dword [ebp - 0x2c], esi
inc esi
jmp 0x103df1
cmp dword [esi + edi], 0x100f981
jne 0x103e24
cmp dword [esi + edi + 4], 0x8f0f0000
jne 0x103e24
lea ebx, [esi + edi + 8]
mov eax, dword [ebx]
add eax, esi
lea eax, [eax + edi + 0xc]
mov dword [0x1595f8], eax
lea ecx, [esi + edi + 0xc]
mov dword [0x1595fc], ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x103e24
lea esi, [esi + edi + 6]
mov dword [0x1595f4], esi
mov eax, dword [ebx]
mov dword [0x159600], eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 6
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
test eax, eax
je 0x103ea1
mov word [esi], 0x25ff
mov dword [ebx], 0x1504ac
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 6
push esi
call edi
jmp 0x103ecf
mov word [ebp - 0x38], 0x25ff
mov dword [ebp - 0x36], 0x1504ac
lea eax, [ebp - 0x3c]
push eax
push 6
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x103ecf
or dword [ebp - 4], 0xffffffff
push 1
pop eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x103ee5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1595f4]
test eax, eax
je 0x103f6f
cmp dword [0x1595f8], 0
je 0x103f6f
lea ecx, [ebp - 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ecx
push 0x40
push 6
push eax
call esi
test eax, eax
je 0x103f3e
mov eax, dword [0x1595f4]
mov word [eax], 0x8f0f
mov eax, dword [0x1595f4]
mov ecx, dword [0x159600]
mov dword [eax + 2], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push dword [0x1595f4]
call esi
jmp 0x103f69
mov eax, dword [0x159600]
mov word [ebp - 0x10], 0x8f0f
mov dword [ebp - 0xe], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push 6
push eax
push dword [0x1595f4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 1
pop eax
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x104671
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push ebx
push esi
xor esi, esi
cmp dword [0x155524], esi
je 0x104780
push 4
mov dword [ebp - 4], esi
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.WDLastSuggest
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push esi
call dword [sym.imp.MSVCRT.dll_time]
pop ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
cmp ecx, eax
ja 0x10471b
lea edx, [ecx + 0x15180]
cmp edx, eax
jb 0x10471b
add ecx, 0x5460
cmp ecx, eax
jae 0x104780
mov esi, dword [sym.imp.MSVCRT.dll_localtime]
lea eax, [ebp - 8]
push 0x24
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00136656
add esp, 0xc
lea eax, [ebp - 4]
push 0x24
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00136656
mov eax, dword [ebp - 0x58]
add esp, 0xc
cmp eax, dword [ebp - 0x34]
je 0x104780
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
call fcn.001145d4
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x104780
and byte [ebp - 0x168], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x167]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x168]
push 0x104
push eax
push esi
call fcn.00114697
add esp, 0xc
test eax, eax
pop edi
je 0x104780
lea eax, [ebp - 0x168]
push str.explorer.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x104784
xor eax, eax
jmp 0x1047b4
push 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00136690
push 0x4d47534d
lea eax, [ebp - 0x1c]
push 0xc
push eax
mov dword [ebp - 0x1c], 0x49535547
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call fcn.00116573
add esp, 0x18
push 1
pop eax
pop esi
pop ebx
leave
ret
Function at 0x10666b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
xor ebx, ebx
xor esi, esi
xor edx, edx
cmp dword [ebp + 0x10], ebx
push edi
jle 0x10673e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, ebx
je 0x10673e
mov edi, eax
and edi, dword [ebp + 8]
cmp edi, eax
je 0x1066aa
inc edx
add ecx, 4
cmp edx, dword [ebp + 0x10]
jl 0x106689
jmp 0x10673e
cmp dword [0x16d418], ebx
push 1
pop esi
jne 0x10673e
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], bl
push dword [ebp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.00101a3c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x10673e
cmp byte [ebp - 0x104], bl
je 0x10673e
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10673e
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1068bf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1466d0
push 0x1366fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
jne 0x10690c
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
je 0x10690c
xor eax, eax
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
jmp 0x106920
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10825a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
test edi, edi
je 0x108412
push 0x3f
push edi
call dword [sym.imp.MSVCRT.dll_wcschr]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
jne 0x10828e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [edi + eax*2]
lea esi, [ebx - 2]
cmp esi, edi
jb 0x1082a8
mov ax, word [esi]
cmp ax, 0x2e
je 0x1082a8
cmp ax, 0x2f
je 0x1082a8
dec esi
dec esi
jmp 0x108291
cmp word [esi], 0x2e
jne 0x108412
mov eax, ebx
sub eax, esi
sar eax, 1
mov dword [ebp - 4], eax
lea eax, [eax + eax + 2]
add eax, 3
and al, 0xfc
call fcn.001366c0
mov edi, esp
test edi, edi
mov dword [ebp + 8], edi
je 0x108412
cmp esi, ebx
jae 0x1082ee
movzx eax, word [esi]
push eax
call dword [sym.imp.MSVCRT.dll_tolower]
mov word [edi], ax
inc edi
inc edi
inc esi
pop ecx
inc esi
jmp 0x1082d6
xor ebx, ebx
mov esi, 0x151010
mov word [edi], bx
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x10841f
add esi, 4
cmp esi, str..tar
jb 0x1082f8
push ebx
mov esi, 0x1596e4
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1083ce
mov ecx, 0x81
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push dword [0x16d464]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push 0x151298
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x800
call fcn.001366f0
cmp eax, ebx
pop ecx
mov dword [0x1596e8], eax
je 0x1083ce
lea ecx, [ebp - 0x20c]
push ecx
push 0x400
push eax
push 0x159640
push str.downlink_postfix
push 0x151264
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [0x1596e8]
push 2
push esi
mov word [eax + 0x7fe], bx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1596e4], 2
jne 0x108412
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_wcsstr]
push dword [0x1596e8]
call esi
pop ecx
cmp eax, ebx
pop ecx
je 0x108412
mov ecx, dword [ebp - 4]
lea edi, [ecx + ecx]
mov cx, word [edi + eax]
cmp cx, 0x2e
je 0x10841f
cmp cx, bx
je 0x10841f
push dword [ebp + 8]
add eax, 2
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
jne 0x1083f4
xor eax, eax
lea esp, [ebp - 0x218]
pop edi
pop esi
pop ebx
leave
ret
push 1
pop eax
jmp 0x108414

Function at 0x109bcb
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push 0x40
or eax, 0xffffffff
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
xor edi, edi
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x109bf9
cmp eax, 0x40
ja 0x109bf9
inc edi
add esi, 4
cmp edi, 0x40
jl 0x109bde
pop edi
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x10cafd
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x16d8b0], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
push edi
jne 0x10cb45
call ebx
test eax, 0x80000000
je 0x10cb3b
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x16d8b4], eax
mov dword [0x16d8b0], 1
mov eax, dword [0x16d8b4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10cb61
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x10cb92
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10cb89
call ebx
test eax, 0x80000000
mov eax, dword [ebp + 8]
je 0x10cb7d
push dword [eax + 8]
call dword [eax]
jmp 0x10cb83
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x10cb92
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x112661
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x1126cb
and dword [ebp - 4], 0
cmp dword [ebp + 8], 2
push esi
push edi
jl 0x1126bf
push 1
pop edi
cmp dword [ebp + 8], edi
jle 0x1126bf
lea esi, [ebx + 4]
mov eax, dword [esi]
cmp word [eax], 0x2f
je 0x1126ad
push dword [ebp + 0xc]
push str..dll
push eax
call fcn.001122f3
add esp, 0xc
test eax, eax
jne 0x1126b8
inc edi
add esi, 4
cmp edi, dword [ebp + 8]
jl 0x112690
jmp 0x1126bf
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1126ce
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [ebp - 8], eax
jne 0x1126e9
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
push edi
push 1
pop ebx
cmp dword [ebp + 8], ebx
jle 0x11273b
lea edi, [eax + 4]
mov esi, dword [edi]
cmp word [esi], 0x2f
je 0x112729
push 0x2c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x112714
and word [eax], 0
push dword [ebp + 0xc]
push str..dll
push esi
call fcn.001122f3
add esp, 0xc
test eax, eax
jne 0x112734
inc ebx
add edi, 4
cmp ebx, dword [ebp + 8]
jl 0x1126fb
jmp 0x11273b
mov dword [ebp - 4], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x11274c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [ebp - 4], eax
jne 0x112766
leave
ret
push ebx
push esi
push edi
push 1
pop edi
xor ebx, ebx
cmp dword [ebp + 8], edi
jle 0x1127a1
lea esi, [eax + 4]
mov eax, dword [esi]
cmp word [eax], 0x2f
je 0x112793
push dword [ebp + 0xc]
push str..vbs
push eax
call fcn.001122f3
add esp, 0xc
test eax, eax
jne 0x11279e
inc edi
add esi, 4
cmp edi, dword [ebp + 8]
jl 0x112776
jmp 0x1127a1
push 1
pop ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x1127b1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x1127f8
cmp dword [ebp + 8], 1
jle 0x1127f8
mov eax, dword [esi + 4]
push edi
push dword [ebp + 0xc]
xor edi, edi
push str..hta
push eax
call fcn.001122f3
add esp, 0xc
test eax, eax
je 0x1127ec
push 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
jmp 0x1127fa
xor eax, eax
pop esi
pop ebp
ret

Function at 0x112958
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov word [eax], bx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, 0x104
push edi
lea eax, [ebp - 0x414]
push esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0011233d
add esp, 0xc
cmp eax, ebx
je 0x112a45
cmp eax, esi
je 0x112a45
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str..exe
push eax
call fcn.001122f3
add esp, 0xc
test eax, eax
je 0x112a45
lea eax, [ebp - 0x61c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x112a45
mov edi, 0x153080
push dword [edi]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x112a07
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x112a28
add edi, 8
inc ebx
cmp edi, str.rundll32.exe
jb 0x1129d5
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp + 0xc]
call fcn.00109b89
push 1
pop eax
jmp 0x112a47
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebx*8 + 0x153084]
add esp, 0xc
test eax, eax
je 0x112a13
or dword [edi], 1
jmp 0x112a23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret