joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.10003780
cmp dword [0x1012de10], 0
jne 0x10001195
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x1012de10], eax
xor eax, eax
mov ecx, 0x1012de0c
xchg dword [ecx], eax
mov edx, 0x26
xor eax, eax
mov cl, byte [eax + str.kB_ZKLIoAWq]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x18], cl
and edx, 0x800000ff
jns 0x100011c2
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x100011a5
push esi
lea eax, [ebp - 0x18]
mov byte [ebp - 0xd], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x72657375
push eax
mov dword [ebp - 8], 0x642e3233
mov word [ebp - 4], 0x6c6c
mov byte [ebp - 2], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov word [ebp - 4], 0
xorps xmm0, xmm0
mov byte [ebp - 2], 0
push 0x1012de14
mov edx, 0x10001120
movq qword [ebp - 0xc], xmm0
mov ecx, esi
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
call fcn.100037d0
mov ecx, esi
call fcn.10003a70
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x646e6573
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 0x5f327357
mov dword [ebp - 0x10], 0x642e3233
mov word [ebp - 0xc], 0x6c6c
mov byte [ebp - 0xa], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov word [ebp - 0xc], 0
xorps xmm0, xmm0
mov byte [ebp - 0xa], 0
push 0x1012de08
mov edx, 0x10001240
movq qword [ebp - 0x14], xmm0
mov ecx, esi
mov dword [ebp - 8], 0
mov byte [ebp - 4], 0
call fcn.100037d0
mov ecx, esi
call fcn.10003a70
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100027d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x100027fd
mov dword [0x1012de04], esi
call fcn.10001430
push 0
push 0
push 0
push 0x10002600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [0x1012de00]
pop esi
pop ebp
ret 0xc
Function at 0x100033b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10037008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100034aa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100034a3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10003489
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10003489
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10003489
mov edx, dword [esi]
test edx, edx
jne 0x10003452
push 0x200
push edx
push dword [0x1012de10]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100034a3
jmp 0x1000347d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1000347d
shl eax, 3
push eax
push edx
push 0
push dword [0x1012de10]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100034a3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10003411
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100034ef
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100034ef
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100034e9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10003240
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100034b6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100059d7
mov esp, ebp
pop ebp
ret

Function at 0x10003500
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000354e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x1000353e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10003535
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10003512
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x1012de10]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10003550
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10037008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x1012de30]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100035ac
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100059d7
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100035c7
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100059d7
mov esp, ebp
pop ebp
ret
Function at 0x10003600
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10037008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1012de38]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], ebx
test ecx, ecx
je 0x1000376d
mov eax, dword [0x1012de30]
add eax, 0x14
nop
test byte [eax], 2
je 0x1000364f
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10003630
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100059d7
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1000376d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100033b0
add esp, 4
cmp esi, dword [0x1012de38]
jae 0x10003720
imul ecx, esi, 0x2c
mov dword [ebp - 0x10], ecx
nop dword [eax + eax]
mov edi, dword [0x1012de30]
add edi, ecx
mov dl, byte [edi + 0x14]
test dl, 2
jne 0x100036fe
mov eax, dword [edi]
lea ecx, [ebp - 8]
and dl, 1
push ecx
push 0x40
lea ebx, [eax - 5]
cmove ebx, eax
movzx eax, dl
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003718
mov byte [ebx], 0xe9
mov eax, dword [edi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [edi + 0x14], 1
je 0x100036d5
mov eax, dword [edi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [edi + 0x14], 6
mov ecx, dword [ebp - 0x10]
inc esi
add ecx, 0x2c
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
cmp esi, dword [0x1012de38]
jb 0x10003680
jmp 0x10003720
mov ebx, 0xa
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000376c
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x1000375d
mov ebx, eax
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10003751
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x10003730
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
push eax
push 0
push dword [0x1012de10]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.100059d7
mov esp, ebp
pop ebp
ret
Function at 0x100083c2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x100096d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000989d
pushal
mov esi, 0x61c8000
lea edi, [esi - 0x7000]
push edi
jmp 0x100096fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10009701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100096f0
mov eax, 1
add ebx, ebx
jne 0x10009713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10009708
jne 0x10009724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009708
xor ecx, ecx
sub eax, 3
jb 0x10009738
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100097aa
mov ebp, eax
add ebx, ebx
jne 0x10009743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10009750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10009774
inc ecx
add ebx, ebx
jne 0x10009760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10009755
jne 0x10009771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009755
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10009794
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10009785
jmp 0x100096f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10009794
add edi, ecx
jmp 0x100096f6
pop esi
mov edi, esi
mov ecx, 0x7b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100097b2
cmp byte [edi], 4
jne 0x100097b2
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 0x100097b7
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x1000982f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x921c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100097e4
mov ecx, edi
jns 0x10009813
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 + 0x9220]
or eax, eax
je 0x10009829
mov dword [ebx], eax
add ebx, 4
jmp 0x10009801
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10009860
cmp al, 0xef
ja 0x10009853
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10009835
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10009842
mov ebp, dword [esi + 0x9224]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x10009894
sub esp, 0xffffff80
jmp 0x100032af
Function at 0x452eaa
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.00452e53
test eax, eax
je 0x453003
lea ecx, [esp + 0x18]
call fcn.00452e53
lea ecx, [esp + 0x18]
test eax, eax
je 0x452f72
call fcn.00452e53
test eax, eax
je 0x452f34
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.00452e53
lea edi, [eax + edi*2]
dec ebx
jne 0x452f0a
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x452f2b
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x452f2e
mov byte [edx], 0
inc edx
jmp 0x453015
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x452f6a
test ecx, ecx
je 0x452ffe
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x452f5c
jmp 0x452ffa
xor ebp, ebp
inc ebp
jmp 0x452ffe
call fcn.00452e89
test edi, edi
jne 0x452fa7
cmp eax, 2
jne 0x452fa2
lea ecx, [esp + 0x18]
call fcn.00452e89
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x452ffe
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x452f97
jmp 0x452ffa
sub eax, 3
jmp 0x452faa
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00452e89
mov ecx, eax
cmp esi, 0x7d00
jb 0x452fd1
inc ecx
cmp esi, 0x500
jb 0x452fda
inc ecx
cmp esi, 0x80
jae 0x452fe5
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x452ffe
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x452ff1
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x45301b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x452eda
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4531a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x4531d2
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x4531b3
jmp 0x4531d6
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4531e0
xor byte [esi], al
inc esi
dec edi
jne 0x4531da
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1003a916
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call sym.MFCLibrary1.dll_ClearDesktopMonitorHook
call fcn.1000def2
cmp dword [eax + 0x14], 0
jne 0x1003a931
mov ecx, esi
pop esi
jmp fcn.1003a171
pop esi
ret
Function at 0x1014e2c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1014e2f0
mov esi, dword [ebp + 8]
test al, al
je 0x1014e2de
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.1014e300
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1014e9c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x101ae064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1014eabb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x1014eabb
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x1014ea1a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x1014e9f8
jmp 0x1014eabb
cmp edx, 0x200
jae 0x1014eb0b
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x1014eabb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x1014eaba
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x1014eaba
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x1014eaed
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x1014eaa0
pop edi
bt dword [0x10161d88], 0
mov edx, str.setlocale
mov ecx, 0x101ad010
call fcn.1014ec40
test eax, eax
je 0x1014eaf9
push esi
push ebx
call eax
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101433d1
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x1014eaba
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.101433d1
mov esp, ebp
pop ebp
ret
call fcn.10143971
int3

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406178
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, str.C:UsersADMINI1AppDataLocalTemp_nsj7ABB.tmp
push esi
call fcn.00405bee
push esi
call fcn.0040593d
mov edi, eax
test edi, edi
jne 0x406199
xor eax, eax
jmp 0x4061f7
push edi
call fcn.00405c1d
test byte [0x470608], 0x80
je 0x4061b6
movzx eax, word [edi]
test ax, ax
je 0x406195
cmp ax, 0x5c
je 0x406195
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x4061d8
push esi
call fcn.00405cce
test eax, eax
je 0x4061d2
test byte [eax], 0x10
je 0x4061fc
push esi
call fcn.0040614b
push esi
call ebx
cmp eax, edi
jg 0x4061c3
push esi
call fcn.0040611c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x4061f6