joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101e82e
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xffffffffffffffeb
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
mov eax, dword [esp + 0x18]
dec eax
je 0x101e859
dec eax
je 0x101e852
xor eax, eax
jmp 0x101e9de
push 0
jmp 0x101e9d4
test edi, edi
je 0x101e9db
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push 0x3e8
push ebp
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call ebx
xor ecx, ecx
push 0
test eax, eax
setne cl
push 0
push 0xf0
inc ecx
push 0x3e9
push ebp
mov word [edi + 6], cx
call esi
push eax
call ebx
neg eax
push 0
push 0
sbb eax, eax
push 0xf0
neg eax
push 0x3ec
push ebp
mov word [edi + 0x10], ax
call esi
push eax
call ebx
neg eax
push 0
push 0
sbb eax, eax
push 0xf0
neg eax
push 0x3f2
push ebp
mov word [edi + 0x12], ax
call esi
push eax
call ebx
neg eax
push 0
push 0
sbb eax, eax
push 0xf0
neg eax
push 0x3ed
push ebp
mov word [edi + 0x18], ax
call esi
push eax
call ebx
neg eax
mov ebx, str.WaveMix_V_2.3_by_Angel_M._Diaz__Jr.__c__Microsoft_1993_1995
push 0xa
sbb eax, eax
push ebx
neg eax
push 0x3eb
push ebp
mov word [edi + 0xe], ax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call fcn.0101ffd0
pop ecx
mov word [edi + 0xa], ax
push 0xa
push ebx
push 0x3ef
push ebp
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call fcn.0101ffd0
pop ecx
mov word [edi + 0xc], ax
push 0xa
push ebx
push 0x3f0
push ebp
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call fcn.0101ffd0
pop ecx
mov word [edi + 8], ax
push 0xa
push ebx
push 0x3f3
push ebp
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call fcn.0101ffd0
pop ecx
mov word [edi + 0x16], ax
push 0xa
push ebx
push 0x3f1
push ebp
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x102cb34], 1
jle 0x101e9ac
movsx eax, byte [str.WaveMix_V_2.3_by_Angel_M._Diaz__Jr.__c__Microsoft_1993_1995]
push 4
push eax
call fcn.01020f50
pop ecx
pop ecx
jmp 0x101e9bf
movsx eax, byte [str.WaveMix_V_2.3_by_Angel_M._Diaz__Jr.__c__Microsoft_1993_1995]
mov ecx, dword [str.________________________________H]
mov al, byte [ecx + eax*2]
and eax, 4
test eax, eax
je 0x101e9cc
push ebx
call fcn.0101ffd0
pop ecx
jmp 0x101e9ce
xor eax, eax
mov word [edi + 0x14], ax
push 1
push ebp
call dword [sym.imp.USER32.dll_EndDialog]
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x101f9c2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 7
mov esi, dword [ebp + 8]
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1e
pop ecx
stosw word es:[edi], ax
test esi, esi
mov word [ebp - 0x20], cx
je 0x101fa01
mov ax, word [esi]
cmp ax, cx
jae 0x101f9f0
movzx ecx, ax
mov eax, ecx
lea edi, [ebp - 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x1032980], 0
jne 0x101fa20
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0101fc6e
test eax, eax
je 0x101faba
test byte [ebp - 0x1d], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, 0x1032808
mov edi, 0x10034b4
je 0x101fa41
xor eax, eax
cmp word [ebp - 8], ax
setne al
jmp 0x101fa52
push ebx
push 0
push 0x10030f8
push edi
call esi
neg eax
sbb eax, eax
neg eax
mov dword [0x1032970], eax
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
test eax, eax
jne 0x101fa8e
cmp dword [0x1032970], eax
je 0x101faba
mov esi, str.WaveMix_V_2.3_by_Angel_M._Diaz__Jr.__c__Microsoft_1993_1995
push 0x1003598
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push 0x40
push 0x1002b18
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x101faba
push ebx
push 0
push 0x100358c
push edi
call esi
test eax, eax
je 0x101faa2
call fcn.0101e033
push 0x1c0
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor esi, esi
mov dword [0x1030544], eax
cmp eax, esi
jne 0x101fac1
xor eax, eax
jmp 0x101fb7f
mov word [eax + 0x1bc], 0x5432
mov eax, dword [0x1030544]
mov word [eax], 0x5432
mov eax, dword [0x1030544]
mov dword [eax + 0x198], esi
mov eax, dword [0x1030544]
mov dword [eax + 0x14], esi
mov eax, dword [0x1030544]
mov word [eax + 0xb0], 0xa
mov eax, dword [0x1030544]
mov word [eax + 0xb2], 0xa
mov eax, dword [0x1030544]
mov ecx, dword [0x1032800]
mov dword [eax + 0x1ac], ecx
mov eax, 0xf4
mov ecx, dword [0x1030544]
or dword [ecx + eax], 0xffffffff
add eax, 4
cmp eax, 0x134
jl 0x101fb19
mov eax, dword [0x1030544]
push 0x10
add eax, 0x17c
push 0x1002b08
push eax
call fcn.01020030
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
call fcn.0101f5ff
test eax, eax
jne 0x101fb7a
mov eax, dword [0x1030544]
mov word [eax + 0x1bc], si
mov eax, dword [0x1030544]
mov word [eax], si
push dword [0x1030544]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x1030544], esi
mov eax, dword [0x1030544]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101fc6e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
cmp dword [0x1032980], esi
push edi
je 0x101fc88
push 1
pop eax
jmp 0x101fd2a
mov edi, dword [ebp + 8]
push edi
call fcn.0101fbdf
test eax, eax
je 0x101fd19
call fcn.0101fc1a
push 0x1032808
push esi
push 0x10035e0
push 0x10034b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x7f00
push esi
mov dword [0x1032974], eax
mov dword [0x1032800], 0x101bfca
mov dword [0x10304b8], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 1
mov dword [ebp - 0x10], eax
pop edi
mov dword [ebp - 0x14], esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0x1002b18
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10304b8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x101cc18
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x101fd1d
xor eax, eax
jmp 0x101fd2a
call fcn.0101c1d7
mov dword [0x1032980], edi
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x101fd30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035e8
push 0x1021f58
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 [0x10329b4], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x10329b0], ecx
shl ecx, 8
add ecx, edx
mov dword [0x10329ac], ecx
shr eax, 0x10
mov dword [0x10329a8], eax
call fcn.01021e20
test eax, eax
jne 0x101fd9a
push 0x1c
call fcn.0101ff00
add esp, 4
mov dword [ebp - 4], 0
call fcn.01021c20
call fcn.01021c10
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1034550], eax
call fcn.010215d0
mov dword [0x1032988], eax
test eax, eax
je 0x101fdcd
mov eax, dword [0x1034550]
test eax, eax
jne 0x101fdd7
push 0xffffffffffffffff
call fcn.010209d0
add esp, 4
call fcn.01021320
call fcn.01021230
call fcn.010209a0
mov esi, dword [0x1034550]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x101feb6
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x101fe1e
test al, al
je 0x101fe1e
and eax, 0xff
push eax
call fcn.010211d0
add esp, 4
test eax, eax
je 0x101fdf8
inc esi
mov dword [ebp - 0x64], esi
jmp 0x101fdf8
cmp byte [esi], 0x22
jne 0x101fe27
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x101fe37
cmp al, 0x20
ja 0x101fe37
inc esi
mov dword [ebp - 0x64], esi
jmp 0x101fe27
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x101fe58
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x101fe5d
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.010209d0
jmp 0x101fe9b
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 0x101fe27
inc esi
mov dword [ebp - 0x64], esi
jmp 0x101feb6

Function at 0x101ff00
Capabilities:
Terminate process

Disassembly:
cmp dword [0x1032990], 1
jne 0x101ff0e
call fcn.01022030
mov eax, dword [esp + 4]
push eax
call fcn.01022070
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1020a10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10329e4]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x1020a2f
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 [0x10329e0], 1
mov byte [0x10329dc], bl
jne 0x1020a89
mov ecx, dword [0x103454c]
test ecx, ecx
je 0x1020a77
mov esi, dword [0x1034548]
sub esi, 4
cmp esi, ecx
jb 0x1020a77
mov eax, dword [esi]
test eax, eax
je 0x1020a70
call eax
mov ecx, dword [0x103454c]
sub esi, 4
cmp esi, ecx
jae 0x1020a62
push 0x102b01c
push 0x102b014
call fcn.01020ac0
add esp, 8
push 0x102b024
push 0x102b020
call fcn.01020ac0
add esp, 8
test ebx, ebx
jne 0x1020ab0
push ebp
mov dword [0x10329e4], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x10215d0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x1032af8]
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 0x1021612
call edi
mov esi, eax
test esi, esi
je 0x10215fc
mov eax, 1
jmp 0x102160d
call ebp
mov ebx, eax
test ebx, ebx
je 0x102171f
mov eax, 2
mov dword [0x1032af8], eax
cmp eax, 1
jne 0x10216b2
test esi, esi
jne 0x102162b
call edi
mov esi, eax
test esi, esi
je 0x102171f
cmp word [esi], 0
mov eax, esi
je 0x1021645
add eax, 2
cmp word [eax], 0
jne 0x1021633
add eax, 2
cmp word [eax], 0
jne 0x1021633
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 0x10216a4
push edi
call fcn.010204e0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10216a4
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 0x1021696
push ebx
call fcn.01020590
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 0x102171f
test ebx, ebx
jne 0x10216c3
call ebp
mov ebx, eax
test ebx, ebx
je 0x102171f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x10216db
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10216cb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10216cb
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.010204e0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10216fd
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 0x1022070
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x102cce0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x1022094
add eax, 8
inc ebp
cmp eax, str.__t__r_
jb 0x1022085
cmp ecx, dword [ebp*8 + 0x102cce0]
jne 0x102223b
mov eax, dword [0x1032990]
cmp eax, 1
je 0x10221fd
test eax, eax
jne 0x10220c0
cmp dword [0x102c8e8], 1
je 0x10221fd
cmp ecx, 0xfc
je 0x102223b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10220fb
mov ecx, 5
mov esi, 0x10038d8
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 0x1022144
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 0x10038d4
add ebx, ecx
push ebx
call fcn.010264a0
add esp, 0xc
mov ecx, 6
mov esi, 0x10038b8
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, 0x10038b4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100388c
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 + 0x102cce4]
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.01026410
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x1034440]
test eax, eax
je 0x102220e
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x1022218
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x102cce4]
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 0x1026900
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x1034540]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x1026aad
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x1034440]
lea edi, [ecx*4 + 0x1034440]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x1026aad
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x102696e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x102697f
push 2
push ebp
push eax
call fcn.01026840
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x1026ade
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x1026a29
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x10269da
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x10269c7
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 0x10269aa
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 0x1026acf
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x1026a25
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x10269a6
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1026a9e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1026a72
cmp eax, 5
jne 0x1026a5b
mov dword [0x10329a0], eax
mov dword [0x103299c], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.01026d10
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 0x1026a92
cmp byte [ebp], 0x1a
jne 0x1026a92
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x103299c], 0x1c
jmp 0x1026ab7
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x103299c], 9
pop edi
pop esi
pop ebp
mov dword [0x10329a0], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x1026a25
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 0x1026b0f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x1026a29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x1026a29
Function at 0x10280a0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.01028fc0
mov eax, dword [0x1034540]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x1028202
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x1034440]
test byte [edx + ecx*8 + 4], 1
je 0x1028202
push 1
push ebp
push ebx
call fcn.01026840
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x102820c
push 2
push ebp
push ebx
call fcn.01026840
add esp, 0xc
cmp eax, 0xffffffff
je 0x102820c
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x10281a8
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.01028f40
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x102814f
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.01026900
add esp, 0xc
cmp eax, 0xffffffff
je 0x102816b
sub esi, eax
test esi, esi
jle 0x1028181
jmp 0x1028140
cmp dword [0x10329a0], 5
jne 0x102817e
mov dword [0x103299c], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.01028f40
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.01026840
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x10281e9
push 0
push ecx
push ebx
call fcn.01026840
add esp, 0xc
push ebx
call fcn.01026f90
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 0x10281e9
mov dword [0x103299c], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x10329a0], eax
push 0
push edi
push ebx
call fcn.01026840
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x103299c], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x431f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x431f6f
pop dword [ebp - 0x40]
mov eax, 0x431f6f
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x5430c
push 0
mov eax, 0x22225397
add eax, 0xde216ec1
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x8da2f8bc
sub ecx, 0x8da295a4
mov edi, eax
mov ebx, 0x46b200
add ebx, dword [ebp - 0x40]
mov esi, 0xbe5df1fc
sub esi, 0x2d612783
xor dword [ebp - 4], 0xf04d1dcc
mov edx, dword [ebx]
add dword [ebp - 0x38], 0x27a4958b
sub edx, esi
sub dword [ebp - 0x24], edi
mov dword [edi], edx
sub dword [ebp - 8], 0x8de8631
add edi, 0x581179df
add edi, 0xa7ee8625
add ebx, 0xad817c6
add ebx, 0xf527e83e
loop 0x431fc3
add eax, 0x17f33
xor ebx, ebx
add ebx, eax
add eax, 0x95907e58
add eax, 0x6a6f81ad
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x432550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a919
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0x11c
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.004148c0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4325d2
mov dword [ebp - 0x13c], 0x114
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4325e8
cmp dword [ebp - 0x138], 6
jb 0x4325e8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452c91]
test eax, eax
jne 0x43267e
cmp dword [ebp - 0x14], 0
je 0x43263b
push str.Vista_or_later
lea ecx, [ebp - 0x140]
call main
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call main
jmp 0x432677
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call main
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call main
mov byte [0x452c91], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret