joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8f000]
push edi
jmp 0x4c8cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c8cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8cb0
mov eax, 1
add ebx, ebx
jne 0x4c8cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8ce4
jne 0x4c8d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d03
dec eax
add ebx, ebx
jne 0x4c8cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c8cc8
add ebx, ebx
jne 0x4c8cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c8d55
xor ecx, ecx
sub eax, 3
jb 0x4c8d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c8d8a
sar eax, 1
mov ebp, eax
jmp 0x4c8d26
add ebx, ebx
jne 0x4c8d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8cf4
inc ecx
add ebx, ebx
jne 0x4c8d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8cf4
add ebx, ebx
jne 0x4c8d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c8d36
jne 0x4c8d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c8d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c8d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c8d66
jmp 0x4c8cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c8d74
add edi, ecx
jmp 0x4c8cb6
pop esi
mov edi, esi
mov ecx, 0x4afe
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c8d92
cmp byte [edi], 0xd
jne 0x4c8d92
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 0x4c8d97
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c8e0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcb758]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcb888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c8dc4
mov ecx, edi
jns 0x4c8df3
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 + 0xcb890]
or eax, eax
je 0x4c8e09
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8de1
call dword [esi + 0xcb88c]
mov ebp, dword [esi + 0xcb894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4c8e43
sub esp, 0xffffff80
jmp 0x46a056
Function at 0x419400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x41941a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419410
mov eax, 1
add ebx, ebx
jne 0x419433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419428
jne 0x419444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419428
xor ecx, ecx
sub eax, 3
jb 0x419458
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4194ca
mov ebp, eax
add ebx, ebx
jne 0x419463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419494
inc ecx
add ebx, ebx
jne 0x419480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419475
jne 0x419491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419475
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4194b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4194a5
jmp 0x419416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4194b4
add edi, ecx
jmp 0x419416
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419513
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19784]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4194d1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1978c]
or eax, eax
je 0x41950d
mov dword [ebx], eax
add ebx, 4
jmp 0x4194ee
call dword [esi + 0x19788]
mov ebp, dword [esi + 0x19790]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x419547
sub esp, 0xffffff80
jmp 0x40d86c
Function at 0x100043c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 0x88], eax
test eax, eax
je 0x100043e7
cmp eax, 1
je 0x100043eb
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov byte [edi + 4], 1
push ebx
lea ebx, [edi + 8]
mov dword [0x10046df4], 0x10046df0
push ebx
push 0x10018940
push 1
push 0
push 0x10018930
mov dword [0x10046df0], 0x10046df0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [edi + 0x88], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
cmp dword [edi + 0x88], 0
mov dword [edi + 0x8c], eax
jne 0x1000445a
mov eax, dword [ebx]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [edi + 0x88], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
cmp dword [edi + 0x88], 0
mov dword [edi + 0x8c], eax
je 0x1000446b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
push esi
push ebx
xor esi, esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100044db
push str.SurpriseAssault
push str.SurpriseAssault
push eax
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne cl
test eax, eax
jne 0x100044d7
cmp esi, 0xa
jge 0x100044d7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.SurpriseAssault
push str.SurpriseAssault
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne cl
inc esi
test eax, eax
je 0x100044a0
test cl, cl
je 0x100044ed
mov eax, dword [edi + 8]
push 2
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [edi + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
cmp dword [edi + 0x88], 0
mov dword [edi + 0x8c], eax
jne 0x100045c1
push 0x5c
lea eax, [edi + 0x2c]
push 0
push eax
lea esi, [edi + 0x28]
call fcn.1000a960
mov eax, dword [edi + 8]
add esp, 0xc
mov dword [esi], 0x60
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
mov dword [edi + 0x88], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
cmp dword [edi + 0x88], 0
mov dword [edi + 0x8c], eax
jne 0x100045c1
push 0xc0
call fcn.10008dc9
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10004567
push 0
push 0
mov ecx, eax
call fcn.10001890
jmp 0x10004569
xor eax, eax
mov dword [edi + 0x4b4], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
cmp dword [edi + 0x88], 0
mov dword [edi + 0x8c], eax
jne 0x100045c1
lea eax, [ebp - 4]
mov dword [edi + 0x212c0], 0
push eax
push 0
push edi
push 0x10008670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x21280], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
cmp dword [edi + 0x88], 0
mov dword [edi + 0x8c], eax
je 0x100045d3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
pop esi
pop ebx
mov dword [0x10046de4], edi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x100084e0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x212a4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x21280]
test eax, eax
je 0x10008530
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000851a
push 0
push dword [esi + 0x21280]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x21280]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x21280], 0
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x1000855c
nop word [eax + eax]
mov eax, dword [ecx + 0xb4]
mov dword [esi + 0x4b4], eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
jne 0x10008540
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x1000856e
push 0
push eax
call sub.MSACM32.dll_acmDriverRemove
mov eax, dword [esi + 0x98]
test eax, eax
je 0x10008580
push 0
push eax
call sub.MSACM32.dll_acmDriverRemove
mov eax, dword [esi + 0x90]
test eax, eax
je 0x10008592
push 0
push eax
call sub.MSACM32.dll_acmDriverRemove
cmp byte [esi + 4], 0
je 0x1000859e
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, esi
call fcn.10006090
mov dword [0x10046de4], 0
pop esi
ret

Function at 0x1000da32
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000da71
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000da71
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000da71
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000da71
cmp dword [ecx + 0x74], 0xe
jbe 0x1000da71
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10011bbf
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 0x10011c5c
push ebx
push esi
call fcn.10011b88
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.10011b1c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011c09
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011c5b
push edi
push eax
call fcn.1001049e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011c29
call fcn.1000f16a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011c5a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011b1c
add esp, 0x20
test eax, eax
jne 0x10011c48
push edi
call fcn.1000f16a
jmp 0x10011c50
push ebx
call fcn.1000f16a
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 0x10011ec9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f750
push 0x1001f748
push str.FlsAlloc
push 0x1f
call fcn.10011de5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011efd
push dword [ebp + 8]
mov ecx, esi
call dword [0x100181c0]
call esi
jmp 0x10011f03
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10011f47
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f760
push 0x1001f758
push str.FlsGetValue
push 0x21
call fcn.10011de5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011f7e
push dword [ebp + 8]
mov ecx, esi
call dword [0x100181c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10011f86
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f768
push 0x1001f760
push str.FlsSetValue
push 0x22
call fcn.10011de5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011fc0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100181c0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016f70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10016f9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10016f9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402c93
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00405e6a
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00405e6a
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00405e99
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x405371
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00404469
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
invalid
invalid
test al, 0xfc

Function at 0x4058da
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4058e1
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
or eax, 0xfffffc6c
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
or eax, 0xfffffc6c
or eax, 0xfffffc6c
jmp 0x40588b
call fcn.0040448b
stc
cdq
add dword [eax + eax*4 - 0x72b5b], esi
inc dword [eax]
invalid

Function at 0x4064a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x4064da
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x406521
lea eax, [ebp - 0x714]
push eax
call fcn.0040449b
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00404450
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40652c
jmp 0x406531
jmp 0x405e2d
Function at 0x40669d
Capabilities:
Encode data using xor

Disassembly:
push 0x478bf88b
cmp al, 0x8b
push esp
pop es
js 0x406669
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.0040448b
xor byte [esi - 0x74b66e9f], bl
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x406678
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x406678
call fcn.0040448b
out dx, al
enter 0xffffffffffff9de9, 0xffffffffffffff8b
pop edx
and al, 3
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add al, 0x8b
add eax, edi
push eax
call fcn.0040448b
sbb dl, byte [eax + 0x75ffcc0c]
or bh, bh
jne 0x4066c1
push dword [ebp]
call fcn.00404c8b
add al, 0x8d
enter 0x427d, 0
inc ecx
cmp ecx, 0x100
jl 0x4066a9
invalid
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
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 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x403980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4039b2
jl 0x4039a5
test ecx, ecx
jne 0x4039b2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x403a72
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00405ff0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x403a1e
jg 0x4039dd
test esi, esi
je 0x403a1e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x4039f5
mov eax, dword [esp + 0x10]
jl 0x4039ef
cmp eax, esi
jae 0x4039f5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.0040b220
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x403a3f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x403a5b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x4039c4
jl 0x403a5b
test ecx, ecx
jne 0x4039c4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x403ab1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x403ab1
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.0040b220
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x403b20
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x403ad7
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x403b09
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00411eee
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x403b34
cmp edi, eax
ja 0x403ae5
test ecx, ecx
je 0x403b20
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00411eee
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a760
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00409e08
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004092c1
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x41b494
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b305

Function at 0x41b8d3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eed8
push 0x42eed0
push str.FlsAlloc
push 0x1e
call fcn.0041b740
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b907
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b140]
call esi
jmp 0x41b90d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41b951
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eee8
push 0x42eee0
push str.FlsGetValue
push 0x20
call fcn.0041b740
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b988
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]