joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405126
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428440]
jne 0x405130
repz ret
jmp fcn.0040e8dc

Function at 0x41cab9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040b7a6
and dword [ebp - 4], 0
cmp dword [0x42a010], 0
mov ebx, eax
jne 0x41cb6a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41cc1b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41cc1b
push eax
call fcn.0040b734
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a010], eax
call esi
push eax
call fcn.0040b734
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a014], eax
call esi
push eax
call fcn.0040b734
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a018], eax
call esi
push eax
call fcn.0040b734
pop ecx
mov dword [0x42a020], eax
test eax, eax
je 0x41cb6a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b734
pop ecx
mov dword [0x42a01c], eax
mov eax, dword [0x42a01c]
cmp eax, ebx
je 0x41cbc2
cmp dword [0x42a020], ebx
je 0x41cbc2
push eax
call fcn.0040b7af
push dword [0x42a020]
mov esi, eax
call fcn.0040b7af
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41cbc2
test edi, edi
je 0x41cbc2
call esi
test eax, eax
je 0x41cbb9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41cbb9
test byte [ebp - 0xc], 1
jne 0x41cbc2
or dword [ebp + 0x10], 0x200000
jmp 0x41cbfb
mov eax, dword [0x42a014]
cmp eax, ebx
je 0x41cbfb
push eax
call fcn.0040b7af
pop ecx
test eax, eax
je 0x41cbfb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41cbfb
mov eax, dword [0x42a018]
cmp eax, ebx
je 0x41cbfb
push eax
call fcn.0040b7af
pop ecx
test eax, eax
je 0x41cbfb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a010]
call fcn.0040b7af
pop ecx
test eax, eax
je 0x41cc1b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41cc1d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420890
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x7f22f8]
inc eax
and eax, 0xff
movzx ecx, byte [eax + 0x434028]
add ecx, dword [0x434024]
sub esp, 0x404
and ecx, 0xff
mov dword [0x7f22f8], eax
mov dword [0x434024], ecx
cmp eax, 0x15ad
jae 0x4208e6
push 0
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0
push 0
call dword [sym.imp.USER32.dll_SetSystemCursor]
mov eax, dword [0x7f22f8]
mov ecx, dword [0x434024]
mov dl, byte [ecx + 0x434028]
push ebx
mov bl, byte [eax + 0x434028]
mov byte [ecx + 0x434028], bl
push esi
mov byte [eax + 0x434028], dl
movzx esi, byte [ecx + 0x434028]
movzx ecx, dl
add esi, ecx
cmp eax, 0xc2e
jae 0x420930
lea edx, [ebp - 4]
push edx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
and esi, 0xff
mov al, byte [esi + 0x434028]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420950
Capabilities:
Encrypt data using rc4 ksa
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0041dd90
xor ecx, ecx
xor eax, eax
mov byte [eax + 0x434028], al
inc eax
cmp eax, 0x100
jne 0x420961
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffW]
mov dword [0x434024], ecx
mov dword [0x7f22f8], ecx
lea ebx, [ebx]
cmp ecx, 0xb8f
jae 0x4209c9
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x810]
push eax
call edi
push 0
lea ecx, [ebp - 0x1010]
push ecx
push 0
push str.rekofo_hubocolola_wevatiza
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [0x7f22f8]
xor edx, edx
mov eax, ecx
div dword [ebp + 8]
movzx eax, byte [ecx + 0x434028]
add eax, dword [0x434024]
movsx edx, byte [edx + 0x424950]
add eax, edx
mov dword [0x434024], eax
cmp ecx, 0xee8
jae 0x420a1c
lea ecx, [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
lea edx, [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x410]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
mov ecx, dword [0x7f22f8]
mov eax, dword [0x434024]
mov bl, byte [ecx + 0x434028]
and eax, 0xff
mov dl, byte [eax + 0x434028]
mov dword [0x434024], eax
mov byte [ecx + 0x434028], dl
cmp ecx, 0x25bc
jae 0x420a5f
lea eax, [ebp - 8]
push eax
push 0
call dword [sym.imp.GDI32.dll_GetMiterLimit]
push 0
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov ecx, dword [0x7f22f8]
mov edx, dword [0x434024]
inc ecx
mov byte [edx + 0x434028], bl
mov dword [0x7f22f8], ecx
cmp ecx, 0x100
jne 0x420990
pop edi
xor eax, eax
pop esi
mov dword [0x434024], eax
mov dword [0x7f22f8], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x29b711c0
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x14b84f90
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4053e8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push 1
pop ebx
push ebx
call fcn.004046ab
mov esi, 0x104
xor edi, edi
push esi
push edi
push 0x491d94
call fcn.00407360
push esi
push edi
push 0x491c90
call fcn.00407360
push esi
push edi
push 0x491b8c
call fcn.00407360
push esi
push edi
push 0x491a88
call fcn.00407360
push esi
push edi
push 0x491984
call fcn.00407360
add esp, 0x40
push 0x40e0d0
push 0x1ebc
push str.Ow_m
call fcn.00403529
push 0x491ea0
call fcn.00402642
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
mov dword [0x491ea8], edi
mov dword [0x491e98], eax
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
jne 0x4054a8
cmp dword [ebp - 0x8c], ebx
jne 0x4054a8
mov dword [0x491ea8], ebx
call fcn.004048ef
mov esi, 0x7d000
push esi
call fcn.00407bff
cmp eax, edi
pop ecx
mov dword [0x491980], eax
jne 0x4054c6
xor eax, eax
jmp 0x4054ea
push esi
push edi
push eax
call fcn.00407360
call fcn.004055a8
push ebx
push 0x40fde0
call fcn.00403434
push eax
push edi
call fcn.0040530f
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4055a8
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push 2
push 0x40fb6f
call fcn.00403434
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
pop ecx
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
mov edi, 0x40fc6f
je 0x40560d
push 1
push edi
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
push 4
push edi
mov dword [0x491eb0], eax
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
push 5
push edi
mov dword [0x491eac], eax
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
mov dword [0x491eb4], eax
push 3
push 0x40fb6f
call fcn.00403434
pop ecx
pop ecx
push eax
call ebx
mov ebp, eax
test ebp, ebp
je 0x405637
push 3
push edi
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
mov dword [0x491eb8], eax
mov edi, 0x40fda4
push edi
call ebx
mov ebx, eax
test ebx, ebx
je 0x405658
push 1
push edi
call fcn.00403434
pop ecx
pop ecx
push eax
push ebx
call esi
mov dword [0x491ebc], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406840
Capabilities:
Connect socket

Disassembly:
nop
nop
mov dl, 0x55
push ebp
push ebp
cld
sahf
mov bl, 0x8b
jne 0x40681f
push 0xeb4066e0
test byte [ebx + 0x1be85029], 0xee
invalid
push eax
call 0x405640
push esi
call 0xffc7255e
and dword [edx], 0x6b
pop esi
ffree st(2)
push ss
mov ss, word [eax - 0x5f6f6f70]
nop
sahf
nop
nop
nop
nop
scasb al, byte es:[edi]
nop
push ebp
mov ebp, esp
sub esp, 0x742010
push ebx
mov edi, dword [ebx - 0x7420a9f8]
inc ebx
add al, 0x83
clc
dec dword [edi]
test byte [ecx + eax + 0x4b8b0000], dl
adc byte [ebp - 0x767bf037], al
add dword [eax], eax
add byte [ebx + 0x4e8b0cc8], cl
adc al, 0x8d
push esi
mov dword [ecx + 0x52], edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
psubsb mm6, qword [edi]
add dword [eax], eax
jno 0x40680d
xor eax, 0x4f40c1d8
call esi
test eax, eax
mov dword [ebx + ebp*4 - 0x1000000], 0xfc8005d6
or al, byte [eax]
cmp eax, 0x641223b3
mov esp, 0x1c4d0
add byte [ebx + 0x738b207b], cl
and al, 0x8b
mov edi, 0xe75c60b
dec ecx
pop esi
mov eax, 0xb49b4
and ecx, dword [ebx + 0x8c25de5]
add byte [ebx + 0x1b90443], cl
ja 0x4068fa
mov al, byte [ebp - 0xb7a76c4]
std
adc ch, dl
mov dword [edx - 0x10], ecx
std
invalid
add byte [ebp + 0xf4240], al
push esi
push edi
mov dword [ebp - 0x46], eax
call fcn.0040b750
inc ebp
cmpsb byte [esi], byte es:[edi]
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10c]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
into
std
invalid
Function at 0x402170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x7c], edx
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x80]
mov dword [esi + 0x84], 0x4082b0
mov edi, dword fs:[0]
mov dword [esi + 0x80], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 0xc
mov dword [esi + 0xc], edx
add eax, 0x30
mov dword [esi + 0x10], eax
mov dword [esi + 0x78], ecx
mov byte [esi + 0x77], 1
mov byte [esi + 0x76], 1
mov dword [esi + 0x88], 1
mov eax, esp
mov dword [eax], 0x418d91
lea ecx, [esi + 0x5c]
call fcn.00408390
sub esp, 4
jmp 0x4021f5
mov byte [esi + 0x5b], 0
mov dword [esi + 0x88], 2
mov eax, esp
mov dword [eax], str.yuwpuvzoshrocikhjkrwbxlbm
lea ecx, [esi + 0x40]
call fcn.00408390
sub esp, 4
jmp 0x40221b
mov dword [esi + 0x3c], 0x9a4
mov dword [esi + 0x34], 0x40d064c0
mov dword [esi + 0x30], 0
mov dword [esi + 0x88], 3
mov eax, esp
mov dword [eax], str.uixfkz
lea ecx, [esi + 0x18]
call fcn.00408390
sub esp, 4
jmp 0x402252
mov dword [esi + 0x14], 0x260
lea ecx, [esi + 0x18]
call fcn.00408450
lea ecx, [esi + 0x40]
call fcn.00408450
lea ecx, [esi + 0x5c]
call fcn.00408450
mov ecx, dword [esi + 0xc]
call fcn.00408450
mov ecx, dword [esi + 0x10]
call fcn.00408450
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
fld dword [0x418194]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x5c
Function at 0x402320
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov dword [esi + 0xc], eax
mov edx, esp
mov dword [esi + 0x64], edx
mov dword [esi + 0x70], 0xffffffff
lea edx, [esi + 0x68]
mov dword [esi + 0x6c], 0x4082d0
mov edi, dword fs:[0]
mov dword [esi + 0x68], edi
mov dword fs:[0], edx
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov edx, eax
add edx, 0x10
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x2c
mov dword [esi + 0x18], edx
mov edx, eax
add edx, 0x50
mov dword [esi + 0x1c], edx
add eax, 0x68
mov dword [esi + 0x20], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], 0x40d7f7c0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0x40b77400
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0x40e37620
mov dword [esi + 0x48], 0
mov dword [esi + 0x70], 3
mov eax, esp
mov dword [eax], str.fkhwspzxcltffhtnfixxtrvpyouiltjnpiwlcdfcaayfjpriuhfrwfvwfkuqgkjcfmbzmbmfscwirsyjiltbqe
lea ecx, [esi + 0x30]
call fcn.00408390
sub esp, 4
jmp 0x4023cd
vmovsd xmm0, qword [0x418198]
vmovsd qword [esi + 0x28], xmm0
mov dword [esi + 0x24], 0x22
cmp dword [esi + 0x24], 0
jle 0x4023f9
mov eax, dword [esi + 0x24]
add eax, 0xffffffff
mov dword [esi + 0x24], eax
jmp 0x4023e1
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x70], 4
mov eax, esp
mov dword [eax], str.rmkuitnqmoige
call fcn.00408390
sub esp, 4
jmp 0x402418
lea ecx, [esi + 0x30]
call fcn.00408450
mov ecx, dword [esi + 0x14]
call fcn.00408450
mov ecx, dword [esi + 0x18]
call fcn.00408450
mov ecx, dword [esi + 0x1c]
call fcn.00408450
mov ecx, dword [esi + 0x20]
call fcn.00408450
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [esi + 0x68]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x80
Function at 0x402500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0xc], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa8], 0xffffffff
lea edx, [esi + 0xa0]
mov dword [esi + 0xa4], 0x4082f0
mov edi, dword fs:[0]
mov dword [esi + 0xa0], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 4
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x24
mov dword [esi + 0x18], edx
add eax, 0x40
mov dword [esi + 0x1c], eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0xa8], 2
mov eax, esp
mov dword [eax], str.wfgiykwqdsdqqegpdjvftklcevbzev
lea ecx, [esi + 0x80]
call fcn.00408390
sub esp, 4
jmp 0x40258e
mov dword [esi + 0x7c], 0x40dd4f80
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0x40cbb200
mov dword [esi + 0x70], 0
mov dword [esi + 0xa8], 3
mov eax, esp
mov dword [eax], str.psfxaszgczajhymdkwftkwfrqvfayabhlyssalqazgusegiycskrcscfapcfelcdpjksjmzmpjounhzzwstyhulqplhtkohnf
lea ecx, [esi + 0x58]
call fcn.00408390
sub esp, 4
jmp 0x4025cc
mov byte [esi + 0x57], 1
mov byte [esi + 0x56], 1
mov dword [esi + 0xa8], 4
mov eax, esp
mov dword [eax], str.wfgiykwqdsdqqegpdjvftklcevbzev
lea ecx, [esi + 0x3c]
call fcn.00408390
sub esp, 4
jmp 0x4025f6
mov dword [esi + 0xa8], 5
mov eax, esp
mov dword [eax], str.wfgiykwqdsdqqegpdjvftklcevbzev
lea ecx, [esi + 0x24]
call fcn.00408390
sub esp, 4
jmp 0x402618
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408480
mov byte [esi + 0x13], al
lea ecx, [esi + 0x24]
call fcn.00408450
lea ecx, [esi + 0x3c]
call fcn.00408450
mov al, byte [esi + 0x13]
test al, 1
jne 0x40264d
jmp 0x402671
mov dword [esi + 0x20], 0x39
cmp dword [esi + 0x20], 0
jle 0x40266c
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x402654
jmp 0x402671
lea ecx, [esi + 0x58]
call fcn.00408450
lea ecx, [esi + 0x80]
call fcn.00408450
mov ecx, dword [esi + 0x14]
call fcn.00408450
mov ecx, dword [esi + 0x18]
call fcn.00408450
mov ecx, dword [esi + 0x1c]
call fcn.00408450
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, 0x1016d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x68
Function at 0x403840
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
rcl ebx, 0x54
sub edi, 0xc
dec ebx
and eax, 0xac
neg esi
bswap ebx
not ebx
mov ebx, 0x7f
inc eax
imul eax
bswap edi
inc ebx
rcl edx, 0x87
inc eax
dec edx
inc edi
ror edi, 0x9c
sub esi, 0x94
imul esi
not esi
rcr edx, 0xff
mov edi, 0x4b
inc eax
rol edi, 0xb6
imul eax
neg ebx
inc esi
dec edx
rcl edi, 0xb7
neg ebx
not eax
inc edx
sbb eax, 0xfa
dec eax
neg eax
ror edx, 4
rol edx, 0xfb
inc edi
bswap ebx
inc edx
or edi, 0x3b
ror esi, 0x50
bswap eax
inc edi
or edx, 8
neg esi
mov edx, 0xb1
rcr edx, 5
imul edx
mov edi, 0x76
xor ecx, ecx
xor edi, edi
sub esi, 0x48
ror eax, 0xf4
or ebx, 0x46
and edi, 0x6e
inc edx
not edi
rol edx, 0x59
sbb esi, 0x1a
bswap eax
not esi
neg eax
inc esi
inc ebx
rol ebx, 0x55
and edi, 0x96
dec edx
bswap ebx
rol edi, 0xfa
not edx
sub edi, 3
sub ebx, 0xa8
rol edi, 0xc2
bswap edx
dec ebx
sub edx, 0x80
sbb ebx, 0x68
inc ebx
not edx
inc edi
rcl edx, 0x12
rcr ebx, 0xc4
rcr ebx, 0x85
not eax
sub edi, 0x74
rol edx, 0x52
bswap edx
add esi, 0x22
bswap edi
rol eax, 0x8a
sbb edx, 0xb6
dec edi
rcl ebx, 0x14
sub edi, 0x98
inc esi
add eax, 0x48
neg ebx
sbb ebx, 0xda
sbb edx, 0xaa
not edi
inc esi
mov ecx, dword [ebp + 0xc]
dec esi
rol edx, 0x93
rcr edx, 0x55
neg ebx
not esi
rcl esi, 0xa8
dec edx
bswap ebx
rol edi, 0x86
neg edx
bswap ebx
dec esi
dec esi
or esi, 0x58
ror esi, 0x3d
or eax, 0xd5
neg edi
ror edi, 0x80
inc eax
mov edi, 0xd4
bswap eax
bswap ebx
inc ebx
ror eax, 0xb8
bswap esi
ror eax, 0x9c
dec esi
imul edi
not esi
ror esi, 0xa4
not ebx
rol edi, 0x84
sbb edi, 0x3f
sub edx, 0xeb
rol edi, 0x20
or ebx, 0x36
mov eax, 0xff
rcl esi, 0x24
neg ebx
imul eax
and eax, 0xe4
dec edi
imul edx
or eax, 0x6c
not ebx
neg eax
neg eax
sbb eax, 0x71
and edx, 0x32
add ebx, 0x8f
mov edi, dword [ebp + 8]
mov esi, esi
mov eax, esi
xor ebx, esi
mov ebx, ebx
xor esi, eax
xor esi, eax
mov eax, ebx
xor esi, ebx
mov ebx, ebx
mov eax, esi
mov ebx, eax
mov eax, eax
not byte [edi]
xor eax, eax
mov eax, esi
mov eax, eax
xor esi, eax
mov ebx, esi
mov eax, ebx
mov ebx, ebx
xor esi, esi
xor esi, ebx
sub byte [edi], 0x98
xor esi, ebx
xor esi, ebx
xor esi, ebx
xor ebx, ebx
mov eax, esi
xor esi, ebx
mov eax, eax
xor esi, ebx
mov eax, eax
add byte [edi], 0x53
xor eax, ebx
xor eax, eax
xor ebx, ebx
xor eax, ebx
xor esi, ebx
mov eax, ebx
mov eax, eax
mov eax, eax
mov eax, esi
imul byte [edi]
inc edi
loop 0x4039e1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409c03
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409c42
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409c42
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409c42
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409c42
cmp dword [ecx + 0x74], 0xe
jbe 0x409c42
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x410feb
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 0x411088
push ebx
push esi
call fcn.00410fb4
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.00410efd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x411035
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411087
push edi
push eax
call fcn.0040f9cb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x411055
call fcn.0040fa19
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411086
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00410efd
add esp, 0x20
test eax, eax
jne 0x411074
push edi
call fcn.0040fa19
jmp 0x41107c
push ebx
call fcn.0040fa19
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 0x412280
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b4b8
push 0x41b4b0
push str.FlsAlloc
push 0x1e
call fcn.00412141
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4122b4
push dword [ebp + 8]
mov ecx, esi
call dword [0x418130]
call esi
jmp 0x4122ba
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4122fe
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b4c8
push 0x41b4c0
push str.FlsGetValue
push 0x20
call fcn.00412141
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412335
push dword [ebp + 8]
mov ecx, esi
call dword [0x418130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x417720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41774d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41774d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret