joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469530
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4696db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4696bc
mov dl, 1
mov eax, dword [0x417a40]
call fcn.00403c20
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b90
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4696ab
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045a46c
test al, al
je 0x46969e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4696ec
lea eax, [ebp - 0x254]
call fcn.0040a0b4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46969e
xor eax, eax
push ebp
push 0x469697
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x469724
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469680
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e00
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x469680
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46969e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4695a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c284
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4696e2
lea eax, [ebp - 0x260]
call fcn.00404b90
ret

Function at 0x46a054
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49fcd4]
cmp byte [eax + 0xad], 0
jne 0x46a0c5
cmp dword [0x49fcf0], 0
jne 0x46a086
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a010
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49fcf0], eax
cmp dword [0x49fcec], 0
jne 0x46a0a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49fcec], eax
cmp dword [0x49fcf4], 0
jne 0x46a0c5
push esp
push 0
push 0
push 0x469fb4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49fcf4], eax
pop edx
ret
Function at 0x46a2f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a30b
add esp, 0xfffffff0
call fcn.00403fb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422d80
mov eax, dword [0x499e04]
cmp word [eax + 2], 0
jne 0x46a333
mov eax, dword [0x499e04]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c054
mov eax, dword [0x499edc]
cmp word [eax + 2], 0
jne 0x46a34d
mov eax, dword [0x499edc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c260
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4173d4]
call fcn.00403c20
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4173d4]
call fcn.00403c20
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4173d4]
call fcn.00403c20
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x427798]
call fcn.0042f02c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46a504
mov eax, dword [0x499cf4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f400
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c934
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x499cf4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040da64
test eax, eax
je 0x46a454
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a30
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da98
test eax, eax
je 0x46a468
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404e00
mov byte [ebx + 0xd4], 0
push ebx
push 0x46bac8
call fcn.00423f10
mov dword [ebx + 0xc8], eax
mov eax, dword [0x499bb8]
cmp byte [eax], 0
jne 0x46a4b9
mov eax, ebx
call fcn.0046a648
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046cb48
mov eax, ebx
call fcn.0046d6ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a4f9
call fcn.0040400c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a8c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46a967
cmp dword [ebx + 0x94], 0
jne 0x46a961
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46a850
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46a961
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46a927
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46a961
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419cc4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46a936
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46ab80
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49fcd4]
cmp dword [eax + 0x30], 0
je 0x46acdd
test bl, bl
jne 0x46ac2e
cmp dword [esi + 0x9c], 0
jne 0x46ac23
mov eax, esi
call fcn.0046d528
push eax
push 0x46aaac
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46abf4
mov eax, dword [0x49fcd4]
call fcn.0046dc08
test al, al
je 0x46abf4
mov eax, dword [0x49fcf8]
call fcn.00405d10
mov edi, eax
cmp edi, 0
jl 0x46abf4
push 0
mov eax, dword [0x49fcf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46abde
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46ac23
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419cc4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46ac03
inc dword [esi + 0x9c]
jmp 0x46acdd
cmp dword [esi + 0x9c], 0
jle 0x46acdd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46acdd
cmp dword [esi + 0x44], 0
je 0x46ac89
mov eax, dword [0x49fcd4]
call fcn.0046dc08
test al, al
je 0x46ac89
mov eax, dword [0x49fcf8]
call fcn.00405d10
mov edi, eax
cmp edi, 0
jl 0x46ac89
push 5
mov eax, dword [0x49fcf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46ac73
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46acb8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419cc4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46ac98
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49fcf8
mov ecx, 1
mov edx, dword [0x46aa8c]
call fcn.00405ec4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46b7c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46b82e
mov eax, ebx
call fcn.0046dc08
test al, al
jne 0x46b82e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c80
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46b81b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46b83b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404be4
jmp 0x46b83b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404be4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46cd2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46cd9a
mov eax, esi
call fcn.00455010
test al, al
je 0x46cd9a
mov eax, dword [ebx + 0x84]
call fcn.00454c70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cd9a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46cd8e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454c70
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044cae0
jmp 0x46cd9a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046cb68
pop esi
pop ebx
ret
Function at 0x470124
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x47012d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4702df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047046c
xor eax, eax
push ebp
push 0x4702bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x47017c
call fcn.004045b0
jmp 0x4702c4
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x47024b
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4701d1
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4701d1
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004700d4
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f24
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x47020a
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004700d4
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404f24
mov eax, dword [ebp - 0x14]
call fcn.00405020
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4702a7
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004700d4
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4702f8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404f24
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004700f4
jmp 0x4702a7
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x47026e
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x47026e
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x470284
mov eax, ebx
call fcn.00405020
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4702a7
lea eax, [ebp - 0x24]
mov ecx, 0x4702f8
mov edx, ebx
call fcn.00404ea8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004700f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4702c4
mov eax, dword [ebp - 4]
call fcn.00470478
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4702e6
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404bb4
ret
Function at 0x471fc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x471fe5
inc edi
mov eax, esi
call fcn.00404e50
cmp edi, eax
jg 0x471ff7
cmp byte [esi + edi - 1], 0x20
je 0x471fe4
mov eax, esi
test eax, eax
je 0x472002
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4720c4
cmp byte [esi + edi - 1], 0x2e
je 0x4720e8
jmp 0x4720c4
cmp byte [esi + edi - 1], 0x2e
jne 0x47206c
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4720e8
cmp dword [esp + 8], 0xff
jg 0x4720e8
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x472050
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x472058
mov bl, 1
jmp 0x472066
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4720e8
jmp 0x4720c3
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x472091
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4720c3
inc edi
mov eax, esi
call fcn.00404e50
cmp edi, eax
jg 0x4720a3
cmp byte [esi + edi - 1], 0x20
je 0x472090
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4720bb
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4720e8
jmp 0x4720d3
inc edi
mov eax, esi
call fcn.00404e50
cmp edi, eax
jle 0x47201a
cmp dword [esp + 4], 3
jne 0x4720e8
cmp dword [esp + 8], 0xff
jg 0x4720e8
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47e150
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4079cc]
call fcn.00405610
xor eax, eax
push ebp
push 0x47e2f1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4999a8], 0
jne 0x47e1ab
mov ecx, dword [0x499bc8]
mov dl, 1
mov eax, dword [0x407d7c]
call fcn.0040cc14
call fcn.00404504
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403560
mov eax, ebx
call fcn.004054e0
mov dword [ebp - 0x24], eax
mov esi, 0x47e300
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004065a8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004054f0
test eax, eax
jle 0x47e294
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47e280
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404e00
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x47e226
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404e18
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x47e23c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404e18
mov eax, dword [ebp - 0x54]
call fcn.00405020
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404e00
mov eax, dword [ebp - 0x58]
call fcn.00405020
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x47e282
xor eax, eax
test al, al
je 0x47e28d
mov ebx, 0x15
jmp 0x47e299
mov ebx, 0x10
jmp 0x47e299
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4999a8]
call fcn.0047dfd0
mov eax, dword [ebp - 4]
call fcn.0047dfd0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004065c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e2f8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404bb4
lea eax, [ebp - 0xc]
mov edx, dword [0x4079cc]
call fcn.004056e0
ret
Function at 0x493dd4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405010
xor eax, eax
push ebp
push 0x493ec8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409624
test al, al
jne 0x493e37
mov eax, dword [ebp - 4]
call fcn.00409648
test al, al
jne 0x493e37
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0x493ee4
mov dl, 1
mov eax, dword [0x407d7c]
call fcn.0040cb94
call fcn.00404504
push 0x80
mov eax, dword [ebp - 4]
call fcn.00405020
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x493e74
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0x493f14
mov dl, 1
mov eax, dword [0x407d7c]
call fcn.0040cb94
call fcn.00404504
mov byte [0x4a006c], 0
push ebx
push esi
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x493c50]
call fcn.004947c0
jmp 0x493ea2
mov eax, dword [0x499eb8]
mov eax, dword [eax]
call fcn.0046bc78
cmp byte [0x4a006c], 0
je 0x493e96
movzx ebx, byte [0x4a006d]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493ecf
lea eax, [ebp - 4]
call fcn.00404b90
ret
Function at 0x4949b8
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x494b33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x278]
call fcn.0048cf94
dec eax
test eax, eax
jle 0x494b09
mov dword [ebp - 0x10], eax
mov esi, 1
mov dword [ebx + 0x5c], esi
lea eax, [ebx + 0x54]
call fcn.00404b90
mov edx, esi
dec edx
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x278]
call fcn.0048cfcc
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x50]
call fcn.00404ea8
movzx eax, byte [0x494b44]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x494b50
mov edx, 0x494b5c
mov eax, dword [ebp - 4]
call fcn.0040df70
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00404c28
mov edx, esi
dec edx
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x278]
call fcn.0048cfcc
mov eax, dword [eax + 8]
lea ecx, [ebp - 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040985c
mov eax, dword [ebp - 0xc]
call fcn.00409624
test al, al
jne 0x494a87
mov eax, dword [ebp - 0xc]
call fcn.00409648
push ebx
push 0x494bb0
mov eax, ebx
call fcn.00422c84
mov eax, dword [ebx + 0x40]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405020
push eax
mov eax, dword [ebp - 8]
call fcn.00405020
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
test al, al
je 0x494acb
lea eax, [ebx + 0x58]
mov edx, 0x494b68
call fcn.00404be4
jmp 0x494ad8
lea eax, [ebx + 0x58]
mov edx, 0x494b7c
call fcn.00404be4
push ebx
push 0x494bbc
mov eax, ebx
call fcn.00422c84
mov eax, dword [ebx + 0x54]
call fcn.004095dc
test al, al
je 0x494aff
mov eax, dword [ebx + 0x54]
call fcn.00405020
push eax
call sub.kernel32.dll_DeleteFileA
inc esi
dec dword [ebp - 0x10]
jne 0x4949f4
mov byte [0x4a006c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494b3a
lea eax, [ebp - 0x14]
call fcn.00404b90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bb4
ret
Function at 0x4964b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49669c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x3d8]
call fcn.0044cbc0
mov eax, dword [ebp - 4]
test eax, eax
je 0x496508
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x49651f
lea eax, [ebp - 4]
mov edx, 0x4966b0
call fcn.00404e5c
mov edx, 0x4966bc
mov eax, dword [ebx + 0x3b8]
call fcn.0044cbf0
xor edx, edx
mov eax, dword [ebx + 0x3c8]
call fcn.0044cae0
mov eax, dword [0x499eb8]
mov eax, dword [eax]
call fcn.0046bc78
mov eax, dword [ebx + 0x3e0]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x496597
mov eax, dword [ebx + 0x3c4]
mov eax, dword [eax + 0x270]
mov edx, 0x4966e0
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x17
lea eax, [ebp - 0x10c]
mov ecx, 0x496700
mov edx, dword [ebp - 4]
call fcn.00404ea8
mov eax, dword [ebp - 0x10c]
xor ecx, ecx
mov edx, 0x496718
call fcn.00493f3c
mov eax, dword [ebx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x4965e6
mov eax, dword [ebx + 0x3c4]
mov eax, dword [eax + 0x270]
mov edx, 0x49672c
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x19
lea eax, [ebp - 0x110]
mov ecx, 0x496700
mov edx, dword [ebp - 4]
call fcn.00404ea8
mov eax, dword [ebp - 0x110]
xor ecx, ecx
mov edx, 0x496718
call fcn.00493f3c
mov eax, dword [ebx + 0x3e8]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x496671
mov eax, dword [ebx + 0x3c4]
mov eax, dword [eax + 0x270]
mov edx, 0x496748
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x23
lea eax, [ebp - 0x107]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x107]
mov ecx, 0xff
call fcn.00404e00
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
mov ecx, 0x496768
call fcn.00404ea8
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
mov ecx, 0x496700
mov edx, dword [ebp - 4]
call fcn.00404ea8
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 8]
mov edx, 0x496718
call fcn.00493f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4966a3
lea eax, [ebp - 0x118]
mov edx, 4
call fcn.00404bb4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bb4
ret