joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ad58
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x43581c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
sub edi, edi
mov ecx, 0x46b328
lea esp, [esp]
sub ebx, ebx
or edi, edi
setne bl
mov edx, 0x46b3a0
mov eax, 0x46b300
mov esi, 0x46b384
add ebx, 0x80000001
or edi, edi
cmove edx, ecx
lea ecx, [ebp - 0x60]
cmove esi, eax
call fcn.0040a6a0
mov edx, esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040a6a0
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
je 0x410824
mov ecx, dword [ebp - 0x50]
cmp dword [ecx - 0xc], 0
je 0x410824
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 0
push 3
push 0
push 0
push 0
push eax
push ebx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41081d
mov esi, dword [ebp - 0x54]
push 0x2a
push eax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3a]
push eax
mov dword [ebp - 0x6c], esi
call fcn.00413f20
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x54], 0x16
call fcn.00410900
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x6c]
call fcn.00410900
cmp eax, 2
jne 0x41080b
sub eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x42], eax
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4a], xmm0
call dword [0x42b090]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call dword [0x42b00c]
lea eax, [ebp - 0x5c]
push eax
push eax
call dword [0x42b094]
push dword [ebp - 0x58]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x5c]
push 0x431f40
push 0x16
push eax
call fcn.00412464
lea eax, [ebp - 0x3c]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4107e2
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x3c]
push eax
push 1
push 0
push dword [ebp - 0x50]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or esi, esi
je 0x41081d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410841
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410862
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
mov ecx, 0x46b328
cmp edi, 2
jl 0x4106a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041191e
push ebp
pop esp
pop ebp
ret
Function at 0x410900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or eax, eax
jne 0x410971
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41093f
cmp eax, 2
jne 0x41095b
mov ecx, dword [ebp + 0x10]
or esi, esi
je 0x41096b
or ecx, ecx
je 0x410966
test cl, 1
jne 0x41095b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x41096b
pop edi
nop
push 0xd
nop
pop eax
pop esi
pop ebp
ret 0xc
sub eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x421d40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
sub edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x421d7c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x421d74
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x421d7e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x421d64
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x421e50
Capabilities:
Parse pe header

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x421e64
sub eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
sub eax, eax
cmp dword [ecx], 0x4550
jne 0x421e7f
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40383c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x40383c
lcall 0x5de5, 0x8b10c483
jmp loc.00793574
Function at 0x418110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420b80], ecx
inc edx
cmp edx, 0x100
jb 0x418112
cmp edx, 0x800
jae 0x4181e9
lea esp, [esp]
mov eax, dword [edx*4 + 0x420780]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420b80]
inc edx
mov dword [edx*4 + 0x420b7c], eax
cmp edx, 0x800
jb 0x4181c0
mov eax, 0x4189f0
mov dword [0x420b74], eax
mov dword [0x422b80], eax
mov dword [0x420b70], 0x418910
call fcn.00418420
test eax, eax
jne 0x418215
mov dword [0x422b80], 0x418910
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x40cf40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40cf5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40cf61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40cf50
mov eax, 1
add ebx, ebx
jne 0x40cf73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40cf68
jne 0x40cf84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40cf68
xor ecx, ecx
sub eax, 3
jb 0x40cf98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d00a
mov ebp, eax
add ebx, ebx
jne 0x40cfa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40cfb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40cfd4
inc ecx
add ebx, ebx
jne 0x40cfc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40cfb5
jne 0x40cfd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40cfb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40cff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40cfe5
jmp 0x40cf56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40cff4
add edi, ecx
jmp 0x40cf56
pop esi
mov edi, esi
mov ecx, 0x1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d012
cmp byte [edi], 1
jne 0x40d012
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 al, bl
loop 0x40d017
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40d08f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11a18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11aa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d044
mov ecx, edi
jns 0x40d073
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11aa8]
or eax, eax
je 0x40d089
mov dword [ebx], eax
add ebx, 4
jmp 0x40d061
call dword [esi + 0x11aa4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40d0c0
cmp al, 0xef
ja 0x40d0b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40d095
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40d0a2
mov ebp, dword [esi + 0x11aac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d0f4
sub esp, 0xffffff80
jmp 0x4028f0

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ecx
add eax, edi
call fcn.0043b67a
add edi, eax
add eax, edi
xor dword [esi], ecx
push edi
pop eax
add edi, edi
add esi, 1
or edi, edi
add edi, 0x908187eb
cmp esi, edx
jne fcn.0043b64a
dec edi
inc eax
ret
Function at 0x4687c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
jmp 0x4687da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4687e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4687d0
mov eax, 1
add ebx, ebx
jne 0x4687f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x468804
jne 0x468823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468823
dec eax
add ebx, ebx
jne 0x468810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4687e8
add ebx, ebx
jne 0x46881f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x468875
xor ecx, ecx
sub eax, 3
jb 0x46883b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4688aa
sar eax, 1
mov ebp, eax
jmp 0x468846
add ebx, ebx
jne 0x468846
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468814
inc ecx
add ebx, ebx
jne 0x468854
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x468814
add ebx, ebx
jne 0x468861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x468856
jne 0x468872
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x468856
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x468894
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x468886
jmp 0x4687d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x468894
add edi, ecx
jmp 0x4687d6
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4688b2
cmp byte [edi], 2
jne 0x4688b2
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 al, bl
loop 0x4688b7
lea edi, [esi + 0x66000]
mov eax, dword [edi]
or eax, eax
je 0x468926
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x686a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x686dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4688e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x686e4]
or eax, eax
je 0x468920
mov dword [ebx], eax
add ebx, 4
jmp 0x468901
call dword [esi + 0x686e0]
mov ebp, dword [esi + 0x686e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46895a
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x406410
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80fecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046f4
call fcn.00407071
push 4
mov dword [esp + 0x18], 0
call fcn.00407f16
mov edi, eax
add esp, 4
test edi, edi
je 0x406484
push ebx
call fcn.00406f49
mov dword [edi], eax
call fcn.00406d08
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407032
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406478
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040705a
pop ebx
jmp 0x406486
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408981
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813520]
jne 0x40898b
repz ret
jmp fcn.0040d0dc
Function at 0x411d22
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813520]
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.0040b081
and dword [ebp - 0x14], 0
cmp dword [0x816374], 0
mov dword [ebp - 0x18], eax
jne 0x411dd5
push GetCompressedFileSizeA
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e7d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push GetTimeZoneInformation
push ebx
call edi
test eax, eax
je 0x411e7d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push CreateActCtxA
push ebx
mov dword [0x816374], eax
call edi
push eax
call esi
push FindNextVolumeMountPointW
push ebx
mov dword [0x816378], eax
call edi
push eax
call esi
push 0x403908
push ebx
mov dword [0x81637c], eax
call edi
push eax
call esi
mov dword [0x816384], eax
test eax, eax
je 0x411dd5
push 0x4038f0
push ebx
call edi
push eax
call esi
mov dword [0x816380], eax
mov eax, dword [0x816380]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411e2e
cmp dword [0x816384], ecx
je 0x411e2e
push eax
call esi
push dword [0x816384]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411e2e
test ebx, ebx
je 0x411e2e
call edi
test eax, eax
je 0x411e25
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411e25
test byte [ebp - 8], 1
jne 0x411e2e
or dword [ebp + 0x10], 0x200000
jmp 0x411e61
mov eax, dword [0x816378]
cmp eax, dword [ebp - 0x18]
je 0x411e61
push eax
call esi
test eax, eax
je 0x411e61
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e61
mov eax, dword [0x81637c]
cmp eax, dword [ebp - 0x18]
je 0x411e61
push eax
call esi
test eax, eax
je 0x411e61
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x816374]
call esi
test eax, eax
je 0x411e7d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408981
leave
ret
Function at 0x80e9d0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9b100], 0x37
jne 0x80ea68
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404228
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404240
push 0x404290
push 0x4042d0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9b104]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81b164]
mov byte [ecx + esi], al
add esp, 0xc0c
ret