joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c4d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48a680
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xc]
call fcn.00401bd0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
mov dword [esp + 0x18], 0
test eax, eax
jl 0x40c52f
push 0x48f91c
push ecx
call fcn.0046dc11
add esp, 8
test eax, eax
je 0x40c52f
sub eax, dword [esp + 8]
sar eax, 1
jns 0x40c597
push 0x48ef18
push 0
lea ecx, [esp + 0x10]
call fcn.004018f0
lea ecx, [esp + 0xc]
push ecx
call fcn.0040b270
add esp, 4
mov eax, dword [eax]
push eax
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.004018f0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c584
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x10]
call fcn.00403660
mov ecx, dword [esp + 8]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x40cec0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x485e58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.0041e860
mov eax, dword [0x4ae458]
cmp eax, 1
mov dword [esp + 0x2c], 0
jge 0x40cf0a
mov eax, 1
mov dword [0x4ae458], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.0041fa70
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x2c], 0xffffffff
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0041e930
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test esi, esi
je 0x40cf63
push edi
call fcn.0040c4d0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x40d170
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x485ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea ecx, [esp + 0x24]
call fcn.00453c6b
mov edi, dword [esp + 0x50]
push 0
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0
call fcn.00453d03
test eax, eax
je 0x40d1cd
push edi
call fcn.0040c4d0
add esp, 4
test eax, eax
je 0x40d254
mov ebx, dword [esp + 0x4c]
push 0
push ebx
call fcn.004414a0
add esp, 8
mov esi, eax
push edi
test esi, esi
je 0x40d28a
push 0
push esi
call fcn.00441530
push esi
mov ebp, eax
call fcn.00441570
add esp, 0x10
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebp, ebp
je 0x40d254
lea ecx, [esp + 0x14]
call fcn.00454ff5
push 0
push 0
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 1
call fcn.00455483
test eax, eax
je 0x40d27b
lea ecx, [esp + 0x14]
call fcn.00454ee0
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00454f8f
cmp esi, 0x9e
jne 0x40d27b
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.004550fd
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.00453c94
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.004550fd
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.00453c94
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x40d3e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x485f61
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, dword [esp + 0x238]
xor ebx, ebx
push 0x208
lea eax, [esp + 0x20]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.0046e0a0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x48e98c
push str.TempAppPath
push 0x48e960
call fcn.0040d2c0
add esp, 0xc
test al, al
je 0x40d49d
lea edx, [esp + 0x14]
push edx
call fcn.0040b270
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x1c]
jmp 0x40d480
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x40d480
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40d5dd
push 0x48fc48
lea ecx, [esp + 0x14]
push 0x48e960
push ecx
call fcn.0040d630
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
mov dword [esp + 0x230], ebx
cmp eax, ebx
je 0x40d5cf
push ecx
lea eax, [edx - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401660
lea edx, [esp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.0040b5b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 1
call fcn.00401ab0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x230], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d528
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jl 0x40d54d
push 0x48f91c
push ecx
call fcn.0046dc11
add esp, 8
cmp eax, ebx
je 0x40d54d
sub eax, dword [esp + 0x10]
sar eax, 1
jns 0x40d596
lea ecx, [esp + 0x18]
push ecx
call fcn.0040b270
add esp, 4
mov eax, dword [eax]
push eax
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 2
call fcn.004018f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x230], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d596
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x18]
call fcn.00403660
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebx
je 0x40d5cf
lea esi, [esp + 0x1c]
mov eax, edx
sub esi, edx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
cmp cx, bx
jne 0x40d5c0
mov dword [esp + 0x230], 0xffffffff
lea eax, [edx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d5f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00401bd0
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0046dc02
add esp, 0x224
ret
Function at 0x40efc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x486266
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.0040e340
mov edi, dword [esp + 0x1c]
xor ebx, ebx
push edi
mov dword [esp + 0x274], ebx
call fcn.0040c4d0
add esp, 8
cmp dword [esp + 0x274], ebx
je 0x40f02e
push edi
mov ecx, 0x4b1468
call fcn.00414d40
push 0x104
lea ecx, [esp + 0x5c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.0046e0a0
add esp, 0xc
lea eax, [esp + 0x58]
push str.commandline
mov ecx, 0x4b1280
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], str.runas
mov dword [esp + 0x30], eax
call fcn.004543fc
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401660
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x26c], 1
lea ecx, [esp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x40f0b6
push 0x12
push str.____runas_admin___
call fcn.00401840
jmp 0x40f0c2
push 0x13
push str._____runas_admin___
call fcn.004039f0
push str.runasadmin
mov ecx, 0x4b1280
call fcn.004543fc
push 0x11
push str.___runas_admin___
mov ecx, eax
call fcn.00401840
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], ebx
call fcn.0040b270
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x38], edx
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [esi - 0x10]
mov byte [esp + 0x26c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f17b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0046dc02
add esp, 0x260
ret
Function at 0x412780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4868e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov esi, esp
push eax
mov dword [esp + 0x24], 1
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
mov byte [esp + 0x28], 2
call fcn.00401660
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x34]
add esp, 4
push eax
push ecx
mov byte [esp + 0x2c], 1
call fcn.004116e0
mov esi, eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41284d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4162a0
Capabilities:
Enumerate process modules

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov dword [esi + 8], 0xffffffff
mov dword [edi], 0
mov eax, dword [esi]
push eax
call fcn.00446b49
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446b54
add esp, 8
push edi
push 0x1000
push eax
mov dword [esi], eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4162f6
shr dword [edi], 2
mov dword [esi + 8], 1
cmp dword [edi], 0x400
jae 0x4162b4
mov eax, dword [esi]
test eax, eax
je 0x416315
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jae 0x416315
mov eax, dword [eax + ecx*4]
inc ecx
pop edi
mov dword [esi + 8], ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x416360
Capabilities:
Enumerate process modules

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
lea edi, [esi + 8]
mov dword [edi], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 4], 0
je 0x4163e8
mov eax, dword [esi + 4]
push eax
call fcn.00446b49
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446b54
add esp, 8
push edi
push 0x1000
push eax
mov dword [esi + 4], eax
mov eax, dword [esi]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4163c7
shr dword [edi], 2
mov dword [esi + 0xc], 0
cmp dword [edi], 0x400
jae 0x416380
cmp dword [esi], 0
je 0x4163e8
mov ecx, dword [esi + 0xc]
cmp ecx, dword [edi]
jae 0x4163e8
mov edx, dword [esi + 4]
mov eax, dword [edx + ecx*4]
inc ecx
pop edi
mov dword [esi + 0xc], ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x4163f0
Capabilities:
Enumerate gui resources

Disassembly:
push esi
mov esi, ecx
push esi
push 0x4161b0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 0
test eax, eax
je 0x41641e
cmp dword [esi + 0xc], 0
jbe 0x41641e
mov eax, dword [eax]
mov dword [esi + 0x10], 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x416610
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x488c48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x5c], 0
jne 0x41675e
call fcn.0044f03c
cmp dword [eax + 4], 0
mov ebp, dword [sym.imp.USER32.dll_LoadCursorW]
je 0x416678
call fcn.0044f03c
mov eax, dword [eax + 0xc]
push 0x8c
push eax
call ebp
test eax, eax
je 0x416678
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x5c], eax
test eax, eax
jne 0x41675e
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416692
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x20], 0
jge 0x4166d0
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401610
mov esi, dword [esp + 0x14]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0046e11a
add esp, 8
test eax, eax
jl 0x416772
cmp eax, dword [esi - 8]
jg 0x416772
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0xd
mov word [esi + eax*2], cx
push 0x491a70
lea ecx, [esp + 0x1c]
call fcn.004039f0
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x416733
push 0x6a
push esi
call ebp
test eax, eax
je 0x416733
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x5c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41675e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401280
int3
Function at 0x417a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x487260
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
call fcn.0044f03c
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x90]
push 0x491ac0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
mov esi, eax
push ebp
push esi
lea ecx, [esp + 0x1c]
call fcn.00455c91
push 0
push 0x1000
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x98], 0
call fcn.004521ef
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x8c], 1
call fcn.004171c0
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00452038
lea ecx, [esp + 0x10]
call fcn.00455efc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 0
call fcn.004521b1
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.00456011
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x7c
ret

Function at 0x41cbd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x487558
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.00454ff5
mov eax, dword [esp + 0x38]
push 0
push 0
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call fcn.00455483
lea ecx, [esp + 0x18]
test eax, eax
jne 0x41cc41
mov dword [esp + 0x30], 0xffffffff
call fcn.004550fd
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
call fcn.00454ee0
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00454ce9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x18]
call fcn.00454f8f
lea ecx, [esp + 0xc]
push ecx
push 1
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x49e398
push 0
push esi
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.004550fd
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x41e010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4877b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4b1348]
dec eax
cmp eax, 8
ja 0x41e12a
push 0x491cdc
mov ecx, 0x4b1280
call fcn.004543fc
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401660
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e08a
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [0x4b1348]
push ecx
lea edx, [esp + 0x10]
push 0x48f8e0
push edx
mov byte [esp + 0x28], 1
call fcn.00403ac0
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
push str._id_
lea ecx, [esp + 0x18]
call fcn.00403660
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
je 0x41e0e9
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e10a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e12a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x41e660
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x102c
call fcn.0046f8f0
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebx
mov ebx, dword [esp + 0x1034]
push ebp
mov ebp, dword [esp + 0x103c]
push esi
push edi
push 0
push 0
push 0
push 0
push str.MyDownload
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
mov dword [esp + 0x18], eax
push 0x4000000
lea eax, [esp + 0x1020]
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [esp + 0x1020]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x1024]
push ecx
push ebx
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x41e739
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
je 0x41e739
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x41e71c
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x10]
cmp eax, 0x400
jb 0x41e73d
lea eax, [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x41e700
xor al, al
jmp 0x41e74b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
mov al, 1
mov ecx, dword [esp + 0x1038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046dc02
add esp, 0x102c
ret
Function at 0x41f790
Capabilities:
Delete file

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
test edx, edx
jne 0x41f7a3
xor eax, eax
jmp 0x41f7c0
mov eax, edx
push ebx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f7b0
sub eax, ebx
sar eax, 1
pop ebx
push eax
push edx
mov ecx, edi
call fcn.00401840
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov ecx, dword [edi]
mov edi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esi]
push eax
push edx
push eax
push 0
push 0
push edi
push ecx
mov ecx, esi
call fcn.0041f510
mov esi, eax
test esi, esi
jne 0x41f800
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov eax, esi
pop esi
ret 0x14