joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011478
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x10046361
call fcn.1002e5e6
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
xor edi, edi
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], edi
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xa8], eax
call fcn.1001a3e9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push dword [ebp - 0xa8]
call fcn.10018d58
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x100114e8
push dword [ebp - 0xa8]
call fcn.1001da63
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x1001156f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.1001df68
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.100267e0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.1001eba3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
push esi
call fcn.1001eba3
add esp, 0x30
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x10011577
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000ff12
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1000ff12
mov eax, edi
call fcn.1002e595
ret 0xc
Function at 0x10011625
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x10046394
call fcn.1002e5e6
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.1001df68
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.100267e0
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1001eba3
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1001169f
push esi
call fcn.1001eb5b
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.100195ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100116f8
mov eax, dword [ebp - 0x14]
push ecx
push esi
lea ecx, [ebp - 0x120]
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.10019f90
and dword [ebp - 4], 0
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x18]
call fcn.10019637
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x100116ef
push dword [ebp - 0x120]
call fcn.1001da63
pop ecx
push esi
call fcn.1001eb5b
pop ecx
xor eax, eax
call fcn.1002e595
ret 0xc

Function at 0x10011700
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1004619a
call fcn.1002e5e6
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
xor edx, edx
lea ecx, [ebp - 0x14]
push edx
push edx
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push edx
push 1
push dword [eax - 0xc]
push eax
call esi
test eax, eax
je 0x1001176a
push dword [ebp - 0x14]
call fcn.1001df68
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.100267e0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push 0
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call esi
test eax, eax
jne 0x1001177b
push ebx
call fcn.1001eb5b
pop ecx
mov ecx, edi
call fcn.100195ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001179c
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.10011625
mov esi, eax
test esi, esi
je 0x10011795
mov ecx, edi
call fcn.100195ca
push ebx
call fcn.1001eb5b
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1000ff12
mov eax, esi
call fcn.1002e595
ret 8
Function at 0x10014006
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10046811
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100592e0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x100592e0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xd4], ebx
call fcn.1000ff4f
push eax
lea ecx, [esp + 0xd8]
call fcn.10019d83
mov dword [esp + 0xe8], ebx
lea ecx, [esp + 0xd0]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0x3156324a
mov dword [esp + 0x1c], 0x3042424a
mov dword [esp + 0x20], 0x4f6f6845
mov dword [esp + 0x24], 0x3255514d
mov dword [esp + 0x28], 0x38745247
mov dword [esp + 0x2c], 0x41634750
mov dword [esp + 0x30], 0x73706e63
mov dword [esp + 0x34], 0x68687845
mov dword [esp + 0x38], 0x5249584f
mov dword [esp + 0x3c], 0x6355474e
mov dword [esp + 0x40], 0x6f464150
mov dword [esp + 0x44], 0x464d6947
mov dword [esp + 0x48], 0x764d7745
mov dword [esp + 0x4c], 0x524d4449
mov dword [esp + 0x50], 0x6c556a66
mov dword [esp + 0x54], 0x6a5a5766
mov dword [esp + 0x58], 0x3855524d
mov dword [esp + 0x5c], 0x7a554150
mov dword [esp + 0x60], 0x71496e4f
mov dword [esp + 0x64], 0x4a73434e
mov dword [esp + 0x68], 0x68355750
mov dword [esp + 0x6c], 0x37355347
mov dword [esp + 0x70], 0x75454146
mov dword [esp + 0x74], 0x4b417845
mov dword [esp + 0x78], 0x59676e4d
mov dword [esp + 0x7c], 0x79494344
mov dword [esp + 0x80], 0x6a357763
mov dword [esp + 0x84], 0x7734444d
mov dword [esp + 0x88], 0x7a517846
mov dword [esp + 0x8c], 0x36304845
mov dword [esp + 0x90], 0x6359444d
mov dword [esp + 0x94], 0x3463515a
mov dword [esp + 0x98], 0x63636d47
mov dword [esp + 0x9c], 0x53306765
mov dword [esp + 0xa0], 0x2f305243
mov dword [esp + 0xa4], 0x436f5248
mov dword [esp + 0xa8], 0x6c77524b
mov dword [esp + 0xac], 0x4334414d
mov dword [esp + 0xb0], 0x42345141
mov dword [esp + 0xb4], 0x41414141
mov word [esp + 0xb8], 0x5163
call dword [eax + 4]
mov byte [esp + 0xe8], 1
lea edx, [esp + 0x14]
push dword [eax]
lea eax, [esp + 0xba]
push ebx
sub esp, 0xc
mov ecx, esp
push ecx
push eax
push edx
call fcn.1001986e
lea ecx, [esp + 0xd8]
call fcn.10011111
add esp, 0xc
mov ecx, eax
mov byte [esp + 0xf0], 2
call fcn.100199e0
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.1001b527
add esp, 0xc
lea ecx, [esp + 0xc4]
call fcn.1001994c
mov byte [esp + 0xe8], bl
mov ecx, dword [esp + 0xd0]
lea ecx, [ecx - 0x10]
call fcn.1000ff12
mov dword [esp + 0xd0], ebx
call fcn.1000ff4f
push eax
lea ecx, [esp + 0xd4]
call fcn.10019d83
mov byte [esp + 0xe8], 3
lea ebx, [esp + 0xd0]
mov edi, dword [esp + 0xd4]
push ecx
mov esi, esp
lea ecx, [edi - 0x10]
call fcn.1001aad4
add eax, 0x10
mov edx, ebx
mov dword [esi], eax
call fcn.1001272b
pop ecx
mov ecx, dword [esp + 0xd0]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.1000ff12
lea ecx, [edi - 0x10]
call fcn.1000ff12
mov eax, esi
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1001c851
mov esp, ebp
pop ebp
ret
Function at 0x10017171
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xc0
mov eax, 0x10046eb0
call fcn.1002e5e6
mov dword [ebp - 0xbc], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
lea edx, [ebp - 0xb8]
push ebx
push ebx
sub esp, 0xc
mov dword [ebp - 0xb8], 0x36637a4a
mov ecx, esp
mov dword [ebp - 0xb4], 0x4a51444f
mov dword [ebp - 0xb0], 0x41735849
mov dword [ebp - 0xac], 0x5741514b
push ecx
push eax
push edx
mov dword [ebp - 0xa8], 0x3555444b
mov dword [ebp - 0xa4], 0x6d707848
mov dword [ebp - 0xa0], 0x4534414d
mov dword [ebp - 0x9c], 0x68354848
mov dword [ebp - 0x98], 0x7430674a
mov dword [ebp - 0x94], 0x46775259
mov dword [ebp - 0x90], 0x3449514a
mov dword [ebp - 0x8c], 0x344d6d4d
mov dword [ebp - 0x88], 0x73515745
mov dword [ebp - 0x84], 0x33306a47
mov dword [ebp - 0x80], 0x66597942
mov dword [ebp - 0x7c], 0x6c645445
mov dword [ebp - 0x78], 0x416b4244
mov dword [ebp - 0x74], 0x6a685341
mov dword [ebp - 0x70], 0x75705146
mov dword [ebp - 0x6c], 0x6a49794e
mov dword [ebp - 0x68], 0x6d4e784b
mov dword [ebp - 0x64], 0x7651514e
mov dword [ebp - 0x60], 0x62456d47
mov dword [ebp - 0x5c], 0x4967514f
mov dword [ebp - 0x58], 0x2b637a45
mov dword [ebp - 0x54], 0x6b56784d
mov dword [ebp - 0x50], 0x736c774d
mov dword [ebp - 0x4c], 0x6459534f
mov dword [ebp - 0x48], 0x64736965
mov dword [ebp - 0x44], 0x6d734448
mov dword [ebp - 0x40], 0x7a77434f
mov dword [ebp - 0x3c], 0x34496950
mov dword [ebp - 0x38], 0x5051524d
mov dword [ebp - 0x34], 0x30777948
mov dword [ebp - 0x30], 0x5a557743
mov dword [ebp - 0x2c], 0x4173444f
mov dword [ebp - 0x28], 0x6e424141
call fcn.1001986e
lea ecx, [ebp - 0xcc]
call fcn.10011111
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100199e0
push eax
lea ecx, [ebp + 0xc]
call fcn.1001956c
cmp eax, 0xffffffff
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xcc]
setne byte [ebp - 0x1d]
call fcn.1001994c
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x10017333
push str.invalid_vector_T__subscript
call fcn.1002daf1
cmp byte [ebp - 0x1d], 0
push 0x18
pop ecx
cmovne ebx, ecx
mov ecx, dword [ebp - 0xbc]
push eax
push dword [ebp - 0x1c]
add ecx, ebx
push ecx
call fcn.10024470
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.1001994c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000ff12
mov al, 1
call fcn.1002e595
ret
Function at 0x1001ae69
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, ecx
mov edx, ebx
xor esi, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x1001ae7d
sub edx, ecx
mov ecx, 0x811c9dc5
sar edx, 1
add edx, edx
je 0x1001aea6
movzx eax, byte [esi + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, edx
jb 0x1001ae95
mov esi, 0x7fffffff
and ecx, esi
push 0x1f31d
push ecx
call fcn.1001ec5b
pop ecx
pop ecx
imul ecx, edx, 0x41a7
imul eax, eax, 0xb14
sub ecx, eax
jns 0x1001aecc
add ecx, esi
mov edx, dword [edi + 0x14]
mov eax, edx
and eax, ecx
cmp dword [edi + 0x18], eax
pop edi
pop esi
pop ebx
ja 0x1001aee4
shr edx, 1
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
pop ebp
ret 4

Function at 0x1001c0ca
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100592e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], eax
cmp dword [0x10083110], 0x40
jae 0x1001c1c0
push esi
lea esi, [edx + ecx]
add ecx, dword [ebp + 0x10]
push edi
cmp ecx, 0x80000000
lea edi, [ebp - 0x40]
push 8
lea eax, [ecx + 0x7ff80000]
mov edx, 0xfff80000
cmovb edx, eax
and dword [ebp - 0x44], ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x48], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
mov esi, dword [ebp - 0x48]
cmovb edi, eax
cmp edi, esi
jae 0x1001c1be
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1001c199
cmp dword [ebp - 0x10], 0x10000
jne 0x1001c18d
mov eax, dword [ebp - 0x14]
cmp eax, 0x6c
jb 0x1001c190
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jb 0x1001c190
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1001c19d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
add edi, eax
cmp edi, esi
jb 0x1001c142
test ebx, ebx
je 0x1001c1be
xor eax, eax
cmp dword [eax*4 + 0x10083280], 0
je 0x1001c1b1
inc eax
cmp eax, 0x40
jb 0x1001c19f
jmp 0x1001c1be
inc dword [0x10083110]
mov dword [eax*4 + 0x10083280], ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1001c851
mov esp, ebp
pop ebp
ret
Function at 0x1001c204
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x100592e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push 0
push 0x1fffff
mov dword [ebp - 0x2d4], edx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001c2a4
test esi, esi
je 0x1001c2a4
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1001c29b
mov dword [ebp - 0x2d0], 0x10001
xor edi, edi
jmp 0x1001c287
mov eax, dword [ebp - 0x2d4]
cmp dword [ebp - 0x218], eax
jb 0x1001c2a4
add eax, dword [ebp + 8]
cmp dword [ebp - 0x218], eax
jae 0x1001c2a4
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 3
jge 0x1001c29b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
inc edi
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1001c252
jmp 0x1001c2a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1001c851
mov esp, ebp
pop ebp
ret

Function at 0x1001c2b6
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x1008311c], esi
jbe 0x1001c308
mov eax, dword [0x10083118]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x10083118]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x1008311c]
jb 0x1001c2e3
push dword [0x10083118]
call fcn.1001da63
and dword [0x10083118], 0
and dword [0x1008311c], 0
pop ecx
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c568
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x100592e0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, dword [0x1008310c]
push edi
xor edi, edi
call fcn.1001c01d
mov ecx, esi
call fcn.1001c05a
mov ebx, eax
mov ecx, 0x100174da
mov dword [esp + 0x18], ebx
call fcn.1001c05a
push 0x50
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x24], xmm0
push edi
push eax
call fcn.100267e0
add esp, 0xc
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.1001c4b4
mov esi, eax
mov dword [esp + 0x20], esi
pop ecx
cmp esi, 5
jb 0x1001c749
mov edx, esi
mov ecx, ebx
call fcn.1001c334
push dword [esp + 0x2c]
mov ecx, ebx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.1001c0ca
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1001c744
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x80], 0
lea ecx, [esp + 0x80]
and dword [esp + 0x7c], 0
push ecx
push 0x40
push esi
push ebx
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1001c729
lea eax, [esp + 0x7c]
push eax
push 0x40
push 0x6c
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1001c702
xor ecx, ecx
lea eax, [edi + 0x2c]
test esi, esi
je 0x1001c67a
mov edx, eax
sub ebx, eax
mov al, byte [ebx + edx]
mov byte [edx], al
mov byte [edi + ecx + 0x4c], al
inc ecx
inc edx
cmp ecx, esi
jb 0x1001c664
mov ebx, dword [esp + 0x18]
lea eax, [edi + 0x2c]
lea edx, [esi + ebx]
lea ecx, [eax + esi]
call fcn.1001c08b
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, edx
mov eax, edx
sub eax, ebx
cmp edx, ebx
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x1001c6c7
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.1001c08b
sub eax, edi
sub eax, 0xc
push eax
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, esi
mov ecx, ebx
call fcn.1001c08b
mov esi, dword [esp + 0x1c]
jmp 0x1001c6ce
mov ecx, ebx
call fcn.1001c08b
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
lea eax, [edi + 0x2c]
push esi
push eax
push dword [esp + 0x14]
mov dword [edi + 4], esi
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x80]
push 0x6c
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push esi
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x84]
push esi
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [edi], 0
je 0x1001c738
lea eax, [edi + 0x2c]
mov dword [0x1008310c], eax
jmp 0x1001c744
xor edx, edx
mov ecx, edi
inc edx
call fcn.1001c1d1
xor edi, edi
call fcn.1001c2b6
push 0x10083264
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x84]
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.1001c851
mov esp, ebp
pop ebp
ret
Function at 0x1001c770
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100592e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
call fcn.1001c01d
mov esi, edi
mov eax, dword [esi*4 + 0x10083280]
test eax, eax
je 0x1001c7a4
add eax, 0x2c
cmp eax, dword [0x1008310c]
je 0x1001c845
inc esi
cmp esi, 0x40
jb 0x1001c78a
mov esi, edi
test esi, esi
je 0x1001c828
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push ebx
call fcn.1001c334
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov dword [ebp - 8], edi
lea eax, [ebp - 8]
push eax
push 0x40
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1001c822
mov ecx, dword [esi]
cmp dword [esi + 4], edi
jbe 0x1001c7f0
mov al, byte [esi + edi + 0x4c]
mov byte [edi + ecx], al
inc edi
cmp edi, dword [esi + 4]
jb 0x1001c7e3
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esi]
xor edi, edi
xor edx, edx
mov dword [0x1008310c], eax
mov ecx, esi
inc edi
call fcn.1001c1d1
call fcn.1001c2b6
pop ebx
push 0x10083264
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1001c851
mov esp, ebp
pop ebp
ret
mov esi, dword [esi*4 + 0x10083280]
jmp 0x1001c7ac
Function at 0x10030396
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 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130