joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
push edi
xor ebx, ebx
mov dword [ebp - 4], esi
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x446eaf
nop
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
test eax, eax
je 0x446e7b
mov edx, ecx
mov ecx, dword [esi + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x446e5d
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4d4498]
cmp cl, byte [edx + 0x4d4498]
jne 0x446e5d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x446e40
movzx ecx, byte [esi]
movzx eax, byte [eax]
mov esi, dword [ebp - 4]
movzx ecx, byte [ecx + 0x4d4498]
movzx eax, byte [eax + 0x4d4498]
sub eax, ecx
jne 0x446ea5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.004124c0
add esp, 4
test eax, eax
je 0x446ea3
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x446eaf
jmp 0x446ea5
xor ebx, ebx
inc edi
cmp edi, dword [esi + 0x14]
jl 0x446e10
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0x14]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
xor edi, edi
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x44708e
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
push esi
mov ecx, edi
mov esi, edi
xor ecx, 1
cmp edi, 2
cmovl esi, ecx
mov ecx, dword [ebp + 8]
shl esi, 4
add esi, edx
mov edx, dword [esi + 0xc]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x447058
mov esi, dword [esi]
mov eax, ecx
mov cl, byte [ecx]
test cl, cl
je 0x447040
nop dword [eax]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4d4498]
cmp cl, byte [edx + 0x4d4498]
jne 0x44703d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x447020
mov edx, dword [ebp - 4]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x4d4498]
movzx ecx, byte [ecx + 0x4d4498]
sub eax, ecx
jne 0x447080
lea eax, [ebp - 4]
lea ecx, [edx + 0x18]
mov edx, dword [ebp - 8]
push eax
call fcn.004124c0
add esp, 4
test eax, eax
je 0x44707e
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x447080
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
inc edi
cmp edi, dword [ebp - 0xc]
jge 0x447075
mov edx, dword [ebp - 0x10]
jmp 0x446ff4
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4f10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
je 0x47c522
push ebx
push 0x4cf110
push 1
push 0
push 0x4cf120
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x47c379
cmp dword [ebx], 0
jne 0x47c4cd
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x47c38e
push 0x80004005
call fcn.0047ee80
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x47c3c4
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0047ee20
mov esi, dword [ebp - 0x14]
push 0
push 0x25
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x47c529
cmp eax, dword [esi - 8]
jg 0x47c529
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0xb
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x14]
push str.msxml3.dll
call fcn.0047e820
mov edi, dword [ebp - 0x14]
push 0
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 8
test eax, eax
jne 0x47c503
test edi, edi
jne 0x47c45e
xor esi, esi
push 1
push esi
call dword [sym.imp.ole32.dll_CoLoadLibrary]
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x47c503
push str.DllGetClassObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x47c475
push esi
call dword [sym.imp.ole32.dll_CoFreeLibrary]
jmp 0x47c503
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
jne 0x47c424
push 0x8007000e
call fcn.0047ee80
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
push 0x4cf130
push 0x4cf120
call eax
test eax, eax
js 0x47c4eb
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47c4eb
mov ecx, dword [eax]
push ebx
push 0x4cf110
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x47c4eb
cmp dword [ebx], 0
je 0x47c4eb
mov byte [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47c4c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
call fcn.0047f1f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.ole32.dll_CoFreeLibrary]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47c503
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47c522
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x80004005
jmp 0x47c4cf
push 0x80070057
call fcn.0047ee80
int3
Function at 0x47c910
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4fe8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x3c], 0
lea ebx, [esi + 0x3c]
mov byte [esi + 0x4c], 0
jne 0x47c95d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0xffffffffffffffff
push dword [ebx]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov byte [ebp - 0x14], 1
push 8
mov dword [ebp - 4], 0
call fcn.004be09e
mov ecx, eax
lea edi, [esi + 0x44]
xorps xmm0, xmm0
mov dword [ebp - 0x10], ecx
add esp, 4
movq qword [ecx], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov ecx, dword [edi]
cmp ecx, edi
je 0x47c9ba
mov eax, ecx
cmp dword [eax], edi
je 0x47c9b6
nop dword [eax]
mov eax, dword [eax]
cmp dword [eax], edi
jne 0x47c9b0
mov dword [eax], ecx
jmp 0x47c9c7
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x47c9c7
push ecx
call fcn.0047e390
mov eax, dword [ebp - 0x10]
mov ecx, 4
push dword [ebp + 8]
mov dword [esi + 0x40], eax
mov dword [edi], edi
mov edi, dword [esi + 0x40]
call fcn.0047f400
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x47ca11
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 4], eax
test eax, eax
jne 0x47ca31
mov eax, dword [edi]
test eax, eax
je 0x47ca11
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
xor esi, esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 0x48]
call fcn.0047c320
test eax, eax
js 0x47ca11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x47ca11
mov esi, 1
jmp 0x47ca13

Function at 0x47dce0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x3e8
push dword [edi]
call fcn.004be72b
add esp, 4
mov dword [edi], 0
mov ecx, edi
push ebx
call fcn.0047e1c0
test al, al
je 0x47dd67
mov esi, 0xfa0
nop dword [eax + eax]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push esi
push dword [edi]
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x47dd67
mov eax, dword [ebp - 8]
cmp eax, esi
jb 0x47dd7a
push dword [edi]
add ebx, 0x3e8
add esi, 0xfa0
call fcn.004be72b
add esp, 4
mov dword [edi], 0
mov ecx, edi
push ebx
call fcn.0047e1c0
test al, al
jne 0x47dd20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
shr eax, 2
pop ebx
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
Function at 0x480ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c574b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00481660
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
test esi, esi
js 0x480bbd
cmp esi, 1
je 0x480bbd
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x480bbd
lea edx, [eax - 1]
test edx, edx
js 0x480bb3
cmp edx, eax
jg 0x480bb3
movzx eax, word [ecx + edx*2]
mov ecx, 0x5c
cmp cx, ax
je 0x480b83
push 0x4e9e00
lea ecx, [ebp - 0x21c]
call fcn.0047e2d0
push str.TeraBox_
lea ecx, [ebp - 0x21c]
call fcn.0047e2d0
push dword [edi]
push dword [ebp - 0x21c]
push 0x4e9dc8
push ebx
call fcn.0047ea80
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
xor edi, edi
jmp 0x480bc2
push 0x80070057
call fcn.0047ee80
mov edi, 0x80004005
mov dword [ebp - 4], 0xffffffff
lea esi, [ecx - 0x10]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x480be1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
Function at 0x480c10
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5796
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0x4e9dd4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x480cba
push dword [esi]
lea eax, [ebp - 0x218]
push eax
push 0x4e9dc8
push edi
call fcn.0047ea80
add esp, 0x10
jmp 0x480ce1
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480cc3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0047eba0
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x480dc7
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x480d19
push 0x80004005
call fcn.0047ee80
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], 0
push 0x5c
push dword [edi]
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x480da2
sub eax, dword [edi]
sar eax, 1
test eax, eax
jle 0x480da2
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00480ec0
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.0047e320
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480d8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea eax, [ebp - 0x424]
push eax
call fcn.00480ac0
mov esi, dword [ebp - 0x424]
mov edi, eax
jmp 0x480da7
mov edi, 0x80004005
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x480dc3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x480dd8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret 8
Function at 0x481290
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c584c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0xc]
mov dword [ebp + 8], esi
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0xc]
sub ecx, 0x10
call fcn.0047e920
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea esi, [ebx + 0x10]
mov ecx, dword [edi + 0x10]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0047e920
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0x14]
mov ecx, dword [edi + 0x14]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0047e920
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [ebx + 0x18]
mov ecx, dword [edi + 0x18]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0047e920
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [ebx + 0x1c]
mov ecx, dword [edi + 0x1c]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0047e920
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4814b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4814c9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x481506
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x481502
nop word [eax + eax]
cmp esi, edx
jae 0x481506
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4814f0
cmp esi, edx
jb 0x48150d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x481dd0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5970
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov esi, 0x80004005
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00481960
test eax, eax
js 0x481f22
push 0x44
lea eax, [ebp - 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x481e62
push esi
call fcn.0047ee80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push str.__s___start___s_
push eax
call fcn.0047ea80
mov esi, dword [ebp - 0x18]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x481ea3
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0047ed50
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi - 8]
mov dword [ebp - 0x7c], eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x481f4a
cmp eax, dword [esi - 8]
jg 0x481f4a
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov eax, 0x80004005
cmp dword [ebp - 0x7c], ecx
mov byte [ebp - 4], cl
cmovne eax, ecx
add esi, 0xfffffff0
mov dword [ebp - 0x18], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x481f1f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80070057
call fcn.0047ee80
int3
Function at 0x482290
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5a38
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], ecx
mov esi, 0x80004005
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00481960
test eax, eax
js 0x48243a
push 0x44
lea eax, [ebp - 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x482311
push esi
call fcn.0047ee80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x482337
push 0x80004005
call fcn.0047ee80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push 0x4e9bc0
push eax
call fcn.0047ea80
mov eax, dword [ebp - 0x74]
push dword [eax]
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push str.__s___download___s___verifyuser__s__userkey__s
push eax
call fcn.0047ea80
mov esi, dword [ebp - 0x14]
add esp, 0x24
cmp dword [esi - 4], 1
jle 0x482391
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0047ed50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi - 8]
mov dword [ebp - 0x78], eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x48245f
cmp eax, dword [esi - 8]
jg 0x48245f
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], ecx
mov eax, 0x80004005
mov edx, dword [ebp - 0x18]
cmovne eax, ecx
or ecx, 0xffffffff
mov dword [ebp - 0x74], eax
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48241e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x482437
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x74]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0047ee80
int3
Function at 0x4826d0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5ae0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x74
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], ecx
mov esi, 0x80004005
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00481960
test eax, eax
js 0x48282a
push 0x44
lea eax, [ebp - 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
call fcn.0047f110
mov ecx, eax
test ecx, ecx
jne 0x482765
push esi
call fcn.0047ee80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 1
push dword [eax]
mov eax, dword [ebp - 0x7c]
push dword [eax]
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push str.__s___webdownload__browserid__s__sequence__s
push eax
call fcn.0047ea80
mov esi, dword [ebp - 0x18]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x4827ab
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0047ed50
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi - 8]
mov dword [ebp - 0x7c], eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x482852
cmp eax, dword [esi - 8]
jg 0x482852
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov eax, 0x80004005
cmp dword [ebp - 0x7c], ecx
mov byte [ebp - 4], cl
cmovne eax, ecx
add esi, 0xfffffff0
mov dword [ebp - 0x18], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482827
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bde8e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80070057
call fcn.0047ee80
int3