joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455375
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45548d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45548d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047c1f2
mov esi, eax
test esi, esi
je 0x45548d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45548d
mov ecx, esi
call fcn.004552e0
cmp edi, eax
jge 0x45548d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x455413
mov dword [esp + 0x34], 1
jmp 0x45546e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45548d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00454840
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x459b26
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x459b26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x459b07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x459eb0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x459ee8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45ac10
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45ac59
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45b0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4895c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045ac80
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045ad00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045ad00
lea ecx, [esi + 0xc]
call fcn.0047a752
lea ecx, [esi + 0x10]
call fcn.0047a752
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045c2a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045c2a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045c2a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047a7c7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047a7c7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47cb95
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47cbcd
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.0047ac22
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047abfa
jmp 0x47cbd9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47e286
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 0x47e2c8
call fcn.00484000
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47e2c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47e2bf
xor eax, eax
jmp 0x47e2d0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047e2d6
pop edi
pop esi
pop ebx
ret 4

Function at 0x484530
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48455e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48457c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00484496
jmp 0x48457c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48457c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00484496
test edi, edi
mov eax, edi
jne 0x484566
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x10003c95
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, 0xffffffff
push edi
mov esi, edx
add edx, eax
test esi, esi
je 0x10003cc8
movzx esi, byte [ecx]
movzx edi, ax
shr eax, 8
xor esi, edi
and esi, 0xff
inc ecx
mov esi, dword [esi*4 + 0x1000fc30]
xor esi, eax
mov eax, esi
mov esi, edx
dec edx
test esi, esi
jne 0x10003ca4
not eax
pop edi
pop esi
ret

Function at 0x10003ccd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
push esi
call dword [0x100114c4]
xor cx, cx
mov dl, al
sub dl, byte [ebp - 1]
dec dl
movzx ebx, dl
mov dl, byte [ebx + esi]
movzx ebx, byte [ebp - 1]
sub dl, cl
mov bl, byte [ebx + esi]
dec dl
mov byte [ebp - 8], bl
movzx ebx, cx
add byte [ebp - 8], cl
xor dl, byte [ebp - 8]
mov byte [ebx + edi], dl
movzx ebx, byte [ebp - 1]
movzx edx, ax
sub ebx, edx
cmp ebx, 0xffffffff
jne 0x10003d23
mov byte [ebp - 1], 0
jmp 0x10003d26
inc byte [ebp - 1]
inc cx
cmp cx, 0x100
jb 0x10003ce8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401890
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0x418
push ebp
push esi
mov ebp, ecx
push 0xa000
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4019ff
push ebx
push edi
mov ecx, 0x2800
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push 0
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
je 0x401954
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, dword [esi + 0xc]
test eax, 0x100000
jne 0x4018f8
test al, 1
je 0x40191f
mov edx, dword [esi + 4]
push edx
call ebp
test eax, eax
jne 0x40191f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40191f
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov ecx, dword [esi + 4]
push ecx
call ebp
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [esp + 0x10], 0xa000
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
push ebx
mov dword [esi], edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x4018ea
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov ebp, dword [esp + 0x14]
push esi
call fcn.00421de0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, ebp
stosw word es:[edi], ax
push str.Cookie
call fcn.004020e0
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x428154
lea ecx, [esp + 0x24]
push 0x103
push ecx
call esi
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
call fcn.004135b0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x246]
mov word [esp + 0x244], 0
rep stosd dword es:[edi], eax
add esp, 0x24
mov ecx, ebp
stosw word es:[edi], ax
push str.IECache
call fcn.004020e0
push eax
push 0x428154
lea eax, [esp + 0x22c]
push 0x103
push eax
call esi
push 0
push 0
lea ecx, [esp + 0x23c]
push 0
push ecx
call fcn.004135b0
add esp, 0x24
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x418
ret
Function at 0x401ab0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.00421e40
mov eax, dword [0x42b3c0]
push edi
test eax, eax
mov edi, ecx
je 0x401ad3
mov eax, 0x42b3c4
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x54
push 0x5c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov edi, eax
lea eax, [esp + 0x10]
push esi
push 0x428180
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
test esi, esi
je 0x401b2f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x401b4d
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x401bb6
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x401bb6
push 0x428178
push esi
call ebx
test eax, eax
je 0x401b5e
lea esi, [eax + 6]
jmp 0x401b76
push 2
push 0x428170
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x401b76
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x401bb6
push esi
push 0x428180
push 0x1047
push 0x42b3c4
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x42b3c4
mov word [0x42d452], 0
call fcn.004130b0
push 0x42b3c4
call fcn.00413270
add esp, 0x18
pop esi
pop ebp
pop ebx
mov dword [0x42b3c0], 1
mov eax, 0x42b3c4
pop edi
add esp, 0x2090
ret

Function at 0x401bd0
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.00401ab0
mov esi, eax
test esi, esi
je 0x401c22
push 0
push str._tp:
push esi
call fcn.0040e140
add esp, 0xc
dec eax
je 0x401c11
dec eax
je 0x401c00
push esi
mov ecx, edi
call fcn.00401c30
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, edi
call fcn.00402a50
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, edi
call fcn.00402520
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x401c30
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push ebp
push esi
lea eax, [esp + 8]
push edi
mov esi, ecx
mov edi, 1
push eax
push 0x28
mov dword [esi + 0x38], edi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401ca3
lea ecx, [esp + 0x14]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 0xc]
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
push 0
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp + 0xc]
push ecx
call ebp
push 0
push 0x4961a0
call fcn.00412ce0
add esp, 8
mov ecx, esi
call fcn.00403290
test eax, eax
je 0x401cc8
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00402370
mov edi, eax
test edi, edi
je 0x401d3a
push edi
mov ecx, esi
call fcn.00402360
push edi
mov ecx, esi
call fcn.00402350
mov ecx, esi
call fcn.00401d50
push 0
mov ecx, esi
call fcn.004016e0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401d22
push eax
call ebp
mov dword [esi + 0xc], 0
mov esi, dword [esi + 0x10]
test esi, esi
je 0x401d2c
push esi
call ebp
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 4

Function at 0x401ec0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x401e80
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x401eee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x401ef0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401f0f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x4961cc]
push 0x208
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
lea edx, [esp + 0x10]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x208
ret
Function at 0x4020e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
mov esi, ecx
cmp word [esi + 0x874], 0
lea ebx, [esi + 0x874]
jne 0x4021f1
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x495b50]
test eax, eax
je 0x402183
mov ecx, esi
call fcn.00402250
test eax, eax
je 0x402183
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x218]
push str.TheWorld
push ecx
push str._s_s_
lea edx, [esp + 0x1c]
push 0x103
push edx
call ebp
add esp, 0x14
cmp word [esp + 0x10], 0
pop edi
jne 0x4021a7
lea eax, [esi + 0x25c]
lea ecx, [esp + 0xc]
push eax
push 0x428180
push 0x103
push ecx
call ebp
add esp, 0x10
mov ecx, esi
call fcn.00401ab0
test eax, eax
je 0x4021f1
push 0
push str._app:
push eax
call fcn.0040e140
add esp, 0xc
lea edx, [esp + 0xc]
mov ecx, esi
mov dword [esi + 0x50], eax
push 0x104
push ebx
push eax
push edx
call fcn.00402200
test eax, eax
jne 0x4021f1
lea eax, [esp + 0xc]
push eax
push 0x428180
push 0x103
push ebx
call ebp
add esp, 0x10
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x410
ret

Function at 0x402250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x495b50]
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x40226a
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x34], 0x4df0c730
mov word [esp + 0x38], 0xdf9d
mov word [esp + 0x3a], 0x4ae3
mov byte [esp + 0x3c], 0x91
mov byte [esp + 0x3d], 0x53
mov byte [esp + 0x3e], 0xaa
mov byte [esp + 0x3f], 0x6b
mov byte [esp + 0x40], 0x82
mov byte [esp + 0x41], 0xe9
mov byte [esp + 0x42], 0x79
mov byte [esp + 0x43], 0x5a
mov dword [esp + 0x24], 0x8be2d872
mov word [esp + 0x28], 0x86aa
mov word [esp + 0x2a], 0x4d47
mov byte [esp + 0x2c], 0xb7
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0x32
mov byte [esp + 0x2f], 0xcc
mov byte [esp + 0x30], 0xa4
mov byte [esp + 0x31], 0xc
mov byte [esp + 0x32], 0x70
mov byte [esp + 0x33], 0x18
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x402347
mov eax, dword [esp + 8]
cmp eax, edi
je 0x402347
lea edx, [esp + 0xc]
add esi, 0x25c
push edx
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x40233d
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40233d
mov ecx, dword [eax]
push eax
mov edi, 1
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
add esp, 0x28
ret
Function at 0x402fc0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x22ec
call fcn.00421e40
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
mov ecx, 0x823
mov dword [esp + 0xc], eax
lea edi, [esp + 0x266]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x14], eax
mov word [esp + 0x264], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5e]
mov word [esp + 0x5c], 0
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
push 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x42b12c
push str._del:
push esi
push str._processid:
push 2
lea edx, [esp + 0x70]
push str._tp:
push edx
push str._s__s_d__s_d__s__s_
lea eax, [esp + 0x284]
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x28
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
lea eax, [esp + 0x264]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4030ae
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
pop edi
pop esi
add esp, 0x22ec
ret
Function at 0x4030cb
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x394c
call fcn.00421e40
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x67a]
mov word [esp + 0x678], bx
mov word [esp + 0x880], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x882]
mov word [esp + 0x60], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62]
mov word [esp + 0x18c8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x18ca]
mov word [esp + 0x470], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x472]
mov word [esp + 0x268], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26a]
mov edx, dword [esi + 0xa80]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
push 0x103
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x67c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x18], eax
push ecx
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0xb04]
call fcn.00405380
mov ecx, dword [esi + 0xa80]
lea eax, [esp + 0x880]
push ebx
push eax
mov ecx, dword [ecx + 0xb04]
call fcn.004050d0
lea edx, [esp + 0x268]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
lea eax, [esp + 0x474]
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x42b12c
push str._sCookie
lea ecx, [esp + 0x68]
push 0x103
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x470]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x880]
push edx
push str._shortcut:
push eax
push str._cpath:
push ecx
lea edx, [esp + 0x68c]
push str._url:
push edx
push str._name:
push 1
lea eax, [esp + 0x28c]
push str._tp:
push eax
push str._s__s_d__s__s___s__s___s__s___s__s_
lea ecx, [esp + 0x18f8]
push 0x1047
push ecx
call esi
add esp, 0x38
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18c8]
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
pop ebx
add esp, 0x394c
ret
Function at 0x403290
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1250
call fcn.00421e40
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
test edx, edx
jne 0x4032b8
pop edi
mov eax, 1
pop esi
add esp, 0x1250
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x103
push eax
push str._app:
push edx
call fcn.0040e1d0
add esp, 0x10
test eax, eax
je 0x403360
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x210]
push 0x824
push ecx
push 0x4283ac
push str.Main
stosw word es:[edi], ax
call fcn.00403bf0
add esp, 0x10
test eax, eax
jne 0x403360
push 0x21
push str.WebApp
push 0x7e2
call fcn.00412aa0
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x403352
mov ecx, esi
call fcn.00402fc0
pop edi
mov eax, 1
pop esi
add esp, 0x1250
ret
pop edi
xor eax, eax
pop esi
add esp, 0x1250
ret

Function at 0x403370
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, ecx
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [esp + 0xc]
push 0x10
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x210]
lea edx, [esp + 8]
push ecx
push edx
mov ecx, esi
call fcn.00403400
pop edi
pop esi
test eax, eax
je 0x4033e8
lea eax, [esp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x410
ret
mov eax, 1
add esp, 0x410
ret