joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422010
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eda8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4d304c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.004070b0
test al, al
jne 0x42206a
cmp byte [ebp + 8], al
jne 0x422071
mov eax, dword [ebx]
test eax, eax
je 0x4221d1
cmp byte [eax + 0xa5], 0
je 0x4221d1
xor al, al
jmp 0x4221e7
mov ecx, esi
call fcn.004070b0
test al, al
jne 0x4221d1
push esi
call fcn.0040a970
add esp, 4
test al, al
je 0x422099
push esi
push edi
call fcn.00421bd0
jmp 0x4221cd
push 0xb
mov ecx, esi
call fcn.004070c0
push eax
mov ecx, edi
call fcn.004070c0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x4220be
mov al, 1
jmp 0x4221cd
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.00407260
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.0041c740
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.00407260
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0041c740
test al, al
jne 0x42210b
cmp byte [ebp - 0x60], al
je 0x422147
push 0xb
lea ecx, [ebp - 0x40]
call fcn.004070c0
push eax
lea ecx, [ebp - 0x58]
call fcn.004070c0
push eax
call ebx
test eax, eax
je 0x422147
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407180
mov al, 1
jmp 0x4221cd
mov ecx, esi
call fcn.0041bcc0
cmp eax, 0xffffffff
je 0x4221b0
push esi
lea ecx, [ebp - 0x28]
call fcn.00407280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0041c390
test al, al
je 0x4221a4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041bd60
test al, al
je 0x4221a4
mov edx, esi
mov ecx, edi
call fcn.0041bd60
lea ecx, [ebp - 0x28]
test al, al
je 0x42219d
call fcn.0041bf70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407180
jmp 0x422125
mov edx, esi
call fcn.0041bd60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407180
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407180
xor al, al
test al, al
jne 0x4221e5
push edi
call fcn.0040a970
add esp, 4
test al, al
je 0x4221e5
mov ecx, edi
call fcn.0041bf70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476b97
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423930
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4d304c]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call fcn.00479a50
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4239ae
cmp dword [esp + 0x14], 6
jb 0x4239ae
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.004237a0
add esp, 0xc
test al, al
je 0x4239ae
cmp word [esi], 0
jne 0x423a06
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.004237a0
add esp, 0xc
test al, al
je 0x4239da
cmp word [esi], 0
jne 0x423a06
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.004237a0
add esp, 0xc
test al, al
je 0x423a1b
cmp word [esi], 0
je 0x423a1b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00476b97
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.00476b97
mov esp, ebp
pop ebp
ret
Function at 0x423ff0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.0048fa70
push 0xffffffffffffffff
push 0x49f1a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d304c]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call fcn.00479a50
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x4241f1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4241f1
push esi
call edi
cmp eax, 0xffa
jge 0x4241f1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x4be040
lea eax, [ebp + 0x630]
push eax
call esi
push 0x4be044
lea ecx, [ebp - 0x2c]
call fcn.00407220
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407180
test esi, esi
je 0x4241f1
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4241f1
lea ecx, [ebp]
call fcn.00423a30
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x424116
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x424124
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4240f5
jmp 0x424146
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x42413e
add ebx, 0x10
test ebx, ebx
jne 0x4241ed
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4241e8
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call fcn.00479a50
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4241de
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4241e8
inc esi
cmp esi, 2
jb 0x424180
mov eax, ebx
jmp 0x4241f3
mov ebx, 0x10
mov eax, ebx
jmp 0x4241f3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.00476b97
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x427880
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4d304c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.00479a50
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x427917
cmp dword [esp + 8], 6
jb 0x427917
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.00476b97
add esp, 0x118
ret

Function at 0x427930
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4d304c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.00407220
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00407220
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00407180
test ebx, ebx
je 0x427a45
test esi, esi
je 0x427a45
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42df30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f038
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d304c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2c], ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407280
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004089d0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00407460
lea ecx, [ebp - 0x28]
cmp eax, 2
jbe 0x42e05e
call fcn.004073c0
mov esi, eax
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x42dfa3
mov ecx, dword [esi]
cmp word [ecx], 0x5c
jne 0x42dfbd
mov ecx, esi
cmp eax, 8
jb 0x42dfb2
mov ecx, dword [esi]
cmp word [ecx + 2], 0x5c
je 0x42e126
mov ecx, esi
cmp eax, 8
jb 0x42dfc6
mov ecx, dword [esi]
cmp word [ecx], 0x2f
jne 0x42dfdc
mov ecx, esi
cmp eax, 8
jb 0x42dfd5
mov ecx, dword [esi]
cmp word [ecx + 2], 0x2f
je 0x42e02f
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.00408810
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
cmp eax, 8
jb 0x42dff8
mov ecx, dword [esi]
cmp word [ecx + 2], 0x3a
jne 0x42e02f
mov ecx, esi
cmp eax, 8
jb 0x42e008
mov ecx, dword [esi]
cmp word [ecx + 4], 0x5c
jne 0x42e02f
mov ecx, esi
cmp eax, 8
jb 0x42e018
mov ecx, dword [esi]
cmp word [ecx], 0x61
jb 0x42e02f
cmp eax, 8
jb 0x42e025
mov esi, dword [esi]
cmp word [esi], 0x7a
jbe 0x42e107
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476b97
mov esp, ebp
pop ebp
ret
call fcn.00407460
cmp eax, 2
jne 0x42e02f
lea ecx, [ebp - 0x28]
call fcn.004073c0
mov esi, eax
mov edi, dword [esi + 0x14]
cmp edi, 8
jb 0x42e07c
mov eax, dword [esi]
cmp word [eax + 2], 0x3a
jne 0x42e02f
mov eax, esi
cmp edi, 8
jb 0x42e08c
mov eax, dword [esi]
cmp word [eax], 0x61
jb 0x42e02f
mov eax, esi
cmp edi, 8
jb 0x42e09b
mov eax, dword [esi]
cmp word [eax], 0x7a
ja 0x42e02f
push 0x4b8880
call fcn.004075d0
mov edx, dword [esi + 0x10]
mov ecx, edi
sub ecx, edx
add esp, 4
cmp eax, ecx
ja 0x42e0f1
lea ebx, [edx + eax]
mov dword [esi + 0x10], ebx
cmp edi, 8
jb 0x42e0c6
mov esi, dword [esi]
push eax
lea eax, [esi + edx*2]
push 0x4b8880
push eax
call fcn.004077e0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.004077d0
mov ebx, dword [ebp - 0x2c]
add esp, 0x14
jmp 0x42e107
push eax
push 0x4b8880
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00407c00
lea ecx, [ebp - 0x28]
call fcn.004070c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e02f
shr eax, 4
and al, 1
mov byte [ebx], al
mov bl, 1
jmp 0x42e031
Function at 0x42f210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x4d6890], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x4d6590], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x4d6790], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x4d6690], al
inc esi
cmp esi, 0x100
jl 0x42f320
pop esi
add esp, 0x80
ret
Function at 0x430f90
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x628]
sub esp, 0x628
push 0xffffffffffffffff
push 0x4a04e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d304c]
xor eax, ebp
mov dword [ebp + 0x624], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x630]
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp + 0x634]
call fcn.00407260
mov dword [ebp - 4], 0
mov eax, dword [0x4d6578]
mov dword [ebp], 0
mov dword [ebp], 0x4d6578
test eax, eax
je 0x431004
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ecx, 0x4d6554
call fcn.004070b0
test al, al
jne 0x431048
mov ecx, 0x4d6554
call fcn.004073c0
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x4310fd
mov ecx, 0x4d6554
call fcn.004073c0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x43103f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x4310f5
push 0x20c
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.00479a50
add esp, 0xc
lea eax, [ebp + 0x418]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x431199
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x622], ax
lea eax, [ebp + 4]
push eax
call fcn.00479a50
add esp, 0xc
lea eax, [ebp + 4]
push 0x208
push eax
lea eax, [ebp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x4310de
test eax, eax
je 0x4310de
add eax, eax
cmp eax, 0x412
jae 0x4311ec
xor ecx, ecx
mov word [ebp + eax + 4], cx
lea eax, [ebp + 4]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 4]
jmp 0x4310f4
lea eax, [ebp + 0x418]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 0x418]
push eax
lea ecx, [ebp - 0x24]
call fcn.00407470
mov byte [ebp - 4], 0
mov eax, dword [0x4d6578]
test eax, eax
je 0x431111
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push edi
lea eax, [ebp - 0x24]
mov dword [ebp], 0
push eax
mov ecx, esi
call fcn.00430f20
test al, al
je 0x431130
mov bl, 1
jmp 0x4311b6
push 0x20c
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.00479a50
add esp, 0xc
lea eax, [ebp + 0x418]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x4311b4
xor eax, eax
mov word [ebp + 0x622], ax
lea eax, [ebp + 0x418]
push eax
call fcn.004075d0
add esp, 4
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp + 0x418]
push eax
call fcn.00407470
push ebx
push edi
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00430f20
mov bl, al
jmp 0x4311b6
mov byte [ebp - 4], 0
mov eax, dword [0x4d6578]
test eax, eax
je 0x4311ad
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp], 0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00407180
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x624]
xor ecx, ebp
call fcn.00476b97
lea esp, [ebp + 0x628]
pop ebp
ret 8
call fcn.004771f2
int3
Function at 0x431200
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4c9268
push 0x4785d0
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4d304c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x434], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004070d0
mov edx, esi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00431320
mov bl, al
mov byte [ebp - 0x42d], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x43128e
test bl, bl
jne 0x4312fd
cmp edi, 0x1a
jne 0x4312fd
mov ecx, esi
call fcn.004070d0
push 0x410
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.00479a50
add esp, 0xc
push 0x207
lea eax, [ebp - 0x42c]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x42c]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call fcn.00407470
mov ecx, esi
call fcn.004070b0
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00476b97
mov esp, ebp
pop ebp
ret
Function at 0x443450
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x44345b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00443470
Function at 0x4573d0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x4a4792
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d304c]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x457414
call fcn.00457560
cmp byte [0x4d654c], 0
jne 0x457427
mov eax, 0x80000001
jmp 0x45753b
mov eax, dword [esi]
test eax, eax
jne 0x457492
push 8
call fcn.00476ba8
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.00476ba8
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.00479a50
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x457481
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x45752a
call fcn.0041d370
test al, al
jne 0x4574cc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0041d8e0
test al, al
je 0x45752a
mov ecx, dword [esi]
add ecx, 4
call fcn.0041ce90
call fcn.0041d370
test al, al
je 0x45752a
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.00407220
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.00415ab0
mov ecx, eax
call fcn.00415b70
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407180
test edi, edi
je 0x45752a
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45752a
push dword [esi]
push 0x20019
call eax
test eax, eax
je 0x45752a
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x457539
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00476b97
lea esp, [ebp + 0x120]
pop ebp
ret 4
Function at 0x458be0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4b0f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d304c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00407180
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00407180
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00407180
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00407180
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00407180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x459e60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4cdf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d304c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00407f40
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00407f40
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00407f40
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00407f40
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00407f40
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00407f40
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45b8c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a49ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d304c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00407280
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00407280
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00407280
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00407280
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00407280
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00407280
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4