joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4347b0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x485868
call fcn.0046694c
sub esp, 0xb4
push ebx
push esi
push edi
push 1
pop edi
lea eax, [ebp + 0xb]
push edi
push eax
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x10], ebx
call fcn.00401884
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00467000
push 0x44
lea eax, [ebp - 0xc0]
pop esi
push esi
push ebx
push eax
call fcn.00467000
add esp, 0x18
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x94], edi
mov word [ebp - 0x90], bx
je 0x43481d
mov word [ebp - 0x90], di
mov esi, dword [ebp - 0x74]
cmp esi, ebx
jne 0x434829
mov esi, 0x48a67c
push edi
lea eax, [ebp + 0xf]
mov edi, 0x4a2e90
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x43484c
mov eax, 0x48a67c
mov dword [ebp - 0x18], eax
push esi
lea eax, [ebp - 0x18]
push 0x4a2fa8
push eax
mov dword [ebp - 0x14], 0x4a7
call fcn.0040a559
add esp, 0xc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00401093
push dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0040b177
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 2
call fcn.00401a14
lea ecx, [ebp - 0x2c]
mov dword [esi + 8], eax
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0040b27f
cmp esi, ebx
je 0x43496c
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x4348fe
cmp eax, 1
jne 0x4348fe
push ebx
push ebx
push ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp dword [ebp - 0x44], 0x11
je 0x4348fe
cmp dword [ebp - 0x44], 0x10
je 0x4348fe
cmp dword [ebp - 0x44], 0x12
jne 0x4348c1
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x2c]
mov dword [0x4aac18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
lea eax, [ebp + 0xf]
push 1
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x43493d
mov eax, 0x48a67c
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4c8
push esi
push 0x4a2f68
push eax
call fcn.0040a559
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00401093
mov esi, dword [ebp - 0x10]
jmp 0x434971
mov esi, 0xcccccccc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00401093
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x434990
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x485895
call fcn.0046694c
sub esp, 0x4e0
push ebx
push esi
push edi
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00467000
push 0x44
lea eax, [ebp - 0x74]
pop esi
push esi
push ebx
push eax
call fcn.00467000
add esp, 0x18
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x44], bx
push 1
pop edi
mov dword [ebp - 0x48], edi
je 0x4349d8
mov word [ebp - 0x44], di
push dword [ebp + 8]
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0xf]
push edi
push eax
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], 0x48a67c
je 0x434a13
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xb]
push edi
mov esi, 0x4a2e90
push eax
push esi
lea ecx, [ebp - 0x9c]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x434a39
mov eax, 0x48a67c
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x4e9
push 0x4a3000
push eax
call fcn.0040a559
add esp, 0xc
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401093
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x20
push edi
push ebx
lea eax, [ebp - 0x4ec]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xd]
push edi
push eax
push esi
lea ecx, [ebp - 0xec]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x434ab8
mov eax, 0x48a67c
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4ee
push 0x4a2fdc
push eax
call fcn.0040a559
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00401093
cmp dword [ebp + 0xc], ebx
pop edi
pop esi
pop ebx
je 0x434afb
push 0x3e8
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x434b27
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x434b8a
call esi
cmp eax, 0x3f0
jne 0x434b81
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
je 0x434bf9
cmp eax, ebx
je 0x434bf9
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x434bf9
call esi
cmp eax, 0x7a
jne 0x434bf9
push dword [ebp - 4]
call fcn.00466a9e
mov esi, eax
pop ecx
lea eax, [ebp - 4]
cmp esi, ebx
push eax
push dword [ebp - 4]
setne byte [ebp - 0x24]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x434bed
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x434bfd
cmp byte [ebp - 0x24], bl
je 0x434bf9
push esi
call fcn.0043797a
pop ecx
xor eax, eax
jmp 0x434c48
xor edi, edi
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x434c30
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x434c29
add dword [ebp - 0xc], 8
inc edi
cmp edi, dword [esi]
jb 0x434c0c
jmp 0x434c30
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x24], bl
je 0x434c45
push esi
call fcn.0043797a
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434c4d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
cmp dword [0x4aac88], ecx
jne 0x434c68
mov eax, dword [0x4a2e34]
cmp eax, 0xffffffff
jne 0x434ca8
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x434ca2
lea eax, [ebp - 0x14]
push eax
call fcn.0046844a
pop ecx
lea ecx, [ebp - 0x34]
push 2
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x434ca2
movsx eax, word [ebp - 0x34]
mov dword [0x4a2e34], eax
mov ax, word [0x4a2e34]
leave
ret
Function at 0x435136
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x48590f
call fcn.0046694c
sub esp, 0x460
and byte [ebp - 0x33c], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x33b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x33c]
push ebx
push eax
push dword [0x4aac20]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x46c]
push eax
call fcn.00432003
and byte [ebp - 0x134], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x4a9fc0
mov ecx, esi
stosb byte es:[edi], al
call fcn.00401a14
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00435303
pop ecx
test eax, eax
pop ecx
je 0x435227
and byte [ebp - 0x238], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
mov byte [ebp - 0xd], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x134]
push eax
push 0
lea eax, [ebp - 0x238]
push 0x4a3074
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x134]
push 0
push eax
mov ecx, esi
call fcn.00401a14
push eax
lea ecx, [ebp - 0x46c]
call fcn.00432dc1
jmp 0x435284
mov eax, 0x4a9fe8
mov ecx, eax
test ecx, ecx
je 0x43524b
cmp byte [0x4a9fe8], 0
je 0x43524b
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x435280
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.004341b0
mov ecx, esi
call fcn.00401a14
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004343f6
and byte [ebp - 0xd], 0
lea ecx, [ebp - 0x30]
call fcn.004028f6
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040293e
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
push dword [ebp + 0x10]
push 0x4a8be4
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402b3d
cmp byte [ebp - 0xd], 0
pop edi
pop esi
pop ebx
je 0x4352ce
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00403091
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403aee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x46c]
call fcn.00432643
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x435646
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4859d0
call fcn.0046694c
sub esp, 0x60
push ebx
push esi
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [0x48b0c0]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00401884
mov esi, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x6c]
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0042d349
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00401093
cmp dword [ebp + 0xc], 4
jne 0x43575e
lea eax, [ebp - 0x6c]
push 4
push eax
mov ecx, esi
call fcn.0040a44d
push 0x4a2ae4
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004042dd
push eax
call fcn.004346a7
pop ecx
pop ecx
test eax, eax
setge byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00402438
cmp byte [ebp + 0xf], bl
je 0x435705
mov esi, 0x300
jmp 0x4357be
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b0d4]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
mov dword [ebp - 4], 3
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0042d349
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
jmp 0x4357b5
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b0d4]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
mov dword [ebp - 4], 5
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.0042d349
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
cmp esi, ebx
je 0x435830
mov dword [ebp + 8], ebx
push 0x20019
push 0x4a3084
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 7
call fcn.00416dc7
test eax, eax
jne 0x435822
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x4a3078
mov dword [ebp - 0x1c], ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x14], esi
jae 0x435822
cmp dword [ebp + 8], ebx
je 0x43581e
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x435833
cmp dword [ebp + 8], ebx
je 0x435830
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x437e32
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x485abe
call fcn.0046694c
sub esp, 0xf4
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 4], esi
test bl, 0x10
je 0x437e84
lea ecx, [ebp + 8]
call fcn.00430f0f
test al, al
je 0x437e84
push ebx
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x30], esp
push 1
push eax
call fcn.00407aea
call fcn.00438346
add esp, 0x2c
mov bl, al
jmp 0x438001
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], 0x48a6a8
mov dword [ecx + 0x20], 0x48a6a0
call fcn.00403d4e
call fcn.004419da
add esp, 0x28
cmp eax, 0xffffffff
je 0x437ed1
test bl, 4
je 0x437eb9
test al, 0x10
je 0x437eca
test bl, 8
je 0x437fff
test al, 0x10
je 0x437fff
mov bl, 1
jmp 0x438001
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
cmp esi, 2
je 0x438011
cmp esi, 3
je 0x438011
push 1
cmp esi, 5
pop ebx
jne 0x437f86
lea ecx, [ebp - 0x100]
call fcn.004382b7
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
push eax
call fcn.00407aea
call fcn.00441884
add esp, 0x2c
cmp eax, 0xffffffff
je 0x437f73
test byte [ebp + 0x30], 4
je 0x437f41
test byte [ebp - 0x100], 0x10
je 0x437f52
test byte [ebp + 0x30], 8
je 0x437f50
test byte [ebp - 0x100], 0x10
jne 0x437f52
xor bl, bl
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
test ecx, ecx
je 0x437f5f
push eax
call ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00438310
jmp 0x438001
call edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.00438310
test byte [ebp + 0x30], 0x20
je 0x437fff
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x48bd0c
mov dword [ebp - 0x1c], 0x48bd04
call fcn.00403d4e
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], 0x48bcfc
call fcn.0043802e
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004381af
mov eax, dword [ebp - 0x84]
push 0x497a08
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x84], 0x48bcf4
lea eax, [ebp - 0x84]
push eax
call fcn.004681d7
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402438
mov al, bl
jmp 0x43801f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402438
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x438bdf
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x438c24
mov eax, dword [ebp + 8]
test eax, eax
je 0x438bf9
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438c80
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438c80
cmp dword [ebp + 8], 0
jne 0x438c59
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x438c80
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00438b70
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x43afb8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x94], 0x94
and dword [eax], 0
lea eax, [ebp - 0x94]
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 1
jne 0x43b033
cmp dword [ebp - 0x8c], 0
je 0x43b02b
cmp dword [ebp - 0x8c], 0xa
je 0x43b016
cmp dword [ebp - 0x8c], 0x5a
je 0x43b01f
xor al, al
mov dword [esi], 0x80
jmp 0x43b0a4
call fcn.0043b528
test al, al
je 0x43b023
mov al, 1
jmp 0x43b00b
mov dword [esi], 0x40
jmp 0x43b08d
mov dword [esi], 0x10
jmp 0x43b08d
cmp dword [ebp - 0x84], 2
jne 0x43b0a2
mov eax, dword [ebp - 0x90]
sub eax, 4
je 0x43b09a
mov ecx, dword [ebp - 0x8c]
dec eax
je 0x43b05d
dec eax
je 0x43b083
xor al, al
mov dword [esi], 0x2000000
jmp 0x43b0a4
test ecx, ecx
jne 0x43b069
mov dword [esi], 0x100000
jmp 0x43b08d
cmp ecx, 1
jne 0x43b076
mov dword [esi], 0x400000
jmp 0x43b08d
cmp ecx, 2
jne 0x43b083
mov dword [esi], 0x800000
jmp 0x43b08d
test ecx, ecx
jne 0x43b091
mov dword [esi], 0x1000000
mov al, 1
jmp 0x43b0a4
cmp ecx, 1
jne 0x43b053
mov al, cl
jmp 0x43b055
mov dword [esi], 0x10000
jmp 0x43b08d
xor al, al
pop esi
leave
ret

Function at 0x43b41d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x4a3528
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x43b44c
push 0x4a350c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b44c
call eax
jmp 0x43b523
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, SysStringLen
push 0x4a34dc
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x43b498
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x4a8be4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43b4f9
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0x4a34b4
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x43b4cd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x4a34ac
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43b4e1
cmp esi, ebx
je 0x43b4e1
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x43b501
cmp dword [ebp - 4], ebx
je 0x43b4f3
cmp esi, ebx
je 0x43b4f3
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x43b523
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00466aac
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x43b520
cmp esi, ebx
je 0x43b520
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b63c
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4862bb
call fcn.0046694c
sub esp, 0x15c
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push 1
mov esi, 0x104
pop ebx
cmp dword [ebp + 0xc], ebx
jne 0x43b6e7
push 0x4a3558
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x43b6e7
push 0x4a353c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4a3538], eax
je 0x43b6e7
lea ecx, [ebp - 0x168]
push esi
push ecx
call eax
test eax, eax
je 0x43b6e7
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x168]
mov edi, 0x48bd0c
mov esi, 0x48bd04
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00402d70
push 0x4a0c7c
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0043b779
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
jmp 0x43b762
lea eax, [ebp - 0x168]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x43b70f
lea ecx, [ebp - 0x30]
call fcn.00438582
lea eax, [ebp - 0x30]
push 0x4986c8
push eax
call fcn.004681d7
lea eax, [ebp - 0xd]
push 0
push eax
lea eax, [ebp - 0x168]
mov edi, 0x48bd0c
mov esi, 0x48bd04
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00402d70
push 0x4a0c7c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.0043b779
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
and byte [ebp - 4], 0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x3c]
call fcn.00402438
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43d867
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x486520
call fcn.0046694c
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00416dc7
mov edi, eax
cmp edi, esi
je 0x43d8b1
cmp dword [ebp - 0x10], esi
je 0x43d8aa
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x43d94e
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], pe_nt_image_headers32
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43d922
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043d867
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x43d90f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], pe_nt_image_headers32
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x43d8d4
cmp dword [ebp - 0x10], esi
je 0x43d91d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x43d94e
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43d935
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x43d94c
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4