joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100217ca
Capabilities:
Create thread

Disassembly:
jae 0x100217c8
jmp 0x100217c3
call fcn.100217ca
jae 0x100217c3
add esp, 4
jmp 0x100217cf
dec dword [esp]
jno 0x100217d4
jns 0x100217bf
jp 0x100217d8
add esp, 4
popf
jmp 0x100217df
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x100217f8
jne 0x100217f8
call 0x1fc24b4c
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
push 0
push 0
push 0
push 0x10021980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], eax
clc
jae 0x10021826
pop ss
add byte [esi - 0x64], ah
pushf
push 0xa
jae 0x10021833
jmp 0x1002182e
call 0x10021835
jae 0x1002182e
add esp, 4
jmp 0x1002183a
dec dword [esp]
jno 0x1002183f
jns 0x1002182a
jp 0x10021843
add esp, 4
popf
jmp 0x1002184a
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10021863
jne 0x10021863
add byte [ebx + eax - 0x15], bh
add eax, dword [eax]
jl 0x10021868
jmp 0x1002186a
je 0x10021865
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10021884
jne 0x10021883
call 0x9306090b
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10021892
jne 0x10021892
call 0x10ca9619
cmp dword [ebp - 0x38], 0
jne 0x10021961
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
call fcn.100115a0
mov eax, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret
Function at 0x10021835
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jae 0x100217c8
jmp 0x100217c3
call fcn.100217ca
jae 0x100217c3
add esp, 4
jmp 0x100217cf
dec dword [esp]
jno 0x100217d4
jns 0x100217bf
jp 0x100217d8
add esp, 4
popf
jmp 0x100217df
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x100217f8
jne 0x100217f8
call 0x1fc24b4c
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
push 0
push 0
push 0
push 0x10021980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], eax
clc
jae 0x10021826
pop ss
add byte [esi - 0x64], ah
pushf
push 0xa
jae 0x10021833
jmp 0x1002182e
call 0x10021835
jae 0x1002182e
add esp, 4
jmp 0x1002183a
dec dword [esp]
jno 0x1002183f
jns 0x1002182a
jp 0x10021843
add esp, 4
popf
jmp 0x1002184a
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10021863
jne 0x10021863
add byte [ebx + eax - 0x15], bh
add eax, dword [eax]
jl 0x10021868
jmp 0x1002186a
je 0x10021865
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10021884
jne 0x10021883
call 0x9306090b
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10021892
jne 0x10021892
call 0x10ca9619
cmp dword [ebp - 0x38], 0
jne 0x10021961
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
call fcn.100115a0
mov eax, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100274ff
mov esp, ebp
pop ebp
ret
Function at 0x100230e0
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.10023290
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100231ad
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005d888]
jb 0x1002312a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005d88c]
ja 0x1002312a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100230fa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10028d70
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10023150
jmp 0x100231ad
cmp dword [ebp - 0x14], 0x10000
jne 0x10023193
cmp dword [ebp - 0x18], 0x10000
jb 0x10023193
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10023186
mov eax, dword [ebp - 8]
jmp 0x100231af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100231a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10023290
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100230fa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100231c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100232c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10023285
mov edx, dword [ebp - 4]
cmp edx, dword [0x1005d888]
jb 0x10023205
mov eax, dword [ebp - 4]
cmp eax, dword [0x1005d88c]
ja 0x10023205
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100231d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10028d70
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1002322b
jmp 0x10023285
cmp dword [ebp - 0x14], 0x10000
jne 0x1002326e
cmp dword [ebp - 0x18], 0x10000
jb 0x1002326e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10023261
mov eax, dword [ebp - 8]
jmp 0x10023287
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10023280
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100232c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100231d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100232f0
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.100236e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1005ed74], 0
jne 0x1002332d
cmp dword [0x1005ed70], 0
je 0x1002332d
mov eax, dword [0x1005ed70]
mov dword [0x1005ed74], eax
cmp dword [0x1005ed74], 0
je 0x100233aa
mov ecx, dword [0x1005ed74]
cmp dword [ecx + 8], 0
je 0x100233aa
mov edx, dword [0x1005ed74]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100233aa
mov ecx, dword [0x1005ed74]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100233aa
mov eax, dword [0x1005ed74]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10023379
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10023380
xor eax, eax
jmp 0x100234c9
mov ecx, dword [0x1005ed74]
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 fcn.10028d70
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100234c9
mov edx, dword [0x1005ed70]
mov dword [0x1005ed74], edx
jmp 0x100233c6
mov eax, dword [0x1005ed74]
mov ecx, dword [eax + 4]
mov dword [0x1005ed74], ecx
cmp dword [0x1005ed74], 0
je 0x10023406
cmp dword [0x1005ed74], 0
je 0x10023404
mov edx, dword [0x1005ed74]
cmp dword [edx + 8], 0
je 0x10023404
mov eax, dword [0x1005ed74]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10023404
mov edx, dword [0x1005ed74]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10023404
jmp 0x1002335e
jmp 0x100233b8
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.100234d0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100234c7
mov eax, dword [ebp - 0x18]
mov dword [0x1005ed74], eax
mov ecx, dword [0x1005ed74]
mov dword [ecx], 0x52727464
mov edx, dword [0x1005ed74]
mov dword [edx + 8], 0
mov eax, dword [0x1005ed74]
mov ecx, dword [0x1005ed70]
mov dword [eax + 4], ecx
mov edx, dword [0x1005ed74]
mov dword [0x1005ed70], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1005ed74]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10023497
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100234b7
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 0x1002348e
mov eax, dword [0x1005ed74]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1002335e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10038b19
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003898f
Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0xc], 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], 0x406320
mov edi, dword fs:[0]
mov dword [esi + 0x80], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x44
mov dword [esi + 0x18], edx
add eax, 0x5c
mov dword [esi + 0x1c], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x88], 2
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x60]
call fcn.004064a0
sub esp, 4
jmp 0x401085
mov dword [esi + 0x5c], 0x40f2e7d0
mov dword [esi + 0x58], 0
mov byte [esi + 0x57], 0
mov dword [esi + 0x88], 3
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x3c]
call fcn.004064a0
sub esp, 4
jmp 0x4010b9
mov dword [esi + 0x88], 4
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x24]
call fcn.004064a0
sub esp, 4
jmp 0x4010db
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00406560
mov byte [esi + 0x13], al
lea ecx, [esi + 0x24]
call fcn.00406590
lea ecx, [esi + 0x3c]
call fcn.00406590
mov al, byte [esi + 0x13]
test al, 1
jne 0x401110
jmp 0x401134
mov dword [esi + 0x20], 0x2c
cmp dword [esi + 0x20], 0
jle 0x40112f
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x401117
jmp 0x401134
lea ecx, [esi + 0x60]
call fcn.00406590
mov ecx, dword [esi + 0x14]
call fcn.00406590
mov ecx, dword [esi + 0x18]
call fcn.00406590
mov ecx, dword [esi + 0x1c]
call fcn.00406590
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x74
Function at 0x4012d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x84], edx
mov dword [esi + 0x90], 0xffffffff
lea edx, [esi + 0x88]
mov dword [esi + 0x8c], 0x406340
mov edi, dword fs:[0]
mov dword [esi + 0x88], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0xc], edx
add eax, 0x2c
mov dword [esi + 0x10], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x90], 1
mov eax, esp
mov dword [eax], str.uoywxpyrziluhnqwneyrvkdnlfrizubacdhxhahomckbvuhlbedpocqlxfxnkwdvndjowchfrdxoofwwtctnzuag
lea ecx, [esi + 0x68]
call fcn.004064a0
sub esp, 4
jmp 0x401353
mov dword [esi + 0x64], 0x40de3080
mov dword [esi + 0x60], 0
mov dword [esi + 0x90], 2
mov eax, esp
mov dword [eax], str.lhilzwal
lea ecx, [esi + 0x48]
call fcn.004064a0
sub esp, 4
jmp 0x401383
mov dword [esi + 0x90], 3
mov eax, esp
mov dword [eax], 0x416264
lea ecx, [esi + 0x30]
call fcn.004064a0
sub esp, 4
jmp 0x4013a5
mov dword [esi + 0x90], 4
mov eax, esp
mov dword [eax], str.uuantvrwbpjynivqpmuysudfnlqbvciqshpfyhuojrozwwqcpxnlxadgksvypu
lea ecx, [esi + 0x18]
call fcn.004064a0
sub esp, 4
jmp 0x4013c7
mov byte [esi + 0x17], 0
lea ecx, [esi + 0x18]
call fcn.00406590
lea ecx, [esi + 0x30]
call fcn.00406590
lea ecx, [esi + 0x48]
call fcn.00406590
lea ecx, [esi + 0x68]
call fcn.00406590
mov ecx, dword [esi + 0xc]
call fcn.00406590
mov ecx, dword [esi + 0x10]
call fcn.00406590
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x44
Function at 0x402180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0xa4], edx
mov dword [esi + 0xb0], 0xffffffff
lea edx, [esi + 0xa8]
mov dword [esi + 0xac], 0x4063e0
mov edi, dword fs:[0]
mov dword [esi + 0xa8], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 4
mov dword [esi + 0x10], edx
mov edx, eax
add edx, 0x34
mov dword [esi + 0x14], edx
add eax, 0x50
mov dword [esi + 0x18], eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x9c], 0x40d58880
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0x40e086a0
mov dword [esi + 0x90], 0
mov dword [esi + 0xb0], 2
mov eax, esp
mov dword [eax], 0x416377
lea ecx, [esi + 0x78]
call fcn.004064a0
sub esp, 4
jmp 0x402233
mov dword [esi + 0x74], 0x40e1a5c0
mov dword [esi + 0x70], 0
mov dword [esi + 0xb0], 3
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x58]
call fcn.004064a0
sub esp, 4
jmp 0x402263
mov byte [esi + 0x57], 0
mov dword [esi + 0xb0], 4
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x3c]
call fcn.004064a0
sub esp, 4
jmp 0x402289
mov dword [esi + 0xb0], 5
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x24]
call fcn.004064a0
sub esp, 4
jmp 0x4022ab
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00406560
mov byte [esi + 0xf], al
lea ecx, [esi + 0x24]
call fcn.00406590
lea ecx, [esi + 0x3c]
call fcn.00406590
mov al, byte [esi + 0xf]
test al, 1
jne 0x4022e0
jmp 0x402304
mov dword [esi + 0x20], 0x5b
cmp dword [esi + 0x20], 0
jle 0x4022ff
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x4022e7
jmp 0x402304
mov dword [esi + 0x1c], 0x26
cmp dword [esi + 0x1c], 0
jle 0x402323
mov eax, dword [esi + 0x1c]
add eax, 0xffffffff
mov dword [esi + 0x1c], eax
jmp 0x40230b
lea ecx, [esi + 0x58]
call fcn.00406590
lea ecx, [esi + 0x78]
call fcn.00406590
mov ecx, dword [esi + 0x10]
call fcn.00406590
mov ecx, dword [esi + 0x14]
call fcn.00406590
mov ecx, dword [esi + 0x18]
call fcn.00406590
mov eax, dword [esi + 0xa8]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x68
Function at 0x403a50
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]
not esi
rcl esi, 0xa0
and edx, 0xe0
and ebx, 0xf2
and ebx, 0xa1
imul ebx
sub ebx, 0x8d
bswap ebx
rcr ebx, 0x5d
imul edx
imul edi
ror edx, 0x17
bswap edi
imul edx
ror edx, 0xed
or ebx, 0x81
rcr edx, 0xea
neg eax
inc edx
imul edi
bswap edi
imul esi
sub ebx, 0x88
neg eax
inc ebx
neg ebx
inc esi
dec edi
rol edx, 0xd
rol edx, 0x35
bswap edx
rol edi, 0xd9
sub edx, 0x7d
rcl esi, 0x4b
neg edi
imul edx
dec eax
and edx, 0x57
ror edx, 0
neg edx
neg edx
rcr esi, 0xc4
and edi, 0xf6
rcr ebx, 0x73
ror edx, 0xdf
mov eax, 0x3e
imul ebx
bswap edi
ror edi, 0x3d
neg edi
xor ecx, ecx
xor edi, edi
add edx, 0x17
inc edi
add ebx, 0xe3
and edi, 0x76
rol esi, 0xdc
dec edi
sub eax, 0xa0
imul edx
rcr eax, 0x74
imul edi
neg eax
bswap edx
rcr eax, 0x2a
mov eax, 0xf5
mov edx, 0x50
or edi, 0x94
and ebx, 0x49
mov eax, 0xd3
sub ebx, 0x92
ror edi, 0x45
not ebx
not eax
neg edi
and edx, 0x99
not edx
neg ebx
sub eax, 0x4c
inc edx
ror eax, 0x30
not edi
neg ebx
rol edx, 0x2f
imul edx
neg edx
ror esi, 0x9e
bswap edi
add edx, 0xb6
add edx, 0x80
inc esi
rcr eax, 0x4a
neg edx
or ebx, 0x21
inc ebx
rol esi, 0xc6
rol edi, 0x11
mov esi, 0xda
rcl edi, 0xd1
imul esi
dec edi
sub edi, 0xaa
mov ecx, dword [ebp + 0xc]
rcr ebx, 0x77
imul ebx
bswap eax
or eax, 0xbc
mov edi, 0x8c
not edx
and edx, 0xd0
ror esi, 0x14
and esi, 0xec
add ebx, 0xf5
inc esi
bswap ebx
rcl eax, 0xa7
dec edi
rcr edi, 0x40
rol eax, 0x45
bswap edx
ror edx, 0xd3
ror edx, 0x83
imul ebx
rcl esi, 0x4d
sub edx, 0x4b
not eax
inc eax
dec eax
dec esi
rol esi, 0x65
sbb edi, 0x26
sub edi, 0x15
dec edi
neg eax
and edi, 0x1d
or eax, 0xc0
imul ebx
bswap edi
imul eax
rcl edx, 0x49
mov ebx, 0x9d
inc edx
neg edx
mov esi, 0xf2
bswap ebx
ror eax, 0xb5
ror edi, 0x6d
neg esi
dec edx
sbb edi, 0x79
rcl eax, 7
dec ebx
not edx
mov edi, dword [ebp + 8]
mov eax, ebx
xor ebx, eax
xor ebx, esi
mov ebx, eax
xor esi, eax
xor ebx, esi
mov esi, eax
xor ebx, esi
mov esi, esi
mov esi, esi
xor ebx, esi
mov eax, eax
not byte [edi]
xor eax, ebx
mov ebx, esi
mov eax, ebx
xor eax, esi
mov esi, esi
mov esi, esi
mov ebx, ebx
mov esi, ebx
mov ebx, eax
sub byte [edi], 0x53
mov eax, eax
xor ebx, esi
mov esi, eax
mov eax, ebx
xor esi, ebx
mov ebx, eax
mov esi, esi
xor ebx, ebx
mov eax, esi
add byte [edi], 0x87
xor eax, eax
mov eax, esi
mov eax, eax
xor esi, esi
mov eax, esi
xor ebx, esi
xor esi, esi
mov esi, ebx
mov eax, esi
imul byte [edi]
inc edi
loop 0x403c1b
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407d2e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407d6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407d6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407d6d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407d6d
cmp dword [ecx + 0x74], 0xe
jbe 0x407d6d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40f11b
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 0x40f1b8
push ebx
push esi
call fcn.0040f0e4
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.0040f02d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f165
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f1b7
push edi
push eax
call fcn.0040dafb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f185
call fcn.0040db49
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f1b6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f02d
add esp, 0x20
test eax, eax
jne 0x40f1a4
push edi
call fcn.0040db49
jmp 0x40f1ac
push ebx
call fcn.0040db49
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 0x4103b0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46e4b8
push 0x46e4b0
push str.FlsAlloc
push 0x1e
call fcn.00410271
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4103e4
push dword [ebp + 8]
mov ecx, esi
call dword [0x41612c]
call esi
jmp 0x4103ea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41042e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46e4c8
push 0x46e4c0
push str.FlsGetValue
push 0x20
call fcn.00410271
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410465
push dword [ebp + 8]
mov ecx, esi
call dword [0x41612c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x415850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41587d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41587d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40cb9f
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x40cbdc
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x40cbd5
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x40cbe1
add edx, 0x28
cmp edx, esi
jne 0x40cbc6
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40cbde

Function at 0x4172db
Capabilities:
Encode data using xor

Disassembly:
call 0x417254
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x417284
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4172a0
xor edx, 0
jmp 0x4172ab
xor edx, edx
jmp 0x4172c2
jmp 0x4172ce
xor eax, eax
push 0x8427d7c0
call 0x4172db
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x417317
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x4172f0
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x41732e
add eax, 0
jno 0x417333
add esi, 0
ret 0x10