joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b1e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a4
push ebx
push esi
push edi
mov eax, 0x549eb0
call fcn.004e95f0
mov word [ebp - 0x24], 0xc
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x38]
xor ebx, ebx
mov dword [ecx], ebx
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [edx], ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, 0x18
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
xor ecx, ecx
mov dword [edx], ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov esi, 0x5480a0
lea edi, [ebp - 0x24c]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
mov esi, 0x5482a8
lea edi, [ebp - 0x454]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
mov esi, 0x5484b0
lea edi, [ebp - 0x65c]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
push 0x208
lea eax, [ebp - 0x24c]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov word [ebp - 0x24], 0x3c
lea edx, [ebp - 0x24c]
lea eax, [ebp - 4]
call fcn.004f8640
inc dword [ebp - 0x18]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x10
call fcn.004f86cc
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f86a4
push 0x208
lea ecx, [ebp - 0x454]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov word [ebp - 0x24], 0x48
lea edx, [ebp - 0x454]
lea eax, [ebp - 8]
call fcn.004f8640
inc dword [ebp - 0x18]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x14
call fcn.004f86cc
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f86a4
push 0x104
lea ecx, [ebp - 0x65c]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov word [ebp - 0x24], 0x54
lea edx, [ebp - 0x65c]
lea eax, [ebp - 0xc]
call fcn.004f8640
inc dword [ebp - 0x18]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.004f86cc
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x24], 0x60
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
call fcn.0044f7e8
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.004f86cc
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004f86a4
mov eax, dword [ebp + 8]
add eax, 0x18
call fcn.004f8b50
cmp word [eax], 0x5c
jne 0x40b3c4
mov edx, dword [ebp + 8]
add edx, 0x18
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0
je 0x40b3b2
push dword [ebp - 0x44]
call fcn.004040b4
pop ecx
mov edx, dword [eax + 8]
jmp 0x40b3b4
xor edx, edx
mov eax, dword [ebp + 8]
add eax, 0x18
mov ecx, 1
call fcn.004f8880
mov eax, dword [ebp - 0x34]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40eba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40ebf2
test eax, edx
je 0x40ebf5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40ebb5
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40ebdb
add ecx, 4
js 0x40ebcb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40ebd8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40ec01
test edx, edx
jne 0x40eba8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x42c2dc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42c37a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x42c33e
cmp byte [ebx + 0x10], 0
jne 0x42c33e
cmp byte [ebx + 0x3c], 0
jne 0x42c33e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x42c35f
lea edx, [ebp - 4]
mov eax, dword [0x55c580]
call fcn.0046c198
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41c5c4]
call fcn.00453a60
call fcn.00468074
jmp 0x42c35f
lea edx, [ebp - 8]
mov eax, dword [0x55c580]
call fcn.0046c198
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41c5c4]
call fcn.00453a60
call fcn.00468074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c381
lea eax, [ebp - 8]
mov edx, 2
call fcn.004688fc
ret

Function at 0x42cc88
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x42ccd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0042c228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42ccef
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42ccf8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042c228
dec esi
jne 0x42cd1a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42e6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x55cd24
cmp dword [edi], 0
jne 0x42e74c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x55cd20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x54b60c
mov ecx, 2
call fcn.00466550
mov edx, 0x42e6a8
lea eax, [esi + 5]
call fcn.0042e6c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042e6c8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42e721
mov dword [0x55cd20], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x431c00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x431d7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00468ca4
mov eax, dword [ebp - 4]
call fcn.00431560
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x431c52
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004699b8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004327f4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x431d31
xor eax, eax
push ebp
push 0x431d2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00431800
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00431db0
test al, al
je 0x431d08
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00468a04
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x431d08
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00469564
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00431760
test al, al
je 0x431d02
mov eax, dword [ebp - 8]
call fcn.00469564
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004695b4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00431c00
dec ebx
cmp ebx, 0xffffffff
jne 0x431cb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431d31
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00431800
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00469564
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004317ec
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00431760
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431d82
lea eax, [ebp - 0x3c]
call fcn.0046889c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004688fc
ret

Function at 0x4326d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00431578
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00469564
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00431760
test al, al
jne 0x432738
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x55c554]
mov dl, 1
mov eax, dword [0x430384]
call fcn.00453c64
call fcn.00468074
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x432744
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00469564
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00431760
test al, al
jne 0x4327a5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x55c550]
mov dl, 1
mov eax, dword [0x430384]
call fcn.00453c64
call fcn.00468074
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004315a8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432da4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x432ecc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00431800
xor eax, eax
push ebp
push 0x432ea7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00431db0
test al, al
je 0x432e8b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00432c84
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00468a04
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x432e8b
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00469564
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00431760
test al, al
je 0x432e87
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00469564
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004695b4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00432c84
pop ecx
inc edi
dec ebx
jne 0x432e2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432eae
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00431800
ret
Function at 0x432edc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43312a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00431800
xor eax, eax
push ebp
push 0x433100
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00431db0
test al, al
je 0x4330e4
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00468a04
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4330e4
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00469564
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00431760
test al, al
je 0x4330d8
mov eax, dword [ebp - 4]
call fcn.00469564
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004695b4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004327f4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4330d8
xor eax, eax
push ebp
push 0x4330d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.00431800
xor eax, eax
push ebp
push 0x4330b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00469564
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004695b4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00431804
mov eax, dword [ebp - 4]
call fcn.00469564
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004695b4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004327f4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x433090
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00432da4
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00432edc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433097
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x432f67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433107
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00431800
ret
Function at 0x44df90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44e0b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x44e093
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.KERNEL32.DLL_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x44e07c
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.004695f0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00469adc
test eax, eax
jle 0x44e07c
mov eax, dword [ebp - 4]
test eax, eax
je 0x44e030
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x44e03e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00469970
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.004695b4
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004697a0
jmp 0x44e093
add ebx, 2
cmp word [ebx], 0
jne 0x44e079
add ebx, 4
test ebx, ebx
je 0x44e08d
cmp word [ebx], 0
jne 0x44dfe2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e0c0
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.004688fc
lea eax, [ebp - 4]
call fcn.0046889c
ret
Function at 0x44e1ac
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e368
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.0046889c
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetFileSize
test eax, eax
jne 0x44e210
cmp dword [ebp - 0x14], 0
je 0x44e2fe
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x44e2fe
xor eax, eax
push ebp
push 0x44e2f7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e2e0
xor eax, eax
push ebp
push 0x44e2d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.KERNEL32.DLL_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00411d14
test eax, eax
jbe 0x44e2c2
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.004695f0
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0044df90
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00468c5c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e2e0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e2fe
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x44e34a
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0044e0c8
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00468c5c
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x44e34a
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0044df90
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.00468c5c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e36f
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.004688fc
ret
Function at 0x44e378
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00454a70
test al, al
je 0x44e420
mov eax, ebx
call fcn.00469564
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44e420
test ah, 4
je 0x44e420
test al, 0x10
je 0x44e3bf
mov edi, 0x2000000
jmp 0x44e3c1
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, ebx
call fcn.00469564
push eax
call sub.KERNEL32.DLL_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x44e420
xor eax, eax
push ebp
push 0x44e419
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0044e1ac
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e420
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44e564
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x44e5bd
test eax, edx
je 0x44e5c0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x44e57b
movzx eax, word [eax]
sub eax, ecx
jmp 0x44e5a2
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x44e5a3
add ecx, 4
js 0x44e593
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x44e5a0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x44e5a2
xor eax, eax
ret
test eax, eax
je 0x44e5cc
test edx, edx
jne 0x44e56c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00469564
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44f3ea
test ah, 4
je 0x44f3e3
test bl, bl
jne 0x44f3a8
mov al, 1
jmp 0x44f411
test al, 0x10
je 0x44f3b0
xor eax, eax
jmp 0x44f411
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x44f3d4
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x44f411
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x44f411
test al, 0x10
sete al
jmp 0x44f411
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x44f40b
cmp ebx, 3
je 0x44f40b
cmp ebx, 0x7b
je 0x44f40b
mov eax, esi
call fcn.0044f340
test al, al
jne 0x44f40f
xor eax, eax
jmp 0x44f411
mov al, 1
pop edi
pop esi
pop ebx
ret