joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630
Function at 0x17f9d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1812d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x181b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x185c080
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.017fa1b0
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x17f9e16
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.017f9ef0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x17f9e09
test ebx, ebx
je 0x17f9e14
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1817668
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.017f6de0
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x17f9dc0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x17f9e09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x17f9e14
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x17f9e5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
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
Function at 0x180fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.01806e52
and dword [ebp - 0x14], 0
cmp dword [0x185d558], 0
mov dword [ebp - 0x18], eax
jne 0x180fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x180fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x180fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x185d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x185d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x185d560], eax
call edi
push eax
call esi
mov dword [0x185d568], eax
test eax, eax
je 0x180fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x185d564], eax
mov eax, dword [0x185d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x180fc78
cmp dword [0x185d568], ecx
je 0x180fc78
push eax
call esi
push dword [0x185d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x180fc78
test ebx, ebx
je 0x180fc78
call edi
test eax, eax
je 0x180fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x180fc6f
test byte [ebp - 8], 1
jne 0x180fc78
or dword [ebp + 0x10], 0x200000
jmp 0x180fcab
mov eax, dword [0x185d55c]
cmp eax, dword [ebp - 0x18]
je 0x180fcab
push eax
call esi
test eax, eax
je 0x180fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x180fcab
mov eax, dword [0x185d560]
cmp eax, dword [ebp - 0x18]
je 0x180fcab
push eax
call esi
test eax, eax
je 0x180fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x185d558]
call esi
test eax, eax
je 0x180fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x180fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.018013cb
leave
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ed0
nop
mov ecx, 0x29b85696
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x76e13d3d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401340
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebx
push ebp
push esi
push edi
mov edi, eax
mov edx, 0x220
or ecx, 0xffffffff
mov esi, edi
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x413050]
inc esi
dec edx
jne 0x401352
mov ebp, dword [edi + 0x224]
lea ebx, [ecx + ebp]
test ebp, ebp
je 0x4013b3
mov edi, dword [edi + 0x220]
lea ecx, [ecx]
mov edx, 0xb3c
or ecx, 0xffffffff
mov esi, edi
lea ebx, [ebx]
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x413050]
inc esi
dec edx
jne 0x401390
add ebx, ecx
add edi, 0xb3c
dec ebp
jne 0x401380
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x401570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push esi
mov edx, 0x68
or eax, 0xffffffff
mov esi, ecx
lea ecx, [ecx]
movzx ecx, byte [esi]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x413050]
inc esi
dec edx
jne 0x401580
pop esi
ret

Function at 0x401e60
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 8]
push eax
push 0x28
call dword [0x40d0f8]
push eax
call dword [0x40d034]
test eax, eax
je 0x401f0b
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [0x40d01c]
test eax, eax
je 0x401ef1
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [0x40d008]
test eax, eax
je 0x401ed6
call dword [0x40d084]
test eax, eax
je 0x401ef1
call dword [0x40d084]
push eax
push str.AdjustTokenPrivileges____completed_with_status___08x_
push 2
mov ebx, 0x415428
call fcn.00401660
add esp, 0xc
push dword [esp + 8]
call dword [0x40d0bc]
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040bb9d
add esp, 0x20
ret
call dword [0x40d084]
push eax
push str.OpenProcessToken____failed___08x_
push 1
mov ebx, 0x415428
call fcn.00401660
mov ecx, dword [esp + 0x28]
add esp, 0xc
pop ebx
xor ecx, esp
call fcn.0040bb9d
add esp, 0x20
ret
Function at 0x409de0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
push ebp
push esi
lea edx, [eax*8 + 8]
xor ebp, ebp
or ecx, 0xffffffff
push edi
mov dword [esp + 0x10], 0
lea esi, [ebx + 8]
test edx, edx
je 0x409e28
lea esp, [esp]
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x413050]
inc esi
dec edx
jne 0x409e10
mov eax, dword [ebx + 4]
cmp ecx, eax
je 0x409e5e
or dword [0x415054], 0x20000400
push eax
push ecx
mov dword [ebx + 8], ebp
mov dword [ebx], ebp
push str.Mismatched_struct_checksum_for_head_slab___computed__X___read__X
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov esi, dword [ebx]
mov dword [ebx], ebp
test esi, esi
je 0x409fc6
lea ebx, [ebx]
mov eax, ebp
inc ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ebp
cmp eax, 0x400
jae 0x409fa7
lea eax, [esp + 0x18]
push eax
mov edi, 0x10
mov ecx, 0x419860
call fcn.004025a0
test eax, eax
je 0x409f8b
mov eax, dword [esp + 0x20]
cmp eax, 0x1000
ja 0x409f66
lea edi, [eax*8 + 0x10]
push edi
call dword [0x40d1ec]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x409f4b
push ebp
mov ecx, 0x419860
call fcn.004025a0
test eax, eax
je 0x409f3b
mov eax, ebp
call fcn.00409fe0
mov ecx, dword [ebp + 4]
cmp eax, ecx
jne 0x409f1b
mov dword [ebx], ebp
mov eax, dword [ebp]
mov dword [esp + 0x2c], ebp
mov dword [ebp], 0
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x409f8f
or dword [0x415054], 0x20000400
push ecx
push eax
push str.Mismatched_struct_checksum_for_intermediate_slab___computed__X___read__X
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0x10
push ebp
call dword [0x40d204]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp 0x409f8b
push edi
push str.Could_not_allocate__d_bytes_of_memory_for_marshaled_slab
push 1
mov ebx, 0x415428
call fcn.00401660
mov ebp, dword [esp + 0x20]
add esp, 0xc
jmp 0x409f8b
or dword [0x415054], 0x20000800
push 0x1000
push eax
push esi
push str.Slab_at__p_did_not_pass_sanity_check___read__d___max_expected__d
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0x14
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov esi, eax
test eax, eax
jne 0x409e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
or dword [0x415054], 0x20000800
push ebp
push str.Slab_list_did_not_pass_sanity_check___list_too_long___stopping_after__d_elements
push 1
mov ebx, 0x415428
call fcn.00401660
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x409fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push esi
lea esi, [eax + 8]
mov eax, dword [esi]
lea edx, [eax*8 + 8]
or eax, 0xffffffff
test edx, edx
je 0x40a019
jmp 0x40a000
movzx ecx, byte [esi]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x413050]
inc esi
dec edx
jne 0x40a000
pop esi
ret
Function at 0x40a020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
je 0x40a06b
mov ecx, edx
push esi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a030
sub ecx, esi
sar ecx, 1
lea esi, [ecx + ecx]
or eax, 0xffffffff
test esi, esi
je 0x40a069
lea esp, [esp]
movzx ecx, byte [edx]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x413050]
inc edx
dec esi
jne 0x40a050
pop esi
ret
xor eax, eax
ret
Function at 0x4061e0
Capabilities:
Terminate thread
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov eax, dword [0x445b0c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x406260
push esi
push edi
push edi
push 3
push edi
push edi
push 0x40000000
push edi
push 0x445a04
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x1f40
mov dword [esp + 0x3c], edi
call fcn.00406450
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40624d
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
push 0x3e8
mov edx, dword [0x445b0c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, dword [0x445b08]
cmp eax, edi
je 0x406281
mov eax, dword [0x445b08]
cmp eax, 0xffffffff
je 0x406281
mov eax, dword [0x445b08]
push eax
call ebx
mov dword [0x445b08], edi
mov eax, dword [0x445b0c]
cmp eax, edi
je 0x4062a9
mov eax, dword [0x445b0c]
cmp eax, 0xffffffff
je 0x4062a9
push 0xffffffffffffffff
mov ecx, dword [0x445b0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x445b0c], edi
call fcn.004063b0
mov dword [0x445b14], edi
pop edi
pop ebx
add esp, 0x14
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x404a03
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
mov esi, esp
sub esp, 0x44
mov eax, esp
mov edx, eax
add edx, 0x44
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x404a14
push str.psapi.dll
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [esp], eax
cmp dword [esp], 0
je 0x404b14
push str.EnumProcesses
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 4], eax
push str.EnumProcessModules
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 8], eax
push str.GetModuleBaseNameA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0xc], eax
push str.GetModuleFileNameExA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x10], eax
push str.EnumDeviceDrivers
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x14], eax
push str.GetDeviceDriverBaseNameA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x18], eax
push str.GetDeviceDriverFileNameA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x1c], eax
push str.GetProcessMemoryInfo
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x20], eax
push str.EmptyWorkingSet
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x415258], eax
push 0x1000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [esp + 0x24], eax
push 0x1000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [esp + 0x28], eax
push 0x1000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [esp + 0x2c], eax
push 0x4120d3
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [esp + 0x30], eax
cmp dword [esp + 0x30], 0
je 0x404b71
push str.CreateToolhelp32Snapshot
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x34], eax
push str.Thread32First
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x38], eax
push str.Thread32Next
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x3c], eax
push str.OpenThread
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x40], eax
xor eax, eax
add esp, 0x44
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret
Function at 0x406ea6
Capabilities:
Timestomp file

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
push dword [esp + 0x20]
pop dword [0x4122fc]
mov esi, esp
sub esp, 0x3c
mov eax, esp
mov edx, eax
add edx, 0x3c
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x406ec1
mov edx, dword [esi + 0x18]
lea ecx, [esp]
call fcn.0040b7c1
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
call fcn.0040b7c1
lea eax, [esp + 8]
lea eax, [esp + 0x10]
lea eax, [esp + 0x18]
lea eax, [esp + 0x20]
push dword [esp]
push 0
call fcn.0041066a
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x3c]
call sub.KERNEL32.DLL_GetFileTime
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push dword [esp + 0x1c]
call sub.KERNEL32.DLL_CreateFileA
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x40]
call sub.KERNEL32.DLL_SetFileTime
push dword [esp + 0x34]
call sub.KERNEL32.DLL_CloseHandle
push 0
call fcn.004104d9
mov edx, dword [esp + 0x38]
push dword [0x4122fc]
call fcn.0040b800
pop eax
jmp 0x406f8e
mov edx, dword [esp]
call fcn.0040b820
mov edx, dword [esp + 4]
call fcn.0040b820
mov edx, dword [esp + 0x38]
call fcn.0040b820
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 8

Function at 0x406fb8
Capabilities:
Set registry value

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
mov esi, esp
sub esp, 0x1c
mov eax, esp
mov edx, eax
add edx, 0x1c
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x406fc9
mov eax, dword [esi + 0x18]
mov dword [esp], eax
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
call fcn.0040b7c1
mov edx, dword [esi + 0x20]
lea ecx, [esp + 8]
call fcn.0040b7c1
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0xc]
call fcn.0040b7c1
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x14]
push eax
push dword [esp + 8]
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
cmp ebx, 0
jne 0x407066
mov eax, dword [esp + 0xc]
call fcn.0040aff7
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push eax
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
call sub.ADVAPI32.dll_RegSetValueExA
mov ebx, eax
cmp ebx, 0
jne 0x40705d
mov dword [esp + 0x10], 1
push dword [esp + 0x14]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, dword [esp + 0x10]
jmp 0x40706e
mov edx, dword [esp + 8]
call fcn.0040b820
mov edx, dword [esp + 4]
call fcn.0040b820
mov edx, dword [esp + 0xc]
call fcn.0040b820
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 0x10
Function at 0x40ba00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
push dword [esp + 0x20]
pop dword [0x4122fc]
mov esi, esp
sub esp, 0x24
mov eax, esp
mov edx, eax
add edx, 0x24
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x40ba1b
mov edx, dword [esi + 0x18]
lea ecx, [esp]
call fcn.0040b7c1
mov eax, dword [esi + 0x1c]
mov byte [esp + 4], al
mov byte [esp + 5], 1
mov dword [esp + 6], 0x80000000
mov dword [esp + 0xa], 0
mov dword [esp + 0xe], 0
mov dword [esp + 0x12], 0
push dword [0x4122fc]
mov eax, 0x800
call fcn.0040b24b
lea ecx, [esp + 0x1a]
pop edx
call fcn.0040b754
mov edx, 0x412300
lea ecx, [esp + 0x1a]
call fcn.0040b7a0
push 0
push 0
push 0
movsx eax, byte [esp + 0x10]
push eax
push str.Opera_6.01
call sub.WININET.dll_InternetOpenA
mov dword [esp + 0xa], eax
push 0
push dword [esp + 0xa]
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x1e]
call sub.WININET.dll_InternetOpenUrlA
mov dword [esp + 0xe], eax
mov eax, 1
call fcn.004161c0
lea eax, [esp + 0x12]
push eax
mov eax, dword [esp + 0x1a]
call fcn.0040aff7
push eax
mov eax, dword [esp + 0x1e]
push eax
push dword [esp + 0x1a]
call sub.WININET.dll_InternetReadFile
mov ebx, dword [esp + 0x12]
cmp ebx, 0
jne 0x40bb05
mov byte [esp + 5], 0
jmp 0x40bb32
mov edx, dword [esp + 0x1a]
push dword [0x4122fc]
call fcn.0040b800
push dword [0x4122fc]
push dword [esp + 0x1a]
mov eax, dword [esp + 0x22]
call fcn.0040afba
pop eax
lea ecx, [esp + 0x1e]
pop edx
call fcn.0040b754
mov ebx, dword [esp + 0x1e]
add ebx, dword [esp + 0x12]
mov dword [esp + 0x1e], ebx
movsx ebx, byte [esp + 5]
cmp ebx, 0
jne 0x40bace
push dword [esp + 0xe]
call sub.WININET.dll_InternetCloseHandle
push dword [esp + 0xa]
call sub.WININET.dll_InternetCloseHandle
mov edx, dword [esp + 0x1a]
push dword [0x4122fc]
call fcn.0040b800
pop eax
jmp 0x40bb74
mov edx, dword [esp + 0x16]
call fcn.0040b820
mov edx, dword [esp + 0x1a]
call fcn.0040b820
mov edx, dword [esp]
call fcn.0040b820
add esp, 0x24
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 8

Function at 0x40bba0
Capabilities:
Get common file path

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
push dword [esp + 0x18]
pop dword [0x4122fc]
mov esi, esp
sub esp, 4
mov eax, esp
mov edx, eax
add edx, 4
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x40bbbb
push dword [0x4122fc]
mov eax, 0x1f4
call fcn.0040b24b
lea ecx, [esp + 4]
pop edx
call fcn.0040b754
mov eax, dword [esp]
push eax
push 0x226
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov edx, dword [esp]
push dword [0x4122fc]
call fcn.0040b800
pop eax
jmp 0x40bc09
mov edx, dword [esp]
call fcn.0040b820
add esp, 4
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret