joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406dd0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425820
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp - 0x18], 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, ecx
mov edi, edx
xor ebx, ebx
cmp dword [edi], ebx
je 0x406ee9
mov dword [ebp - 0x820], ebx
mov dword [ebp - 4], ebx
push 0x400
push ebx
lea eax, [ebp - 0x81c]
push eax
call fcn.00416c00
add esp, 0xc
push 0x400
push ebx
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00416c00
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x400
lea ecx, [ebp - 0x81c]
push ecx
call fcn.00412492
add esp, 0x10
cmp esi, ebx
je 0x406eb9
push ebx
push ebx
lea edx, [ebp - 0x820]
push edx
push 0x400
push esi
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x820]
lea edx, [ebp - 0x41c]
cmp eax, ebx
je 0x406e9e
push eax
push esi
push str.Error_Code___d_:_s
call fcn.00401e30
add esp, 0xc
jmp 0x406eac
push esi
push str.Error_Code___d
call fcn.00401e30
add esp, 8
mov eax, dword [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0x81c]
push edx
mov ecx, edi
call fcn.00406fd0
cmp esi, ebx
je 0x406ee2
lea eax, [ebp - 0x41c]
push eax
mov ecx, edi
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00412333
mov esp, ebp
pop ebp
ret

Function at 0x406f10
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4257f0
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp - 0x18], 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, ecx
cmp dword [esi], 0
je 0x406f9f
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.00416c00
add esp, 0xc
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.00412492
add esp, 0x10
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0x41c]
push edx
mov ecx, esi
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00412333
mov esp, ebp
pop ebp
ret
Function at 0x406fd0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4257bb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], eax
push 0x400
push eax
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00416c00
add esp, 0xc
lea esi, [ebp - 0x434]
call fcn.00407570
mov edx, dword [eax]
mov dword [ebp - 0x428], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x428]
push ecx
mov esi, str._H._M._S
lea edi, [ebp - 0x420]
call fcn.004074a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x42c]
push edx
mov eax, dword [ebp - 0x420]
push eax
push str.__s____s
lea edx, [ebp - 0x41c]
call fcn.00401e30
add esp, 0xc
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
lea ecx, [ebp - 0x41c]
call fcn.00407390
push ebx
mov ecx, 0x42b480
call fcn.00407390
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00412333
mov esp, ebp
pop ebp
ret 4
Function at 0x407390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4252a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x432a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4073d0
sub eax, edx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408d70
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x425270
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp + 0x400], 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, ecx
mov ebx, edx
push 0x400
xor edi, edi
push edi
lea eax, [ebp]
push eax
call fcn.00416c00
add esp, 0xc
mov dword [ebp - 0x18], edi
cmp esi, edi
je 0x408e5b
cmp ebx, edi
je 0x408e5b
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], edi
lea ecx, [ebp]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x408e5b
push 0x5c
push esi
call fcn.00412520
add esp, 8
cmp eax, edi
je 0x408e1d
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x408e05
sub ecx, edi
lea edx, [ecx + esi - 1]
cmp eax, edx
je 0x408e1d
add eax, 1
jmp 0x408e1f
mov eax, esi
push 3
push eax
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.00412eee
add esp, 0x10
push ebx
push 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x408e49
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
jmp 0x408e5d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00412333
add ebp, 0x404
mov esp, ebp
pop ebp
ret
Function at 0x408e90
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425c40
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x432a20]
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, ecx
mov dword [ebp - 0x424], esi
mov edi, edx
mov dword [ebp - 0x420], edi
mov byte [ebp - 0x419], 0
test esi, esi
je 0x409052
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408ee5
sub eax, edx
je 0x409052
mov dword [ebp - 4], 0
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x408f3f
mov byte [ebp - 0x419], 1
test edi, edi
je 0x408ffe
push esi
push str._s_file_was_deleted__
mov ecx, edi
call fcn.00406f10
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x409030
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 2
jne 0x408f68
mov byte [ebp - 0x419], 1
test edi, edi
je 0x408ffe
push esi
push 0x42ada8
mov ecx, eax
jmp 0x408ff4
push 0x400
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00416c00
add esp, 0xc
lea edx, [ebp - 0x418]
mov ecx, esi
call fcn.00408d70
test al, al
je 0x408fe6
push 1
push esi
push 0x438b04
lea edx, [ebp - 0x418]
call fcn.004014b0
test eax, eax
je 0x408fe6
push 4
lea ecx, [ebp - 0x418]
push ecx
push 0x438b04
xor edx, edx
call fcn.004014b0
test edi, edi
je 0x408fd6
lea edx, [ebp - 0x418]
push edx
push esi
push str._s_file_was_moved_to__s__
mov ecx, edi
call fcn.00406f10
add esp, 0xc
mov byte [ebp - 0x419], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x409030
test edi, edi
je 0x408ffe
push esi
push 0x42bbdc
call ebx
mov ecx, eax
mov edx, edi
call fcn.00406dd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x409030
mov bl, byte [ebp - 0x419]
test bl, bl
jne 0x40904e
test edi, edi
je 0x40904e
push esi
push str._s_file_was_not_deleted__
mov ecx, edi
call fcn.00406f10
add esp, 8
mov al, bl
jmp 0x409054
xor al, al
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.00412333
mov esp, ebp
pop ebp
ret
Function at 0x409200
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426000
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x964], ecx
mov esi, dword [ebp + 8]
mov byte [ebp - 0x95d], 0
test esi, esi
je 0x40940d
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409250
sub eax, edx
je 0x40940d
push 0x400
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.00416c00
add esp, 0xc
push 0x400
push 0
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00416c00
add esp, 0xc
mov dword [ebp - 4], 0
push esi
push 0x400
lea edx, [ebp - 0x41c]
push edx
call fcn.004124ad
add esp, 0xc
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4092b2
sub eax, edx
cmp byte [ebp + eax - 0x41d], 0x5c
jne 0x4092e2
lea eax, [ebp - 0x41c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4092d0
sub eax, edx
mov byte [ebp + eax - 0x41d], cl
lea eax, [ebp - 0x41c]
push eax
push str._s.
lea edx, [ebp - 0x81c]
call fcn.00401e30
add esp, 8
lea ecx, [ebp - 0x95c]
push ecx
lea edx, [ebp - 0x81c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4093e2
push 0x400
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.00416c00
add esp, 0xc
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x41c]
push edx
push str._s_s
lea edx, [ebp - 0x81c]
call fcn.00401e30
add esp, 0xc
cmp dword [ebp - 0x95c], 0x10
jne 0x40939b
mov edi, 0x42bccc
lea esi, [ebp - 0x930]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4093af
mov edi, 0x42bcd0
lea esi, [ebp - 0x930]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4093af
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x964]
call fcn.00409200
jmp 0x4093af
mov edx, dword [ebp - 0x964]
add edx, 4
lea ecx, [ebp - 0x81c]
call fcn.00408e90
lea ecx, [ebp - 0x95c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40931b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne byte [ebp - 0x95d]
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x95d]
jmp 0x40940f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00412333
mov esp, ebp
pop ebp
ret 4
Function at 0x409550
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0xa0
push 0xffffffffffffffff
push 0x4256f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xa8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
xor esi, esi
mov dword [ebp - 0x14], esi
push 0x42abe3
lea ecx, [ebp - 0x18]
call fcn.00404fc0
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push 0x9c
push esi
lea edx, [ebp]
push edx
call fcn.00416c00
add esp, 0xc
mov dword [ebp], 0x9c
lea eax, [ebp]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
call edi
mov ebx, eax
test ebx, ebx
jne 0x409603
mov dword [ebp], 0x94
lea ecx, [ebp]
push ecx
call edi
test eax, eax
jne 0x409603
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404f60
xor eax, eax
jmp 0x40976e
lea edx, [ebp + 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ee0
lea edi, [ebp - 0x18]
call fcn.00409860
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x40972e
sub eax, 1
je 0x4096b9
sub eax, 1
jne 0x409733
mov eax, dword [ebp + 4]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x409640
jmp dword [eax*4 + 0x409794]
mov esi, 0x20001
jmp 0x409730
mov esi, 0x20002
jmp 0x409730
mov eax, dword [ebp + 8]
sub eax, 0
je 0x4096ab
sub eax, 1
je case.default.0x409640
sub eax, 1
je 0x409677
mov esi, 0x40002
jmp 0x409730
mov esi, 0x40003
mov dword [ebp - 0x14], esi
call fcn.00409930
test eax, eax
je 0x409733
test ebx, ebx
je 0x409733
cmp byte [ebp + 0x9a], 1
jne 0x409733
mov esi, 0x40002
jmp 0x409730
mov esi, 0x40001
jmp 0x409730
mov esi, 0x40004
jmp 0x409730
mov esi, dword [ebp + 8]
test esi, esi
je 0x4096f6
cmp esi, 0xa
je 0x4096d7
sub esi, 0x5a
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x10005
jmp 0x409730
push 0x42bd88
mov eax, dword [ebp - 0x18]
push eax
call fcn.00412b2d
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
add esi, 0x10004
jmp 0x409730
push 0x42bd80
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00412b2d
add esp, 8
test eax, eax
je 0x409727
push 0x42bd84
mov edx, dword [ebp - 0x18]
push edx
call fcn.00412b2d
add esp, 8
test eax, eax
je 0x409727
mov esi, 0x10001
jmp 0x409730
mov esi, 0x10002
jmp 0x409730
xor esi, esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40973f
mov ecx, dword [ebp + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40974b
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov dword [ebp - 4], 0
jmp 0x40975d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.00412333
add ebp, 0xa0
mov esp, ebp
pop ebp
ret

Function at 0x412333
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432a20]
jne 0x41233d
repz ret
jmp fcn.0041754b
Function at 0x420a6a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004197c0
xor ebx, ebx
cmp dword [0x43661c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x420b3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x420aaa
xor eax, eax
jmp 0x420c03
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x429d70
push edi
call esi
cmp eax, ebx
je 0x420aa3
push eax
call fcn.0041975d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43661c], eax
call esi
push eax
call fcn.0041975d
mov dword [esp], 0x429d4c
push edi
mov dword [0x436620], eax
call esi
push eax
call fcn.0041975d
mov dword [0x436624], eax
lea eax, [ebp - 8]
push eax
call fcn.00417267
test eax, eax
pop ecx
pop ecx
je 0x420b0d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004177b9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x420b3f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041975d
cmp eax, ebx
pop ecx
mov dword [0x43662c], eax
je 0x420b3f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041975d
pop ecx
mov dword [0x436628], eax
mov eax, dword [0x436628]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x420bb8
cmp dword [0x43662c], esi
je 0x420bb8
push eax
call fcn.004197c9
pop ecx
call eax
cmp eax, ebx
je 0x420b85
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43662c]
call fcn.004197c9
pop ecx
call eax
test eax, eax
je 0x420b85
test byte [ebp - 0x18], 1
jne 0x420bb8
lea eax, [ebp - 0xc]
push eax
call fcn.0041729e
test eax, eax
pop ecx
je 0x420ba0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004177b9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x420baf
or dword [ebp + 0x10], 0x200000
jmp 0x420be9
or dword [ebp + 0x10], 0x40000
jmp 0x420be9
mov eax, dword [0x436620]
cmp eax, esi
je 0x420be9
push eax
call fcn.004197c9
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x420be9
mov eax, dword [0x436624]
cmp eax, esi
je 0x420be9
push dword [ebp - 4]
push eax
call fcn.004197c9
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43661c]
call fcn.004197c9
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424a68
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004249fd
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00416c00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x424ab7
cmp dword [ebp - 0x1c], 5
jb 0x424acf
jmp 0x424acb
cmp dword [ebp - 0x10], 1
jne 0x424acf
cmp dword [ebp - 0x1c], 4
ja 0x424acb
jne 0x424acf
cmp dword [ebp - 0x18], 0
jbe 0x424acf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x429e00
call fcn.004248d1
test eax, eax
jge 0x424af0
mov byte [0x438b38], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00412333
add ebp, 0x78
leave
ret
Function at 0x10002b90
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push 0x10021114
push 0x80000002
call dword [0x1001a018]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0x1002110c
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x100034a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x100034e1
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
mov bx, word [esi]
mov bh, byte [edi]
cmp bl, 0x5a
jg 0x100034d5
cmp bl, 0x41
jl 0x100034d5
add bl, 0x20
cmp bl, bh
jne 0x100034b4
inc esi
inc esi
inc edi
test bx, bx
jne 0x100034c3
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005140
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x808
lea eax, [esp + 0x10c]
push ebx
push esi
push edi
push 0x104
push eax
call dword [0x1001a248]
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10021164
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [0x1001a244]
lea edx, [esp + 0x14]
push edx
call dword [0x1001a220]
lea ebx, [esp + eax + 0x14]
mov eax, dword [0x10022244]
or ecx, 0xffffffff
push ebx
lea edi, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.100109b0
mov edi, str._prr
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x80
push 4
mov ecx, edx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x28]
push 2
rep movsb byte es:[edi], byte [esi]
push eax
call dword [0x1001a21c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100052e1
mov esi, dword [0x10022244]
mov ecx, 0x17e
lea edi, [esp + 0x21c]
push 0
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x220]
call dword [0x1001a334]
push eax
call dword [0x1001a330]
mov edi, dword [0x1001a32c]
add esp, 8
call edi
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x1001a6b8]
call fcn.100192b0
test al, al
je 0x10005251
mov ecx, 0x5f8
mov dl, byte [esi]
xor dl, al
mov byte [esi], dl
inc esi
dec ecx
jne 0x1000526f
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x224]
push 0x5f8
push edx
push ebx
call dword [0x1001a240]
push ebx
call dword [0x1001a214]
mov edi, str.hAWhBD:8_HAb
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
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 + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x11c]
push ecx
call fcn.100048c0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x808
ret
Function at 0x10005510
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x10022244]
push ebx
push ebp
mov ebp, ecx
add eax, 0x10
push esi
lea ecx, [esp + 0x10]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x14], esi
call dword [0x1001a24c]
lea edx, [esp + 0x10]
push 0x10022120
push edx
call fcn.10002c30
add esp, 8
lea eax, [esp + 0x10]
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push eax
call dword [0x1001a21c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100055cd
push edi
push esi
push ebx
call dword [0x1001a10c]
mov edi, eax
push edi
call dword [0x1001a31c]
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [0x1001a254]
xor eax, eax
test edi, edi
jbe 0x100055a4
mov cl, byte [eax + esi]
xor cl, 0x44
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x10005596
push edi
push esi
mov ecx, ebp
call fcn.1000e700
push esi
mov edi, eax
call dword [0x1001a314]
add esp, 4
push ebx
call dword [0x1001a214]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret