joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b5de
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0x302a3c5e
xor ebx, ebx
mov dword [ebp - 0x14], 0x312c3a01
push edi
mov cl, 0x5e
mov word [ebp - 0x10], 0x2e
mov edi, dword [esi]
mov eax, ebx
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 8
jae 0x1002b614
mov cl, byte [ebp - 0x18]
jmp 0x1002b605
sub esp, 0x18
mov byte [ebp - 0xf], bl
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, edi
call fcn.10009101
movaps xmm0, xmmword [0x1003e9d0]
add esp, 0x18
mov edi, dword [esi]
mov ecx, ebx
mov dword [esi + 0x10], eax
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0xf
jb 0x1002b644
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, edi
call fcn.10009101
movaps xmm0, xmmword [0x1003e630]
add esp, 0x18
mov edi, dword [esi]
mov ecx, ebx
mov dword [esi + 0x14], eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x71777566
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x13
jb 0x1002b688
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, edi
call fcn.10009101
mov edi, dword [esi]
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 5
mov dword [ebp - 0x1c], 0x6b716705
mov eax, ebx
mov dword [ebp - 0x18], 0x6b70635a
mov dword [ebp - 0x14], 0x76646966
mov word [ebp - 0x10], 0x76
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x1002b6e3
mov cl, byte [ebp - 0x1c]
jmp 0x1002b6d4
sub esp, 0x18
mov byte [ebp - 0xf], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, edi
call fcn.10009101
mov edi, dword [esi]
add esp, 0x18
mov dword [esi + 8], eax
mov cl, 0x7d
mov dword [ebp - 0x18], 0x13091f7d
mov eax, ebx
mov dword [ebp - 0x14], 0x9121122
mov dword [ebp - 0x10], 0x40f1809
mov byte [ebp - 0xc], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x1002b72e
mov cl, byte [ebp - 0x18]
jmp 0x1002b71f
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, edi
call fcn.10009101
mov ecx, dword [0x1007cfb8]
add esp, 0x18
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x1002b774
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1002b774
mov ecx, dword [ecx]
call fcn.1000924a
mov ecx, dword [esi]
add edx, 0xf5
push 5
call fcn.100092e3
pop ecx
mov ecx, dword [esi]
push 0x14
pop edx
call fcn.1000944c
mov ecx, dword [esi]
mov dl, 1
call fcn.1000932c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1002b795
xor dl, dl
call fcn.1000932c
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002b7a3
xor dl, dl
call fcn.1000932c
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1002b7b1
xor dl, dl
call fcn.1000932c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002c9d2
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x10067420], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x1006741c], ebx
push edi
push ebx
mov dword [0x10067418], eax
mov dword [0x10067424], ebx
mov dword [0x10067428], eax
mov dword [0x1006742c], ebx
mov dword [0x10067430], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x10067444], edx
mov eax, 0x55555555
mov dword [0x10067440], esi
xor edi, edi
mov dword [0x100687c0], eax
pop ecx
mov dword [0x100687c4], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.10034620
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x10067440], esi
adc edx, ebx
mov dword [edi*8 + 0x10067444], edx
inc edi
cmp edi, eax
jb 0x1002ca30
movaps xmm0, xmmword [0x1003e520]
pop edi
pop esi
mov dword [0x10067438], eax
mov eax, 0x10067418
movups xmmword [0x100687c8], xmm0
pop ebx
ret 0x10

Function at 0x1002cbef
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x100372e5
call fcn.10034326
mov esi, dword [0x1007cda4]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.100332a2
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x1002d9de
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1002cc4f
cmp dword [esi + 0x60], edi
je 0x1002cc40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.100342e4
ret
push 6
mov dword [ebp - 0x18], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1002fe6a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x1002feb3
cmp word [edx], cx
je 0x1002feb3
push ecx
lea eax, [ebp - 8]
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002fed8
mov eax, dword [ebp - 8]
xor ecx, ecx
push dword [ebp + 0x14]
push ebx
push 1
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 8]
mov edi, eax
test ecx, ecx
je 0x1002fed6
cmp ecx, esi
je 0x1002fed6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033294
leave
ret
Function at 0x100300f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x10030160
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10030146
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x1003018d
inc ax
mov word [ebp - 0xa], ax
jmp 0x10030160
cmp eax, 0xe7
jne 0x1003018d
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1003018d
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10030129
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033294
leave
ret
xor al, al
jmp 0x1003017e

Function at 0x10030590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10030760
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003066d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100305da
mov eax, dword [ebp - 4]
cmp eax, dword [0x10044004]
ja 0x100305da
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100305aa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100305ff
jmp 0x1003066d
cmp dword [ebp - 0x14], 0x10000
jne 0x10030653
cmp dword [ebp - 0x18], 0x10000
jb 0x10030653
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10030636
mov eax, dword [ebp - 8]
jmp 0x1003066f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10030646
xor eax, eax
jmp 0x1003066f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10030668
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10030760
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100305aa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10030680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10030790
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10030755
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100306c5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10044004]
ja 0x100306c5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10030695
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100306ea
jmp 0x10030755
cmp dword [ebp - 0x14], 0x10000
jne 0x1003073e
cmp dword [ebp - 0x18], 0x10000
jb 0x1003073e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10030721
mov eax, dword [ebp - 8]
jmp 0x10030757
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10030731
xor eax, eax
jmp 0x10030757
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10030750
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10030790
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10030695
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100307c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10030bb0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100458e8], 0
jne 0x100307fd
cmp dword [0x100458e4], 0
je 0x100307fd
mov eax, dword [0x100458e4]
mov dword [0x100458e8], eax
cmp dword [0x100458e8], 0
je 0x1003087a
mov ecx, dword [0x100458e8]
cmp dword [ecx + 8], 0
je 0x1003087a
mov edx, dword [0x100458e8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1003087a
mov ecx, dword [0x100458e8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1003087a
mov eax, dword [0x100458e8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10030849
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10030850
xor eax, eax
jmp 0x10030999
mov ecx, dword [0x100458e8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10030999
mov edx, dword [0x100458e4]
mov dword [0x100458e8], edx
jmp 0x10030896
mov eax, dword [0x100458e8]
mov ecx, dword [eax + 4]
mov dword [0x100458e8], ecx
cmp dword [0x100458e8], 0
je 0x100308d6
cmp dword [0x100458e8], 0
je 0x100308d4
mov edx, dword [0x100458e8]
cmp dword [edx + 8], 0
je 0x100308d4
mov eax, dword [0x100458e8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x100308d4
mov edx, dword [0x100458e8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x100308d4
jmp 0x1003082e
jmp 0x10030888
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100309a0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10030997
mov eax, dword [ebp - 0x18]
mov dword [0x100458e8], eax
mov ecx, dword [0x100458e8]
mov dword [ecx], 0x52727464
mov edx, dword [0x100458e8]
mov dword [edx + 8], 0
mov eax, dword [0x100458e8]
mov ecx, dword [0x100458e4]
mov dword [eax + 4], ecx
mov edx, dword [0x100458e8]
mov dword [0x100458e4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100458e8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10030967
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10030987
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1003095e
mov eax, dword [0x100458e8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1003082e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100316e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100458e4]
mov dword [ebp - 4], eax
jmp 0x100316f9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10031720
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003171e
call sub.KERNEL32.dll_GetLastError
jmp 0x10031722
jmp 0x100316f0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10031bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100458f4], eax
je 0x10031be4
mov eax, 0x10dd
jmp 0x10031d8c
cmp dword [0x100458f8], 0
je 0x10031bf7
mov eax, dword [0x100458f8]
jmp 0x10031d8c
cmp dword [ebp + 0xc], 0
jne 0x10031c07
mov eax, 0x57
jmp 0x10031d8c
cmp dword [ebp + 8], 0
jne 0x10031c17
mov eax, 6
jmp 0x10031d8c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10031c40
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100458f8], ecx
mov edx, dword [ebp + 8]
mov dword [0x100458fc], edx
mov eax, dword [ebp - 8]
jmp 0x10031d8c
push 0x18
call fcn.100332a2
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10031c9b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100458f8], ecx
cmp dword [ebp - 4], 0
je 0x10031c8a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.100332f5
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100458fc], ecx
mov eax, dword [ebp - 8]
jmp 0x10031d8c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10031ba0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10031ba0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10031cdb
cmp dword [ebp - 0xc], 0x1e
jbe 0x10031cf7
mov dword [ebp - 8], 9
cmp dword [0x100458ec], 0
je 0x10031cf2
jmp 0x10031c69
jmp 0x10031c60
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10031d1e
mov dword [ebp - 8], 9
cmp dword [0x100458ec], 0
je 0x10031d19
jmp 0x10031c69
jmp 0x10031c60
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10031d49
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10031c60
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10045904]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10045904], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10031da0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100458f4], eax
je 0x10031dbd
mov eax, 0x10dd
jmp 0x10031ea0
mov eax, dword [0x10045904]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10031e3c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10031e18
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10031e18
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10030c40
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.100332f5
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10031dc5
mov dword [0x10045904], 0
call fcn.10031520
mov ecx, dword [0x10045900]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10031e8a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100332f5
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10031e54
mov dword [0x10045900], 0
mov dword [0x100458f4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10032380
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100458f8], 0
je 0x10032399
mov eax, dword [0x100458f8]
jmp 0x10032438
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100323aa
xor eax, eax
jmp 0x10032438
push 8
call fcn.100332a2
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10032402
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100323eb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.100332f5
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100458f8], eax
mov dword [0x100458fc], 0
mov eax, dword [ebp - 8]
jmp 0x10032438
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003241a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100323ca
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10045900]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10045900], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xb287f5e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x40144f57
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00