joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001899d
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 + 0x1002ef88]
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 0x100189e3
cmp word [ebx], dx
jne 0x100189e3
or byte [eax + edi + 0x28], 4
jmp 0x100189e8
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 0x10018b4b
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 0x10018b2b
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10018a29
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10018a5f
cmp eax, edx
jae 0x10018a6d
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 0x10018a04
jmp 0x10018b4b
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 0x10018b26
cmp dword [ebp - 0x18], 0
je 0x10018b26
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1002ef88]
test byte [eax + edi + 0x28], 0x48
je 0x10018afc
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 0x10018ac0
mov word [esi], cx
jmp 0x10018af7
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1002ef88]
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 + 0x1002ef88]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1002ef88]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10018b4b
pop eax
cmp word [ebp - 4], ax
jne 0x10018b0c
cmp esi, ebx
jne 0x10018b0c
mov word [esi], ax
jmp 0x10018b48
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100187f2
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10018b4b
push 0xd
pop eax
jmp 0x10018b07
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1002ef88]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10018b45
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10018b4b
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 0x1001c188
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001c225
push ebx
push esi
call fcn.1001c151
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001c0e5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001c1d2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c224
push edi
push eax
call fcn.1001684c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001c1f2
call fcn.10016812
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c223
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001c0e5
add esp, 0x20
test eax, eax
jne 0x1001c211
push edi
call fcn.10016812
jmp 0x1001c219
push ebx
call fcn.10016812
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001c492
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10027e68
push 0x10027e60
push str.FlsAlloc
push 0x1f
call fcn.1001c3ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c4c6
push dword [ebp + 8]
mov ecx, esi
call dword [0x100251b8]
call esi
jmp 0x1001c4cc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001c510
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10027e78
push 0x10027e70
push str.FlsGetValue
push 0x21
call fcn.1001c3ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c547
push dword [ebp + 8]
mov ecx, esi
call dword [0x100251b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001c54f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10027e80
push 0x10027e78
push str.FlsSetValue
push 0x22
call fcn.1001c3ae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c589
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100251b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10021351
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100212cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100214c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100214c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10021475
jg 0x100213ad
test eax, eax
je 0x1002146b
push 1
push 0x1000
call fcn.1001ab74
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100213d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10021462
push 0x8000
push ebx
call fcn.100211fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100213f9
jg 0x100213f4
cmp ecx, 0x1000
jb 0x100213f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001a1ab
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002143e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100213f4
jl 0x10021425
test ecx, ecx
jne 0x100213e6
push dword [ebp - 0xc]
push ebx
call fcn.100211fe
push esi
call fcn.10016812
add esp, 0xc
xor ebx, ebx
jmp 0x100214ce
cmp byte [edi + 0x24], 0
je 0x10021455
cmp dword [edi + 0x20], 5
jne 0x10021455
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10021460
mov ebx, dword [edi + 0x18]
jmp 0x10021462
xor ebx, ebx
push esi
call fcn.10016812
pop ecx
jmp 0x100214ce
test ecx, ecx
jg 0x10021437
jl 0x10021475
test eax, eax
jae 0x10021437
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100187f2
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10021495
cmp byte [edi + 0x1c], 0
je 0x10021437
jmp 0x100214c6
push ebx
call fcn.1001f08a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10021437
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100214ce
cmp byte [edi + 0x1c], 0
je 0x100214cb
mov ebx, dword [edi + 0x18]
jmp 0x100214ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100187f2
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10023500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002352d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002352d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6fc84550
Capabilities:
Resolve function by hash

Disassembly:
call fcn.6fc84a8b
pop ecx
cmp al, al
je 0x6fc84554
cmp ah, ah
je 0x6fc84529
mov dword [ebp - 0x30], eax
mov ebx, 4
cmp cx, cx
je 0x6fc84573

Function at 0x6fc84580
Capabilities:
Resolve function by hash

Disassembly:
mov byte [eax], cl
jmp 0x6fc84521
mov ebx, 0
jmp 0x6fc846d6
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x40]
jae 0x6fc844c9
jmp 0x6fc847ef
push ebx
mov ebx, 0
cmp bx, bx
je 0x6fc844f6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
adc byte [esi + 0x3b], ah
leave
je 0x6fc84501
push ebx
push dword [ebp - 0x14]
jmp 0x6fc8475b
leave
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp bl, bl
je 0x6fc8450f
pop edi
pop esi
jmp 0x6fc844ff
call dword [ebp - 0x18]
mov ebx, 0x10
jmp 0x6fc84769
and dword [ebp - 0x10], ebx
jmp 0x6fc844d3
invalid
mov eax, dword [ebp - 0x10]
jmp 0x6fc847f9
mov eax, dword [ebp - 0x40]
xor ecx, ecx
jmp 0x6fc84543
push ebx
push dword [ebp - 0x40]
cmp bp, bp
je 0x6fc84561
push ecx
push eax
jmp 0x6fc84837
mov ebx, 0x7946c61b
push ebx
mov ebx, 0
push ebx
cmp bl, bl
je 0x6fc8457e
pop ecx
mov dword [ebp - 0x28], eax
cmp bh, bh
je 0x6fc8454a
push ebx
mov ebx, 0x3000
cmp bp, bp
je 0x6fc8453a
call dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
cmp sp, sp
je 0x6fc84533
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jae 0x6fc84597
jmp 0x6fc8465b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x6fc8461b
mov word [ebp - 0x56], ax
mov ebx, 0x6c
cmp dl, dl
je 0x6fc845c7
push ebx
pop eax
jmp 0x6fc845e4
mov word [ebp - 0x58], ax
mov ebx, 0x6c
cmp ah, ah
je 0x6fc845f9
and dword [ebp - 8], ebx
mov ebx, 0x64
cmp cl, cl
je 0x6fc845f2
mov word [ebp - 0x54], ax
mov ebx, 0x33
jmp 0x6fc8487b
push ebx
pop eax
cmp ax, ax
je 0x6fc845cb
push ebx
pop eax
cmp cx, cx
je 0x6fc845ba
mov eax, dword [ebp - 0xc]
inc eax
jmp 0x6fc84589
movzx eax, byte [ebp + edx - 0x60]
xor ecx, eax
cmp ch, ch
invalid

Function at 0x6fc845b0
Capabilities:
Resolve function by hash

Disassembly:
mov ebx, 0
cmp bp, bp
je 0x6fc845d8
Function at 0x6fc845e0
Capabilities:
Resolve function by hash

Disassembly:
mov byte [eax], cl
jmp 0x6fc84521
mov ebx, 0
jmp 0x6fc846d6
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x40]
jae 0x6fc844c9
jmp 0x6fc847ef
push ebx
mov ebx, 0
cmp bx, bx
je 0x6fc844f6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
adc byte [esi + 0x3b], ah
leave
je 0x6fc84501
push ebx
push dword [ebp - 0x14]
jmp 0x6fc8475b
leave
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp bl, bl
je 0x6fc8450f
pop edi
pop esi
jmp 0x6fc844ff
call dword [ebp - 0x18]
mov ebx, 0x10
jmp 0x6fc84769
and dword [ebp - 0x10], ebx
jmp 0x6fc844d3
invalid
mov eax, dword [ebp - 0x10]
jmp 0x6fc847f9
mov eax, dword [ebp - 0x40]
xor ecx, ecx
jmp 0x6fc84543
push ebx
push dword [ebp - 0x40]
cmp bp, bp
je 0x6fc84561
push ecx
push eax
jmp 0x6fc84837
mov ebx, 0x7946c61b
push ebx
mov ebx, 0
push ebx
cmp bl, bl
je 0x6fc8457e
pop ecx
mov dword [ebp - 0x28], eax
cmp bh, bh
je 0x6fc8454a
push ebx
mov ebx, 0x3000
cmp bp, bp
je 0x6fc8453a
call dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
cmp sp, sp
je 0x6fc84533
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jae 0x6fc84597
jmp 0x6fc8465b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x6fc8461b
mov word [ebp - 0x56], ax
mov ebx, 0x6c
cmp dl, dl
je 0x6fc845c7
push ebx
pop eax
jmp 0x6fc845e4
mov word [ebp - 0x58], ax
mov ebx, 0x6c
cmp ah, ah
je 0x6fc845f9
and dword [ebp - 8], ebx
mov ebx, 0x64
cmp cl, cl
je 0x6fc845f2
mov word [ebp - 0x54], ax
mov ebx, 0x33
jmp 0x6fc8487b
push ebx
pop eax
cmp ax, ax
je 0x6fc845cb
push ebx
pop eax
cmp cx, cx
je 0x6fc845ba
mov eax, dword [ebp - 0xc]
inc eax
jmp 0x6fc84589
movzx eax, byte [ebp + edx - 0x60]
xor ecx, eax
cmp ch, ch
invalid

Function at 0x6fc846d0
Capabilities:
Resolve function by hash

Disassembly:
shl byte [esi + 0x3b], 1
sal byte [ecx + eax*8 + 0x21], 0x5d
aam 0x8d
inc ebp
aam 0x3a
div byte [ebx + ebx*4 - 1]
jo 0x6fc846ff
push dword [edx + esi - 1]
jne 0x6fc846fd

Function at 0x6fc84700
Capabilities:
Resolve function by hash

Disassembly:
shl byte [esi + 0x3b], 1
sal byte [ecx + eax*8 + 0x21], 0x5d
aam 0x8d
inc ebp
aam 0x3a
div byte [ebx + ebx*4 - 1]
jo 0x6fc846ff
push dword [edx + esi - 1]
jne 0x6fc846fd

Function at 0x6fc84790
Capabilities:
Resolve function by hash

Disassembly:
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 4]
cmp ah, ah
je 0x6fc8477c
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x24]
cmp dl, dl
je 0x6fc847af
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 4]
cmp bh, bh
je 0x6fc84772
push eax
push dword [ebp - 0x1c]
jmp 0x6fc8485e
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 8]
cmp bp, bp
je 0x6fc84786
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
cmp ax, ax
je 0x6fc847b8
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
cmp di, di
je 0x6fc847c3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp bx, bx
je 0x6fc84799
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x6fc847c7
mov ebx, 0
and dword [ebp - 0xc], ebx
jmp 0x6fc8458c
call fcn.6fc849cb
test eax, eax
jne 0x6fc8486e
jmp 0x6fc8476b
call fcn.6fc849b9
mov dword [ebp - 0x20], eax
jmp 0x6fc847a4
Function at 0x6fc847f0
Capabilities:
Resolve function by hash

Disassembly:
add esp, ebx
mov ebx, 0
jmp 0x6fc8451c
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x10]
cmp dl, dl
je 0x6fc8482b
mov eax, dword [ebp - 0x14]
inc ebp
in al, dx
add eax, dword [ebp - 0x10]
cmp ch, ch
je 0x6fc847e5
inc eax
mov dword [ebp - 0x10], eax
jmp 0x6fc844d3
div esi
mov eax, dword [ebp - 4]
jmp 0x6fc8481f
call fcn.6fc84c4e
mov ebx, 0x10
cmp cx, cx
je 0x6fc847d9
push ebx
pop esi
cmp si, si
je 0x6fc84802
movzx eax, byte [eax + edx + 0x10]
xor ecx, eax
jmp 0x6fc846c0
xor edx, edx
mov ebx, 8
cmp bx, bx
je 0x6fc84818
push dword [ebp - 0x44]
push dword [ebp - 0x14]
cmp bp, bp
je 0x6fc84809
mov dword [ebp + 0xc], eax
jmp 0x6fc84676

Function at 0x6fc848b0
Capabilities:
Resolve function by hash

Disassembly:
test eax, eax
je 0x6fc8474b
call fcn.6fc8499c
jmp 0x6fc84748
mov word [ebp - 0x50], ax
xor eax, eax
cmp ah, ah
je 0x6fc848b7
push eax
call fcn.6fc84cc9
cmp dh, dh
je 0x6fc848ad
mov word [ebp - 0x52], ax
mov ebx, 0x32
cmp cl, cl
je 0x6fc848d6
push dword [eax + 0x44]
call 0x6fc848dd
jmp 0x6fc848c5
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
cmp bh, bh
je 0x6fc848a3
mov word [ebp - 0x4e], ax
mov ebx, 0
cmp bp, bp
je 0x6fc848cc
pop ecx
pop ecx
jmp 0x6fc84750
and dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x58]
cmp cl, cl
je 0x6fc8488c
push ebx
pop eax
cmp ax, ax
je 0x6fc84882
jmp fcn.6fc84942

Function at 0x6fc87910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x3c
ret 0xc
Function at 0x6fc87960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
test ebx, ebx
mov dword [esp + 0x2c], esi
je 0x6fc87a40
mov ebp, dword [ebx]
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
sub esp, 0x18
test eax, eax
jne 0x6fc879bb
cmp esi, dword [esp + 0x2c]
je 0x6fc879d0
add esp, 0x3c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea eax, [esi - 1]
test edi, edi
setne dl
cmp eax, 1
jbe 0x6fc87a10
test ebx, ebx
setne al
and edx, eax
cmp esi, 7
sete al
and dl, al
je 0x6fc87a60
cmp ebp, 3
jbe 0x6fc87a70
mov eax, dword [ebx]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x6fc87a50
shr ebp, 1
sub ebp, 1
xor eax, eax
xor ecx, ecx
mov word [edi + ebp*2 - 2], ax
mov word [edi + ebp*2], cx
jmp 0x6fc879bb
test ebx, ebx
setne al
and dl, al
je 0x6fc87a60
cmp ebp, 1
jbe 0x6fc87a70
mov ecx, dword [ebx]
lea ebx, [ebp - 2]
mov eax, ecx
shr eax, 1
cmp ebx, ecx
jae 0x6fc87a30
shr ebp, 1
lea eax, [ebp - 1]
xor ebx, ebx
mov word [edi + eax*2], bx
jmp 0x6fc879bb
xor ebp, ebp
jmp 0x6fc87981
shr eax, 1
lea ebp, [eax + 1]
jmp 0x6fc87a01
mov edx, 1
jmp 0x6fc879bb
xor edx, edx
jmp 0x6fc879bb

Function at 0x6fc87a80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
sete al
add esp, 0x2c
ret 0x10

Function at 0x6fc87ae0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
sete al
add esp, 0x2c
ret 0xc
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429004]
jne 0x40100a
repz ret
jmp fcn.004011ef

Function at 0x40316b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429004]
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.00402117
and dword [ebp - 0x14], 0
cmp dword [0x42b8ac], 0
mov dword [ebp - 0x18], eax
jne 0x40321e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4032c6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4032c6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42b8ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42b8b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42b8b4], eax
call edi
push eax
call esi
mov dword [0x42b8bc], eax
test eax, eax
je 0x40321e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42b8b8], eax
mov eax, dword [0x42b8b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403277
cmp dword [0x42b8bc], ecx
je 0x403277
push eax
call esi
push dword [0x42b8bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403277
test ebx, ebx
je 0x403277
call edi
test eax, eax
je 0x40326e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40326e
test byte [ebp - 8], 1
jne 0x403277
or dword [ebp + 0x10], 0x200000
jmp 0x4032aa
mov eax, dword [0x42b8b0]
cmp eax, dword [ebp - 0x18]
je 0x4032aa
push eax
call esi
test eax, eax
je 0x4032aa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4032aa
mov eax, dword [0x42b8b4]
cmp eax, dword [ebp - 0x18]
je 0x4032aa
push eax
call esi
test eax, eax
je 0x4032aa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42b8ac]
call esi
test eax, eax
je 0x4032c6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4032c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405690
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x429004]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4056c9
mov eax, dword [0x42a934]
mov dword [0x467694], eax
cmp dword [0x46730c], 0x3c
jne 0x4056d5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4056b7
cmp dword [0x46730c], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x40575b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x46730c], 0x110a
jne 0x4057bc
push ebx
mov dword [0x467300], ebx
mov dword [0x467304], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.alezecebesijorabifovihapida
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
add esp, 0x18
call fcn.00405430
xor ecx, ecx
cmp dword [0x46730c], ebx
jbe 0x4057fb
jmp 0x4057d0
mov eax, dword [0x467694]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
mov edx, dword [0x467030]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x46730c]
jb 0x4057d0
push str.msimg32.dll
call esi
mov ecx, dword [0x46730c]
mov edx, dword [0x467030]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405600
call fcn.00405450
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405858
cmp dword [esp + 0x30], 0xf5bed7
jne 0x405861
inc esi
cmp esi, 0x1ece7a52
jl 0x405835
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x40587d
call fcn.00405420
cmp dword [0x46730c], 0x3dc
mov dword [0x467034], 0x8e46a6f0
jne 0x4058b7
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rixovohucivununiboneb_huzurucurajo_jajonaberewevale_sivakawizematec
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405870
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..wixburn
mov ebx, 0x40c7d0
nop
mov ecx, 0x51c508b0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..pdata
nop
mov ebx, 0x42f314
mov ecx, 0x8636cd6
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219