joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10055360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ec80
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10084014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x100553a8
push 4
push edi
call ebx
test eax, eax
jne 0x100553a8
push eax
mov ecx, edi
call dword [0x100785d0]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10055492
push 4
push edi
call ebx
test eax, eax
jne 0x10055492
mov ecx, 0xbe20a0
call fcn.10018d90
cmp edi, eax
sete al
test al, al
je 0x10055492
push 0x10071b3f
lea ecx, [ebp - 0x4c]
call fcn.100028b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, dword [esi + 0x10]
call fcn.10018600
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x1005540f
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.100026b0
movaps xmm0, xmmword [0x10079f90]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0xe
jb 0x10055420
lea eax, [ebp - 0x1b]
mov byte [ebp - 0xd], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.100028b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x34]
mov ecx, dword [esi + 0x10]
call fcn.10018a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10055468
inc eax
push eax
push dword [ebp - 0x34]
call fcn.100026b0
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test edi, edi
je 0x10055492
push 4
push edi
call ebx
test eax, eax
jne 0x10055492
mov ecx, edi
call dword [0x100785fc]
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.100546e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100608a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ef50
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10084014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov dword [0x1008aaf0], eax
mov edi, dword [esi]
test edi, edi
je 0x100609f7
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call ebx
test eax, eax
jne 0x100609f7
push 4
add edi, 0xfc
push edi
call ebx
test eax, eax
jne 0x100609f7
cmp byte [edi], al
setne al
test al, al
je 0x100609f7
cmp byte [ebp + 8], 0
jne 0x100609f7
lea eax, [ebp + 9]
mov word [ebp + 8], 5
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp + 9], 0
call fcn.100028b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, dword [esi + 4]
call fcn.10018600
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10060959
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.100026b0
mov ecx, dword [esi + 4]
or edx, 0xffffffff
call fcn.100186a0
mov cl, 0x12
mov dword [ebp - 0x1c], 0x667c5712
mov dword [ebp - 0x18], 0x46326077
xor eax, eax
mov dword [ebp - 0x14], 0x5b327573
mov word [ebp - 0x10], 0x56
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10060992
mov cl, byte [ebp - 0x1c]
jmp 0x10060983
lea eax, [ebp - 0x1b]
mov byte [ebp - 0xf], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.100028b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x34]
mov ecx, dword [esi + 4]
call fcn.10018a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100609cd
inc eax
push eax
push dword [ebp - 0x34]
call fcn.100026b0
mov esi, dword [esi + 4]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test esi, esi
je 0x100609f7
push 4
push esi
call ebx
test eax, eax
jne 0x100609f7
mov ecx, esi
call dword [0x100785fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10064c60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.10064a00
lea ecx, [ebp - 0x7c]
call fcn.10064ab0
push esi
lea ecx, [ebp - 0x7c]
call fcn.10064ba0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10064d07
inc ecx
push ecx
push dword [ebp + 8]
call fcn.100026b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x10064d30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, 5
xor ecx, ecx
mov dword [ebp - 0xc], esi
add eax, eax
mov ebx, edx
push edi
setb cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov edx, dword [ebp - 0xc]
sub ebx, edx
sub ebx, 5
mov ecx, dword [edx]
mov dword [edi], ecx
mov al, byte [edx + 4]
mov byte [edi + 4], al
add edi, 5
mov eax, edx
sub eax, edi
mov dword [edi + 1], eax
lea eax, [ebp - 8]
push eax
mov byte [edi], 0xe9
push dword [ebp - 8]
mov byte [edx], 0xe9
push 5
push edx
mov dword [edx + 1], ebx
call esi
mov ecx, dword [ebp - 4]
lea eax, [edi - 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067dd5
mov esp, ebp
pop ebp
ret

Function at 0x10064dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword fs:[0x30]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0xc]
add eax, 0x14
mov esi, dword [eax]
cmp esi, eax
je 0x10064e03
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
test esi, esi
je 0x10064e03
push ecx
push dword [esi + 0x20]
call ebx
add esp, 8
test eax, eax
jne 0x10064e0c
mov eax, dword [edi + 0xc]
mov esi, dword [esi]
add eax, 0x14
mov ecx, dword [ebp - 4]
cmp esi, eax
jne 0x10064de3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10065100
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.100652d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100651dd
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1006514a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10084004]
ja 0x1006514a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1006511a
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 0x1006516f
jmp 0x100651dd
cmp dword [ebp - 0x14], 0x10000
jne 0x100651c3
cmp dword [ebp - 0x18], 0x10000
jb 0x100651c3
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 0x100651a6
mov eax, dword [ebp - 8]
jmp 0x100651df
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100651b6
xor eax, eax
jmp 0x100651df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100651d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100652d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1006511a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100651f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10065300
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100652c5
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10065235
mov eax, dword [ebp - 4]
cmp eax, dword [0x10084004]
ja 0x10065235
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10065205
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 0x1006525a
jmp 0x100652c5
cmp dword [ebp - 0x14], 0x10000
jne 0x100652ae
cmp dword [ebp - 0x18], 0x10000
jb 0x100652ae
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 0x10065291
mov eax, dword [ebp - 8]
jmp 0x100652c7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100652a1
xor eax, eax
jmp 0x100652c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100652c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10065300
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10065205
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10065330
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.10065720
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10085f08], 0
jne 0x1006536d
cmp dword [0x10085f04], 0
je 0x1006536d
mov eax, dword [0x10085f04]
mov dword [0x10085f08], eax
cmp dword [0x10085f08], 0
je 0x100653ea
mov ecx, dword [0x10085f08]
cmp dword [ecx + 8], 0
je 0x100653ea
mov edx, dword [0x10085f08]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100653ea
mov ecx, dword [0x10085f08]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100653ea
mov eax, dword [0x10085f08]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100653b9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100653c0
xor eax, eax
jmp 0x10065509
mov ecx, dword [0x10085f08]
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 0x10065509
mov edx, dword [0x10085f04]
mov dword [0x10085f08], edx
jmp 0x10065406
mov eax, dword [0x10085f08]
mov ecx, dword [eax + 4]
mov dword [0x10085f08], ecx
cmp dword [0x10085f08], 0
je 0x10065446
cmp dword [0x10085f08], 0
je 0x10065444
mov edx, dword [0x10085f08]
cmp dword [edx + 8], 0
je 0x10065444
mov eax, dword [0x10085f08]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10065444
mov edx, dword [0x10085f08]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10065444
jmp 0x1006539e
jmp 0x100653f8
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.10065510
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10065507
mov eax, dword [ebp - 0x18]
mov dword [0x10085f08], eax
mov ecx, dword [0x10085f08]
mov dword [ecx], 0x52727464
mov edx, dword [0x10085f08]
mov dword [edx + 8], 0
mov eax, dword [0x10085f08]
mov ecx, dword [0x10085f04]
mov dword [eax + 4], ecx
mov edx, dword [0x10085f08]
mov dword [0x10085f04], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10085f08]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100654d7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100654f7
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 0x100654ce
mov eax, dword [0x10085f08]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1006539e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10066250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10085f04]
mov dword [ebp - 4], eax
jmp 0x10066269
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10066290
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 0x1006628e
call sub.KERNEL32.dll_GetLastError
jmp 0x10066292
jmp 0x10066260
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10066730
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 [0x10085f14], eax
je 0x10066754
mov eax, 0x10dd
jmp 0x100668fc
cmp dword [0x10085f18], 0
je 0x10066767
mov eax, dword [0x10085f18]
jmp 0x100668fc
cmp dword [ebp + 0xc], 0
jne 0x10066777
mov eax, 0x57
jmp 0x100668fc
cmp dword [ebp + 8], 0
jne 0x10066787
mov eax, 6
jmp 0x100668fc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x100667b0
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10085f18], ecx
mov edx, dword [ebp + 8]
mov dword [0x10085f1c], edx
mov eax, dword [ebp - 8]
jmp 0x100668fc
push 0x18
call fcn.10067de6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1006680b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10085f18], ecx
cmp dword [ebp - 4], 0
je 0x100667fa
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.100683a0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10085f1c], ecx
mov eax, dword [ebp - 8]
jmp 0x100668fc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10066710
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10066710
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 0x1006684b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10066867
mov dword [ebp - 8], 9
cmp dword [0x10085f0c], 0
je 0x10066862
jmp 0x100667d9
jmp 0x100667d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1006688e
mov dword [ebp - 8], 9
cmp dword [0x10085f0c], 0
je 0x10066889
jmp 0x100667d9
jmp 0x100667d0
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 0x100668b9
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100667d0
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 [0x10085f24]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10085f24], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10066910
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10085f14], eax
je 0x1006692d
mov eax, 0x10dd
jmp 0x10066a10
mov eax, dword [0x10085f24]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100669ac
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 0x10066988
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10066988
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100657b0
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.100683a0
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10066935
mov dword [0x10085f24], 0
call fcn.10066090
mov ecx, dword [0x10085f20]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100669fa
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.100683a0
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100669c4
mov dword [0x10085f20], 0
mov dword [0x10085f14], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10066ef0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10085f18], 0
je 0x10066f09
mov eax, dword [0x10085f18]
jmp 0x10066fa8
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x10066f1a
xor eax, eax
jmp 0x10066fa8
push 8
call fcn.10067de6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10066f72
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10066f5b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.100683a0
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10085f18], eax
mov dword [0x10085f1c], 0
mov eax, dword [ebp - 8]
jmp 0x10066fa8
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x10066f8a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10066f3a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10085f20]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10085f20], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1006aaa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fa7e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10084014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10084020]
cmp eax, 0xffffffff
jne 0x1006aad6
xor ebx, ebx
jmp 0x1006aadf
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1006ab21
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x1006ab60
test esi, esi
jne 0x1006ab64
push 0x1006a5a0
push 0x100862b8
call fcn.1006a110
mov eax, dword [0x10084020]
add esp, 8
cmp eax, 0xffffffff
je 0x1006ab21
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1006ab4e
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1006ab4e
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1006aba6
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1006ab8f
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x1006ab64
cmp dword [ebx + 0x18], 0
je 0x1006aaf0
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1006abcd
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1006abcd
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1006a5c0
cmp dword [ebx + 0x18], 0
jne 0x1006abb0
jmp 0x1006aaf0
Function at 0x1b008769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1b00c190
cmp edx, dword [eax]
je 0x1b00878b
add eax, 8
inc ecx
cmp eax, 0x1b00c220
jl 0x1b00877c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1b00c190]
jne 0x1b0088b9
mov eax, dword [0x1b00cbb0]
cmp eax, 1
je 0x1b008893
test eax, eax
jne 0x1b0087bc
cmp dword [0x1b00c0e4], 1
je 0x1b008893
cmp edx, 0xfc
je 0x1b0088b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1b0087f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1b009670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1b009490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1b008836
lea eax, [ebp - 0x1a4]
push eax
call fcn.1b009490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1b00b45c
push edi
call fcn.1b009f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1b009670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1b009680
lea eax, [ebp - 0xa0]
push 0x1b00b43c
push eax
call fcn.1b009680
push dword [esi + 0x1b00c194]
lea eax, [ebp - 0xa0]
push eax
call fcn.1b009680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1b009e75
add esp, 0x2c
pop edi
jmp 0x1b0088b9
lea eax, [ebp + 8]
lea esi, [esi + 0x1b00c194]
push 0
push eax
push dword [esi]
call fcn.1b009490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7e5f0555
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x39231a6
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219