joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458690
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov byte [ebp - 0x15], 0
mov eax, dword [0x54fc80]
mov edx, dword [eax]
call dword [edx + 8]
push 0x4587a4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x28], eax
push 0x4587b0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
xor eax, eax
push ebp
push 0x458797
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4587c0
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
push 0x4587d8
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
push 0x4587f0
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x24], eax
push 0x458800
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
push 0x45881c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
push 0x45882c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x45883c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x1c], eax
push 0x45884c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x20], eax
call fcn.00455594
test al, al
je 0x458757
push ebp
call fcn.00458630
pop ecx
jmp 0x45875e
push ebp
call fcn.004584f4
pop ecx
mov edx, 0x457e1c
mov eax, dword [0x54fc80]
call fcn.0041b7c4
cmp byte [ebp - 0x15], 0
jne 0x45877a
push ebp
call fcn.00457ed8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45879e
cmp dword [ebp - 0x28], 0
je 0x458796
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
Function at 0x4599b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x459b2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x459a13
cmp byte [ebp - 5], 0x80
jb 0x459a13
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
movzx edx, byte [ebp - 5]
mov eax, ebx
call fcn.00403514
movzx ecx, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x459b03
cmp byte [esi + 0x3b], 0
je 0x459a73
mov eax, dword [0x55bae8]
mov edx, dword [esi + 0x37]
call fcn.00405820
je 0x459a63
mov eax, dword [esi + 0x37]
call fcn.0043bb78
mov eax, 0x55bae8
mov edx, dword [esi + 0x37]
call fcn.00405430
movzx ecx, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.0043bc2c
jmp 0x459aac
cmp byte [ebx], 0
je 0x459aac
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405640
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0043bf58
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x459b48
call fcn.00405710
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00405694
cmp byte [ebp - 6], 0
je 0x459b14
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00405640
push dword [ebp - 0x1c]
push 0x459b54
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004599b4
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00405640
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040578c
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.00405694
jmp 0x459b14
movzx edx, byte [ebx]
test edx, edx
jle 0x459b14
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x459b0d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459b36
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00405400
ret
Function at 0x462260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x184], ecx
mov esi, edx
lea edi, [ebp - 0x17c]
mov ecx, 0x5e
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push ebp
push 0x462330
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push 0x462348
push edi
lea edx, [ebp - 0x184]
mov eax, ebx
call fcn.00409cc4
push dword [ebp - 0x184]
lea eax, [ebp - 0x180]
mov edx, 3
call fcn.0040578c
mov eax, dword [ebp - 0x180]
call fcn.00405888
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x46230c
push 0
lea eax, [ebp - 4]
push eax
push 0x178
lea eax, [ebp - 0x17c]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
inc ebx
cmp ebx, 4
jne 0x46229b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462337
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.00405400
ret

Function at 0x465960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
inc esi
mov eax, ebx
mov edx, esi
call fcn.00405b18
mov eax, ebx
call fcn.004058e8
push eax
push esi
push 0xd
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4659bf
sub eax, 4
mov eax, dword [eax]
mov edx, ebx
mov ecx, 1
xchg edx, eax
call fcn.00405930
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4659d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, 0x55b8d8
xor eax, eax
push ebp
push 0x465aa2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0xe
push 0x6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
inc ebx
mov eax, esi
mov edx, ebx
call fcn.00405b18
mov eax, esi
call fcn.004058e8
push eax
push ebx
push 0xd
push 0x6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x465a48
sub eax, 4
mov eax, dword [eax]
mov edx, esi
mov ecx, 1
xchg edx, eax
call fcn.00405930
lea edx, [ebp - 8]
mov eax, dword [esi]
call fcn.004099e0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00405430
lea ecx, [ebp - 0xc]
mov dl, 0x7b
mov eax, dword [0x55b7e0]
call fcn.0042e5b8
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov eax, 7
call fcn.0045f10c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465aa9
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405400
ret
Function at 0x4671d4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x54fcb8], 0
jne 0x467221
xor esi, esi
mov edx, 0x55c1bc
mov eax, esi
mov ebx, 8
test al, 1
je 0x467207
shr eax, 1
xor eax, 0xedb88320
jmp 0x467209
shr eax, 1
dec ebx
jne 0x4671fa
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x4671f3
mov byte [0x54fcb8], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x46724e
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x55c1bc]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x46722d
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x46a304
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x46a30d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405878
mov eax, dword [ebp - 8]
call fcn.00405878
mov eax, dword [ebp - 0xc]
call fcn.00405878
xor eax, eax
push ebp
push 0x46a538
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0042ce9c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00405474
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0042ce9c
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00405474
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x46a550
mov eax, 0x80000000
call fcn.0042da18
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.0042ce9c
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00405474
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403b4c
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b4c
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x55b8ac]
mov edx, 0x46a574
call fcn.00405710
push 0x46a584
push dword [ebp - 4]
push 0x46a594
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.0046a218
push dword [ebp - 0x84]
push 0x46a5a8
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00405710
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0046a218
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.0040578c
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x46a5b8
mov eax, dword [ebp - 0x14]
call fcn.0042d7d4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405888
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x46a4f0
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0x6c]
call fcn.00456d10
test eax, eax
je 0x46a4bf
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x46a4dc
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x46a50d
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040d948
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.004568f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a53f
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00405400
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405400
ret
Function at 0x46a804
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x168], edx
mov esi, eax
lea eax, [ebp - 0x160]
mov edx, dword [0x408974]
call fcn.00405ec0
xor eax, eax
push ebp
push 0x46a994
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41900c]
call fcn.004043a8
mov dword [ebp - 0x164], eax
xor edx, edx
push ebp
push 0x46a95e
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [ebp - 0x164]
call fcn.0041dca0
mov ebx, 0x20
lea eax, [ebp - 0x168]
mov ecx, 0x46a9ac
mov edx, esi
call fcn.00405710
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x160]
mov edx, ebx
call fcn.0040a36c
test eax, eax
jne 0x46a8cb
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x160]
call fcn.0040a3bc
test eax, eax
je 0x46a8a0
lea eax, [ebp - 0x160]
call fcn.0040a3e0
mov eax, dword [ebp - 0x164]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0xa
jle 0x46a945
mov eax, dword [ebp - 0x164]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
sub ebx, 0xa
dec ebx
test ebx, ebx
jl 0x46a945
inc ebx
xor esi, esi
lea ecx, [ebp - 0x170]
mov edx, esi
mov eax, dword [ebp - 0x164]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x170]
call fcn.00405888
mov edx, eax
lea eax, [ebp - 0x16c]
call fcn.004055d4
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x174], edi
mov eax, dword [ebp - 0x174]
call fcn.00405888
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
inc esi
dec ebx
jne 0x46a8f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a965
mov eax, dword [ebp - 0x164]
call fcn.004043d8
ret
Function at 0x46b7c4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46b7cc
push ecx
push ebx
push esi
mov esi, 0x55b7e0
xor eax, eax
push ebp
push 0x46baa1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x55ba90], 1
mov eax, dword [0x55baec]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x55baf0]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.00456a30
call fcn.0046a0b4
xor edx, edx
push ebp
push 0x46ba65
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x55c18c]
call fcn.0045b678
xor edx, edx
push ebp
push 0x46ba2e
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0045b744
xor edx, edx
push ebp
push 0x46b9ee
push dword fs:[edx]
mov dword fs:[edx], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46b873
mov al, 1
call fcn.0046b700
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46b873
push ebp
call fcn.0046a9b4
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x46b8af
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46b894
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x46b89b
xor eax, eax
call fcn.0046b700
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x46b8af
push ebp
call fcn.0046b5b0
pop ecx
and bl, al
test bl, bl
jne 0x46b8c8
mov eax, dword [esi]
test byte [eax + 0x331], 0x10
je 0x46b8c8
mov eax, dword [0x55b8ac]
call fcn.00456e8c
mov eax, dword [esi]
test byte [eax + 0x2f1], 2
je 0x46b94b
cmp byte [ebp - 0xd], 0
jne 0x46b94b
test bl, bl
je 0x46b915
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.0042e5b8
mov eax, dword [ebp - 0x14]
call fcn.00405888
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.0042e5b8
mov eax, dword [ebp - 0x18]
call fcn.00405888
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x46b94b
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.0042e5b8
mov eax, dword [ebp - 0x1c]
call fcn.00405888
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.0042e5b8
mov eax, dword [ebp - 0x20]
call fcn.00405888
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x331], 0x20
je 0x46b99c
test bl, bl
jne 0x46b99c
lea eax, [ebp - 0x24]
call fcn.0046a778
mov eax, dword [ebp - 0x24]
call fcn.00405888
push eax
lea eax, [ebp - 0x28]
call fcn.0045b414
mov eax, dword [ebp - 0x28]
call fcn.00405888
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.0046a778
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040a518
mov eax, dword [ebp - 0x2c]
call fcn.0046a804
lea eax, [ebp - 0x34]
call fcn.0045b414
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x38]
call fcn.00405888
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b9f5
lea eax, [ebp - 0x3c]
call fcn.0045b5c0
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x38]
call fcn.00405888
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
ret
Function at 0x46bb04
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46bc0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0045b2f4
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
call fcn.00405888
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
call fcn.0042dc0c
test al, al
jne 0x46bbe7
mov eax, dword [0x55b7e0]
cmp byte [eax + 0x324], 0
je 0x46bbe7
mov eax, dword [0x55b914]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x55b7e0]
cmp eax, dword [edx + 0x328]
jne 0x46bbe7
mov eax, dword [0x55b914]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xc]
mov eax, dword [0x55b914]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0040d878
fstp qword [ebp - 0x14]
wait
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [0x55b914]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0040d878
fsubr qword [ebp - 0x14]
mov eax, dword [0x55b7e0]
fild dword [eax + 0x32c]
fdiv dword [0x46bc1c]
fcompp
wait
fnstsw ax
sahf
jb 0x46bbe7
mov eax, dword [0x55b7e0]
movzx eax, byte [eax + 0x324]
call fcn.00477780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bc14
lea eax, [ebp - 0x18]
call fcn.004053dc
lea eax, [ebp - 0xc]
call fcn.004053dc
lea eax, [ebp - 4]
call fcn.004053dc
ret

Function at 0x46d28c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46d300
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x46d30c]
call fcn.004035cc
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409db0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x46d318
call fcn.00405710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d307
lea eax, [ebp - 0x24]
call fcn.004053dc
ret

Function at 0x46d31c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46d390
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x46d39c]
call fcn.004035cc
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409db0
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x46d3a8
call fcn.00405710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d397
lea eax, [ebp - 0x24]
call fcn.004053dc
ret
Function at 0x46df4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e0b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004053dc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
call fcn.00405888
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x46e08e
mov eax, dword [ebp - 8]
call fcn.00402f18
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46e087
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46e06e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x46e0c0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46e06e
push 0x46e0e4
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00409dd8
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409dd8
push dword [ebp - 0x20]
push 0x46e100
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040578c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00405888
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46e06e
cmp dword [ebp - 0x10], 1
jbe 0x46e06e
mov eax, dword [ebp - 0x18]
call fcn.0040aa2c
mov ecx, eax
mov eax, esi
mov edx, dword [ebp - 0x18]
call fcn.004054cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e08e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00402f34
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e0b8
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405400
lea eax, [ebp - 4]
call fcn.004053dc
ret
Function at 0x46e148
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405878
xor eax, eax
push ebp
push 0x46e22d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004053dc
cmp dword [ebp - 4], 0
je 0x46e198
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x46e198
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00405930
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405888
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46e217
mov eax, ebx
mov edx, 0x400
call fcn.00405b18
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46e1d3
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.00405888
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46e207
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00405b18
jmp 0x46e20e
mov eax, ebx
call fcn.004053dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e234
lea eax, [ebp - 4]
call fcn.004053dc
ret

Function at 0x46e23c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405878
mov eax, dword [ebp - 8]
call fcn.00405878
xor eax, eax
push ebp
push 0x46e312
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x46e28e
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x46e28e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00405930
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405888
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46e2f7
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405888
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46e2ee
cmp dword [ebp - 0x14], 4
jne 0x46e2ee
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e319
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405400
ret