joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4151d6
Capabilities:
Create directory

Disassembly:
mov eax, 0x446430
call fcn.00420850
sub esp, 0x60
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00401624
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00401802
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.004014d4
lea eax, [ebp - 0x6c]
lea ecx, [ebp + 8]
push eax
call fcn.00402031
lea ecx, [ebp - 0x6c]
call fcn.004014d4
lea ecx, [ebp + 8]
mov dword [0x458b24], ebx
call fcn.00401d28
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xe]
mov edi, 0x4494d8
push ebx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x4494d0
mov dword [ebp - 0x24], edi
call fcn.004018ff
mov byte [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x14], 1
push 1
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1c], 0x5c
call fcn.0040237a
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x41531f
sub eax, esi
lea ecx, [ebp + 8]
inc eax
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00401b65
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x68]
neg esi
sbb esi, esi
push 0x453324
and esi, eax
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004172fc
test eax, eax
je 0x4152c0
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x44]
push eax
call fcn.00416a87
jmp 0x4152d0
push dword [0x4494e0]
lea ecx, [ebp - 0x40]
push ebx
push esi
call fcn.00404a6d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 1
lea esi, [eax + 1]
jle 0x415313
cmp dword [ebp - 0x14], 4
jg 0x4152e7
cmp byte [ebp - 0xd], bl
jne 0x415313
push ebx
lea ecx, [ebp - 0x44]
call fcn.00401d5e
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x415313
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dword [0x458b24], eax
jne 0x415354
mov dword [0x458b24], ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004014d4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41525f
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004014d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014d4
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
sub esp, 0x28
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x4494d0
mov dword [ecx + 0x20], edi
call fcn.00401974
call fcn.00414a95
add esp, 0x28
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004014d4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004014d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014d4
xor al, al
jmp 0x415345
Function at 0x4155db
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x94], 0x94
and dword [eax], 0
lea eax, [ebp - 0x94]
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 1
jne 0x41564a
cmp dword [ebp - 0x8c], 0
je 0x415642
cmp dword [ebp - 0x8c], 0xa
je 0x41563a
cmp dword [ebp - 0x8c], 0x5a
je 0x415636
xor al, al
mov dword [esi], 0x80
jmp 0x4156ae
mov al, 1
jmp 0x41562e
mov dword [esi], 0x40
jmp 0x415698
mov dword [esi], 0x10
jmp 0x415698
cmp dword [ebp - 0x84], 2
jne 0x4156ac
mov eax, dword [ebp - 0x90]
sub eax, 4
je 0x4156a4
mov ecx, dword [ebp - 0x8c]
dec eax
je 0x415674
dec eax
je 0x41569c
xor al, al
mov dword [esi], 0x1000000
jmp 0x4156ae
test ecx, ecx
jne 0x415680
mov dword [esi], 0x100000
jmp 0x415698
cmp ecx, 1
jne 0x41568d
mov dword [esi], 0x400000
jmp 0x415698
cmp ecx, 2
jne 0x41569c
mov dword [esi], 0x800000
mov al, 1
jmp 0x4156ae
test ecx, ecx
jne 0x41566a
mov al, 1
jmp 0x41566c
mov dword [esi], 0x10000
jmp 0x415698
xor al, al
pop esi
leave
ret

Function at 0x4159de
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x415a0d
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415a0d
call eax
jmp 0x415ae4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, SysStringLen
push str..DefaultControl_PaneldesktopResourceLocale
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x415a59
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x458a44
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x415aba
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str..DEFAULTControl_PanelInternational
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x415a8e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x415aa2
cmp esi, ebx
je 0x415aa2
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x415ac2
cmp dword [ebp - 4], ebx
je 0x415ab4
cmp esi, ebx
je 0x415ab4
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x415ae4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00422320
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x415ae1
cmp esi, ebx
je 0x415ae1
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41638f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x4465e8
call fcn.00420850
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00416351
mov edi, eax
cmp edi, esi
je 0x4163d9
cmp dword [ebp - 0x10], esi
je 0x4163d2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x416476
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x41644a
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041638f
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x416437
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x4163fc
cmp dword [ebp - 0x10], esi
je 0x416445
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x416476
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41645d
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x416474
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x416487
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x446614
call fcn.00420850
sub esp, 0x40
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push 0x20019
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401d5e
push eax
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.00416351
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x41654c
push esi
push edi
mov dword [ebp - 0x14], ebx
mov esi, 0x105
lea eax, [ebp + 0xb]
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x4494d0
mov dword [ebp - 0x2c], 0x4494d8
call fcn.004018ff
lea eax, [ebp - 0x24]
push esi
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004015f7
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 3
call fcn.00401d5e
push esi
push eax
push dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [ebp - 0x24]
mov edi, eax
mov byte [ebp - 4], 2
call fcn.0040184c
cmp edi, ebx
jne 0x416537
mov ecx, dword [ebp + 0x34]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040fe7e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004014d4
inc dword [ebp - 0x14]
cmp edi, ebx
je 0x4164cf
pop edi
pop esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [0x458b24], eax
sete byte [ebp + 0xb]
cmp dword [ebp - 0x10], ebx
je 0x41656b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416587
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x446667
call fcn.00420850
sub esp, 0x4c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x58], 0x4494d0
mov dword [ebp - 0x38], 0x4494d8
call fcn.004018ff
mov dword [ebp - 0x14], ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.00401d5e
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push 0x20019
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4165f5
lea ecx, [ebp - 0x14]
call fcn.004166ef
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp eax, ebx
push edi
mov esi, eax
jne 0x41666e
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push ebx
lea ecx, [ebp + 0x38]
call fcn.00401d5e
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push esi
call edi
mov esi, eax
cmp esi, ebx
jne 0x41666e
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x58]
push eax
call fcn.004015f7
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 6
call fcn.00401d5e
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x18], eax
mov dword [esi + 8], eax
call fcn.00401d5e
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x18]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x30]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.0040184c
cmp esi, ebx
mov dword [0x458b24], esi
pop edi
lea eax, [ebp - 0x58]
je 0x41667f
lea eax, [ebp + 0x60]
mov esi, dword [ebp + 8]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x4494d0
mov dword [esi + 0x20], 0x4494d8
call fcn.00401974
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x14], ebx
je 0x4166b0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004014d4
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.004014d4
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.004014d4
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.004014d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416706
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44668c
call fcn.00420850
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push 0x20019
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00401d5e
push eax
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.00416351
cmp eax, ebx
jne 0x416767
lea ecx, [ebp + 0x34]
call fcn.00401d5e
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp + 8], 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [ebp - 0x18]
cmp eax, ebx
mov dword [0x458b24], eax
je 0x416776
mov esi, dword [ebp + 0x5c]
cmp dword [ebp - 0x10], ebx
je 0x416787
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004014d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x34]
call fcn.004014d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x417203
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x417217
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41724b
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0041db68
test al, al
jne 0x41727e
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.0040cc88
lea eax, [ebp - 0x4c]
push 0x44d260
push eax
call fcn.00421735
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41727e
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00409ee8
lea eax, [ebp - 0x48]
push 0x44cb30
push eax
call fcn.00421735
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x417286
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x41729c
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4172d1
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00409ee8
lea eax, [ebp - 0x48]
push 0x44cb30
push eax
call fcn.00421735
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x4182c1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x446967
call fcn.00420850
sub esp, 0x138
and byte [ebp - 0x144], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41839e
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0x104
mov eax, str.CommonFilesDir
je 0x41832b
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push esi
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x449500
mov esi, 0x4494f8
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00404613
push 0x453324
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00403b38
lea ecx, [ebp - 0x40]
call fcn.00417f06
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00401974
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
jmp 0x4183ed
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x449500
mov esi, 0x4494f8
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00404613
push 0x453324
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00403b38
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00401974
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.004014d4
cmp dword [ebp - 0x10], 0
je 0x418406
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x418406
push dword [ebp - 0x10]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x418554
Capabilities:
Write file on windows

Disassembly:
push 0x4000
push dword [esp + 8]
push dword [0x458b78]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp fcn.0041856e
Function at 0x41856e
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x446990
call fcn.00420850
sub esp, 0x34
push ebx
push esi
push dword [0x458b74]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x40]
call fcn.0040f524
push 4
xor ebx, ebx
sub esp, 0x1c
mov ecx, 0x458b4c
mov esi, esp
mov dword [ebp - 0x14], esp
push 1
mov dword [ebp - 4], ebx
call fcn.004148c9
push eax
mov ecx, esi
call fcn.0041865d
lea ecx, [ebp - 0x40]
call fcn.0040f693
cmp al, bl
je 0x418621
push dword [0x458b78]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 2
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
call fcn.0040f7d9
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push eax
lea eax, [ebp - 0x10]
push 4
push eax
push dword [ebp - 0x3c]
call esi
push 0x21
lea ecx, [ebp - 0x14]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push dword [0x458b78]
call fcn.0041f4e8
mov eax, dword [0x458b78]
lea ecx, [ebp - 0x18]
push ebx
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x3c]
call esi
lea ecx, [ebp - 0x40]
call fcn.0040f807
push dword [0x458b74]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x40], vtable.is::file_lite.0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0040f807
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040ee1e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41de54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0xf4]
cmp eax, 0x7530
jbe 0x41deb7
mov ecx, dword [esi + 0xe8]
lea eax, [esi + 0xe8]
mov edx, dword [esi + 0xf0]
mov dword [esi + 0xdc], ecx
xor ecx, ecx
mov dword [esi + 0xe4], edx
mov dword [eax], ecx
lea eax, [esi + 0xf0]
mov edx, dword [esi + 0xec]
mov dword [esi + 0xec], ecx
mov dword [eax], ecx
lea eax, [esi + 0xec]
mov dword [esi + 0xe0], edx
call edi
mov dword [esi + 0xf4], eax
mov edi, dword [esi + 0xe4]
test edi, edi
jne 0x41dec9
mov eax, dword [esi + 0xdc]
jmp 0x41df21
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x41df1f
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0xdc]
cmp ebx, eax
jbe 0x41def7
shr ebx, 1
shr edi, 1
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe4], edi
mov eax, dword [esi + 0xdc]
mov edi, dword [esi + 0xe4]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x41ded2
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x41e3a6
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 8]
mov esi, ecx
push eax
push 0x20000013
push dword [esi + 4]
mov dword [ebp - 4], 4
call fcn.0041c412
add esp, 0x14
test eax, eax
je 0x41e3e4
mov eax, dword [ebp - 8]
cmp eax, 0xc8
jb 0x41e3e8
cmp eax, 0x12c
jae 0x41e3e8
mov al, 1
jmp 0x41e3fe
add eax, 0xd3c0
or eax, 0x80040000
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
leave
ret
Function at 0x41e557
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x4470af
call fcn.00420850
sub esp, 0x1dc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0041e800
test al, 0x10
pop ecx
je 0x41e6d9
push 1
lea eax, [ebp + 8]
pop ebx
push 0x45460c
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041e787
add esp, 0xc
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], bl
push ecx
mov ecx, eax
call fcn.004049fb
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.004014d4
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x41e680
test ebx, ebx
je 0x41e675
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x1bc]
push 0x4545e0
push eax
call ebx
test eax, eax
je 0x41e660
lea eax, [ebp - 0x1bc]
push 0x4545dc
push eax
call ebx
test eax, eax
je 0x41e660
lea eax, [ebp - 0x11]
push 0
push eax
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x449500
mov dword [ebp - 0x20], 0x4494f8
call fcn.00404613
sub esp, 0x28
lea ecx, [ebp - 0x40]
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 4
call fcn.0041e70e
add esp, 0xc
call fcn.0041e557
add esp, 0x28
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004014d4
lea eax, [ebp - 0x1e8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, eax
jmp 0x41e5da
test esi, esi
je 0x41e680
push edi
call esi
or dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004049fb
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41e6af
lea eax, [ebp + 8]
push 1
push eax
lea ecx, [ebp - 0x60]
call fcn.00409ee8
lea eax, [ebp - 0x60]
push 0x44cb30
push eax
call fcn.00421735
cmp dword [ebp - 0x10], 0xffffffff
je 0x41e6be
test esi, esi
je 0x41e6be
push dword [ebp - 0x10]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014d4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
lea ecx, [ebp + 8]
call fcn.004049fb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41e6be
lea eax, [ebp + 8]
push 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.00409ee8
lea eax, [ebp - 0xa8]
push 0x44cb30
push eax
call fcn.00421735

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.004049fb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e835
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00409ee8
lea eax, [ebp - 0x48]
push 0x44cb30
push eax
call fcn.00421735
leave
ret
Function at 0x402e0a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4151c4], 0
jne 0x402e18
call fcn.00402de0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x402e45
test cl, 7
je 0x402e45
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
dec esi
inc ecx
jmp 0x402e26
cmp esi, 8
jb 0x402ec9
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4151c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
dec edi
jne 0x402e4f
xor edx, edx
test esi, esi
jbe 0x402ee9
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4151c0]
inc edx
cmp edx, esi
jb 0x402ed0
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x4033b7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00401200
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x403449
push esi
push edi
mov edi, 0x400
push edi
lea eax, [ebp - 0x800]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407b5b
lea eax, [ebp - 0x800]
push eax
call fcn.0040b07a
mov esi, eax
lea eax, [ebp - 0x800]
push eax
call fcn.004083c2
test al, al
jne 0x403425
lea eax, [ebp - 0x1000]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1000]
push eax
call fcn.0040b07a
lea esi, [esi + eax + 1]
mov eax, 0x104
pop edi
cmp esi, eax
pop esi
jbe 0x403449
push eax
push 0xaf
call fcn.0040a3b6
push eax
push 0x413300
call fcn.0040bf1d
add esp, 0xc
leave
ret 8