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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414de5
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], esi
add ebx, 4
cmp ebx, edx
jne fcn.00414de5
mov ecx, eax
sub eax, 0x11b280d3
ret
Function at 0x402648
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402656
call dword [0x49b008]
or eax, eax
je 0x402657
ret
mov al, 1
jmp fcn.004026c8

Function at 0x402660
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40266e
call dword [0x49b00c]
or eax, eax
jne 0x40266f
ret
mov al, 2
jmp fcn.004026c8

Function at 0x402678
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b0
test edx, edx
je 0x40269a
push eax
mov eax, ecx
call dword [0x49b010]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004026c8
mov dword [eax], edx
mov eax, ecx
call dword [0x49b00c]
or eax, eax
jne 0x402693
ret
mov al, 1
jmp fcn.004026c8
test edx, edx
je 0x4026c4
push eax
mov eax, edx
call dword [0x49b008]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret

Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x49d004]
test ecx, ecx
je 0x4026d8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4026f1]
jns 0x4026ec
call fcn.004033bc
mov eax, dword [eax + 4]
jmp fcn.00404e69

Function at 0x402954
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x49d030], 0x8088405
inc edx
mov dword [0x49d030], edx
mul edx
mov eax, edx
ret

Function at 0x402bb8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402bd0
mov ecx, dword [eax]
cmp ecx, edx
je 0x402bd0
mov ecx, dword [ecx - 0x14]
test ecx, ecx
jne 0x402bbe
mov al, 0xa
jmp fcn.004026c8
ret

Function at 0x402c00
Capabilities:
Terminate process

Disassembly:
mov eax, 0xd2
jmp fcn.00404e69
push eax
push ecx
mov eax, dword [eax]
call fcn.00402bd4
pop ecx
pop eax
je 0x402c0f
jmp ebx
pop ecx
jmp 0x40283c

Function at 0x403980
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4039b0
cmp al, 0xc
je 0x4039ba
cmp al, 0xd
je 0x4039cd
cmp al, 0xe
je 0x4039e9
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4039b0
jmp 0x4039fd
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4039ba
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403980
dec edi
jg 0x4039d0
pop ebp
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403958
dec edi
jg 0x4039ec
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403a04
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403980
Function at 0x403d6c
Capabilities:
Terminate process

Disassembly:
cmp eax, edx
je 0x403ddc
cmp word [eax], 8
jb 0x403d91
push eax
push edx
cmp word [eax], 0x100
je 0x403d87
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403d8f
add eax, 8
call fcn.00403400
pop edx
pop eax
cmp word [edx], 8
jae 0x403da8
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x403dc8
mov edx, dword [edx + 8]
or edx, edx
je 0x403dbf
mov ecx, dword [edx - 8]
inc ecx
jle 0x403dbf
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne fcn.00403d30
ret

Function at 0x4044f4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4042d1
cmp eax, 0x100
jne 0x404323
mov eax, 8
cmp edx, 0x11
jbe 0x4042e3
cmp edx, 0x100
jne 0x404323
mov edx, 8
mov al, byte [eax + 0x49b01c]
mov dl, byte [edx + 0x49b01c]
movzx ecx, byte [edx + eax*8 + 0x49b030]
call dword [ecx*4 + 0x404302]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00403d30
mov ecx, 0
jmp 0x4042a8

Function at 0x404500
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp 0x4042a8

Function at 0x40450c
Capabilities:
Terminate process

Disassembly:
mov ecx, 2
jmp 0x4042a8

Function at 0x404518
Capabilities:
Terminate process

Disassembly:
mov ecx, 4
jmp 0x4042a8

Function at 0x404524
Capabilities:
Terminate process

Disassembly:
mov ecx, 5
jmp 0x4042a8

Function at 0x404530
Capabilities:
Terminate process

Disassembly:
mov ecx, 8
jmp 0x4042a8

Function at 0x40453c
Capabilities:
Terminate process

Disassembly:
mov ecx, 9
jmp 0x4042a8

Function at 0x404548
Capabilities:
Terminate process

Disassembly:
mov ecx, 0xa
jmp 0x4042a8

Function at 0x404554
Capabilities:
Terminate process

Disassembly:
mov ecx, 6
jmp 0x4042a8

Function at 0x404560
Capabilities:
Terminate process

Disassembly:
mov ecx, 7
jmp 0x4042a8

Function at 0x40456c
Capabilities:
Terminate process

Disassembly:
mov ecx, 3
jmp 0x4042a8
Function at 0x404614
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x40463a
cmp eax, 0x100
jne case.0x404660.0
mov eax, 8
cmp edx, 0x11
jbe 0x40464c
cmp edx, 0x100
jne case.0x404660.0
mov edx, 8
mov al, byte [eax + 0x49b01c]
mov dl, byte [edx + 0x49b01c]
movzx ecx, byte [edx + eax*8 + 0x49b030]
jmp dword [ecx*4 + 0x404667]
pop edi
pop esi
jmp fcn.00403d30
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00403f90
xchg edi, eax
call fcn.00403f90
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404030
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404030
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.0040408c
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.0040408c
fld xword [esp]
add esp, 0xc
jmp 0x4046bf
mov eax, edi
mov edx, esi
call fcn.004045a8
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00403ffc
xchg edi, eax
call fcn.00403ffc
mov edx, edi
cmp al, dl
pop edi
pop esi
ret

Function at 0x404790
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax]
and edx, 0xfff
je 0x4047c1
cmp edx, 0xb
je 0x4047c6
cmp edx, 1
je 0x4047d5
cmp edx, 0x11
jbe 0x4047b1
cmp edx, 0x100
jne 0x4047c1
push eax
call fcn.00403f90
not eax
mov edx, eax
pop eax
jmp fcn.00404124
jmp fcn.00403d30
mov dx, word [eax + 8]
neg dx
sbb edx, edx
not edx
mov word [eax + 8], dx
ret

Function at 0x404e58
Capabilities:
Terminate process

Disassembly:
xor edx, edx
mov dword [0x49d02c], edx
jmp 0x404d2c

Function at 0x406340
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040632c
add esp, 0x104
pop ebx
ret
Function at 0x42e294
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x42e2a8
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
pop esi
pop ebx
ret
cmp dword [0x49d660], 0
jne 0x42e2cb
push 0x42e2f0
push 0x42e300
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d660], eax
cmp dword [0x49d660], 0
je 0x42e2e5
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x49d660]
jmp 0x42e2ea
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x42e295
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x42e2a8
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
pop esi
pop ebx
ret
cmp dword [0x49d660], 0
jne 0x42e2cb
push 0x42e2f0
push 0x42e300
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d660], eax
cmp dword [0x49d660], 0
je 0x42e2e5
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x49d660]
jmp 0x42e2ea
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x42e310
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x42e453
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x42e343
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x42e34d
mov ebx, 0x57
jmp 0x42e43d
cmp dword [0x49b0dc], 2
jne 0x42e42d
push 0
push 8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0042e26c
test eax, eax
jne 0x42e42d
xor edx, edx
push ebp
push 0x42e426
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.004034e0
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00403574
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
call fcn.00403744
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp eax, 0xea
jne 0x42e3ef
mov eax, dword [ebp - 0x14]
call fcn.00403574
cmp eax, 0x10000
jge 0x42e40f
mov eax, dword [ebp - 0x14]
call fcn.00403574
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004034e0
jmp 0x42e397
test eax, eax
jne 0x42e40f
mov eax, dword [ebp - 0x14]
call fcn.00403738
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
call fcn.0042e310
test eax, eax
je 0x42e397
inc ebx
jmp 0x42e397
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e42d
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.0042e294
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e45a
lea eax, [ebp - 0x14]
call fcn.00403400
ret
Function at 0x441c30
Capabilities:
Enumerate pe sections

Disassembly:
add eax, 0x788b0000
cmp al, 3
clc
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00441a37
shl dword [eax - 0x48f06db5], 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00441a37
mov ebp, 0x66d0e2ee
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x441c91
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x441c8b
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x441c7c
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00441a37
cmp al, 0x6c
xchg edx, eax
lcall 0x5fe8, 0x50a8458d
std
invalid

Function at 0x44baa4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x44baf0
cmp dword [ebp - 0x84], 2
jne 0x44baf0
cmp dword [ebp - 0x90], 5
jg 0x44baee
cmp dword [ebp - 0x90], 5
jne 0x44baf0
cmp dword [ebp - 0x8c], 1
jl 0x44baf0
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44baf8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00407934
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cd18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00407934
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00407934
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450964
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00407934
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450994
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x450ab1
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x49d84c]
cmp dword [0x49d848], 0
jne 0x450a8c
call sub.kernel32.dll_GetVersion
and ax, 0xff
cmp ax, 6
jb 0x450a8c
lea eax, [ebp - 8]
call fcn.00450964
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0042c84c
lea eax, [ebp - 4]
mov edx, 0x450acc
call fcn.0040357c
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49d848], eax
cmp dword [0x49d848], 0
je 0x450a8c
push 0x450adc
mov eax, dword [0x49d848]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d830], eax
push 0x450aec
mov eax, dword [0x49d848]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d834], eax
push 0x450b00
mov eax, dword [0x49d848]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d838], eax
push 0x450b0c
mov eax, dword [0x49d848]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d83c], eax
push 0x450b18
mov eax, dword [0x49d848]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d840], eax
push 0x450b24
mov eax, dword [0x49d848]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x49d844], eax
cmp dword [0x49d848], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450ab8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403420
ret

Function at 0x451544
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x49d854
mov eax, esi
mov edx, 8
test al, 1
je 0x451560
shr eax, 1
xor eax, 0xedb88320
jmp 0x451562
shr eax, 1
dec edx
jne 0x451553
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45154c
pop esi
ret
Function at 0x45158f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x49d850], 0
jne 0x45159b
call fcn.00451544
push 1
push 0x49d850
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4515c6
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x49d854]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4515a1
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x451f78
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x452c54
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00403738
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x452cf6
mov eax, ebx
call fcn.00402648
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x452cef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x452cd9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x452d18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x452cd9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452d0c
mov eax, dword [ebp - 0x10]
call fcn.00402660
ret
cmp dword [0x49b0dc], 1
je 0x452d0c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00452a78
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452eb4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00452e68
test al, al
jne 0x452ed5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x452f23
xor eax, eax
push ebp
push 0x452f13
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.00403738
push eax
call sub.kernel32.dll_CreateDirectoryA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f1a
lea eax, [ebp - 0xc]
call fcn.00452ea4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452f2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00452e68
test al, al
jne 0x452f50
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x452fb6
xor eax, eax
push ebp
push 0x452fa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452fad
lea eax, [ebp - 0xc]
call fcn.00452ea4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x452fc4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00452e68
test al, al
jne 0x452fe8
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x453040
xor eax, eax
push ebp
push 0x453030
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.00403738
push eax
mov eax, esi
call fcn.00403738
push eax
call sub.kernel32.dll_CopyFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453037
lea eax, [ebp - 0xc]
call fcn.00452ea4
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45304c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00452e68
test al, al
jne 0x45306d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4530b9
xor eax, eax
push ebp
push 0x4530a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403738
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4530b0
lea eax, [ebp - 0xc]
call fcn.00452ea4
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret