joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426c10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472407
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x493120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x426c92
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426cae
cmp eax, 2
jne 0x426c9c
push str.Key_not_found._n
call fcn.00452ed3
add esp, 4
mov eax, 1
jmp 0x427153
push str.Error_opening_key._n
call fcn.00452ed3
add esp, 4
jmp 0x427151
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
lea ebx, [esi + eax*2]
mov dword [ebp - 0x42c], ebx
je 0x426cdc
mov ecx, 0x5c
mov word [ebx], cx
add ebx, 2
xor edx, edx
mov dword [ebp - 0x42c], ebx
mov word [ebx], dx
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x420]
push 0
push 0
push 0
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push eax
mov dword [ebp - 0x428], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42712e
jmp 0x426d20
mov eax, ebx
mov edi, SysReAllocString
lea edx, [ebp - 0x21c]
mov esi, 0x208
xor ebx, ebx
test esi, esi
je 0x426d52
test edi, edi
je 0x426d55
movzx ecx, word [edx]
test cx, cx
je 0x426d55
mov word [eax], cx
add eax, 2
add edx, 2
dec esi
dec edi
inc ebx
jmp 0x426d34
sub eax, 2
mov edx, dword [ebp - 0x424]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x430]
push edx
push eax
call fcn.00426c10
add esp, 8
test eax, eax
je 0x42711c
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x420]
push 0
push 0
push 0
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0
push ecx
mov dword [ebp - 0x428], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [ebp - 0x42c]
test eax, eax
je 0x426d20
jmp 0x427122
mov ebx, dword [ebp - 0x42c]
mov edi, dword [ebp - 0x430]
mov esi, dword [ebp - 0x424]
xor eax, eax
mov word [ebx - 2], ax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x426c92
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 - 0x14]
xor ecx, ebp
call fcn.0044fc9c
mov esp, ebp
pop ebp
ret
Function at 0x42b200
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push str.Caption
push 0x476a05
push str.SELECT__FROM_Win32_OperatingSystem
push str.ROOTcimv2
push esi
mov dword [ebp - 4], 0
call fcn.0042a420
add esp, 0x14
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42b240
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472dd2
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x493120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x1fc
lea ecx, [ebp - 0x212]
mov dword [ebp - 0x418], ebx
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], ebx
mov word [ebp - 0x214], ax
call fcn.0044f7f0
add esp, 0xc
push 0x1fe
lea edx, [ebp - 0x214]
push edx
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call fcn.0042c696
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42b2d6
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42b2f5
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x41c]
call fcn.00403140
mov esi, dword [ebp - 0x41c]
add esi, 0xfffffff0
push esi
call fcn.00401e10
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [ebp - 4], bl
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42b34a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
jmp 0x42b447
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044fc9c
mov esp, ebp
pop ebp
ret

Function at 0x437fd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x438018
call fcn.00443d55
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x438018
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x438034
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00437b49
mov esi, eax
test edi, edi
je 0x438032
test ebx, ebx
je 0x438032
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4387d7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47362d
call fcn.004530d7
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4387fc
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x438842
lea ecx, [ebp - 0x10]
call fcn.004027f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042c318
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401180
mov eax, esi
call fcn.004531af
ret 8

Function at 0x43908e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4390d6
call fcn.00443d55
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4390d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x439119
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x439102
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x439102
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x439116
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x441f9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x441fc0
cmp dword [edi + 0x54], 0
jne 0x441fc0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00443d55
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00441f5d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x446a78
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x446aa3
call fcn.00443d55
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x446ac6
push eax
push dword [esi + 4]
call fcn.004469fe
push esi
push eax
mov ecx, 0x496580
call fcn.00446685
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4472c4
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x474131
call fcn.004530d7
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00447284
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004027f0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x44732a
push eax
push dword [esi + 8]
call fcn.004469fe
push dword [esi + 0xc]
mov ecx, 0x496580
push eax
call fcn.00446685
mov eax, esi
call fcn.004531af
ret 0x18

Function at 0x44fc9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x493120]
jne 0x44fca6
repz ret
jmp fcn.0045b45c
Function at 0x463781
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.00457233
and dword [ebp - 4], 0
cmp dword [0x4973d0], 0
mov ebx, eax
jne 0x463832
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4638e3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4638e3
push eax
call fcn.004571c1
mov dword [esp], 0x47ddec
push edi
mov dword [0x4973d0], eax
call esi
push eax
call fcn.004571c1
mov dword [esp], 0x47ddd8
push edi
mov dword [0x4973d4], eax
call esi
push eax
call fcn.004571c1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4973d8], eax
call esi
push eax
call fcn.004571c1
pop ecx
mov dword [0x4973e0], eax
test eax, eax
je 0x463832
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004571c1
pop ecx
mov dword [0x4973dc], eax
mov eax, dword [0x4973dc]
cmp eax, ebx
je 0x46388a
cmp dword [0x4973e0], ebx
je 0x46388a
push eax
call fcn.0045723c
push dword [0x4973e0]
mov esi, eax
call fcn.0045723c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46388a
test edi, edi
je 0x46388a
call esi
test eax, eax
je 0x463881
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x463881
test byte [ebp - 0xc], 1
jne 0x46388a
or dword [ebp + 0x10], 0x200000
jmp 0x4638c3
mov eax, dword [0x4973d4]
cmp eax, ebx
je 0x4638c3
push eax
call fcn.0045723c
pop ecx
test eax, eax
je 0x4638c3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4638c3
mov eax, dword [0x4973d8]
cmp eax, ebx
je 0x4638c3
push eax
call fcn.0045723c
pop ecx
test eax, eax
je 0x4638c3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4973d0]
call fcn.0045723c
pop ecx
test eax, eax
je 0x4638e3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4638e5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4346c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7cc], 0
and byte [ebp - 0x7cb], 0
mov byte [ebp - 0x7ca], 0x3f
and byte [ebp - 0x7c9], 0
mov byte [ebp - 0x7c8], 0x9c
mov byte [ebp - 0x7c7], 0x90
mov byte [ebp - 0x7c6], 0x93
mov byte [ebp - 0x7c5], 0x81
mov byte [ebp - 0x7c4], 0x90
mov byte [ebp - 0x7c3], 0xac
mov byte [ebp - 0x7c2], 0xee
mov byte [ebp - 0x7c1], 0xa4
mov byte [ebp - 0x7c0], 0xac
mov byte [ebp - 0x7bf], 0xac
mov byte [ebp - 0x7be], 0xc0
push 0xb
lea eax, [ebp - 0x7cc]
push eax
call fcn.00432896
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004327f7
add esp, 0xc
jmp 0x4347fe
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00432886
xor dl, byte [esp + edi]
pushfd
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x434869
lea eax, [ebp - 0x714]
push eax
call fcn.00432896
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0043284b
add esp, 0xc
les ecx, [ecx + ecx*4]
test dword [esp + edi*8 - 0x427c0001], eax
test ah, bh
invalid
inc dword [eax]
jne 0x434869
jmp 0x434228
cmp dword [ebp - 0x37c], 0
je 0x434877
jmp 0x43492c
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x4348d0
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x4348d5
jmp 0x434228
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x43491c
lea eax, [ebp - 0x714]
push eax
call fcn.00432896
call [ecx + 0x50]
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0043284b
inc dword [ebx - 0x7a76f33c]
test ah, bh
invalid
invalid
cmp dword [ebp - 0x37c], 0
je 0x434927
jmp 0x43492c
jmp 0x434228
cmp dword [ebp - 0x37c], 0
jne 0x4349d6
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
dec dword [ebx - 0x38b7b]
dec dword [ecx - 0x7e77b]
inc dword [ebx - 0x7df5b]
inc dword [eax]
Function at 0x100f9147
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
push 0x10085744
mov esi, ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x100f9178
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x100f920a
and eax, 0xffff
or eax, 0x80070000
pop esi
ret
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x10085738
push eax
call edi
mov dword [esi], eax
test eax, eax
je 0x100f91f7
push 0x1008572c
push dword [esi + 0x1c]
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x100f91f7
push 0x1008571c
push dword [esi + 0x1c]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x100f91f7
push 0x10085710
push dword [esi + 0x1c]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x100f91f7
push 0x10085704
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x100f91f7
push 0x100856fc
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x100f91f7
push 0x100856f0
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x100f91f7
xor eax, eax
jmp 0x100f9209
push dword [esi + 0x1c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
and dword [esi + 0x1c], 0
mov eax, 0x80004005
pop edi
pop esi
ret
Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x406018
push 0x406014
call fcn.00402d64
push 0
push 0x406020
push 0x40601c
call fcn.00402d64
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403402
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x406a44]
test eax, eax
je 0x40341b
call eax
test eax, eax
jne 0x40341b
push 0xfffffffffffffffe
jmp 0x403435
push 1
push 0x406010
push 0x406008
call fcn.00402d64
add esp, 0xc
test eax, eax
je 0x40343b
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x406004
push section..data
call fcn.00402d64
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x403461
mov esi, 0x405bd1
mov cl, 0x20
jmp 0x40346a
cmp al, 0x20
ja 0x403474
inc esi
mov al, byte [esi]
test al, al
jne 0x403465
cmp al, 0x20
jbe 0x40348b
mov al, byte [esi]
cmp al, 0x22
jne 0x40347d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403476
jmp 0x40348b
cmp al, cl
ja 0x403491
inc esi
mov al, byte [esi]
test al, al
jne 0x403486
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x4034ba
movzx eax, word [ebp - 0x14]
jmp 0x4034bd
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x4034f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x406391], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4068a0
push 0x406908
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403542
xor eax, eax
jmp 0x403559
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x401dc0
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 0x401e30
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
and eax, 0xff
inc eax
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.00401340
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x40b100
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.0040ba90
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 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40596d
pop dword [ebp - 0x18]
mov eax, 0x40596d
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xc12d9121
add dword [ebp - 0x28], 0x8d24b42a
mov dword [ebp - 0x24], 0xe2d122a9
sub dword [ebp - 0x24], 0xb09dd664
mov dword [ebp - 0x20], 0xf881cb18
add dword [ebp - 0x20], 0x53ca7916
mov dword [ebp - 0x1c], 0x67cca883
sub dword [ebp - 0x1c], 0x67cca883
lea eax, [ebp - 0x28]
push eax
mov eax, 0x739e4ba7
add eax, 0x8ca224b9
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc4848d53
add dword [ebp - 0x28], 0xafeddc03
mov dword [ebp - 0x24], 0x1f55557c
sub dword [ebp - 0x24], 0xdde8f407
mov dword [ebp - 0x20], 0xf35be299
sub dword [ebp - 0x20], 0x8fec762d
mov dword [ebp - 0x1c], 0x6c5f5596
add dword [ebp - 0x1c], 0x93a0aa6a
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x35e47
push 0
call eax
mov ecx, 0x76dd36ff
add ecx, 0x89230db5
mov ebx, eax
mov esi, 0x2692fbb2
add esi, 0xd9ae044e
add esi, dword [ebp - 0x18]
mov edx, 0xcca20684
add edx, 0x8eeaacab
add dword [ebp - 0x10], 0xbb38391c
mov edi, dword [esi]
add dword [ebp - 8], esi
xor edi, edx
mov dword [ebp - 0x10], 0x53d26148
mov dword [ebx], edi
add ebx, 0x37e9624f
add ebx, 0xc8169db5
add esi, 4
loop 0x405a85
add eax, 0x38045328
sub eax, 0x38034d85
xor ebx, ebx
add ebx, eax
add eax, 0x22b22d3e
sub eax, 0x22b22d39
mov ecx, 0xe79852ec
add ecx, 0x18a7ad14
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x6cd6b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x6cd6b52
jl 0x6cd6b45
test ecx, ecx
jne 0x6cd6b52
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x6cd6c12
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.06cd8530
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x6cd6bbe
jg 0x6cd6b7d
test esi, esi
je 0x6cd6bbe
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x6cd6b95
mov eax, dword [esp + 0x10]
jl 0x6cd6b8f
cmp eax, esi
jae 0x6cd6b95
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.06d05ee0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x6cd6bdf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x6cd6bfb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x6cd6b64
jl 0x6cd6bfb
test ecx, ecx
jne 0x6cd6b64
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x6cd6c56
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x6cd6c56
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.06d05ee0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x6cd6cc7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x6cd6c7c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x6cd6cb2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.06d0ad83
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x6cd6cc7
cmp edi, eax
ja 0x6cd6c90
test edi, edi
je 0x6cd6cc7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.06d0ad83
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc