joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bc70
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, ecx
jmp 0x1000bc90
call 0x10009d40
mov ecx, ebx
call fcn.1000db10
mov ecx, ebx
call fcn.1000b0d0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xff]
mov byte [ebp - 0x100], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x100]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, str.play.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
mov edi, 0x10048e24
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x100]
push eax
push 0xff
push 0x10048e24
push 0
push str.savepass
push 0x10043ca8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x10043ca4
mov eax, 0x10048e24
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000bd5d
test cl, cl
je 0x1000bd59
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000bd5d
add eax, 2
add esi, 2
test cl, cl
jne 0x1000bd39
xor eax, eax
jmp 0x1000bd62
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000bd7c
push 5
lea ecx, [ebx + 0x3dc]
call fcn.1002bfaa
mov ecx, ebx
call fcn.1000af30
jmp 0x1000bd89
push 0
lea ecx, [ebx + 0x3dc]
call fcn.1002bfaa
mov ecx, 0x3f
xor eax, eax
mov edi, 0x10048e24
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x100]
push eax
push 0xff
push 0x10048e24
push 0
push str.Bind
push 0x10043ca8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1000be1a
mov esi, str.SetEXE
mov eax, 0x10048e24
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000bdef
test cl, cl
je 0x1000bdeb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000bdef
add eax, 2
add esi, 2
test cl, cl
jne 0x1000bdcb
xor eax, eax
jmp 0x1000bdf4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000be1a
push 0x66
mov ecx, ebx
call fcn.10028f3d
call fcn.10031653
mov eax, dword [eax + 4]
mov ecx, 0x10048c78
mov dword [eax + 0x1c], 0x10048c78
call fcn.10028ddd
mov ecx, 0x3f
xor eax, eax
mov edi, 0x10048e24
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x100]
push ecx
push 0xff
stosw word es:[edi], ax
push 0x10048e24
push 0
push str.FreeTime
push 0x10043ca8
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1000be64
push 5
push 3
mov ecx, ebx
call fcn.1002bdbb
mov ecx, eax
call fcn.1002bfaa
jmp 0x1000be74
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor esi, esi
test edi, edi
jle 0x1000fa18
push ebp
mov ebp, dword [esp + 0x18]
jmp 0x1000f9b5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc cl
and ecx, 0xff
mov edi, ecx
mov dword [esp + 0xc], edi
mov ecx, dword [eax + edi*4 + 8]
mov dword [esp + 0x18], ecx
add cl, dl
mov edx, dword [esp + 0x18]
and ecx, 0xff
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + ecx*4 + 8]
mov dword [eax + edi*4 + 8], ecx
mov edi, dword [esp + 0x14]
add cl, dl
and ecx, 0xff
mov dword [eax + edi*4 + 8], edx
mov dl, byte [esi + ebp]
mov cl, byte [eax + ecx*4 + 8]
xor dl, cl
mov ecx, dword [esp + 0x1c]
mov byte [esi + ebp], dl
inc esi
cmp esi, ecx
jl 0x1000f9ad
mov edx, dword [esp + 0xc]
mov ecx, edi
pop ebp
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop esi
pop ecx
ret
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
pop ecx
ret
Function at 0x1000fa70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
jmp 0x1000fa8b
mov eax, dword [0x10048920]
mov esi, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, esi
sub ecx, 0x10
shr ecx, 4
div ecx
mov edx, dword [0x100487ec]
cmp eax, edx
mov dword [ebp - 8], eax
jge 0x1000fac4
test eax, eax
jl 0x1000fac4
mov edx, dword [0x100487e4]
je 0x1000fac6
lea edi, [eax]
mov edx, dword [edx]
dec edi
jne 0x1000fabd
jmp 0x1000fac6
xor edx, edx
imul eax, ecx
mov edi, dword [edx]
sub esi, eax
mov dword [ebp - 4], edi
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
sub ecx, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], esi
mov dword [ebp + 0xc], ecx
jmp 0x1000faf4
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
cmp ecx, edi
jbe 0x1000fb4d
mov eax, dword [ebp - 0x14]
push edi
add eax, esi
push eax
push ebx
call fcn.10019400
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x1000fb4d
cmp esi, 0x800
jae 0x1000fb4d
test edi, edi
mov dword [ebp + 8], 0
jbe 0x1000fb4d
mov ecx, esi
mov eax, ebx
sub ecx, ebx
lea edx, [ecx + eax]
cmp edx, 0x800
jae 0x1000fb4d
mov dl, byte [0x1004882e]
xor byte [eax], dl
mov edx, dword [ebp + 8]
inc edx
inc eax
cmp edx, edi
mov dword [ebp + 8], edx
jb 0x1000fb2e
mov eax, dword [ebp + 0xc]
cmp eax, edi
jae 0x1000fc01
push eax
mov eax, dword [ebp - 0x14]
add eax, esi
push eax
push ebx
call fcn.10019400
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x1000fb9a
cmp esi, 0x800
jae 0x1000fb9a
xor ecx, ecx
test edi, edi
jbe 0x1000fb9a
mov eax, ebx
sub esi, ebx
lea edx, [eax + esi]
cmp edx, 0x800
jae 0x1000fb9a
mov dl, byte [0x1004882e]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, edi
jb 0x1000fb81
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
add ebx, esi
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
sub edi, edx
mov dword [ebp - 0x14], eax
cmp edi, esi
ja 0x1000fbb7
push edi
jmp 0x1000fbf1
push 0x100442b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp edi, esi
jbe 0x1000fbed
mov eax, dword [ebp - 0x14]
push esi
push eax
push ebx
call fcn.10019400
mov ecx, dword [ebp - 4]
add ebx, esi
sub edi, esi
add esp, 0xc
mov eax, dword [ecx]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
cmp edi, esi
mov dword [ebp - 0x14], edx
ja 0x1000fbc6
mov eax, dword [ebp - 0x14]
push edi
push eax
push ebx
call fcn.10019400
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0xc]
add esp, 0xc
cmp dword [ebp + 0xc], edi
jne 0x1000fc4a
mov ecx, dword [ebp - 0x14]
push edi
add ecx, esi
push ecx
push ebx
call fcn.10019400
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x1000fc4a
cmp esi, 0x800
jae 0x1000fc4a
xor eax, eax
test edi, edi
jbe 0x1000fc4a
sub esi, ebx
lea edx, [ebx + esi]
cmp edx, 0x800
jae 0x1000fc4a
mov cl, byte [0x1004882e]
mov dl, byte [ebx]
xor dl, cl
inc eax
mov byte [ebx], dl
inc ebx
cmp eax, edi
jb 0x1000fc2d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000fc60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [0x10048a44]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
add ecx, eax
push esi
push ecx
push edi
call fcn.10019400
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x1000fc9a
mov dl, byte [0x1004882f]
mov cl, byte [eax + edi]
xor cl, dl
mov byte [eax + edi], cl
inc eax
cmp eax, esi
jb 0x1000fc87
pop edi
pop esi
ret 0xc
Function at 0x10027650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.10019a50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x1002771b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1002771b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x100276ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x100276d9
or bh, 8
and edi, 0x8000000
je 0x100276f4
mov eax, dword [0x1004cabc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x1002771b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x10027b1b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x10027b3f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x10027b5a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x10028a5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x10028a7e
cmp dword [edi + 0x3c], 0
jne 0x10028a7e
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.10031653
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.10028aab
pop edi
pop esi
pop ebx
ret 8

Function at 0x1002a0cd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1002a105
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1002cbd2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1002cbaa
jmp 0x1002a111
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1002a115
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x1004aca8
mov ecx, edi
call fcn.1002c9db
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x1002a168
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x1002a17b
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.1002cbd2
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.1002cbaa
jmp 0x1002a17b
mov ecx, esi
call fcn.1002bdbb
test eax, eax
je 0x1002a17b
push edi
mov ecx, eax
call fcn.1002a0cd
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x1002b6c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1002b702
call fcn.10031653
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1002b702
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1002b6f9
xor eax, eax
jmp 0x1002b70a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1002b710
pop edi
pop esi
pop ebx
ret 4
Function at 0x401980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
cmp dword [0x421ca4], eax
je 0x4019d1
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov dword [0x421ca4], eax
mov eax, dword [0x421ca4]
push eax
call sub.MSVCRT.dll_srand
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x40
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret
Function at 0x40fdf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
push edi
lea edi, [ebp - 0x140]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0x100]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x100]
mov byte [ecx], dl
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x140
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret

Function at 0x40fe50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40fe99
cmp dword [ebp - 4], 0
jne 0x40fe9d
xor eax, eax
jmp 0x40fee7
mov esi, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov dword [ebp - 8], eax
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
cmp dword [ebp - 8], 0
jne 0x40fee5
mov eax, 1
jmp 0x40fee7
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x48
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret

Function at 0x40ff00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x41
jl 0x40ff52
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x5a
jg 0x40ff52
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x41
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x40ff99
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x61
jl 0x40ff85
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x7a
jg 0x40ff85
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x61
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x40ff99
mov esi, esp
push str.invalid_parameter_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
cmp dword [ebp - 4], 0
jne 0x40ffa3
xor eax, eax
jmp 0x40ffcf
cmp dword [ebp + 0xc], 0
jne 0x40ffb0
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.NoViewOnDrive
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call fcn.0040fe50
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret
Function at 0x40ffe0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x41
jl 0x410032
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x5a
jg 0x410032
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x41
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x410079
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x61
jl 0x410065
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x7a
jg 0x410065
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x61
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x410079
mov esi, esp
push str.invalid_parameter_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
cmp dword [ebp - 4], 0
jne 0x410083
xor eax, eax
jmp 0x4100af
cmp dword [ebp + 0xc], 0
jne 0x410090
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.NoDrives
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call fcn.0040fe50
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret
Function at 0x417460
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a080
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x19
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0xffffffff
mov esi, esp
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41a18a
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov esi, esp
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call sub.MSVCRT.dll__chkesp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a1a0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret 8
Function at 0x402474
Capabilities:
Copy file

Disassembly:
push 0xc
mov eax, 0x4559c4
call fcn.0042794e
mov ebx, ecx
lea ecx, [ebp - 0x10]
call fcn.004015de
and dword [ebp - 4], 0
push 1
push ecx
mov ecx, esp
push str.productCode
call fcn.00401461
mov ecx, dword [ebx]
lea eax, [ebp - 0x14]
push eax
call fcn.00411a69
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push str._CommonAppDataFolder__sib_s
push eax
call fcn.0040302b
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.0040538e
lea eax, [ebp - 0x10]
mov ecx, 0x476234
push eax
call fcn.0040bb9a
push 0
push dword [ebp - 0x10]
call fcn.00429073
test eax, eax
je 0x402524
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x14]
call fcn.004014dd
push 0x39f
push dword [eax]
mov byte [ebp - 4], 2
push 0
push dword [ebp - 0x10]
call fcn.00429073
push eax
call fcn.004172ac
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040538e
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push str._sib.dat
push ecx
push eax
call fcn.004017d1
mov ecx, dword [ebx]
add esp, 0xc
call fcn.00408cac
mov edi, str.SibClr.dll
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004017d1
mov esi, eax
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push 0x476228
push eax
call fcn.004017d1
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x18
push 0
push dword [esi]
push dword [eax]
call edi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.0040538e
push str.SibCa.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004017d1
mov esi, eax
push str.SibCa.dll
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push 0x476228
push eax
call fcn.004017d1
add esp, 0x18
push 0
push dword [esi]
push dword [eax]
call edi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax + 0x38], edi
jle 0x402635
push edi
lea ecx, [eax + 0x30]
call fcn.00402e1d
cmp dword [eax + 0x10], 1
jne 0x40262d
mov eax, dword [ebx]
cmp dword [eax + 0x18], 0
je 0x40260d
push edi
mov ecx, ebx
call fcn.00403d41
jmp 0x40262d
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004029da
pop ecx
add eax, 0x10
mov ecx, ebx
push edi
mov dword [esi], eax
call fcn.00403f9b
mov eax, dword [ebx]
inc edi
cmp edi, dword [eax + 0x38]
jl 0x4025ec
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040538e
call fcn.0042791c
ret