joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463444
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4634e3
cmp dword [ebx + 0x94], 0
jne 0x4634dd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4633cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4634dd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4634a3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4634dd
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419c58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4634b2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4636fc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4efca0]
cmp dword [eax + 0x30], 0
je 0x463859
test bl, bl
jne 0x4637aa
cmp dword [esi + 0x9c], 0
jne 0x46379f
mov eax, esi
call fcn.00466094
push eax
push 0x463628
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x463770
mov eax, dword [0x4efca0]
call fcn.00466774
test al, al
je 0x463770
mov eax, dword [0x4efcc4]
call fcn.004069c4
mov edi, eax
cmp edi, 0
jl 0x463770
push 0
mov eax, dword [0x4efcc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46375a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46379f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419c58
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46377f
inc dword [esi + 0x9c]
jmp 0x463859
cmp dword [esi + 0x9c], 0
jle 0x463859
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x463859
cmp dword [esi + 0x44], 0
je 0x463805
mov eax, dword [0x4efca0]
call fcn.00466774
test al, al
je 0x463805
mov eax, dword [0x4efcc4]
call fcn.004069c4
mov edi, eax
cmp edi, 0
jl 0x463805
push 5
mov eax, dword [0x4efcc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4637ef
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x463834
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419c58
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x463814
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4efcc4
mov ecx, 1
mov edx, dword [0x463608]
call fcn.00406b78
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x464340
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4643aa
mov eax, ebx
call fcn.00466774
test al, al
jne 0x4643aa
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004055dc
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x464397
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4643b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405540
jmp 0x4643b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405540
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x465898
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465906
mov eax, esi
call fcn.0044e384
test al, al
je 0x465906
mov eax, dword [ebx + 0x84]
call fcn.0044dfe4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465906
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4658fa
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044dfe4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445e60
jmp 0x465906
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004656d4
pop esi
pop ebx
ret

Function at 0x46ae70
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x441ddc]
call fcn.0040484c
test al, al
je 0x46aeb2
mov eax, dword [0x4ea51c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46aeb2
mov edx, dword [0x4ea51c]
xor edx, edx
call fcn.0045c304
push 0
mov eax, dword [0x4ea51c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x46b7f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b8da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040597c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jbe 0x46b8c4
xor eax, eax
push ebp
push 0x46b8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00402ee0
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040597c
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 4]
mov byte [eax + 8], bl
test bl, bl
je 0x46b8a4
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046b940
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00405540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b8c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b8e1
lea eax, [ebp - 8]
call fcn.004054ec
ret
Function at 0x46d5d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040596c
xor eax, eax
push ebp
push 0x46d779
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x11e]
xor ecx, ecx
mov edx, 0x105
call fcn.00403b08
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405584
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040597c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
xor eax, eax
push ebp
push 0x46d747
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00402ee0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46d72b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x46d788
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
lea edx, [ebp - 0x128]
xor ecx, ecx
mov eax, 0x46d7ac
call fcn.0040b0ec
push 0x46d7bc
lea eax, [ebp - 0x12c]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.004059e4
push dword [ebp - 0x12c]
lea eax, [ebp - 0x130]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004059e4
push dword [ebp - 0x130]
push 0x46d7d8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405880
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.0040597c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46d72b
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d74e
cmp dword [ebp - 0x14], 0
je 0x46d746
mov eax, dword [ebp - 0x14]
call fcn.00402efc
ret
Function at 0x46dc8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46dd43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004054ec
lea eax, [ebp - 4]
mov edx, 0x401
call fcn.00405c0c
or edi, 0xffffffff
inc edi
mov dword [ebp - 0xc], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040597c
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x46dd21
cmp dword [esi], 0
je 0x46dd05
mov eax, esi
mov edx, 0x46dd5c
call fcn.004057b8
mov eax, dword [ebp - 4]
call fcn.0040597c
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004056e4
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004057b8
test ebx, ebx
je 0x46dcc7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd4a
lea eax, [ebp - 0x10]
call fcn.004054ec
lea eax, [ebp - 4]
call fcn.004054ec
ret
Function at 0x46de24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x46df92
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, esi
call fcn.0040597c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xea
je 0x46de88
cmp dword [ebp - 0x14], 0
jne 0x46df67
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00405c0c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
call fcn.004059dc
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, esi
call fcn.0040597c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
cmp dword [ebp - 0xc], 2
je 0x46dec0
cmp dword [ebp - 0xc], 1
jne 0x46ded7
push edi
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004059e4
jmp 0x46df71
cmp dword [ebp - 0xc], 3
jne 0x46dee3
cmp dword [ebp - 0x10], 4
je 0x46dee9
cmp dword [ebp - 0xc], 4
jne 0x46df1e
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
call fcn.004059dc
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.00403138
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x14]
call fcn.00403f04
lea edx, [ebp - 0x114]
mov eax, edi
call fcn.00405750
jmp 0x46df71
cmp dword [ebp - 0xc], 3
jne 0x46df71
mov eax, edi
mov edx, 0x46dfac
call fcn.00405540
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jle 0x46df71
mov esi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
lea ecx, [ebp - 0x118]
mov edx, 2
call fcn.0046af5c
mov edx, dword [ebp - 0x118]
mov eax, edi
call fcn.004057b8
inc esi
dec ebx
jne 0x46df3c
jmp 0x46df71
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46df99
lea eax, [ebp - 0x118]
call fcn.004054ec
lea eax, [ebp - 4]
call fcn.004054ec
ret

Function at 0x46dfb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
lea eax, [esp + 8]
push eax
push 0
mov eax, edi
call fcn.0040597c
push eax
push esi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x46dfe9
test eax, eax
jne 0x46e018
mov eax, ebx
mov edx, dword [esp + 4]
call fcn.00405c0c
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004059dc
push eax
lea eax, [esp + 8]
push eax
push 0
mov eax, edi
call fcn.0040597c
push eax
push esi
call sub.advapi32.dll_RegQueryValueExA
jmp 0x46e01f
mov eax, ebx
call fcn.004054ec
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x46e028
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e0e7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, esi
call fcn.0040597c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x46e074
test eax, eax
jne 0x46e0d1
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00405c0c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
call fcn.004059dc
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, esi
call fcn.0040597c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
cmp dword [ebp - 0xc], 3
je 0x46e0ac
cmp dword [ebp - 0xc], 4
jne 0x46e0d1
cmp dword [ebp - 0x10], 4
jle 0x46e0b9
mov dword [ebp - 0x10], 4
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
call fcn.004059dc
lea edx, [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.00403138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e0ee
lea eax, [ebp - 4]
call fcn.004054ec
ret

Function at 0x46e160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e259
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004054ec
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.0040597c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
push eax
call sub.KERNEL32.DLL_SetLastError
call sub.KERNEL32.DLL_GetLastError_1
test eax, eax
jne 0x46e243
cmp dword [ebp - 4], 7
jne 0x46e243
mov eax, dword [ebp - 8]
call fcn.00402ee0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46e23c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, edi
call fcn.0040597c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, dword [ebp - 0xc]
jmp 0x46e221
push dword [esi]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004056e4
push dword [ebp - 0x10]
push 0x46e270
mov eax, esi
mov edx, 3
call fcn.00405880
push ebx
call sub.KERNEL32.DLL_lstrlenA_1
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x46e1f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e243
mov eax, dword [ebp - 0xc]
call fcn.00402efc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e260
lea eax, [ebp - 0x10]
call fcn.004054ec
ret
Function at 0x46e57c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], eax
xor eax, eax
push ebp
push 0x46e607
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x105]
call fcn.004056e4
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.0046b438
mov edx, dword [ebp - 0x10c]
mov eax, 0x4d99a0
mov ecx, 0x46e61c
call fcn.00405804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e60e
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00405510
ret

Function at 0x46f7cc
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push 5
lea eax, [esp + 4]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale_2
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
mov eax, ebx
mov edx, esp
call fcn.004056e4
pop ecx
pop edx
pop ebx
ret

Function at 0x46fd0c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x46fdc0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [0x4ea1d8]
cmp byte [eax], 0
je 0x46fd42
call fcn.0046fa74
test al, al
je 0x46fd42
call fcn.0046fc0c
mov edi, eax
jmp 0x46fda5
mov eax, dword [0x4ea718]
cmp dword [eax], 2
jne 0x46fda5
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
mov ebx, 2
mov ecx, ebx
mov eax, 1
shl eax, cl
test eax, esi
je 0x46fd9f
push 0x46fdd8
lea eax, [ebp - 8]
mov edx, ebx
add dl, 0x61
call fcn.004056d4
push dword [ebp - 8]
push 0x46fde8
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405880
mov eax, dword [ebp - 4]
call fcn.0046f9ec
test eax, eax
jle 0x46fd9f
mov edi, eax
cmp eax, 2
je 0x46fda5
inc ebx
cmp ebx, 0x1a
jne 0x46fd58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fdc7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405510
ret

Function at 0x46fdec
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46fe51
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov ecx, 3
mov edx, 1
mov eax, ebx
call fcn.004059e4
mov eax, dword [ebp + 8]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.0040597c
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fe58
lea eax, [ebp - 4]
call fcn.004054ec
ret

Function at 0x470040
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 8]
shr eax, 0x14
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040a0a8
add esp, 0x20
pop ebx
ret
Function at 0x470c5c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x470d0b
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_GetPriorityClass
mov ebx, eax
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
push 0xf
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push 0xa
call sub.KERNEL32.DLL_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.KERNEL32.DLL_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push ebx
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x470d34]
fstp qword [ebp - 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x470d29
fld qword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47426c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4742c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
lea eax, [ebp - 5]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 5]
call fcn.004056e4
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004099c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4742cd
lea eax, [ebp - 0xc]
call fcn.004054ec
ret
Function at 0x4749d4
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x26
push 0
push 0
dec ecx
jne 0x4749dd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x474c7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [0x4f0084], 0
je 0x474c4f
cmp dword [0x4f0070], 0
je 0x474a54
lea eax, [ebp - 0x118]
call fcn.00474960
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.0046b438
push dword [ebp - 0x114]
push 0x474c94
push ebx
push 0x474ca8
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405880
jmp 0x474a94
push 0x104
lea eax, [ebp - 0x10e]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x10e]
call fcn.004056e4
push dword [ebp - 0x11c]
push 0x474c94
push ebx
push 0x474cb8
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405880
mov eax, dword [ebp - 4]
call fcn.0046b0d4
test al, al
jne 0x474bcf
test esi, esi
je 0x474bcf
push esi
push 0x474cc8
push ebx
push 0x474cb8
lea eax, [ebp - 0x120]
mov edx, 4
call fcn.00405880
mov eax, dword [ebp - 0x120]
call fcn.0046b0d4
test al, al
je 0x474af2
push esi
push 0x474cc8
push ebx
push 0x474cb8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405880
jmp 0x474b36
push esi
push 0x474cd4
push ebx
push 0x474cb8
lea eax, [ebp - 0x124]
mov edx, 4
call fcn.00405880
mov eax, dword [ebp - 0x124]
call fcn.0046b0d4
test al, al
je 0x474b36
push esi
push 0x474cd4
push ebx
push 0x474cb8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405880
push 0
mov eax, dword [ebp - 4]
call fcn.0040597c
push eax
mov eax, dword [ebp - 8]
call fcn.0040597c
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x474bc8
call sub.KERNEL32.DLL_GetLastError_1
mov esi, eax
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 8]
mov edx, 0x474ce4
call fcn.00405804
mov eax, dword [ebp - 0x128]
call fcn.00474838
push 0x474cf8
lea edx, [ebp - 0x130]
mov eax, esi
call fcn.0046b064
push dword [ebp - 0x130]
push 0x474d08
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.00409fbc
push dword [ebp - 0x134]
push 0x474d14
lea eax, [ebp - 0x12c]
mov edx, 5
call fcn.00405880
mov eax, dword [ebp - 0x12c]
call fcn.00474838
mov byte [0x4d9af0], 1
mov edx, dword [ebp - 4]
mov eax, 0x474d20
call fcn.00405ac8
test eax, eax
jle 0x474bfa
push 0x474d2c
push dword [ebp - 4]
push 0x474d2c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405880
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040597c
push eax
push 1
push 3
push 1
push 0xf01ff
mov eax, ebx
call fcn.0040597c
mov esi, eax
push esi
push esi
push edi
call dword [0x4f0084]
mov ebx, eax
call sub.KERNEL32.DLL_GetLastError_1
mov esi, eax
test ebx, ebx
jne 0x474c43
cmp esi, 0x431
je 0x474c43
xor eax, eax
jmp 0x474c45
mov al, 1
mov byte [ebp - 9], al
push ebx
call dword [0x4f008c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c81
lea eax, [ebp - 0x134]
mov edx, 9
call fcn.00405510
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405510
ret