joyce8/EMBER2024-capa huggingface dataset:
Function at 0x586c90
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x586ca2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.00533320
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x586d65
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x586cf6
test esi, esi
jle 0x586d44
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x586ce0
jmp 0x586d44
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x586d1a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.00501660
add esp, 0xc
test esi, esi
jle 0x586d44
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x586d30
push esi
push ebp
push ebp
push edi
call fcn.00537dd0
add esp, 0x10
pop ebx
test eax, eax
jne 0x586d65
push esi
push ebp
call fcn.00534480
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x589080
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x589097
mov edi, ecx
jmp 0x58909b
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x5890ab
mov eax, ebx
jmp 0x5890b5
push eax
push ebx
call fcn.005352d0
add esp, 8
test eax, eax
jne 0x5890bd
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x5890db
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x5890c5
cmp esi, dword [edi + 4]
jge 0x5890f0
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x5890e0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x589114
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x589111
dec ecx
test ecx, ecx
jg 0x589103
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x59be20
Capabilities:
Parse pe header

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

Function at 0x59cd30
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x6144d8
push esi
call fcn.005258c6
pop ecx
pop ecx
test eax, eax
jne 0x59cd5e
xor al, al
jmp 0x59cddb
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0059ca71
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x59cd98
push dword [ebp - 0x210]
call fcn.00504903
xor al, al
jmp 0x59cdd9
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x59cd9e
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x59cdbe
push edx
call fcn.0059cc67
pop ecx
test al, al
je 0x59cd89
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x59cdcc
mov bl, 1
push dword [ebp - 0x210]
call fcn.00504903
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ff23c
leave
ret

Function at 0x59da91
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x59dad4
call fcn.005137d7
mov dword [eax], 0xf
call fcn.005137ea
mov dword [eax], 0xd
call fcn.00513b6e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
leave
ret
test eax, eax
jne 0x59dadb
inc eax
jmp 0x59dac8
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x59dac6
xor eax, eax
cmp ecx, 1
setne al
jmp 0x59dac8
Function at 0x4068a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068c9
xor eax, eax
test eax, eax
je 0x4068dc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068dc
xor ecx, ecx
jmp 0x4068df
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4275ac], 0
push esi
jne 0x406a39
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a13
mov dword [ecx*4 + 0x4275a8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a0e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a6a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275a8]
xor eax, esi
inc ecx
dec edx
jne 0x406a4c
pop edi
not eax
pop esi
ret 0xc

Function at 0x2f6364c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x2f63656
pushal
call 0x2f6365c
pop ebp
sub ebp, 0x10
sub ebp, 0x2b6364c
jmp 0x2f63672
mov eax, 0x2b6364c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b8
mov edx, 0x371209ed
xor byte [eax], dl
inc eax
dec ecx
jne 0x2f63689
jmp 0x2f6369c
and byte [esi + 0x64], ah
shr ebp, 1
in eax, dx
in eax, dx
insb byte es:[edi], dx
sub al, 0x15
in eax, dx
in eax, dx
in eax, dx
out dx, al
and byte [ebp - 0x15], dl
in eax, dx
in eax, dx
in eax, dx
push edi
vpaddsw ymm5, ymm2, ymm5
sbb cl, byte [edi]
out dx, al
and eax, 0xede16c66
in eax, dx
in eax, dx
out dx, al
sub byte [eax - 0x77], ah
leave
mov ecx, ecx
adc dword [ecx + ebp*8 - 0x37], esp
mov ebp, 0xf2678585
in eax, dx
test dword [edi], ecx
inc esi
jnp 0x2f636c3
out dx, eax
in al, dx
ror ecx, 0x85
sti
push ss
scasd eax, dword es:[edi]
popal
add eax, 0xededede8
add al, 0xc5
in eax, dx
in eax, dx
in eax, dx
mov eax, 0x68660166
in eax, 0xed
in eax, dx
in eax, dx
js 0x2f636d3
in eax, dx
in eax, dx
in eax, dx
pushaw
std
in eax, dx
in eax, dx
in eax, dx
sub al, 4
out dx, eax
fsub st(7), st(0)
outsb dx, byte [esi]
das
jmp 0x1c5f19ab
Function at 0x401c80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x481418], 0
jne 0x401c9f
cmp dword [0x48141c], 0
jne 0x401c9f
mov eax, 1
jmp 0x401d30
push 0
push 0
push 1
push 0
call dword [0x4893fc]
mov dword [0x487958], eax
cmp dword [0x487958], 0
je 0x401d2e
push 0
push 0
push 1
push 0
call dword [0x4893fc]
mov dword [0x48795c], eax
cmp dword [0x48795c], 0
je 0x401d17
push 0
push 0
push 0
push 0x401db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x487954], eax
cmp dword [0x487954], 0
je 0x401d01
mov eax, 1
jmp 0x401d30
mov eax, dword [0x48795c]
push eax
call dword [0x4893e4]
mov dword [0x48795c], 0
mov ecx, dword [0x487958]
push ecx
call dword [0x4893e4]
mov dword [0x487958], 0
xor eax, eax
pop ebp
ret
Function at 0x40ff90
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x47dce8
call fcn.0040d850
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41009e
push 0xfffe
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x410094
push str.60A4DD07_D642_4E11_A5EF_8964F2A7CC16
push str.svchost.exe
mov ecx, dword [ebp - 8]
push ecx
push str._s_s__s
push 0x7fff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x489794]
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [0x47f99c], 1
jne 0x410040
lea eax, [ebp - 0x10]
push eax
push 0x432b78
push SysReAllocString
call dword [0x4896c0]
test eax, eax
jne 0x410040
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push 0x483710
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x4896bc]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4896c4]
cmp dword [0x47f998], 1
jne 0x41008a
lea eax, [ebp - 0x10]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x4896c0]
test eax, eax
jne 0x41008a
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push 0x48375e
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x4896bc]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4896c4]
mov eax, dword [ebp - 0xc]
push eax
call dword [0x4893f8]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x4893f8]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x410b90
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x47f9a4], 1
jne 0x410ccd
push 0xfffe
push 0x40
call dword [0x4893ec]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x410c0d
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x4368d0
call dword [0x4897a4]
test eax, eax
jne 0x410c03
push str.DF857D4C_4EBF_45E6_89A8_3179F14E6559
mov ecx, dword [ebp - 0xc]
push ecx
push str._s_s.lnk
push 0x7fff
mov edx, dword [ebp - 4]
push edx
call fcn.0042217a
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x4897c0]
mov edx, dword [ebp - 4]
push edx
call dword [0x4893f8]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4368e0
call dword [0x4897a4]
test eax, eax
jne 0x410ccd
push 0xfffe
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x410cc3
push str.CE3A7F9D_1E73_435A_B0F9_47CED955CB52
mov ecx, dword [ebp - 8]
push ecx
push 0x432d50
push 0x7fff
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042217a
add esp, 0x14
push 0xfffe
push 0x40
call dword [0x4893ec]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410cb9
push str.D417F4DA_94EE_427F_8BCB_34B0AFEBCEE0
push str.CE3A7F9D_1E73_435A_B0F9_47CED955CB52
mov eax, dword [ebp - 8]
push eax
push str._s_s_s.BAT
push 0x7fff
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042217a
add esp, 0x18
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4893f8]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4893f8]
mov eax, dword [ebp - 8]
push eax
call dword [0x4897c0]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x415480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push str.UNLOAD.TXT
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4154f1
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4892a8], eax
cmp dword [0x4892a8], 0
je 0x4154f1
push 0
push 0
push 0
push 0x409460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4892ac], eax
cmp dword [0x4892ac], 0
je 0x4154db
jmp 0x4154f1
mov eax, dword [0x4892a8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x4892a8], 0
cmp dword [0x47f9ac], 1
jne 0x4155bf
call fcn.0041afe0
cmp eax, 1
jne 0x4155bf
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push ecx
push 0x47dce8
call fcn.0040d850
add esp, 8
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x4155bf
xor edx, edx
mov word [ebp - 0x3a0], dx
push 0x206
push 0
lea eax, [ebp - 0x39e]
push eax
call fcn.00422100
add esp, 0xc
push str.svchost.exe
mov ecx, dword [ebp - 0x198]
push ecx
push str.__s_s_
push 0x104
lea edx, [ebp - 0x3a0]
push edx
call fcn.0042217a
add esp, 0x14
mov eax, dword [0x47fa50]
push eax
mov ecx, dword [0x47fa4c]
push ecx
push 0x47f9fe
push 0x47f9b0
push str.60A4DD07_D642_4E11_A5EF_8964F2A7CC16
lea edx, [ebp - 0x3a0]
push edx
call fcn.004080b0
add esp, 0x18
mov eax, dword [ebp - 0x198]
push eax
call dword [0x4893f8]
cmp dword [0x47f9a0], 0
jne 0x4155cd
call fcn.0040ff90
cmp dword [0x47f9a4], 1
jne 0x4155db
call fcn.0040fd00
cmp dword [0x47f9a0], 1
jne 0x4155e9
call fcn.004198b0
push 0x15
call fcn.00406760
add esp, 4
cmp dword [0x47e2d8], 1
jne 0x41564a
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4892b8], eax
cmp dword [0x4892b8], 0
je 0x41564a
push 0
push 0
push 0
push 0x40cb30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4892bc], eax
cmp dword [0x4892bc], 0
je 0x41563d
jmp 0x41564a
mov ecx, dword [0x4892b8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x190]
push edx
push 2
call dword [0x489860]
test eax, eax
jne 0x4156b0
cmp dword [0x48651c], 1
jne 0x415680
push 0
push 0
push 0
push 0x41a290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489a08], eax
push 0
push 0
push 0
push 0x41fc60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489cc4], eax
cmp dword [0x489cc4], 0
je 0x4156aa
mov eax, 1
jmp 0x4156b5
call dword [0x489864]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42803e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4870c8]
jne 0x428048
repz ret
jmp fcn.0042c272

Function at 0x42bebf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4870c8]
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.00426904
and dword [ebp - 0x14], 0
cmp dword [0x48a684], 0
mov dword [ebp - 0x18], eax
jne 0x42bf72
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42c01a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4381c0
push ebx
call edi
test eax, eax
je 0x42c01a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x48a684], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48a688], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48a68c], eax
call edi
push eax
call esi
mov dword [0x48a694], eax
test eax, eax
je 0x42bf72
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x48a690], eax
mov eax, dword [0x48a690]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42bfcb
cmp dword [0x48a694], ecx
je 0x42bfcb
push eax
call esi
push dword [0x48a694]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42bfcb
test ebx, ebx
je 0x42bfcb
call edi
test eax, eax
je 0x42bfc2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42bfc2
test byte [ebp - 8], 1
jne 0x42bfcb
or dword [ebp + 0x10], 0x200000
jmp 0x42bffe
mov eax, dword [0x48a688]
cmp eax, dword [ebp - 0x18]
je 0x42bffe
push eax
call esi
test eax, eax
je 0x42bffe
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42bffe
mov eax, dword [0x48a68c]
cmp eax, dword [ebp - 0x18]
je 0x42bffe
push eax
call esi
test eax, eax
je 0x42bffe
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48a684]
call esi
test eax, eax
je 0x42c01a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42c01c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042803e
leave
ret
Function at 0x403bb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x4090
or dword [esp], 0x31656b5b
imul eax, dword [esp], 0x51
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
mov eax, 0xb02c0b03
mov edx, dword [esp + 4]
mul edx
shr edx, 6
mov dword [esp + 4], edx
shl dword [esp + 4], 0x10
or dword [esp + 4], 0xecb0ddf8
add dword [esp + 4], 0x637e
arpl word [eax], ax
add byte [ecx + 0x76042474], al
inc ecx
cmc
out dx, al
mov dword [esp + 8], 0x5ef
add dword [esp + 8], 0x6fab
or dword [esp + 8], 0x1ac9183b
shl dword [esp + 8], 8
shr dword [esp + 8], 2
xor dword [esp + 8], 0x325f6ec6
mov dword [esp + 8], 0xc1f4
add dword [esp + 8], 0x1c7b
or dword [esp + 8], 0x28c630b6
add dword [esp + 8], 0xffff17a2
shl dword [esp + 8], 0xb
xor dword [esp + 8], 0x30b50810
cmp byte [ebx], 0
je 0x403cf3
push esi
push edi
lea ecx, [ecx]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x5ef
add dword [esp + 0x10], 0x6fab
or dword [esp + 0x10], 0x1ac9183b
shl dword [esp + 0x10], 8
shr dword [esp + 0x10], 2
xor dword [esp + 0x10], 0x325f6ec6
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0xc1f4
add dword [esp + 0x10], 0x1c7b
or dword [esp + 0x10], 0x28c630b6
add dword [esp + 0x10], 0xffff17a2
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x30b50810
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x403c60
pop edi
pop esi
mov eax, dword [esp + 4]
pop ebx
add esp, 8
ret
Function at 0x4047d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x412e20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589408
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0047c0f0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x412e63
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x412e8b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret

Function at 0x415ff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585d86
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60940c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [ebp + 8]
mov dword [esi], vtable.HttpUtils::DownloadManager.0
mov byte [esi + 8], al
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x4c], 0xf
mov dword [esi + 0x48], 0
mov byte [esi + 0x38], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055b818
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x416340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585eab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x60940c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x14], eax
mov ax, word [ebp + 0x1c]
mov word [ecx + 0x18], ax
mov eax, dword [ebp + 0x18]
mov dword [ecx], vtable.el::base::Writer.0
mov dword [ecx + 4], 0
mov dword [ecx + 0x1c], 0
mov byte [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0x59aeec
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4221b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589408
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0047c0f0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4221f3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42221c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret

Function at 0x422710
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589408
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.0047c0f0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x422753
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x422778
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ebx, 0xffffffff
jne 0x422795
xor al, al
jmp 0x42279d
shr ebx, 4
and ebx, 1
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret