joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x13b550b4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2efe2722
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x527120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
push edi
or ebp, 0xffffffff
jmp 0x527142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x527149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x527138
mov eax, 1
add ebx, ebx
jne 0x52715b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x527150
jne 0x52716c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x527150
xor ecx, ecx
sub eax, 3
jb 0x527180
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5271f2
mov ebp, eax
add ebx, ebx
jne 0x52718b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x527198
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5271bc
inc ecx
add ebx, ebx
jne 0x5271a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52719d
jne 0x5271b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52719d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5271dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5271cd
jmp 0x52713e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5271dc
add edi, ecx
jmp 0x52713e
pop esi
mov edi, esi
mov ecx, 7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5271fa
cmp byte [edi], 0x34
jne 0x5271fa
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 0x5271ff
lea edi, [esi + 0x125000]
mov eax, dword [edi]
or eax, eax
je 0x527277
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b94c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b988]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52722c
mov ecx, edi
jns 0x52725b
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 + 0x12b98c]
or eax, eax
je 0x527271
mov dword [ebx], eax
add ebx, 4
jmp 0x527249
call dword [esi + 0x12b99c]
mov ebp, dword [esi + 0x12b990]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x5272ab
sub esp, 0xffffff80
jmp 0x40109c
Function at 0x10001f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ee07
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x13c], edi
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x118], str.userid
mov dword [ebp - 0x114], str.userbnet
mov byte [edi], 0
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareBlizzard_EntertainmentWarcraft_IIIString
push 0x80000001
mov dword [ebp - 0x130], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002165
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 0xff
mov dword [ebp - 0x128], eax
nop dword [eax + eax]
mov esi, dword [eax]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10002126
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x10002054
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x1000204c
mov eax, dword [edi]
mov word [eax + ecx], 0x22
jmp 0x10002071
push 1
push 0x1001045c
mov byte [ebp - 0x134], 0
mov ecx, edi
push dword [ebp - 0x134]
push 1
call fcn.10005cf0
push esi
mov ecx, edi
call fcn.10005470
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x100020a5
lea eax, [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10002097
mov eax, dword [edi]
mov dword [eax + ecx], 0x22203a22
mov byte [eax + ecx + 4], 0
jmp 0x100020c2
push 4
push str._:__
mov byte [ebp - 0x138], 0
mov ecx, edi
push dword [ebp - 0x138]
push 4
call fcn.10005cf0
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.10005470
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 3
jb 0x10002107
lea eax, [ecx + 3]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x100020ee
mov eax, dword [edi]
push 3
lea esi, [eax + ecx]
push 0x10010468
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x1000213a
push 3
push 0x10010468
mov byte [ebp - 0x12c], 0
mov ecx, edi
push dword [ebp - 0x12c]
push 3
call fcn.10005cf0
jmp 0x1000213a
push 0x10
push 0x1001046c
push 0x10010474
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x110]
add eax, 4
mov dword [ebp - 0x128], eax
cmp eax, ecx
jne 0x10002000
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002179
push 0x10
push 0x1001046c
push 0x10010494
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dd7a
mov esp, ebp
pop ebp
ret
Function at 0x10003aa0
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10010dd0]
xor eax, eax
movups xmmword [ebp - 0xc8], xmm0
mov word [ebp - 0x78], 0x57
movaps xmm0, xmmword [0x10010f50]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x10010f40]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x10010db0]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x10010ea0]
movups xmmword [ebp - 0x88], xmm0
mov cl, byte [ebp - 0xc8]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0x50
jb 0x10003b01
push esi
lea esi, [ebp - 0xc7]
mov byte [ebp - 0x77], 0
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003b23
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xc7]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov ecx, 0xd
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], cx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], cx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
mov eax, 0x56
mov dword [ebp - 0x74], 1
mov word [ebp - 0x54], ax
mov ecx, 0x11
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 2
call edi
push 0xc8
call esi
mov eax, 0xd
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 2
call edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000dd7a
mov esp, ebp
pop ebp
ret
Function at 0x10003c90
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10010ef0]
xor eax, eax
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0x84], 0x1f303503
movaps xmm0, xmmword [0x10010ee0]
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x80], 0x2c2c292b
movaps xmm0, xmmword [0x10010dc0]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x7c], 0x221f1225
mov word [ebp - 0x78], 0x342f
mov byte [ebp - 0x76], 0
mov cl, byte [ebp - 0xb4]
xor byte [ebp + eax - 0xb3], cl
inc eax
cmp eax, 0x3d
jb 0x10003cf1
push esi
lea esi, [ebp - 0xb3]
mov byte [ebp - 0x76], 0
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003d13
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xb3]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov ecx, 0xd
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], cx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], cx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
mov eax, 0x56
mov dword [ebp - 0x74], 1
mov word [ebp - 0x54], ax
mov ecx, 0x11
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 2
call edi
push 0xc8
call esi
mov eax, 0xd
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 2
call edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000dd7a
mov esp, ebp
pop ebp
ret
Function at 0x10003e80
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10010e40]
xor eax, eax
movups xmmword [ebp - 0xc8], xmm0
push esi
movaps xmm0, xmmword [0x10010f00]
movups xmmword [ebp - 0xb8], xmm0
push edi
movaps xmm0, xmmword [0x10010e50]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x10010f10]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [str.__ilCwuppyNCsh]
movups xmmword [ebp - 0x88], xmm0
nop dword [eax]
mov cl, byte [ebp - 0xc8]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0x4e
jb 0x10003ee0
lea esi, [ebp - 0xc7]
mov byte [ebp - 0x79], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003f00
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xc7]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x78], 1
mov word [ebp - 0x74], ax
mov ecx, 0xd
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x78]
push 0x1c
push eax
push 4
mov dword [ebp - 0x5c], 1
mov word [ebp - 0x58], cx
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
mov eax, 0x56
mov dword [ebp - 0x78], 1
mov word [ebp - 0x58], ax
mov ecx, 0x11
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x78]
push 0x1c
push eax
push 4
mov word [ebp - 0x74], cx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], cx
mov dword [ebp - 0x1c], 2
call edi
push 0xc8
call esi
mov eax, 0xd
mov dword [ebp - 0x78], 1
mov word [ebp - 0x74], ax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x78]
push 0x1c
push eax
push 2
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x54], 2
call edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000dd7a
mov esp, ebp
pop ebp
ret
Function at 0x10004070
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x434], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x430], 0x224
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x10004134
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push 0
push 0
call ebx
mov eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1000411d
test dx, dx
je 0x10004119
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1000411d
add ecx, 4
add eax, 4
test dx, dx
jne 0x100040f7
xor eax, eax
jmp 0x10004122
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000414e
lea eax, [ebp - 0x430]
push eax
push esi
call edi
test eax, eax
jne 0x100040d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000dd7a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000dd7a
mov esp, ebp
pop ebp
ret
Function at 0x100043a0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ef50
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1070
call fcn.1000edb0
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1078], edx
mov edi, ecx
lea eax, [ebp - 0x1074]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1068]
mov esi, dword [ebp - 0x106c]
mov dword [ebp - 0x107c], eax
cmp esi, eax
jae 0x1000453c
push 0x1c
lea eax, [ebp - 0x1050]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x10004522
cmp dword [ebp - 0x1040], 0x1000
jne 0x10004522
mov eax, dword [ebp - 0x103c]
cmp eax, 4
je 0x10004452
cmp eax, 2
jne 0x10004522
lea eax, [ebp - 0x1034]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10004522
push dword [ebp - 0x1034]
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1020], 0
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
push eax
lea ecx, [ebp - 0x1030]
movups xmmword [ebp - 0x1030], xmm0
call fcn.10005ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 0xf
mov edx, dword [ebp - 0x1020]
cmova ecx, dword [ebp - 0x1030]
push ecx
push 0x10
push dword [ebp - 0x1078]
lea edx, [edx + ecx]
push ecx
call fcn.10006490
add esp, 0x10
test al, al
jne 0x1000455c
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x10004522
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004518
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004588
push ecx
push edx
call fcn.1000dd88
add esp, 8
mov esi, dword [ebp - 0x1050]
mov eax, dword [ebp - 0x1044]
add esi, eax
cmp esi, dword [ebp - 0x107c]
jb 0x10004414
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000dd7a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x10004598
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000458e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000458e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000dd88
add esp, 8
mov al, 1
jmp 0x1000453e

Function at 0x10004e80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10004ea7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x100045a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10005250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10005281
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10005270
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x40b144
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b183
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b183
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b183
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b183
cmp dword [ecx + 0x74], 0xe
jbe 0x40b183
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x410560
Capabilities:
Parse pe header

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

Function at 0x4108dd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ae70
push 0x41ae68
push str.FlsAlloc
push 0x1f
call fcn.00410bc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410911
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x410917
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41095b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ae80
push 0x41ae78
push str.FlsGetValue
push 0x21
call fcn.00410bc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410992
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41099a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ae88
push 0x41ae80
push str.FlsSetValue
push 0x22
call fcn.00410bc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4109d4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413eea
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 0x413f87
push ebx
push esi
call fcn.00413f8a
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.00413dee
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x413f34
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x413f86
push edi
push eax
call fcn.00412902
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x413f54
call fcn.00411dc2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x413f85
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00413dee
add esp, 0x20
test eax, eax
jne 0x413f73
push edi
call fcn.00411dc2
jmp 0x413f7b
push ebx
call fcn.00411dc2
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x392a675c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6df1ad0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219