joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4184d5
cmp edi, dword [esi + 0xc]
jge 0x4184d5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4184d5
cmp edi, dword [eax + 8]
jge 0x4184d5
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4184d7
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4185db
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x41860f
jmp fcn.0040f5b3
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x418680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x418779
cmp eax, dword [edi + 0xc]
jge 0x418779
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x4186d1
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x418762
cmp dword [ebp + 0xc], ebx
je 0x418762
jmp 0x4186fb
push 0x10
call fcn.0041836c
cmp eax, ebx
je 0x4186e7
mov ecx, eax
call fcn.004185d2
mov esi, eax
jmp 0x4186e9
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x418712
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x418722
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x418734
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0040f5b3
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00406160
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x418774
cmp ecx, dword [esi + 8]
jge 0x418774
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x41877a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x418839
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x418867
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x418885
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004187a3
jmp 0x418885
mov eax, dword [esi + 0x14]
test eax, eax
je 0x418885
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004187a3
test edi, edi
mov eax, edi
jne 0x41886f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x42cf30]
test ecx, ecx
je 0x418938
jmp 0x418838
ret 8
Function at 0x1000113e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x90
mov eax, 0xfffffff5
mov dword [esp + 0x18], 0x514c646b
mov dword [esp + 0x1c], 0x9095159
mov dword [esp + 0x20], 0x5b5a5d16
mov byte [esp + 0x24], 0
mov ecx, eax
add cl, 0xaa
xor cl, byte [esp + eax + 0x24]
xor cl, 0x9e
mov byte [esp + eax + 0x24], cl
inc eax
jne 0x10001169
lea ebx, [esp + 0x18]
mov byte [ebx + 0xc], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
test eax, eax
je 0x10001278
movaps xmm0, xmmword [0x1009f210]
mov ecx, 0xffffffe6
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0x40474540
mov dword [esp + 0x2c], 0x47436b42
mov dword [esp + 0x30], 0x544c5c
mov byte [esp + 0x18], 0x53
mov edx, ecx
add dl, 0xb9
xor dl, byte [esp + ecx + 0x33]
xor dl, 0x9e
mov byte [esp + ecx + 0x33], dl
inc ecx
jne 0x100011c3
mov byte [esp + 0x33], 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001278
movaps xmm0, xmmword [0x1009f220]
mov esi, eax
mov eax, 0x10001134
mov byte [esp + 0x18], 0xe9
sub eax, esi
mov dword [esp + 0x19], eax
mov eax, 0xffffffef
movups xmmword [esp], xmm0
mov word [esp + 0x10], 0x4842
mov byte [esp + 0x12], 0
mov byte [esp], 0x57
mov ecx, eax
add cl, 0xb0
xor cl, byte [esp + eax + 0x12]
xor cl, 0x9e
mov byte [esp + eax + 0x12], cl
inc eax
jne 0x1000121d
mov ecx, esp
mov byte [ecx + 0x12], 0
call fcn.10001105
movaps xmm0, xmmword [0x1009f230]
lea ecx, [esp + 0x7c]
mov edi, eax
movups xmmword [ecx], xmm0
mov word [ecx + 0x10], 0x43
mov byte [ecx], 0x47
movups xmm0, xmmword [ecx + 1]
xorps xmm0, xmmword [0x1009f240]
movups xmmword [ecx + 1], xmm0
call fcn.10001105
call eax
lea ecx, [esp + 0x14]
push ecx
push 5
push ebx
push esi
push eax
call edi
mov edi, eax
mov eax, edi
add esp, 0x90
pop esi
pop edi
pop ebx
ret
Function at 0x100030b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x1c
movaps xmm0, xmmword [0x1009f290]
mov eax, 0xffffffe6
movups xmmword [esp], xmm0
mov dword [esp + 0x10], 0x21b0700
mov dword [esp + 0x14], 0x5072902
mov dword [esp + 0x18], 0x180e1c
mov byte [esp], 0x53
mov ecx, eax
add cl, 0x58
xor cl, byte [esp + eax + 0x1b]
xor cl, 0x3d
mov byte [esp + eax + 0x1b], cl
inc eax
jne 0x100030ea
mov esi, esp
xor ebx, ebx
mov ecx, esi
mov byte [esi + 0x1b], bl
call fcn.100031e5
push section..text
call eax
call fcn.1000113e
mov eax, 0xfffffff5
mov dword [esi], 0x1c677143
mov dword [esi + 4], 0x112a1a08
mov dword [esi + 8], 0x111b1e0a
mov byte [esi + 0xc], bl
mov ecx, eax
add cl, 0x49
xor cl, byte [esp + eax + 0xc]
xor cl, 0x3d
mov byte [esp + eax + 0xc], cl
inc eax
jne 0x10003133
mov edi, esp
mov ecx, edi
mov byte [edi + 0xc], 0
call fcn.100031e5
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x1000142b
push ecx
push ecx
call eax
movaps xmm0, xmmword [str.Wbk_t:]
mov esi, eax
mov eax, 0xffffffee
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0x61015
mov byte [edi], 0x57
mov ecx, eax
add cl, 0x50
xor cl, byte [esp + eax + 0x13]
xor cl, 0x3d
mov byte [esp + eax + 0x13], cl
inc eax
jne 0x1000317c
mov edi, esp
mov ecx, edi
mov byte [edi + 0x13], 0
call fcn.100031e5
push 0xffffffffffffffff
push esi
call eax
mov eax, 0xfffffff6
mov dword [edi], 0xe6d6f43
mov dword [edi + 4], 0x171f3719
mov dword [edi + 8], 0x1f171c
mov ecx, eax
add cl, 0x48
xor cl, byte [esp + eax + 0xb]
xor cl, 0x3d
mov byte [esp + eax + 0xb], cl
inc eax
jne 0x100031ba
mov ecx, esp
mov byte [ecx + 0xb], 0
call fcn.100031e5
push esi
call eax
xor eax, eax
inc eax
add esp, 0x1c
pop esi
pop edi
pop ebx
ret
Function at 0x10003646
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
lea eax, [ecx + 4]
mov esi, ecx
xor ebx, ebx
mov edi, 0x5b6e95d8
mov ebp, 0xeebfb944
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, 0xa80e1f01
cmp eax, 0x1cdcc00b
je 0x10003699
cmp eax, 0xeebfb944
je 0x10003779
cmp eax, 0xa80e1f01
jne 0x10003671
cmp dword [esp + 0x14], 0
mov eax, 0x1cdcc00b
cmove eax, ebp
jmp 0x10003671
lea eax, [esp + 0x12]
mov ecx, 0x68aad165
mov dword [esp + 8], 0x6e6d6e4c
mov dword [esp + 0xc], 0x6e784b60
mov byte [esp + 0x10], 0x6d
mov dword [esp], eax
lea eax, [esp + 0x11]
cmp ecx, 0x5b6e95d8
je 0x100036df
cmp ecx, 0x68aad165
jne 0x100036be
mov byte [eax], 0
inc eax
mov ecx, 0x68aad165
cmp eax, dword [esp]
cmove ecx, edi
jmp 0x100036be
xor eax, eax
mov ecx, 0xcc4ca22a
cmp ecx, 0x399adcba
je 0x10003747
cmp ecx, 0xf5a25799
je 0x10003716
cmp ecx, 0xcc4ca22a
jne 0x100036e6
mov dword [esp], eax
mov edx, 0xf5a25799
mov ecx, dword [esp]
cmp ecx, 9
mov ecx, 0x399adcba
cmovb ecx, edx
jmp 0x100036e6
mov ecx, dword [esp]
mov dl, byte [esp + ecx + 8]
mov eax, edx
and dl, 0x82
not al
and al, 0x7d
or dl, al
mov eax, dword [esp]
mov dh, dl
xor dl, 0xc4
xor dh, 0x3b
add al, 0x46
and dl, al
not al
and al, dh
or al, dl
mov byte [esp + ecx + 8], al
mov eax, dword [esp]
inc eax
jmp 0x100036e1
lea ecx, [esp + 8]
mov byte [esp + 0x11], 0
call fcn.10003781
mov ecx, dword [esp + 4]
push dword [ecx]
call eax
mov eax, dword [esp + 4]
mov dword [eax], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esi + 8], eax
mov eax, 0xeebfb944
jmp 0x10003671
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10092eae
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x20
movsd xmm0, qword [0x1009fa16]
movaps xmm1, xmmword [str.Csgbp_QnvulYeI]
movsd xmm2, qword [0x1009fa10]
mov esi, ecx
mov eax, 0xfffffff2
movsd qword [esp + 0x16], xmm0
movups xmmword [esp], xmm1
movsd qword [esp + 0x10], xmm2
mov byte [esp], 0x43
mov ecx, eax
add cl, 0xb7
xor cl, byte [esp + eax + 0xf]
xor cl, 0xa8
mov byte [esp + eax + 0xf], cl
inc eax
jne 0x10092ee5
mov ecx, esp
mov byte [ecx + 0xf], 0
call fcn.1009304a
xor ecx, ecx
mov edx, 0x64
lea edi, [esp + 0x10]
push ecx
push ecx
push ecx
push ecx
push edx
push edx
push ecx
push ecx
push ecx
push ecx
push edi
push ecx
call eax
test eax, eax
mov dword [esi], eax
je 0x10092fcd
mov eax, 0xfffffff3
mov dword [esp], 0x54766453
mov dword [esp + 4], 0x68626b6d
mov dword [esp + 8], 0x7575556f
mov word [esp + 0xc], 0x4a7b
mov byte [esp + 0xe], 0
mov ecx, eax
add cl, 0xb6
xor cl, byte [esp + eax + 0xe]
xor cl, 0xa8
mov byte [esp + eax + 0xe], cl
inc eax
jne 0x10092f4e
mov ecx, esp
mov byte [ecx + 0xe], 0
call fcn.1009304a
push 0x1009307e
push 0xfffffffffffffffc
push dword [esi]
call eax
test eax, eax
je 0x10093003
mov eax, 0xfffffff9
mov dword [esp], 0x57766453
mov dword [esp + 4], 0x7563686d
mov byte [esp + 8], 0
mov ecx, eax
add cl, 0xb0
xor cl, byte [esp + eax + 8]
xor cl, 0xa8
mov byte [esp + eax + 8], cl
inc eax
jne 0x10092f98
mov ecx, esp
mov byte [ecx + 8], 0
call fcn.1009304a
push 0x100930ec
push 0x7530
push 0x3e8
push dword [esi]
call eax
xor eax, eax
jmp 0x10093044
mov eax, 0xfffffff5
mov dword [esp], 0x4f766447
mov dword [esp + 4], 0x42727665
mov dword [esp + 8], 0x69756b6a
mov byte [esp + 0xc], 0
mov ecx, eax
add cl, 0xb4
xor cl, byte [esp + eax + 0xc]
xor cl, 0xa8
mov byte [esp + eax + 0xc], cl
inc eax
jne 0x10092fee
jmp 0x10093037
mov eax, 0xfffffff5
mov dword [esp], 0x4f766447
mov dword [esp + 4], 0x42727665
mov dword [esp + 8], 0x69756b6a
mov byte [esp + 0xc], 0
mov ecx, eax
add cl, 0xb4
xor cl, byte [esp + eax + 0xc]
xor cl, 0xa8
mov byte [esp + eax + 0xc], cl
inc eax
jne 0x10093024
mov ecx, esp
mov byte [ecx + 0xc], 0
call fcn.1009304a
call eax
add esp, 0x20
pop esi
pop edi
ret
Function at 0x100930f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov esi, esp
xor ebx, ebx
lea edi, [esp + 0x14]
mov eax, 0xfffffff6
mov dword [esp], 0x4e766447
mov dword [esp + 4], 0x66757661
mov dword [esp + 8], 0x4d7c7f
mov ecx, eax
add cl, 0xb3
xor cl, byte [esp + eax + 0xb]
xor cl, 0xa8
mov byte [esp + eax + 0xb], cl
inc eax
jne 0x1009311a
mov ecx, esi
mov byte [esp + 0xb], 0
call fcn.1009304a
push ebx
push ebx
push ebx
push edi
call eax
test eax, eax
je 0x100931bc
movaps xmm0, xmmword [str.TscmwigsT]
mov eax, 0xfffffff1
movups xmmword [esp], xmm0
mov byte [esp + 0x10], 0
mov byte [esp], 0x54
mov ecx, eax
add cl, 0xb8
xor cl, byte [esp + eax + 0x10]
xor cl, 0xa8
mov byte [esp + eax + 0x10], cl
inc eax
jne 0x1009315c
mov ecx, esi
mov byte [esp + 0x10], bl
call fcn.1009304a
push edi
call eax
movaps xmm0, xmmword [0x1009fa00]
mov eax, 0xfffffff1
movups xmmword [esp], xmm0
mov byte [esp + 0x10], bl
mov byte [esp], 0x44
mov ecx, eax
add cl, 0xb8
xor cl, byte [esp + eax + 0x10]
xor cl, 0xa8
mov byte [esp + eax + 0x10], cl
inc eax
jne 0x10093195
mov ecx, esi
mov byte [esp + 0x10], 0
call fcn.1009304a
push edi
call eax
jmp 0x100930fe
xor eax, eax
add esp, 0x30
pop esi
pop edi
pop ebx
ret

Function at 0x100931c6
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push esi
sub esp, 0x10
mov esi, ecx
mov eax, 0xfffffff4
mov dword [esp], 0x77716444
mov dword [esp + 4], 0x507f6a76
mov dword [esp + 8], 0x747e7771
mov word [esp + 0xc], 0x6b
mov ecx, eax
add cl, 0xb5
xor cl, byte [esp + eax + 0xd]
xor cl, 0xa8
mov byte [esp + eax + 0xd], cl
inc eax
jne 0x100931ef
mov ecx, esp
mov byte [ecx + 0xd], 0
call fcn.1009304a
push dword [esi]
call eax
mov dword [esi], 0
xor eax, eax
add esp, 0x10
pop esi
ret
Function at 0x4088b0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
invalid
je 0x4088c5
xchg esi, eax
Function at 0x40c604
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b740]
jne 0x40c60e
repz ret
jmp fcn.0041259c

Function at 0x417883
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4178aa
call fcn.0040f324
mov dword [eax], esi
call fcn.0040f311
push 0x16
pop esi
mov dword [eax], esi
call fcn.00412c08
mov eax, esi
jmp 0x4178ff
test dword [ebp + 0xc], 0xfffffff9
jne 0x417890
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4178d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f337
pop ecx
call fcn.0040f311
mov eax, dword [eax]
jmp 0x4178ff
test al, 0x10
jne 0x4178fd
test al, 1
je 0x4178fd
test byte [ebp + 0xc], 2
je 0x4178fd
call fcn.0040f324
mov dword [eax], 5
call fcn.0040f311
mov dword [eax], 0xd
jmp 0x4178ce
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100034f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*8 + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
jmp 0x10003544
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x10003589
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
push dword [ebp - 0x14]
push dword [ebp + 0x14]
call fcn.1000349e
pop ecx
pop ecx
cmp eax, dword [ebp + 0x10]
jne 0x10003587
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x1000358b
jmp 0x1000353d
xor eax, eax
leave
ret

Function at 0x1000358d
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x100035f6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x30]
call fcn.100030a0
pop ecx
cmp dword [ebp + 8], eax
jne 0x100035ec
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
jmp 0x100035f8
mov eax, dword [ebp - 4]
invalid
Function at 0x40bb9d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40bba7
repz ret
jmp fcn.0040bf1f

Function at 0x4019c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x406a26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a4a
xor eax, eax
test eax, eax
je 0x406a5d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a5d
xor ecx, ecx
jmp 0x406a60
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b83
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45bdec], 0
push esi
jne 0x406bba
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b94
mov dword [ecx*4 + 0x45bde8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b8f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406beb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45bde8]
xor eax, esi
inc ecx
dec edx
jne 0x406bcd
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c351ddf
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x499d2c0f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10485058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104851a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1048507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1048506a
add dl, dl
jne 0x10485089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104850dc
xor eax, eax
add dl, dl
jne 0x10485096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1048517d
add dl, dl
jne 0x104850a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104850b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104850bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104850c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104850d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10485075
mov eax, 1
add dl, dl
jne 0x104850ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104850f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104850e1
sub eax, ebx
mov ebx, 1
jne 0x10485128
mov ecx, 1
add dl, dl
jne 0x1048510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10485119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10485105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10485075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1048513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1048514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10485136
cmp eax, 0x7d00
jae 0x1048516d
cmp eax, 0x500
jb 0x10485168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10485075
cmp eax, 0x7f
ja 0x10485170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10485075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1048519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10485075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x6ea1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006ea140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006ea140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006ea140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006ea140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6eabfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6eac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6fc87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6eac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6eac52
xor eax, eax
pop esi
leave
ret 4
Function at 0xeef370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xeef38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xf18074
push ecx
mov edi, eax
call fcn.00f03198
mov esi, eax
add esp, 8
test esi, esi
jne 0xeef3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f0302e
push esi
call fcn.00f02fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret