joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fef0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4454e0
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebp
push esi
mov esi, dword [esp + 0x7c]
push edi
test esi, esi
mov ebp, ecx
jl 0x430072
cmp esi, dword [ebp + 0x1c]
jge 0x430072
lea eax, [esi + 2]
mov ecx, eax
shl ecx, 3
sub ecx, eax
mov edx, dword [ebp + ecx*4]
mov ecx, 0x453720
push edx
call fcn.004291a0
test eax, eax
jne 0x42ff58
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 4
mov eax, esi
lea edx, [esp + 0xc]
shl eax, 3
sub eax, esi
lea esi, [ebp + eax*4]
lea ecx, [esi + 0x20]
push ecx
push str._s.MPL
push edx
call fcn.0043a6f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push str.Layer
call fcn.0041b850
mov edi, eax
add esp, 8
test edi, edi
jne 0x42ffb2
lea ecx, [esp + 0xc]
push ecx
push str.Layer
push 0x44cf48
push 0x470100
call fcn.0043a6f0
add esp, 0x10
jmp 0x430085
lea ecx, [esp + 0x48]
call fcn.00423460
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0
call fcn.00423460
movsx eax, word [edi + 9]
movsx ecx, word [edi + 7]
lea edx, [edi + 0xb]
push 0
push edx
push 2
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 1
call fcn.0042cbf0
mov eax, dword [esi + 0x34]
push 0
lea edx, [eax + eax*4]
shl edx, 4
lea edi, [edx + ebp + 0x2280]
mov ecx, edi
call fcn.0042c400
push eax
push 2
mov ecx, edi
call fcn.0042c420
push eax
mov ecx, edi
call fcn.0042c410
push eax
lea ecx, [esp + 0x5c]
call fcn.0042cbf0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0042d530
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 0
call fcn.0042cbd0
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042cbd0
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 4
push esi
push 0x44cf28
push 0x470100
call fcn.0043a6f0
add esp, 0xc
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x70
ret 4
Function at 0x43a620
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x68
inc eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x451160
lea ecx, [esp + 0x1c]
push str._sSave_d.sav
push ecx
call fcn.0043a6f0
lea ebp, [esi + 0x64]
add esp, 0x10
mov ecx, ebp
call fcn.00434ab0
mov edi, eax
lea ebx, [edi + 4]
push ebx
call fcn.0043a900
mov esi, eax
add esp, 4
test esi, esi
je 0x43a6d6
lea edx, [esp + 0x14]
push 0x44b378
push edx
call fcn.0043b110
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x43a6cd
push eax
push 1
push ebx
push esi
call fcn.0043b570
add esp, 0x10
xor edx, edx
xor eax, eax
test edi, edi
jle 0x43a6b1
mov cl, byte [eax + esi]
mov byte [esp + 0x7c], cl
xor cl, 0x15
mov ebx, dword [esp + 0x7c]
mov byte [eax + esi], cl
and ebx, 0xff
add edx, ebx
inc eax
cmp eax, edi
jl 0x43a693
cmp edx, dword [esi + edi]
jne 0x43a6c0
push 1
push esi
mov ecx, ebp
call fcn.00434bd0
mov eax, dword [esp + 0x10]
push eax
call fcn.0043b040
add esp, 4
push esi
call fcn.0043a9b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4

Function at 0x43bc00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4469d0
push 0x43d218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x470710], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x47070c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x470708], ecx
shr eax, 0x10
mov dword [0x470704], eax
call fcn.0043c9e0
test eax, eax
jne 0x43bc6a
push 0x1c
call fcn.0043bda0
add esp, 4
mov dword [ebp - 4], 0
call fcn.00440c40
call fcn.00440c30
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x471b50], eax
call fcn.00440800
mov dword [0x4706c8], eax
test eax, eax
je 0x43bc9d
mov eax, dword [0x471b50]
test eax, eax
jne 0x43bca7
push 0xffffffffffffffff
call fcn.0043f280
add esp, 4
call fcn.00440550
call fcn.00440460
call fcn.0043f250
mov esi, dword [0x471b50]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x43bd86
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x43bcee
test al, al
je 0x43bcee
and eax, 0xff
push eax
call fcn.00440400
add esp, 4
test eax, eax
je 0x43bcc8
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43bcc8
cmp byte [esi], 0x22
jne 0x43bcf7
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x43bd07
cmp al, 0x20
ja 0x43bd07
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43bcf7
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x43bd28
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x43bd2d
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.0043f280
jmp 0x43bd6b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x43bcf7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43bd86
Function at 0x43f2c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x470740]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x43f2df
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x47073c], 1
mov byte [0x470738], bl
jne 0x43f339
mov ecx, dword [0x471b48]
test ecx, ecx
je 0x43f327
mov esi, dword [0x471b44]
sub esi, 4
cmp esi, ecx
jb 0x43f327
mov eax, dword [esi]
test eax, eax
je 0x43f320
call eax
mov ecx, dword [0x471b48]
sub esi, 4
cmp esi, ecx
jae 0x43f312
push 0x4490f8
push 0x4490f0
call fcn.0043f370
add esp, 8
push 0x449104
push 0x4490fc
call fcn.0043f370
add esp, 8
test ebx, ebx
jne 0x43f360
push ebp
mov dword [0x470740], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x43fa70
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x471b40]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x43fc1d
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x471a40]
lea edi, [ecx*4 + 0x471a40]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x43fc1d
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x43fade
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x43faef
push 2
push ebp
push eax
call fcn.0043f4b0
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x43fc4e
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x43fb99
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x43fb4a
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x43fb37
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x43fb1a
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43fc3f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x43fb95
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x43fb16
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x43fc0e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43fbe2
cmp eax, 5
jne 0x43fbcb
mov dword [0x4706fc], eax
mov dword [0x4706f8], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.00441450
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x43fc02
cmp byte [ebp], 0x1a
jne 0x43fc02
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x4706f8], 0x1c
jmp 0x43fc27
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x4706f8], 9
pop edi
pop esi
pop ebp
mov dword [0x4706fc], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x43fb95
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43fc7f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x43fb99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x43fb99
Function at 0x440800
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x470860]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x440842
call edi
mov esi, eax
test esi, esi
je 0x44082c
mov eax, 1
jmp 0x44083d
call ebp
mov ebx, eax
test ebx, ebx
je 0x44094f
mov eax, 2
mov dword [0x470860], eax
cmp eax, 1
jne 0x4408e2
test esi, esi
jne 0x44085b
call edi
mov esi, eax
test esi, esi
je 0x44094f
cmp word [esi], 0
mov eax, esi
je 0x440875
add eax, 2
cmp word [eax], 0
jne 0x440863
add eax, 2
cmp word [eax], 0
jne 0x440863
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x4408d4
push edi
call fcn.0043a900
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4408d4
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4408c6
push ebx
call fcn.0043a9b0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x44094f
test ebx, ebx
jne 0x4408f3
call ebp
mov ebx, eax
test ebx, ebx
je 0x44094f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x44090b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4408fb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4408fb
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.0043a900
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x44092d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x440e80
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x450530
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x440ea4
add eax, 8
inc ebp
cmp eax, 0x4505c0
jb 0x440e95
cmp ecx, dword [ebp*8 + 0x450530]
jne 0x44104b
mov eax, dword [0x4706d0]
cmp eax, 1
je 0x44100d
test eax, eax
jne 0x440ed0
cmp dword [0x44e114], 1
je 0x44100d
cmp ecx, 0xfc
je 0x44104b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x440f0b
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x440f54
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x446de4
add ebx, ecx
push ebx
call fcn.00442880
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x446dc4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x450534]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004427f0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x471a40]
test eax, eax
je 0x44101e
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x441028
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x450534]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x442c60
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.0043b3f0
mov eax, dword [0x471b40]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x442dc2
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x471a40]
test byte [edx + ecx*8 + 4], 1
je 0x442dc2
push 1
push ebp
push ebx
call fcn.0043f4b0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x442dcc
push 2
push ebp
push ebx
call fcn.0043f4b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x442dcc
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x442d68
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.00443d50
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x442d0f
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0043fa70
add esp, 0xc
cmp eax, 0xffffffff
je 0x442d2b
sub esi, eax
test esi, esi
jle 0x442d41
jmp 0x442d00
cmp dword [0x4706fc], 5
jne 0x442d3e
mov dword [0x4706f8], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.00443d50
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.0043f4b0
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x442da9
push 0
push ecx
push ebx
call fcn.0043f4b0
add esp, 0xc
push ebx
call fcn.004416d0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x442da9
mov dword [0x4706f8], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4706fc], eax
push 0
push edi
push ebx
call fcn.0043f4b0
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x4706f8], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x444290
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4442a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4442a9
xor eax, eax
test eax, eax
je 0x4442ba
push eax
call fcn.00441450
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x4442d0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4442e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4442eb
xor eax, eax
test eax, eax
je 0x4442fc
push eax
call fcn.00441450
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x401320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x404169], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.trast
push str.bask
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401368
xor eax, eax
jmp 0x401383
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp fcn.0040263d
Function at 0x10019193
Capabilities:
Encode data using xor

Disassembly:
call 0x1001910c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001913c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10019158
xor edx, 0
jmp 0x10019163
xor edx, edx
jmp 0x1001917a
jmp 0x10019186
xor eax, eax
push 0x8427d7c0
call 0x10019193
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100191cf
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100191a8
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100191e6
add eax, 0
jno 0x100191eb
add esi, 0
ret 0x10

Function at 0x10019f54
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10019f76
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001a118
cmp edi, dword [ebp + 0x10]
jb 0x1001a118
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10019a40
inc edi
jmp 0x10019fff
jmp 0x1001a00c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10019a40
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10019a40
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001a060
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001a044
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001a08e
add dword [eax], 0x39
jle 0x1001a06a
sub al, 0xf5
mov ch, al
call fcn.1001a0a3
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1001bd7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001bd91
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001bda2
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001bde3
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1001e14f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1001e098
add ebx, 0
push ecx
call 0x1001e0ad
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x72fa327b
sub ebx, dword [0x72fc2aba]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72fc2aaa
call fcn.10019b77
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10019085
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001e20b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001e20b
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1001e1c2
mov eax, 1
lock xchg dword [0x72fc2ab6], eax
push 0x3dd1fc71
call 0x1001e14f
push esi
add esp, 8
cmp eax, 0
jne 0x1001e138
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001e15e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001e173
cmp ecx, edx
cmp eax, 0
je 0x1001e198
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1001e182
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001e1b1
dec eax
loope 0x1001e1b4
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72fc2ab6], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1001e1e8
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001e1fd
jmp 0x1001e208
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001e0f6