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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0x85fad7
push 0x85fae7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.004061b0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b653
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40bc30
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a689d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
cmp dword [ebp + 8], 0
je 0x40bdba
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x56c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x56c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x208]
mov dword [ebp - 0x64], edx
push 1
mov ecx, dword [ebp - 0x60]
call dword [ebp - 0x64]
push 0
push 0x64
push 0x3e8
mov ecx, dword [ebp - 0x5c]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0040b6a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403450
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00403490
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x40bce1
push 0x860038
lea ecx, [ebp - 0x28]
call fcn.0040e6e0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403470
push eax
call fcn.0077dd55
add esp, 8
test eax, eax
je 0x40bd09
lea ecx, [ebp - 0x28]
call fcn.00403470
push eax
call fcn.0077e155
add esp, 4
mov ecx, dword [ebp - 0x5c]
call fcn.00405af0
push eax
lea ecx, [ebp - 0x40]
call fcn.00403610
mov byte [ebp - 4], 1
push 0x86003c
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00411c80
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040e700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00403560
push 0
lea ecx, [ebp - 0x28]
call fcn.00403470
push eax
call fcn.0077dd55
add esp, 8
test eax, eax
je 0x40bd80
lea ecx, [ebp - 0x28]
call fcn.00403470
push eax
call fcn.0077e155
add esp, 4
call fcn.004063c0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x28]
call fcn.00403470
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.0043e4d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403560
cmp dword [0x8aa1b4], 0
jne 0x40bddf
push 0
push 0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x40b7b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x8aa1b4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 4
Function at 0x40db70
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x70], 0x44
push 0x40
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.00774aa0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0x5b0
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00403780
mov dword [ebp - 0x44], 1
mov edx, 1
mov word [ebp - 0x40], dx
mov ecx, dword [ebp - 0x20]
add ecx, 0x598
call fcn.00403470
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.00403470
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x2c], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40ddc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x408], ecx
push 0x400
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00774aa0
add esp, 0xc
mov ecx, dword [ebp - 0x408]
call fcn.0040dca0
test eax, eax
je 0x40deb6
push 0x400
push 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.00774aa0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.powershell__inputformat_none__outputformat_none__NonInteractive__Command__Add_MpPreference__ExclusionPath__s_
push 0x400
lea eax, [ebp - 0x404]
push eax
call fcn.00405600
add esp, 0x10
push 0x44
push 0
lea ecx, [ebp - 0x45c]
push ecx
call fcn.00774aa0
add esp, 0xc
mov dword [ebp - 0x45c], 0x44
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x45c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40deb6
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 4

Function at 0x424fc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x42a050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a76ad
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
call fcn.0046a990
add esp, 4
lea eax, [ebp - 0x54]
push eax
call fcn.00462910
add esp, 4
mov dword [ebp - 4], 0
call fcn.00462c40
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 1
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 3
ja case.default.0x42a0b3
mov edx, dword [ebp - 0x58]
jmp dword [edx*4 + 0x42a268]
push 0x860af0
lea ecx, [ebp - 0x54]
call fcn.0046fa00
lea ecx, [ebp - 0x54]
call fcn.00402b70
push eax
call fcn.0046a920
add esp, 4
call fcn.00429f60
mov dword [ebp - 0x6c], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.res.xml
call fcn.00405de0
mov ecx, dword [ebp - 0x6c]
call fcn.00472e70
jmp case.default.0x42a0b3
push 0x860b0c
lea ecx, [ebp - 0x54]
call fcn.0046fa00
lea ecx, [ebp - 0x54]
call fcn.00402b70
push eax
call fcn.0046a920
add esp, 4
call fcn.00429f60
mov dword [ebp - 0x70], eax
push 0x860b20
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.IDR_RES
call fcn.00405de0
mov ecx, dword [ebp - 0x70]
call fcn.00472e70
jmp case.default.0x42a0b3
push 0
push 1
push 0x8aa1c0
call fcn.0046aa40
add esp, 0xc
call fcn.00429f60
mov dword [ebp - 0x74], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x860b2c
call fcn.00405de0
mov ecx, dword [ebp - 0x74]
call fcn.00472e70
jmp case.default.0x42a0b3
push str.skinADMonSetup_
lea ecx, [ebp - 0x54]
call fcn.0046fa00
lea ecx, [ebp - 0x54]
call fcn.00402b70
push eax
call fcn.0046a920
add esp, 4
call fcn.00441130
mov dword [ebp - 0x60], eax
push 0x860b50
push 0x69
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je case.default.0x42a0b3
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x42a235
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jbe 0x42a235
push 0
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0046a9a0
add esp, 0xc
call fcn.00429f60
mov dword [ebp - 0x78], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.skin_res.xml
call fcn.00405de0
mov ecx, dword [ebp - 0x78]
call fcn.00472e70
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0046f680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x42a280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a76f0
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00406290
lea ecx, [ebp - 0x4d4]
call fcn.0040db50
mov dword [ebp - 4], 0
push 0x8aa1c0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, 0x8aa1c0
add eax, 0xffffffff
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x4d5], dl
add dword [ebp - 0x4dc], 1
cmp byte [ebp - 0x4d5], 0
jne 0x42a2e1
mov edi, dword [ebp - 0x4dc]
mov eax, dword [str.skin.zip]
mov dword [edi], eax
mov ecx, dword [0x860b68]
mov dword [edi + 4], ecx
mov dl, byte [0x860b6c]
mov byte [edi + 8], dl
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x42a341
mov ecx, dword [ebp + 8]
push ecx
push str.https:__download.88gog.com_setup_channel__s_debug_skin.zip
lea edx, [ebp - 0x410]
push edx
call fcn.004055c0
add esp, 0xc
jmp 0x42a359
mov eax, dword [ebp + 8]
push eax
push str.https:__download.88gog.com_setup_channel__s_release_skin.zip
lea ecx, [ebp - 0x410]
push ecx
call fcn.004055c0
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push str.download_skin:__s_n
call fcn.004054e0
add esp, 8
push 1
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.00441e60
push 0x8aa1c0
lea ecx, [ebp - 0x4d4]
call fcn.00442a90
movzx ecx, al
test ecx, ecx
je 0x42a3bb
mov byte [ebp - 0x4d6], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.004064f0
mov al, byte [ebp - 0x4d6]
jmp 0x42a42d
lea ecx, [ebp - 0x4d4]
call fcn.004062a0
sub esp, 0x18
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x14]
mov dword [edx + 0x14], eax
push str.download_skin_error:__s_n
call fcn.004054e0
add esp, 0x1c
mov byte [ebp - 0x4d7], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.004064f0
mov al, byte [ebp - 0x4d7]
jmp 0x42a42d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x42a450
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x860c1c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42a4a3
push 0
push 0x860c30
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42a49c
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x42a66d
push 0
call fcn.00404c80
add esp, 4
call fcn.00406330
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00401cf0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x42a4d9
xor eax, eax
jmp 0x42a66d
push 0x6bc
call fcn.0075c186
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42a4fc
mov ecx, dword [ebp - 0x2c]
call fcn.00409650
mov dword [ebp - 0x30], eax
jmp 0x42a503
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.0042a030
mov byte [ebp - 0x21], al
mov ecx, dword [ebp - 0x20]
call fcn.00405af0
mov dword [ebp - 0x40], eax
movzx ecx, byte [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042a280
add esp, 8
movzx eax, al
test eax, eax
jne 0x42a558
push 0x30
push 0x860c44
push 0x860c50
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x42a66d
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046a510
add esp, 4
call fcn.0042a050
push str.d3d9.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x42a58c
push 0x30
push 0x860c78
push 0x860c84
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x20], 0
jne 0x42a599
xor eax, eax
jmp 0x42a66d
mov ecx, dword [ebp - 0x20]
call fcn.00405af0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403610
push 0x860cb0
lea ecx, [ebp - 0x1c]
call fcn.0040e6e0
call fcn.00406330
mov ecx, eax
call fcn.00401cb0
movzx edx, al
test edx, edx
je 0x42a60d
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push 0xfffffc18
push 0xfffffc18
push 0
push 0x10cf0000
lea ecx, [ebp - 0x1c]
call fcn.00403470
push eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.004710e0
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42a650
push 0
push 0x258
push 0x384
push 0
push 0
push 0
push 0x10cf0000
lea ecx, [ebp - 0x1c]
call fcn.00403470
push eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.004710e0
mov ecx, dword [ebp - 0x20]
call fcn.00470ee0
push 5
mov ecx, dword [ebp - 0x20]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004678a0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x1c]
call fcn.00403560
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42dab0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7dc1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x2c]
call fcn.00403740
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00403740
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call fcn.00403740
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.00403740
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0x60
call fcn.00403740
mov byte [ebp - 4], 4
push 0x64
call fcn.0075c186
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0
je 0x42db77
push 0x85fba1
lea ecx, [ebp - 0x28]
call fcn.00403610
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0042cdc0
mov dword [ebp - 0x38], eax
jmp 0x42db7e
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x78], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
and ecx, 1
je 0x42dbaf
and dword [ebp - 0x30], 0xfffffffe
lea ecx, [ebp - 0x28]
call fcn.00403560
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 8
Function at 0x4360d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8506
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x8a0204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00403780
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0042f3d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0x3c
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0042f240
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, 0x48
push edx
mov ecx, dword [ebp - 0x20]
call fcn.0042c220
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x436390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a853d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x68]
call fcn.00403740
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x78], 1
lea eax, [ebp - 0x70]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
push str.MachineGuid
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x7c], 0
jne 0x436432
cmp dword [ebp - 0x80], 0
jne 0x436432
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040e720
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004035a0
mov edx, dword [ebp - 0x6c]
or edx, 1
mov dword [ebp - 0x6c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00403560
mov eax, dword [ebp + 8]
jmp 0x43648d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x43e1c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8a85
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push edi
mov eax, dword [0x8a0204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00443890
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
mov dword [ebp - 0x20], ecx
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00443890
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.00441c40
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xe4
call fcn.0040db50
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x1a8
call fcn.00403740
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
add edx, 0x1c0
mov dword [ebp - 0x24], edx
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00443890
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0x1d0
mov dword [ebp - 0x28], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.00443890
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x1e0
mov dword [ebp - 0x2c], ecx
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00443890
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
add edx, 0x1f0
mov dword [ebp - 0x30], edx
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00443890
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x200], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x204], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x208], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x20c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x314], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x318
call fcn.0043fb30
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14]
add edx, 0x20e
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp - 0x14]
add eax, 0x20d
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + 1]
mov byte [ebp - 0xd], dl
add dword [ebp - 0x18], 1
cmp byte [ebp - 0xd], 0
jne 0x43e321
mov edi, dword [ebp - 0x18]
mov eax, dword [0x861534]
mov dword [edi], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x20e
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043f9c0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x20d], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43f9c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403610
mov dword [ebp - 4], 0
push 0
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00403380
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x43fa6b
mov ecx, dword [ebp - 0x44]
push ecx
push 0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403330
push 0
lea ecx, [ebp - 0x40]
call fcn.00403470
push eax
call fcn.0077dd55
add esp, 8
test eax, eax
je 0x43fa4d
lea ecx, [ebp - 0x40]
call fcn.00403470
push eax
call fcn.0077e155
add esp, 4
mov eax, dword [ebp - 0x44]
add eax, 1
push eax
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00403380
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
call fcn.00403560
jmp 0x43fa0d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret 4