joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c73b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x40c841
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x40c793
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x2c]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x2e]
cmp eax, edx
jle 0x40c79c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x40c82c
mov edx, 1
test edx, edx
je 0x40c82c
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0x11], cl
movsx edx, byte [ebp - 0x11]
cmp edx, 0x41
jl 0x40c7d3
movsx eax, byte [ebp - 0x11]
cmp eax, 0x5a
jg 0x40c7d3
movsx ecx, byte [ebp - 0x11]
add ecx, 0x20
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
movsx ecx, byte [ebp - 0x1d]
cmp ecx, 0x41
jl 0x40c7f7
movsx edx, byte [ebp - 0x1d]
cmp edx, 0x5a
jg 0x40c7f7
movsx eax, byte [ebp - 0x1d]
add eax, 0x20
mov byte [ebp - 0x1d], al
movsx ecx, byte [ebp - 0x11]
movsx edx, byte [ebp - 0x1d]
cmp ecx, edx
je 0x40c805
jmp 0x40c82c
movsx eax, byte [ebp - 0x11]
test eax, eax
jne 0x40c815
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x18]
jmp 0x40c843
mov edx, dword [ebp - 0x1c]
add edx, 2
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x40c7a6
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x40c76c
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40c84e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 8], 0
je 0x40c9a3
cmp dword [ebp + 0xc], 0
je 0x40c9a3
cmp dword [ebp + 0xc], 0xffff
jbe 0x40c87f
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40c9a3
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x7c], 0
je 0x40c9a3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x78], 0
je 0x40c9a3
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x50]
jae 0x40c9a3
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x78]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0xc], 0xffff
ja 0x40c92a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x10]
jb 0x40c928
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x10]
cmp dword [ebp + 0xc], eax
jae 0x40c928
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x40c9a5
jmp 0x40c9a3
mov dword [ebp - 0x1c], 0
jmp 0x40c93c
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x18]
jae 0x40c9a3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp edx, ecx
jne 0x40c9a1
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx]
test eax, eax
jne 0x40c98d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x40c9a5
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x40c95c
jmp 0x40c933
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x402f50
Capabilities:
Get common file path
Get disk information
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x459598]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45959c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00402f40
mov ecx, dword [0x4595a0]
mov edx, dword [0x4595a4]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x402fc0
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x460d84]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x402fec
mov dword [0x460d80], 0xedeb2e40
jmp 0x403007
cmp eax, 0x3eb
jne 0x403007
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x460810], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x460d84], 0x9e6
mov dword [0x460d7c], 0xf4ea3dee
jne 0x403042
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x460d84], 0x213
jne 0x4030b8
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x460d84], 0xc
jne 0x4030cc
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x20]
xor esi, ecx
cmp dword [0x460d84], 0xb03
jne 0x403104
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x402fc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403140
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x460d84]
mov ecx, dword [0x460814]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4031d7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x460d84], 0x959
jne 0x4031c1
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [ebp - 4]
push eax
call fcn.00402f50
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403173
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b0f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458da0]
jne 0x409b19
repz ret
jmp fcn.0040e6d1

Function at 0x40b003
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.0040714b
and dword [ebp - 4], 0
cmp dword [0x45e800], 0
mov ebx, eax
jne 0x40b0b4
push 0x401ab8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b165
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401aac
push edi
call esi
test eax, eax
je 0x40b165
push eax
call fcn.004070d9
mov dword [esp], 0x401a9c
push edi
mov dword [0x45e800], eax
call esi
push eax
call fcn.004070d9
mov dword [esp], 0x401a88
push edi
mov dword [0x45e804], eax
call esi
push eax
call fcn.004070d9
mov dword [esp], 0x401a6c
push edi
mov dword [0x45e808], eax
call esi
push eax
call fcn.004070d9
pop ecx
mov dword [0x45e810], eax
test eax, eax
je 0x40b0b4
push 0x401a54
push edi
call esi
push eax
call fcn.004070d9
pop ecx
mov dword [0x45e80c], eax
mov eax, dword [0x45e80c]
cmp eax, ebx
je 0x40b10c
cmp dword [0x45e810], ebx
je 0x40b10c
push eax
call fcn.00407154
push dword [0x45e810]
mov esi, eax
call fcn.00407154
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b10c
test edi, edi
je 0x40b10c
call esi
test eax, eax
je 0x40b103
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b103
test byte [ebp - 0xc], 1
jne 0x40b10c
or dword [ebp + 0x10], 0x200000
jmp 0x40b145
mov eax, dword [0x45e804]
cmp eax, ebx
je 0x40b145
push eax
call fcn.00407154
pop ecx
test eax, eax
je 0x40b145
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b145
mov eax, dword [0x45e808]
cmp eax, ebx
je 0x40b145
push eax
call fcn.00407154
pop ecx
test eax, eax
je 0x40b145
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e800]
call fcn.00407154
pop ecx
test eax, eax
je 0x40b165
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b167
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x7ffe5445
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
push edx
cdq
pop edx
nop
push edx
cdq
pop edx
cld
lea esp, [esp]
stc
and bh, 0xff
nop
push edx
cdq
pop edx
push edx
cdq
pop edx
call 0x7ffe5466
pop edx
and bh, 0xff
xor dx, dx
clc
stc
add edx, 0xd5e0
push eax
pop eax
cld
xor ecx, ecx
clc
nop
mov cl, 0x1e
clc
xor byte [ecx + edx], 2
loop 0x7ffe547f
cld
clc
push dword fs:[0x24]
add eax, 0
cld
stc
pop dword [edx + 0xa]
mov cl, 0xff
stc
push edx
loop 0x7ffe5499
mov dword [edx + 0x11], 0xffffacbb
pushal
inc eax
popal
mov ecx, dword [eax + 0x2c]
nop
cld
mov dword [edx + 0x1b], ecx
nop
lea esp, [esp]
cld
mov dword [edx + 0x100], ecx
and bh, 0xff
cld
mov dword [eax + 0x2c], esp
cld
push 0
push 0
clc
push 0
cld
stc
push 0
pushal
inc eax
popal
clc
nop
push 0x30
cld
push edx
cdq
pop edx
push 0x20
cld
and bh, 0xff
clc
push 0
add eax, 0
cld
push 0
stc
stc
nop
add edx, 0xffff7f35
stc
cld
push edx
nop
push edx
push 0
cld
call dword [edx + 0x820e]
stc
cld
add esp, 0x3f8
cld
add eax, 0
stc
xor eax, eax
cld
clc
inc eax
clc
cld
nop
ret 0xc
Function at 0x40d677
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0xfc
and eax, 0x35bfd077
push ebp
add dh, byte [edx - 0x46]
popal
adc esp, dword [esi + 0xbf84f66]
or dword [ecx + edx*4 - 0x1a3a162b], ebx
cmc
mov cl, 0x52
in eax, 0x2e
cld
in eax, dx
mov eax, dword [0x69a55425]
movzx esp, al
and eax, 0xf69a554
mov dh, 0xe0
xor ch, cl
inc ebp
jb 0x40d699
mov ah, 0x44
cmp ah, byte [edi + 0x35]
das
mov ah, byte ss:[ebx]
inc edx
retf 0xe7ef

Function at 0x5d3e7b
Capabilities:
Encode data using xor

Disassembly:
cwde
sub byte [edx], 0x1c
rol byte [ecx - 0x543624fd], cl
xor esi, dword [ebx + 0x1717d043]
add cl, ah
js 0x5d3e57
fsubr st(4), st(0)
xlatb
inc ebx
int 0x4c
sbb byte [esi + 0x5303ce9], 0x17
invalid
sbb byte [ebx], bl
xor dword [ecx + 0x77658533], edi
jb 0x5d3e4d
sub byte [ebx + 0x717a809f], al
xchg ecx, eax
xchg esi, eax
mov al, byte [0x43ad2616]
mov eax, dword [0x95321fbe]
push ebp
retf 0x7138

Function at 0x65794d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x65796f
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x657960
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x657a9d
mov eax, dword [0xa5bcf4]
cmp eax, 1
je 0x657a77
test eax, eax
jne 0x6579a0
cmp dword [0x65f2c4], 1
je 0x657a77
cmp edx, 0xfc
je 0x657a9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6579d7
lea eax, [ebp - 0x1a4]
push 0x65c9e8
push eax
call fcn.00658330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006587c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657a1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.006587c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9e4
push edi
call fcn.0065a690
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c9c8
push eax
call fcn.00658330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658340
lea eax, [ebp - 0xa0]
push 0x65c9c4
push eax
call fcn.00658340
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658340
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c99c
push eax
call fcn.0065a604
add esp, 0x2c
pop edi
jmp 0x657a9d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.006587c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4098c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sti
mov byte [ebp - 0x7b4], 0x8c
mov byte [ebp - 0x7b3], 0x8d
mov byte [ebp - 0x7b2], 0x90
mov byte [ebp - 0x7b1], 0xda
mov byte [ebp - 0x7b0], 0xd2
mov byte [ebp - 0x7af], 0xd2
mov byte [ebp - 0x7ae], 0xbe
push 0xb
lea eax, [ebp - 0x7bc]
push eax
call fcn.00407b15
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00407a76
add esp, 0xc
jmp 0x409a77
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x409ad9
lea eax, [ebp - 0x714]
push eax
call fcn.00407b15
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00407aca
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x409ad9
jmp 0x409498
cmp dword [ebp - 0x37c], 0
je 0x409ae7
jmp 0x409ba5
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
call fcn.00407b05
xor eax, 0x837844a5
mov ebp, 0xfffffc80
push dword [edi + ebp + 0x6a]
add byte [ebp - 0x6c37b], cl
call dword [eax - 1]
mov ch, 0x74
cld
invalid
cmp dword [ebp - 0x37c], 0
jne 0x409c58
invalid
invalid
invalid
Function at 0x100019bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, esp
push 4
push 0x1007e4b8
push esi
call sym.kso.dll_cryptify::decrypt_string::h5ccb735144f7f999
add esp, 0xc
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ebp, [esp + 0x34]
lea edi, [esp + 0xc]
add ecx, eax
xor ebx, ebx
inc ebx
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
and word [ebp + 0xc], 0
push ebp
push edi
call sym.kso.dll___alloc::vec::Vec_T__as_alloc::vec::spec_from_iter_nested::SpecFromIterNested_T_I__::from_iter::h6b0d54687c821738
pop eax
pop ecx
mov esi, dword [edi + 4]
and dword [ebp], 0
mov dword [ebp + 4], 0x10001944
and dword [ebp + 0xc], 0
and dword [ebp + 8], 0
and dword [ebp + 0x14], 0
and dword [ebp + 0x10], 0
and dword [ebp + 0x1c], 0
and dword [ebp + 0x18], 0
and dword [ebp + 0x20], 0
mov dword [ebp + 0x24], esi
push ebp
call sub.USER32.dll_RegisterClassW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffec78
push 0xcf0000
push 0
push esi
push 0x80
call sub.USER32.dll_CreateWindowExW
mov esi, eax
push ebx
push eax
call sub.USER32.dll_ShowWindow
push esi
call sub.USER32.dll_UpdateWindow
lea esi, [esp + 0x18]
push 0
push 0
push 0
push esi
call sub.USER32.dll_GetMessageW
test eax, eax
je 0x10001a88
push esi
call sub.USER32.dll_TranslateMessage
push esi
call sub.USER32.dll_DispatchMessageW
jmp 0x10001a6a
push edi
call sym.kso.dll___alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::he3fec03525b21edf
pop eax
mov ecx, esp
call fcn.10001318
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bcc0
Capabilities:
Get system information on windows

Disassembly:
push esi
sub esp, 0x24
mov esi, dword [esp + 0x2c]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp + 0x20], 0
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000bcfa
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
add esp, 0x24
pop esi
ret
mov byte [esi], 2
mov dword [esi + 4], 0x100823a4
mov eax, esi
add esp, 0x24
pop esi
ret
Function at 0x1000d260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1003c310
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
cmp esi, 0x201
jae 0x1000d2f0
jmp 0x1000d2de
jbe 0x1000d376
cmp esi, 0x201
jae 0x1000d2f0
mov dword [ebp - 0x28], 0x200
lea ebx, [ebp - 0x444]
mov edi, esi
jmp 0x1000d321
mov edi, dword [ebp - 0x20]
sub esi, edi
je 0x1000d315
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
mov edx, edi
push esi
call fcn.1007c190
add esp, 4
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x1000d345
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1000d3d9
cmp esi, edi
jne 0x1000d2d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000d3f8
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x1000d2de
jmp 0x1000d2f0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x1000d415
lea eax, [ebp - 0x44]
push esi
push ebx
push eax
call sym.kso.dll___std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::hd1f87d65064ecb80
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1000d3c3
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call sym.kso.dll___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], closesocket
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000d3b3
jmp 0x1000d3c3
mov dword [ebp - 0x10], 0
push 0x100825a8
push 0x28
push str.internal_error:_entered_unreachable_codel
call sym.kso.dll_core::panicking::panic::hd53872080d8d36e0
add esp, 0xc
jmp 0x1000d424
push 0x10082598
push eax
push esi
call sym.kso.dll_core::slice::index::slice_end_index_len_fail::h3099cda8f6e1d372
add esp, 0xc
ud2
Function at 0x1000d470
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1003c320
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x1000d4bb
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov dword fs:[0], ecx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], 0x10081cbc
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], sym.kso.dll___std::io::error::Error_as_core::fmt::Display_::fmt::hc311fd6605f5ab1e
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x44]
push 0x10081cc4
push eax
call sym.kso.dll_core::panicking::panic_fmt::h502dc0a95427940e
add esp, 8
ud2