joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5171f0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x517298
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x6c]
test cl, cl
je 0x51725f
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
ret
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
jmp 0x517249
call fcn.0044b170
jmp fcn.005171f0

Function at 0x51e500
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51e6d4
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x51e529
mov byte [esp + 0xc], 0
ret
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x51e523
lea ecx, [eax - 0x30]
cmp cl, 9
jbe 0x51e523
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x51e6c6
cmp al, 0x2c
ja 0x51e6a3
lea edx, [eax - 0x21]
cmp dl, 1
ja 0x51e55d
mov byte [esp + 0xc], 0
ret
cmp al, 0x24
je 0x51e557
lea edx, [eax - 0x26]
cmp dl, 6
jbe 0x51e557
cmp al, 0x2f
ja 0x51e669
cmp al, 0x26
ja 0x51e641
cmp al, 0x24
jne 0x51e636
cmp ecx, 2
jg 0x51e5ec
cmp ecx, 1
je 0x51e5e1
cmp ecx, 2
jne 0x51e5c3
cmp al, 0x2f
jne 0x51e5a3
mov eax, 1
mov byte [esp + 0xc], al
ret
cmp al, 0x3b
jne 0x51e5af
mov eax, 1
jmp 0x51e59e
cmp al, 0x2c
jne 0x51e5bb
mov eax, 1
jmp 0x51e59e
cmp al, 0x3f
sete al
jmp 0x51e59e
cmp ecx, 7
jne 0x51e5db
cmp al, 0x21
jne 0x51e5d3
mov byte [esp + 0xc], 0
ret
add eax, 0xffffffd8
cmp al, 2
jbe 0x51e5cd
mov byte [esp + 0xc], 1
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x51e620
cmp al, 0x40
jne 0x51e600
mov eax, 1
mov byte [esp + 0xc], al
ret
cmp al, 0x2f
jne 0x51e60c
mov eax, 1
jmp 0x51e5fb
cmp al, 0x3f
jne 0x51e618
mov eax, 1
jmp 0x51e5fb
cmp al, 0x3a
sete al
jmp 0x51e5fb
cmp ecx, 6
je 0x51e630
cmp ecx, 7
jne 0x51e5c3
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x26
je 0x51e585
jmp 0x51e5c3
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x51e585
lea edx, [eax - 0x2d]
cmp dl, 1
ja 0x51e65b
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
je 0x51e585
jmp 0x51e5c3
cmp al, 0x3d
ja 0x51e688
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x51e585
cmp al, 0x3d
je 0x51e585
jmp 0x51e5c3
lea edx, [eax - 0x3f]
cmp dl, 1
jbe 0x51e585
cmp al, 0x5f
je 0x51e655
cmp al, 0x7e
je 0x51e655
jmp 0x51e5c3
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x51e557
cmp al, 0x5b
je 0x51e557
cmp al, 0x5d
je 0x51e557
jmp 0x51e56a
cmp ecx, 4
je 0x51e546
jmp 0x51e56a
call fcn.0044b170
jmp fcn.0051e500
Function at 0x10001271
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x100220f0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, ecx
mov eax, dword [esi + 0x1c]
push str.SymInitialize
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.SymFromAddr
push ecx
mov dword [esi], eax
call edi
mov edx, dword [esi + 0x1c]
push str.SymCleanup
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
push str.SymGetOptions
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.SymSetOptions
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x1c]
push str.SymGetModuleInfo64
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
push str.StackWalk64
push eax
call edi
pop edi
mov dword [esi + 0x18], eax
pop esi
ret

Function at 0x10001feb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.10001c63
add esp, 0x10
mov dword [ebp - 0x88], eax

Function at 0x10002063
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
xchg esi, eax
mov esi, 0xc6975d88
xchg edi, eax
mov byte [ebp - 0x68], 0x17

Function at 0x10002068
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg edi, eax
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35

Function at 0x10002095
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
invalid
add al, 0xfc
invalid

Function at 0x100020c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
jecxz 0x10002165

Function at 0x1000229d
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x100022af
and eax, 0xffff
add ecx, 2
push ecx
push dword [ebp + 0xc]
Function at 0x100022ed
Capabilities:
Inspect section memory permissions

Disassembly:
add esp, ebp
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10002352
add eax, esi
cmp dword [eax], ebx
je 0x10002352
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
jae 0x1000234d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
cmp edx, 0x3000
jne 0x10002337
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000233f
cmp edx, ebx
jne 0x1000248d
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000230e
add eax, dword [eax + 4]
jmp 0x100022fb
invalid
mov dword [ebp + 0xc], ebx
jmp 0x1000235d
push es

Function at 0x1000230b
Capabilities:
Inspect section memory permissions

Disassembly:
add esp, ebp
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10002352
add eax, esi
cmp dword [eax], ebx
je 0x10002352
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
jae 0x1000234d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
cmp edx, 0x3000
jne 0x10002337
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000233f
cmp edx, ebx
jne 0x1000248d
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000230e
add eax, dword [eax + 4]
jmp 0x100022fb
invalid
mov dword [ebp + 0xc], ebx
jmp 0x1000235d
push es

Function at 0x1000238d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10002375
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10002393
push ds
movzx eax, ax
lea eax, [eax + eax*4]
add al, 0x80
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
invalid
mov ch, 0x54
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100023d8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100023e1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100023eb
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100023cd
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10002357
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx

Function at 0x100023c9
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], al
add byte [eax + 0x3b184d8b], al
dec ebp
sbb byte [ebx], bh
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100023eb
add ecx, eax
or byte [ecx], 4
Function at 0x100023ce
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], al
add byte [eax + 0x3b184d8b], al
dec ebp
sbb byte [ebx], bh
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100023eb
add ecx, eax
or byte [ecx], 4

Function at 0x100023dd
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], al
add byte [eax + 0x3b184d8b], al
dec ebp
sbb byte [ebx], bh
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100023eb
add ecx, eax
or byte [ecx], 4

Function at 0x100024f5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [edx - 0x3a]
test dword [esi + 0x46fffffc], esi

Function at 0x10002595
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3c25b], al
inc dword [eax]
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
test dword [ecx - 4], eax
invalid
inc dword [ebx]
invalid
test dword [edx - 4], eax

Function at 0x10002932
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10001c63
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.10001c9e
mov byte [0x68f8c591], al
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
call dword [eax - 1]
jne 0x10002967
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10002992
cmp dword [ebp - 0x398], 0
invalid
test ah, dl
add dword [eax], eax

Function at 0x10002b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
inc dword [eax]
push 0x40
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]

Function at 0x1001fba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1004a5b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x10], ebx
call edi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.100029e6
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push esi
sub eax, esi
push eax
mov dword [ebp - 4], ebx
call edi
mov edi, dword [ebp + 8]
mov eax, esi
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001fc10
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.1000182a
cmp esi, ebx
je 0x1001fc2f
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
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 0x100217a0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1004a5b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], edi
push edi
push 4
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1002186f
lea eax, [ebp - 0x50]
push eax
push esi
mov dword [ebp - 0x50], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10021868
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ebx, 0x10
cmp dword [ebp - 0x50], ebx
jb 0x1002184d
cmp dword [ebp - 0x44], edi
jne 0x1002184d
mov ecx, dword [ebp - 0x48]
xor eax, eax
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], ecx
push edx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call 0x10002b0d
lea eax, [ebp - 0x50]
push eax
push esi
mov dword [ebp - 0x50], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10021817
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x100218ab
lea esi, [edi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea esp, [esp]
mov ecx, dword [esi - 0x14]
push 0x40
push ecx
call fcn.10002e64
add esp, 8
lea edx, [esi + 8]
push edx
push esi
lea ecx, [esi - 8]
push ecx
lea edx, [esi - 0x10]
push edx
push eax
call edi
add esi, 0x24
lea eax, [esi - 0x14]
cmp eax, ebx
jne 0x10021880
mov edi, dword [ebp - 0x60]
mov eax, edi
cmp edi, ebx
je 0x100218ed
cmp dword [eax + 8], 0
je 0x100218c0
add eax, 0x24
cmp eax, ebx
jne 0x100218b1
jmp 0x100218ed
cmp eax, ebx
je 0x100218f3
mov edx, eax
add eax, 0x24
cmp eax, ebx
je 0x100218eb
cmp dword [eax + 8], 0
je 0x100218e4
mov edi, edx
mov ecx, 9
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x60]
add edx, 0x24
add eax, 0x24
cmp eax, ebx
jne 0x100218cd
mov eax, edx
cmp eax, ebx
je 0x100218f3
mov ebx, eax
cmp edi, ebx
je 0x10021932
mov eax, dword [ebp - 0x60]
lea esi, [eax + 0x24]
cmp esi, ebx
je 0x1002191f
lea ecx, [edi + 4]
push ecx
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x10021915
mov edi, esi
add esi, 0x24
cmp esi, ebx
jne 0x10021901
mov eax, dword [ebp - 0x60]
mov edi, dword [edi]
test eax, eax
je 0x1002192e
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
jmp 0x10021941
test edi, edi
je 0x1002193f
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
Function at 0x402380
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp esi, 1
jle 0x402418
movzx eax, byte [section..data]
test al, 1
jne 0x4025e0
xor ebx, ebx
jmp 0x4023b7
add ebx, 1
cmp esi, ebx
je 0x402401
mov edx, eax
and edx, 1
je 0x4023b0
mov eax, dword [edi + ebx*4]
add ebx, 1
call fcn.00402090
mov dword [esp + 0xc], 0x405597
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call fcn.00402320
movzx eax, byte [section..data]
mov edx, eax
and edx, 1
cmp esi, ebx
jne 0x4023b7
test dl, dl
jne 0x4025b0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x10], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
sub esp, 0x24
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x405fa8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x405fc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x402409
mov dword [esp], str.ROOTCIMV2
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x402577
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x24
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
test esi, esi
jne 0x402577
mov esi, 0x405c20
xor ebx, ebx
mov edi, esi
lea esi, [esi]
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
cmp ebx, eax
cmovb ebx, eax
add edi, 0x14
cmp edi, 0x405e78
jne 0x402538
add ebx, 1
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x10]
mov edx, esi
mov ecx, ebx
add esi, 0x14
call fcn.00401b20
cmp esi, 0x405e78
jne 0x402560
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x402589
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x40559b
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call fcn.00402320
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.stub:
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call fcn.00402320
movzx eax, byte [section..data]
jmp 0x4023a7
Function at 0x402f90
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x403000
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00402380
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x404c95
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x404d15
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x404d14
push ebx
mov ebx, 0x47d9a8
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x425548
mov byte [edi + esi], al
call fcn.0040dc8e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x404cb7
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00404812
pop edi
pop ebp
ret 0x14

Function at 0x405447
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push 0x10
mov eax, 0x42491e
call fcn.0040894f
push fcn.00401eb7
push 0x4255a0
push 0x47d9a8
call fcn.004013cb
pop ecx
pop ecx
mov ecx, eax
call fcn.00402db1
and dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0040856c
pop ecx
test eax, eax
je 0x4054a3
mov ecx, eax
call fcn.004022ad
test eax, eax
je 0x4054a3
push 1
mov ecx, eax
call fcn.0040312b
or dword [ebp - 4], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x407cad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x407cce
jl 0x407cc5
test edi, edi
jne 0x407cce
xor eax, eax
xor edx, edx
jmp 0x407d8f
cmp dword [ebx + 0x38], 0
je 0x407ce3
push eax
push edi
push dword [ebp + 8]
call fcn.00407d95
jmp 0x407d8f
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x407d2a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x407d2a
cmp eax, edi
jb 0x407d04
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409510
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x407d30
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x407d84
mov ecx, ebx
call fcn.00407547
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x407d6f
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00410ed3
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x407d84
jmp 0x407d42
test edx, edx
je 0x407d84
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00410ed3
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x41a76b
Capabilities:
Read file on windows

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

Function at 0x41ab65
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004094c0
mov eax, dword [0x47bdc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418728
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41aba7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ad03
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004242f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47e350]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b904
mov ecx, dword [esi*4 + 0x47e350]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41acfc
cmp eax, dword [edi + ecx + 0x24]
jne 0x41acfc
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41acfc
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b904
add esp, 0x14
test edx, edx
jl 0x41acfc
jg 0x41ac72
test eax, eax
jb 0x41acfc
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41acfc
jl 0x41ac8c
cmp dword [ebp - 0x1008], eax
ja 0x41acfc
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41acaa
test ebx, ebx
je 0x41ace3
cmp ecx, edi
jae 0x41ace3
mov al, byte [ecx]
cmp al, 0xd
jne 0x41acc4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41acd0
cmp byte [ecx + 1], 0xa
jne 0x41acd0
inc ecx
jmp 0x41acd0
movzx eax, al
movsx eax, byte [eax + 0x47c088]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41acaa
cmp edx, ebx
jne 0x41acaa
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ad01
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004088b5
leave
ret