joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b5cf
Capabilities:
Query environment variable

Disassembly:
cmp dword [ebp - 0x224], 0x104
ja 0x40b640
mov edx, dword [ebp - 0x224]
shl edx, 1
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x22c], 0x20a
jae 0x40b595
jmp 0x40b59a
call fcn.0041be78
xor eax, eax
mov ecx, dword [ebp - 0x22c]
mov word [ebp + ecx - 0x21c], ax
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x42d5a0
call 0x40cc2b
mov ecx, 0x42d5a0
call fcn.0040ccb5
movzx eax, al
test eax, eax
je 0x40b640
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push str._programfiles_
inc edx
add bh, bh
adc eax, sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jbe 0x40b640
cmp dword [ebp - 0x220], 0x104
ja 0x40b640
mov edx, dword [ebp - 0x220]
shl edx, 1
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0x20a
jae 0x40b61a
jmp 0x40b61f
call fcn.0041befd
xor eax, eax
mov ecx, dword [ebp - 0x228]
mov word [ebp + ecx - 0x21c], ax
invalid
xchg ebp, eax
invalid
mov byte [0x42c002], 0
push 0x42d5a0
mov ecx, dword [ebp + 8]
call 0x40ca54
mov eax, dword [ebp - 0x230]
or eax, 1
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00415932
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ac76
mov esp, ebp
pop ebp
ret

Function at 0x40b6a1
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x224
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
add byte [eax], al
invalid
test esp, ebx

Function at 0x40b70b
Capabilities:
Query environment variable

Disassembly:
call fcn.00415990
mov dword [ebp - 4], 2
add byte [eax], al
add byte [ebx + 0x42d5d415], cl
add byte [ebx + 0x2c7502e2], al
mov eax, dword [0x42d5d4]
or eax, 2
mov dword [0x42d5d4], eax
mov byte [ebp - 4], 3
mov ecx, 0x42d5d8
call fcn.0040cb9d
push 0x420900
call fcn.0041b61f
add esp, 4
mov byte [ebp - 4], 2
movzx ecx, byte [0x42c003]
test ecx, ecx
jne 0x40b765
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x40b82a
push 0x42d5d8
push 0x2b
call fcn.00417f41
add esp, 8
movzx eax, al
test eax, eax
je 0x40b790

Function at 0x40b714
Capabilities:
Query environment variable

Disassembly:
call fcn.00415990
mov dword [ebp - 4], 2
add byte [eax], al
add byte [ebx + 0x42d5d415], cl
add byte [ebx + 0x2c7502e2], al
mov eax, dword [0x42d5d4]
or eax, 2
mov dword [0x42d5d4], eax
mov byte [ebp - 4], 3
mov ecx, 0x42d5d8
call fcn.0040cb9d
push 0x420900
call fcn.0041b61f
add esp, 4
mov byte [ebp - 4], 2
movzx ecx, byte [0x42c003]
test ecx, ecx
jne 0x40b765
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x40b82a
push 0x42d5d8
push 0x2b
call fcn.00417f41
add esp, 8
movzx eax, al
test eax, eax
je 0x40b790
Function at 0x40b77b
Capabilities:
Query environment variable

Disassembly:
mov ecx, 0x42d5d8
call fcn.0040ce75
movzx ecx, al
test ecx, ecx
je 0x40b823
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0041d0bc
add dword [eax], eax
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push str._commonprogramfiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jbe 0x40b823
cmp dword [ebp - 0x220], 0x104
ja 0x40b823
mov edx, dword [ebp - 0x220]
shl edx, 1
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0x20a
jae 0x40b7fd
jmp 0x40b802
call fcn.0041c0e0
xor eax, eax
mov ecx, dword [ebp - 0x228]
mov word [ebp + ecx - 0x21c], ax
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x42d5d8
invalid

Function at 0x40b7aa
Capabilities:
Query environment variable

Disassembly:
mov ecx, 0x42d5d8
call fcn.0040ce75
movzx ecx, al
test ecx, ecx
je 0x40b823
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0041d0bc
add dword [eax], eax
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push str._commonprogramfiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jbe 0x40b823
cmp dword [ebp - 0x220], 0x104
ja 0x40b823
mov edx, dword [ebp - 0x220]
shl edx, 1
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0x20a
jae 0x40b7fd
jmp 0x40b802
call fcn.0041c0e0
xor eax, eax
mov ecx, dword [ebp - 0x228]
mov word [ebp + ecx - 0x21c], ax
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x42d5d8
invalid

Function at 0x40bcbc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
call fcn.0040d391
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x40bcf1
mov edx, dword [ebp - 0x30]
and edx, 0x10
je 0x40bcf1
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d2bc
mov al, byte [ebp - 0x2a]
jmp 0x40bd07
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d2d4
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b308
mov esp, ebp
pop ebp
ret

Function at 0x40bd63
Capabilities:
Get file size

Disassembly:
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
Function at 0x40be7d
Capabilities:
Create directory

Disassembly:
add byte [eax], al
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x40beb2
push 0
lea ecx, [ebp - 0x28]
call fcn.0040d563
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40beb2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d47d
jmp 0x4170ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d491
jmp 0x4170c2
add byte [eax], al
add byte [ecx + 0x69e8d045], cl
das
add dword [eax], eax
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x34], eax
call 0x42a030
mov dword [eax + 0x88], esi
call 0x42a03b
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x8c], ecx
mov dword [ebp - 4], ebx
xor eax, eax
inc eax
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call 0x42853d
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
jmp 0x42d69f

Function at 0x40c232
Capabilities:
Set file attributes

Disassembly:
push ss
add byte [eax], al
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40c246
mov byte [ebp - 1], 1
jmp 0x40c24a
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x40ccc4
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [ebp - 4], eax
mov dword [ebp - 0x1564], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
add byte [eax], al
mov ecx, dword [ebp - 0x1564]
call fcn.00418931
mov dword [ebp - 0x155c], eax
ljmp 0xeaa4
invalid
invalid
push dword [ebp + 7]
xor al, al
jmp 0x4192c1
mov dword [ebp - 0x156c], 0
push str.EnumProcesses
push 0x42220c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1540], eax
ljmp 0x4222
add byte [eax + 0x38], ch
and al, byte [edx]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x153c], eax
push str.GetProcessImageFileNameA
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1538], eax
push 0x42227c
push 0x422290
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x154c], eax
push 0x4222ac
push 0x4222c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1544], eax
cmp al, 0
add bl, ch
and eax, 0x7fffb8
add bl, ch
and dword [ebp - 0x7aed8a2e], eax
sal byte [ebp + 0xe], 0x8b
inc ebp
or byte [ecx], ah
push eax
add al, 0x21
adc byte [esi - 0x77], ah
js 0x4192e9
Function at 0x40d491
Capabilities:
Check os version

Disassembly:
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x42d60d]
salc
inc edx
invalid
test eax, eax
je 0x40d4b8
mov al, byte [0x42d60c]
jmp 0x419e2d
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0041edef
add byte [ebx - 0x6a72f33c], al
call 0x5340d4e7
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax
inc dword [ebx - 0x11f43]
inc dword [eax]
je 0x40d569
cmp dword [ebp - 0x114], 6
jb 0x40d50e
mov byte [0x42d60c], 1
cmp dword [ebp - 0x114], 6
jb 0x40d569
cmp dword [ebp - 0x110], 2
jb 0x40d569
lea eax, [ebp - 0x114]
push eax
call fcn.0041ae1c
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jb 0x40d569
cmp dword [ebp - 0x114], 0xa
jae 0x40d553
invalid
test esp, esp
invalid
invalid
inc dword [ecx]

Function at 0x40d4de
Capabilities:
Check os version

Disassembly:
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x42d60d]
salc
inc edx
invalid
test eax, eax
je 0x40d4b8
mov al, byte [0x42d60c]
jmp 0x419e2d
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0041edef
add byte [ebx - 0x6a72f33c], al
call 0x5340d4e7
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax
inc dword [ebx - 0x11f43]
inc dword [eax]
je 0x40d569
cmp dword [ebp - 0x114], 6
jb 0x40d50e
mov byte [0x42d60c], 1
cmp dword [ebp - 0x114], 6
jb 0x40d569
cmp dword [ebp - 0x110], 2
jb 0x40d569
lea eax, [ebp - 0x114]
push eax
call fcn.0041ae1c
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jb 0x40d569
cmp dword [ebp - 0x114], 0xa
jae 0x40d553
invalid
test esp, esp
invalid
invalid
inc dword [ecx]
Function at 0x40d7c7
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
call fcn.0041857c
movzx eax, ax
push eax
lea ecx, [ebp - 0x28]
call fcn.004153e8
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
dec ebp
shr al, 0
adc al, 0
add dh, al
inc ebp
cld
add ecx, dword [ebp - 0x72ad6fab]
dec ebp
shr al, 0x90
push ss
add byte [eax], al
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xa4]
push eax
push 0x426c04
push 1
push 0
push 0x426c24
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jl 0x40d83b
cmp dword [ebp - 0xa4], 0
jne 0x40d880
mov byte [ebp - 0xab], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040ee1e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call 0x40ee2a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ee36
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040ee45
mov al, byte [ebp - 0xab]
jmp 0x41a7dd
lea ecx, [ebp - 0xb4]
push ecx
push 0x426c14
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0xb8], eax
cmp dword [ebp + 0x1c], 0
jl 0x40d9a1
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f05c
push eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ecx + 0x44]
call eax
invalid
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f0a9
jmp 0x40da72
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040f153
mov byte [ebp - 4], 5
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00416c5a
add esp, 8
movzx edx, al
test edx, edx
jne 0x40da63
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
dec ebp
shr al, 0x90
push ss
add byte [eax], al
mov byte [ebp - 4], 4

Function at 0x40d8a5
Capabilities:
Delete file

Disassembly:
cmp dword [ebp - 0xb8], 0
jl 0x40d8b7
cmp dword [ebp - 0xb4], 0
jne 0x40d910
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
or byte [ebx - 0xa36b], cl
call dword [edx - 0x75]
inc ecx
or bh, bh
invalid
mov ecx, dword [ebp + 8]
call fcn.0040efe8
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [edx + 0x50]
call ecx
lea ecx, [ebp - 0x58]

Function at 0x40d93c
Capabilities:
Delete file

Disassembly:
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [eax + 0x24]

Function at 0x40d948
Capabilities:
Delete file

Disassembly:
call edx
mov ecx, dword [ebp + 0x18]
call fcn.0040f042
movzx eax, al
test eax, eax
jne 0x40d97a
push 0
mov ecx, dword [ebp + 0x18]
call fcn.0040f033
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
invalid
invalid

Function at 0x40d9a0
Capabilities:
Delete file

Disassembly:
ror byte [ebx - 0x2f17f3b3], 1
push ss
add byte [eax], al

Function at 0x40da0f
Capabilities:
Delete file

Disassembly:
call dword [eax - 0x73]
dec ebp
shr al, 0x90
push ss
add byte [eax], al
Function at 0x40da67
Capabilities:
Delete file

Disassembly:
lea ecx, [ebp - 0xa0]
call fcn.0040f042
movzx ecx, byte [ebp + 0x24]
test ecx, ecx
je 0x40da9c
lea edx, [ebp - 0x40]
push edx
call fcn.00418993
scasd eax, dword es:[edi]
add byte [eax], al
add esp, 4
movzx eax, al
test eax, eax
je 0x40da9c
lea ecx, [ebp - 0x40]
call fcn.0040f165
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0x40]
call fcn.0040f176
push eax
mov ecx, dword [ebp - 0xb4]
dec dword [ebx + 0x4c858b11]
invalid
invalid
call dword [eax - 0x75]
dec edx
sbb bh, bh
invalid
test eax, eax
jne 0x40dacb
mov dword [ebp - 0xbc], 1
jmp 0x40dad5
mov dword [ebp - 0xbc], 0
mov dl, byte [ebp - 0xbc]
mov byte [ebp - 0xa5], dl
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xb4]
call dword [edx - 0x75]
inc ecx
or bh, bh
ror byte [ebx - 0xa373], 1
dec dword [ebx + 0x5c858b11]
invalid
invalid
call dword [eax - 0x75]
dec edx
or bh, bh
ror dword [edx - 0xa46b], 1
dec dword [eax - 0xa96b]
inc esi
inc ebp
cld
add ecx, dword [ebp - 0x8773]
invalid
call fcn.0040f0f4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040f100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040f10c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040f118
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
invalid

Function at 0x40f033
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4207f1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
in al, dx
and byte [ecx + 0x42c190], ah

Function at 0x40f042
Capabilities:
Check if file exists

Disassembly:
in al, dx
and byte [ecx + 0x42c190], ah
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0

Function at 0x40f05c
Capabilities:
Get file attributes

Disassembly:
je 0x40f068
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x40f06f
xor al, al
jmp 0x41d5d5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
dec dword [ebx + 0x458bb47d]
clc

Function at 0x40f2b5
Capabilities:
Link many functions at runtime

Disassembly:
add byte [eax], al
push str.CryptCATAdminEnumCatalogFromHash
push 0x422518
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
invalid

Function at 0x40f990
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x28c], 0x800b0100
mov dword [ebp - 0x308], 0
push 0x2c
push 0
lea eax, [ebp - 0x304]
push eax
call 0x4212df
adc byte [ecx], bl
add dword [eax], eax
add esp, 0xc
mov dword [ebp - 0x2d8], 0
xor ecx, ecx
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x5c], 0xf750e6c3
mov edx, 0x38ee
mov word [ebp - 0x58], dx
mov eax, 0x11d1
mov word [ebp - 0x56], ax
mov byte [ebp - 0x54], 0x85
Function at 0x40f9cb
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x28c], 0x800b0100
mov dword [ebp - 0x308], 0
push 0x2c
push 0
lea eax, [ebp - 0x304]
push eax
call 0x4212df
adc byte [ecx], bl
add dword [eax], eax
add esp, 0xc
mov dword [ebp - 0x2d8], 0
xor ecx, ecx
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x5c], 0xf750e6c3
mov edx, 0x38ee
mov word [ebp - 0x58], dx
mov eax, 0x11d1
mov word [ebp - 0x56], ax
mov byte [ebp - 0x54], 0x85
Function at 0x4100d2
Capabilities:
Check os version

Disassembly:
in al, dx
sub esp, 0x120
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], ecx
push 0x400
push 0
mov eax, dword [ebp - 0x11c]
push eax
call 0x421a0c
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
mov byte [ecx + 0x400], 0
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x404], 0
add al, 4
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call 0x421a49
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax

Function at 0x410114
Capabilities:
Check os version

Disassembly:
in al, dx
sub esp, 0x120
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], ecx
push 0x400
push 0
mov eax, dword [ebp - 0x11c]
push eax
call 0x421a0c
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
mov byte [ecx + 0x400], 0
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x404], 0
add al, 4
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call 0x421a49
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax

Function at 0x410e26
Capabilities:
Accept command line arguments

Disassembly:
cld
add al, ch
jo 0x410e73
add dword [eax], eax
test eax, eax
jns 0x410e3a
push 0x1b
call 0x421123
add al, byte [ecx]
invalid
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x42f79c], eax
call 0x425ed0
mov dword [0x42d690], eax
call str.es_PA
test eax, eax
jns 0x410e60
push 8
call 0x4243a3
pop ecx
call 0x425ac6
test eax, eax
jns 0x410e71
push 9
call 0x4243b4
pop ecx
push 1
call 0x4243f6

Function at 0x415b15
Capabilities:
Write file on windows

Disassembly:
add dword [eax], eax
add byte [edx - 0x19], dh
push ebx
lea eax, [ebp - 0x1fc]
mov byte [ebp - 5], bl
push eax
lea eax, [ebp - 0x1f8]
push eax
call 0x426d81
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call 0x42513a
mov esp, ebp
pop ebp
ret

Function at 0x41b378
Capabilities:
Write file on windows

Disassembly:
add al, 1
add bh, al
add byte [ecx], cl
add byte [eax], al
add al, ch
scasd eax, dword es:[edi]
and eax, dword [ecx]
add byte [ebx + 0x55e8ffc8], al
cmp dword [ecx], eax
add bl, al
push ebp
mov ebp, esp
mov eax, 0x1af0
call 0x42d355
mov eax, dword [0x42c190]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1abc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x1ac8], eax
push edi
xor edi, edi
mov dword [ebp - 0x1ad0], ecx
invalid
Function at 0x41b5d1
Capabilities:
Write file on windows

Disassembly:
push dword [ebp - 0x1ad4]
lea eax, [ebp - 0x1acc]
push eax
call 0x435085
add esp, 0xc
cmp eax, 0xffffffff
je 0x41b8c5
mov eax, dword [ebp - 0x1ad4]
xor ecx, ecx
inc eax
inc dword [ebp - 0x1ac0]
push ecx
push ecx
push 5
mov dword [ebp - 0x1ad4], eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x1acc]
push eax
push ecx
push dword [ebp - 0x1af0]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
adc byte [edx], al
mov dword [ebp - 0x1ac4], eax
test eax, eax

Function at 0x41b62a
Capabilities:
Write file on windows

Disassembly:
je 0x41b8c5
push 0
lea ecx, [ebp - 0x1ac8]
push ecx
mov ecx, dword [ebp - 0x1adc]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1ad8]
mov eax, dword [eax*4 + 0x42da38]
push dword [ecx + eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41b7ae
mov esi, dword [ebp - 0x1ac0]
mov ecx, dword [ebp - 0x1abc]
add esi, ecx
mov eax, dword [ebp - 0x1ac4]
cmp dword [ebp - 0x1ac8], eax
jl 0x41b8cb
cmp dword [ebp - 0x1ae8], edi
je 0x41b6d5
mov ecx, dword [ebp - 0x1adc]
lea eax, [ebp - 0x1ac8]
push 0
push eax
push 1
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0xd
push eax
mov eax, dword [ebp - 0x1ad8]
mov eax, dword [eax*4 + 0x42da38]
push dword [ecx + eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41b7ae
cmp dword [ebp - 0x1ac8], 1
mov ecx, dword [ebp - 0x1acc]
jmp 0x436246
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x436480
add dword [eax], eax
mov ecx, dword [ebp - 0x1abc]
test esi, esi
jne 0x41bbc8
test edi, edi
je 0x41bb87
push 5
pop ebx
cmp edi, ebx
jne 0x41bb7e
call 0x42bdaa
mov dword [eax], 9
call 0x42bd81
mov dword [eax], ebx
jmp 0x4368c0
push edi
call 0x42c022
pop ecx
jmp 0x41bbc3
mov edx, dword [ebp - 0x1ad0]
mov eax, dword [ebp - 0x1ad8]
mov ecx, dword [ebp - 0x1adc]
dec dword [ebx - 0x25c77afc]
inc edx
add dh, dh
inc esp
add dword [eax + eax*2], eax
je 0x41bbb0
cmp byte [edx], 0x1a
jne 0x41bbb0
xor eax, eax
jmp 0x41bbcc
call 0x42c074
mov dword [eax], 0x1c
call 0x42c04b
and dword [eax], 0
or eax, 0xffffffff
jmp 0x41bbcc
sub esi, ecx
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call 0x42b1c5
mov esp, ebp
pop ebp
ret
Function at 0x41b708
Capabilities:
Write file on windows

Disassembly:
and dword [ebp - 0x1ac4], edi
test bl, bl
jne 0x41b6e0
mov dl, byte [eax]
xor eax, eax
mov ecx, dword [ebp - 0x1adc]
cmp dl, 0xa
sete al
mov dword [ebp - 0x1ae8], eax
mov eax, dword [ebp - 0x1ad8]
mov eax, dword [eax*4 + 0x42da38]
mov dword [ebp - 0x1ac4], eax
cmp dword [ecx + eax + 0x38], edi
je 0x41b57d
mov al, byte [ecx + eax + 0x34]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x1ac4]
mov byte [ebp - 0xb], dl
push 2
and dword [ecx + eax + 0x38], edi
lea eax, [ebp - 0xc]
push eax
jmp 0x41b5d7
movsx eax, dl
push eax
call 0x434f22
pop ecx
test eax, eax
je 0x41b5cf
mov eax, dword [ebp - 0x1ad0]
mov edx, dword [ebp - 0x1ad4]
sub eax, edx
add eax, dword [ebp + 0x10]
cmp eax, 1
jbe 0x41b780
push 2
push edx
lea eax, [ebp - 0x1acc]
push eax
call 0x435056
add esp, 0xc
cmp eax, 0xffffffff
je 0x41b8c5
mov eax, dword [ebp - 0x1ad4]
inc eax
inc dword [ebp - 0x1ac0]
jmp 0x41b5f5
push 1
cmp bl, 1
je 0x41b6ea
cmp bl, 2
jne 0x41b71d
movzx ecx, word [eax]
xor edx, edx
cmp cx, word [ebp - 0x1aec]
mov dword [ebp - 0x1acc], ecx
mov edx, dword [ebp - 0x1ac0]
add edx, 2
mov dword [ebp - 0x1ad4], eax
mov dword [ebp - 0x1ac0], edx
cmp bl, 1
je 0x41b727
cmp bl, 2
jne 0x41b772
push ecx
call 0x4394f3
pop ecx
mov ecx, dword [ebp - 0x1acc]
cmp ax, cx
jne 0x41b7ae
add esi, 2
cmp dword [ebp - 0x1ac4], edi
je 0x41b766
push 0xd
pop eax
push eax
mov dword [ebp - 0x1acc], eax
call 0x439519
pop ecx
mov ecx, dword [ebp - 0x1acc]
cmp ax, cx
jne 0x41b7ae
inc esi
inc dword [ebp - 0x1abc]
mov edx, dword [ebp - 0x1ac0]
mov eax, dword [ebp - 0x1ad4]
cmp edx, dword [ebp + 0x10]
jb 0x41b524
jmp 0x436445
mov ebx, dword [ebp - 0x1ad8]
inc esi
mov al, byte [edx]
invalid