joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461057
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476dec]
jne 0x461061
repz ret
jmp fcn.00464829

Function at 0x461578
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004558b8
xor ebx, ebx
cmp dword [0x479228], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46164e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46172e
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x46172e
push eax
call fcn.0045584a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x479228], eax
call esi
push eax
call fcn.0045584a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47922c], eax
call esi
push eax
call fcn.0045584a
mov dword [0x479230], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044fab6
test eax, eax
pop ecx
pop ecx
je 0x46161c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e41
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46164e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045584a
cmp eax, ebx
pop ecx
mov dword [0x479238], eax
je 0x46164e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045584a
pop ecx
mov dword [0x479234], eax
mov eax, dword [0x479234]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4616d3
cmp dword [0x479238], ecx
je 0x4616d3
push eax
call fcn.004558c1
push dword [0x479238]
mov esi, eax
call fcn.004558c1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4616d3
cmp edi, ebx
je 0x4616d3
call esi
cmp eax, ebx
je 0x4616a0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4616a0
test byte [ebp - 0x18], 1
jne 0x4616d3
lea eax, [ebp - 0x10]
push eax
call fcn.0044faed
test eax, eax
pop ecx
je 0x4616bb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e41
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4616ca
or dword [ebp + 0x10], 0x200000
jmp 0x46170e
or dword [ebp + 0x10], 0x40000
jmp 0x46170e
mov eax, dword [0x47922c]
cmp eax, dword [ebp - 8]
je 0x46170e
push eax
call fcn.004558c1
cmp eax, ebx
pop ecx
je 0x46170e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46170e
mov eax, dword [0x479230]
cmp eax, dword [ebp - 8]
je 0x46170e
push eax
call fcn.004558c1
cmp eax, ebx
pop ecx
je 0x46170e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x479228]
call fcn.004558c1
cmp eax, ebx
pop ecx
je 0x46172e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x461730
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401714
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401726
mov eax, dword [0x59109f]
shl eax, 2
mov dword [0x5910a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.005824c8
pop edx
call fcn.005820c8
call fcn.005829ec
push 0
call fcn.00583d10
pop ecx
push 0x591048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x5910a7], eax
push 0
jmp fcn.0058c864

Function at 0x408570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x59eb3c
push 0xa
push 0x408604
mov eax, dword [0x59eac0]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408594
call fcn.00444fb0
push ebx
mov eax, dword [0x59eac0]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4085ab
call fcn.00444fb0
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4085bd
call fcn.00444fb0
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x59eb40], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x59eb44], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x59eb48], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x59eb4c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x59eb50], ecx
add edx, dword [eax + 0x14]
mov dword [0x59eb54], edx
pop esi
pop ebx
ret

Function at 0x428800
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42889e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x428862
cmp byte [ebx + 0x10], 0
jne 0x428862
cmp byte [ebx + 0x3c], 0
jne 0x428862
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 0x428883
lea edx, [ebp - 4]
mov eax, dword [0x59e070]
call fcn.0045d84c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4190cc]
call fcn.00442900
call fcn.00458c04
jmp 0x428883
lea edx, [ebp - 8]
mov eax, dword [0x59e070]
call fcn.0045d84c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4190cc]
call fcn.00442900
call fcn.00458c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4288a5
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045a414
ret

Function at 0x42911c
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 0x42916a
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.00428784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x429183
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x42918c
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.00428784
dec esi
jne 0x4291ae
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42a9c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x59ed8c
cmp dword [edi], 0
jne 0x42aa44
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x59ed88]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x593970
mov ecx, 2
call fcn.00457710
mov edx, 0x42a9a0
lea eax, [esi + 5]
call fcn.0042a9c0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042a9c0
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 0x42aa19
mov dword [0x59ed88], 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 0x42f410
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 0x42f58b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0045a470
mov eax, dword [ebp - 4]
call fcn.0042eca8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42f462
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0045ac2c
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.004300bc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42f541
xor eax, eax
push ebp
push 0x42f53a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042f010
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0042f5c0
test al, al
je 0x42f518
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0045a558
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42f518
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.0045a4a8
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.0042ef70
test al, al
je 0x42f512
mov eax, dword [ebp - 8]
call fcn.0045a4a8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0045a5c8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042f410
dec ebx
cmp ebx, 0xffffffff
jne 0x42f4c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f541
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0042f010
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.0045a4a8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0042effc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0042ef70
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f592
lea eax, [ebp - 0x3c]
call fcn.0045a40c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045a414
ret

Function at 0x42ff98
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.0042ed1c
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.0045a4a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0042ef70
test al, al
jne 0x430000
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x59e044]
mov dl, 1
mov eax, dword [0x42dacc]
call fcn.00442b04
call fcn.00458c04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43000c
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.0045a4a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0042ef70
test al, al
jne 0x43006d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x59e040]
mov dl, 1
mov eax, dword [0x42dacc]
call fcn.00442b04
call fcn.00458c04
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042ed4c
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 0x43066c
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 0x430794
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.0042f010
xor eax, eax
push ebp
push 0x43076f
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.0042f5c0
test al, al
je 0x430753
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0043054c
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0045a558
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x430753
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.0045a4a8
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.0042ef70
test al, al
je 0x43074f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0045a4a8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0045a5c8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0043054c
pop ecx
inc edi
dec ebx
jne 0x4306f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430776
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0042f010
ret
Function at 0x4307a4
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 0x4309f2
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.0042f010
xor eax, eax
push ebp
push 0x4309c8
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.0042f5c0
test al, al
je 0x4309ac
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0045a558
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4309ac
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.0045a4a8
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.0042ef70
test al, al
je 0x4309a0
mov eax, dword [ebp - 4]
call fcn.0045a4a8
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0045a5c8
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004300bc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4309a0
xor eax, eax
push ebp
push 0x430999
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.0042f010
xor eax, eax
push ebp
push 0x43097b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045a4a8
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0045a5c8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042f014
mov eax, dword [ebp - 4]
call fcn.0045a4a8
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0045a5c8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004300bc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x430958
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.0043066c
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004307a4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43095f
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x43082f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4309cf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0042f010
ret
Function at 0x43b67c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x43b725
test eax, edx
je 0x43b728
push 0
push 0
cmp word [eax - 0xa], 2
je 0x43b6a5
push edx
mov edx, eax
mov eax, esp
call fcn.0045a638
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x43b6bb
push eax
lea eax, [esp + 8]
call fcn.0045a638
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x43b6ca
movzx eax, word [eax]
sub eax, ecx
jmp 0x43b6f1
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 0x43b70b
add ecx, 4
js 0x43b6e2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x43b708
push eax
mov eax, ecx
mov edx, 2
call fcn.00459364
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x43b6ef
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x43b6f1
xor eax, eax
ret
test eax, eax
je 0x43b738
test edx, edx
jne 0x43b68c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0045a4a8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x43ce46
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x43ce67
cmp ebx, 3
je 0x43ce67
cmp ebx, 0x7b
je 0x43ce67
mov eax, esi
call fcn.0043cde8
test al, al
jne 0x43ce6b
xor eax, eax
jmp 0x43ce6d
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0045a4a8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x43ce89
test al, 0x10
jne 0x43ce8d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x441f94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x441fcd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0045a558
jmp 0x441fd6
mov eax, ebx
mov edx, esi
call fcn.0045a41c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x441fe0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x442002
movzx eax, word [esp]
jmp 0x442004
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x442794
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4428b9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004425a4
mov esi, eax
mov eax, dword [0x59e2b0]
cmp byte [eax], 0
je 0x442861
mov eax, dword [0x59e2b4]
call fcn.00457a00
call fcn.004576c0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x44276c]
call fcn.0045be38
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4428d4
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x44289d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x59e11c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x59eac0]
call fcn.0045c040
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4428c0
lea eax, [ebp - 4]
mov edx, dword [0x44276c]
call fcn.0045bf58
ret

Function at 0x443aa8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x443b7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0045a470
lea eax, [ebp - 4]
call fcn.0045ae20
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045a4a8
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x443b68
mov eax, ebx
call fcn.004574d0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x443b61
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
mov eax, dword [ebp - 4]
call fcn.0045a4a8
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x443b4b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x443b90
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x443b4b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443b68
mov eax, dword [ebp - 0x10]
call fcn.004574ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443b85
lea eax, [ebp - 4]
call fcn.0045a40c
ret
Function at 0x444de7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00459704
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edi, eax
cmp edi, 0x104
jbe 0x444e0a
mov eax, edi
add eax, eax
call fcn.004574d0
mov esi, eax
jmp 0x444e0c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
push edi
push esi
call sub.USER32.DLL_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x444e45
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x444e2f
mov eax, esp
cmp esi, eax
je 0x444e52
mov eax, esi
call fcn.004574ec
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x444e8c
cmp bl, 0
je 0x444e88
cmp bl, 0x41
jl 0x444e83
cmp bl, 0x5a
jg 0x444e83
or bl, 0x20
xor al, bl
inc esi
jmp 0x444e67
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x444dcc

Function at 0x4590b8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5a1130], 0
je 0x459119
cmp word [0x5a140c], 0xd7b2
jne 0x4590e1
cmp dword [0x5a1414], 0
jbe 0x4590e1
mov eax, 0x5a1408
call dword [0x5a1424]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x459144
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x593fb8], 0
jne 0x459135
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x4592c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x593f88], 0
je 0x4592ea
mov edx, esi
mov eax, ebx
call dword [0x593f88]
jmp 0x4592f9
mov eax, 8
call fcn.004574d0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x5a1131], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x45928c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc