joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x4212d0
push 0xffffffffffffffff
push 0x61eaf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x68faac]
push esi
push edi
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
push 0x92
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.005f5ebf
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x2c]
push eax
push str._s_r_n
push esi
call fcn.005e6068
mov eax, dword [0x68faac]
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
push esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.005f0159
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push 0x3f9
mov ecx, edi
call fcn.005f31e9
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x3ef
call fcn.005f31e9
push 0x93
lea ecx, [esp + 0xc]
call fcn.005f5ebf
push 0x94
lea ecx, [esp + 0x1c]
call fcn.005f5ebf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push str._s_r_n_s_s_t_t_s_s
push esi
call fcn.005e6068
add esp, 0x1c
lea ecx, [esp + 0xc]
push esi
call fcn.005f0159
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x3f1
call fcn.005f31e9
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 0x3f0
call fcn.005f31e9
push 0x95
lea ecx, [esp + 0xc]
call fcn.005f5ebf
push 0x96
lea ecx, [esp + 0x1c]
call fcn.005f5ebf
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push str._s_r_n_s_s_t_t_s_s
push esi
call fcn.005e6068
add esp, 0x1c
lea ecx, [esp + 8]
push 0x97
call fcn.005f5ebf
push esi
lea ecx, [esp + 0x10]
call fcn.005f0159
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x3f2
call fcn.005f31e9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
push str._s_r_n_s_s
push esi
call fcn.005e6068
add esp, 0x14
lea ecx, [esp + 8]
push 0x98
call fcn.005f5ebf
push esi
lea ecx, [esp + 0x10]
call fcn.005f0159
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x6afab0
call fcn.00401a32
mov edx, dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
push str._s_r_n_s_s_r_n_r_n
push esi
mov byte [esp + 0x38], 5
call fcn.005e6068
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.005f0020
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.005f0020
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.005f0020
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.005f0020
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x401681
Capabilities:
Get common file path

Disassembly:
jmp 0x4073a0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61b380
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
call fcn.00476a50
test eax, eax
je 0x4073cb
mov dword [esi + 8], 0x400
call fcn.00476980
test eax, eax
je 0x4073e0
mov dword [esi + 8], 0x200
jmp 0x407483
call fcn.00476900
test eax, eax
je 0x4073f5
mov dword [esi + 8], 0x100
jmp 0x407483
call fcn.004768c0
test eax, eax
je 0x407407
mov dword [esi + 8], 0x80
jmp 0x407483
call fcn.00476860
test eax, eax
je 0x407419
mov dword [esi + 8], 0x40
jmp 0x407483
call fcn.00476810
test eax, eax
je 0x40742b
mov dword [esi + 8], 0x20
jmp 0x407483
call fcn.004767d0
test eax, eax
je 0x40743d
mov dword [esi + 8], 0x10
jmp 0x407483
call fcn.004767b0
test eax, eax
je 0x40744f
mov dword [esi + 8], 8
jmp 0x407483
call fcn.00476780
test eax, eax
je 0x407461
mov dword [esi + 8], 4
jmp 0x407483
call fcn.00476760
test eax, eax
je 0x407473
mov dword [esi + 8], 2
jmp 0x407483
call fcn.00476740
test eax, eax
je 0x407483
mov dword [esi + 8], 1
mov eax, dword [0x68faac]
mov dword [esp + 4], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4074e0
push 0x681bc0
lea ecx, [esp + 8]
call fcn.005e6193
push str.ocularoagent.ini
lea ecx, [esp + 8]
call fcn.005f03fc
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push edx
call fcn.0044e470
lea eax, [esp + 8]
lea ecx, [esi + 0xc]
push eax
mov byte [esp + 0x18], 1
call fcn.0044efa0
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0044edf0
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4016b3
Capabilities:
Get common file path

Disassembly:
jmp 0x41f6a0
push 0xffffffffffffffff
push 0x61e748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68faac]
push ebx
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x41f70f
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005f0020
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.005f049f
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.005efd95
mov ebx, 1
push 0x681bc0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.005e6193
push 0x681bc0
lea ecx, [esp + 0xc]
call fcn.005f03fc
mov esi, dword [esp + 0x24]
push 0x5c
mov ecx, esi
call fcn.005e5cc0
cmp eax, 0xffffffff
jne 0x41f789
lea edx, [esp + 8]
push esi
lea eax, [esp + 0x28]
push edx
push eax
call fcn.005f024f
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.005f0159
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x24]
jmp 0x41f84b
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.005e5bf2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.005f0159
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.005f0020
push 0x5c
lea ecx, [esp + 0x10]
call fcn.005e5cc0
cmp eax, 0xffffffff
jne 0x41f7f2
push 0x5c
mov ecx, esi
call fcn.005e62dc
lea edx, [esp + 8]
push esi
lea eax, [esp + 0x28]
push edx
push eax
call fcn.005f024f
push eax
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.005f0159
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x24]
jmp 0x41f84b
mov ecx, dword [esi]
lea edx, [esp + 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
mov ecx, esi
call fcn.005e5b76
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 5
call fcn.005f0159
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.005f0020
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.005f024f
push eax
mov ecx, esi
mov byte [esp + 0x20], 6
call fcn.005f0159
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x10]
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.005f0020
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x14]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x40178f
Capabilities:
Get common file path

Disassembly:
jmp 0x41fb90
push 0xffffffffffffffff
push 0x61e7d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x68faac]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x41fc26
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.005efd95
push 0x681bc0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.005e6193
push 0x681bc0
lea ecx, [esp + 8]
call fcn.005f03fc
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005efd95
push 0x4a
push 0x6894f8
mov ecx, esi
call fcn.00401a69
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x40179e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x423410
push 0xffffffffffffffff
push 0x61ee28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
xor eax, eax
lea ecx, [esp]
mov dword [esp + 0x15], eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov word [esp + 0x1d], ax
push ecx
push 0x20019
push eax
push str.SYSTEMWPAPnP
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x2c], 0
mov byte [esp + 0x33], al
call edi
test eax, eax
jne 0x42360b
mov ecx, dword [esp + 4]
push ebp
lea edx, [esp + 0x14]
push esi
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.seed
push ecx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x4c]
and eax, 0xff
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.0050c0c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0050b6a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.0050c820
push 0
push 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 2
call fcn.0050c880
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push 8
push edx
lea ecx, [esp + 0x34]
call fcn.0050ca70
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
push 1
push ecx
push 3
push 0
push 0x681c94
push edx
call ebp
mov eax, dword [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 1
push edx
push 3
push 0
push 0x681c94
push eax
call ebp
mov ecx, dword [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 1
push eax
push 3
push 0
push 0x681c94
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0x10
lea ecx, [esp + 0x18]
call fcn.0050bfa0
mov ecx, dword [esp + 0x10]
push eax
push 3
push 0
push str.PrivateHash
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.0050c860
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call fcn.0050b800
mov dword [esp + 0x44], 0xffffffff
call fcn.0050c130
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
pop edi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4

Function at 0x401825
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x41ebf0
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41ec0b
cmp eax, 0x10
je 0x41ec0b
mov eax, 1
ret
xor eax, eax
ret
Function at 0x401852
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
jmp 0x4202a0
push 0xffffffffffffffff
push 0x61e8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x68faac]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0045d960
push 0xf003f
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0045da80
test eax, eax
jne 0x420407
push 0x104
push 0x104
lea ecx, [esp + 0xc]
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4203ba
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
lea eax, [esp + 0x10]
push 3
push eax
lea ecx, [esp + 0xc]
call fcn.005e5bf2
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 4
call fcn.005f0159
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.005f0020
push str.Program_FilesCommon_Files
lea ecx, [esp + 8]
call fcn.005f03fc
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x420388
cmp eax, 0x10
je 0x420437
push 0x8f
lea ecx, [esp + 0x10]
call fcn.005f5ebf
push 0x80
lea ecx, [esp + 0xc]
call fcn.005f5ebf
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push edx
push eax
push 0
mov ecx, 0x6afba0
call fcn.004012d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0045da00
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005f0020
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005f0020
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
lea ecx, [esp + 0x10]
push 0x68112c
push ecx
lea ecx, [esp + 0x20]
call fcn.0045e0b0
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 5
call fcn.005f0159
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.005f0020
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005efd95
push 5
push 0x689870
mov ecx, esi
call fcn.00401a69
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0045da00
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005f0020
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x20]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x401884
Capabilities:
Get hostname

Disassembly:
jmp 0x407ed0
push 0xffffffffffffffff
push 0x61b56f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68faac]
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
push ecx
push 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0x104
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
mov esi, dword [esp + 0x20]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005efd95
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call fcn.005f0020
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x401a69
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x41ff70
push 0xffffffffffffffff
push 0x61e85b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [0x68faac]
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x24], 3
call fcn.005efd95
push 0x681bc0
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 4
call fcn.005e6193
push 0x681bc0
lea ecx, [esp + 0x34]
call fcn.005f03fc
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x42015c
mov ecx, dword [esp + 0x28]
push ebp
push edi
mov dword [esp + 0x34], eax
lea edi, [ecx + 4]
mov edx, dword [edi - 4]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.005f02b5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call fcn.005f0159
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.005f0020
mov edx, dword [esp + 0x14]
push edx
call fcn.00401825
add esp, 4
test eax, eax
jne 0x4200d2
mov ebp, dword [edi + 4]
mov ecx, 0x6afab0
call fcn.004012ad
test ebp, eax
je 0x4200d2
test ebp, 0x1000000
je 0x420092
call fcn.00401046
test eax, eax
jne 0x4200d2
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
inc edx
mov dword [esi + 4], edx
mov eax, dword [edi]
push eax
push 0x8d
push ecx
call fcn.005e607b
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x80
call fcn.005f5ebf
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
jmp 0x4200c6
mov ecx, dword [esi + 4]
push 0x80
inc ecx
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
call fcn.005f5ebf
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push ecx
push 0x8d
push edx
call fcn.005e607b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
push 0
mov ecx, 0x6afba0
call fcn.004012d0
mov edx, dword [esi + 8]
push 0x82
inc edx
mov eax, edx
mov dword [esi + 8], edx
push eax
lea edx, [esp + 0x20]
push 0x8e
push edx
call fcn.005e607b
push 4
call fcn.005f17db
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28], 6
je 0x420117
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.005efd95
mov ebp, eax
jmp 0x420119
xor ebp, ebp
mov byte [esp + 0x28], 4
call fcn.005f09ec
test eax, eax
je 0x420132
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x420136
xor eax, eax
jmp 0x420139
mov eax, dword [eax + 0x1c]
push ebp
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x34]
add edi, 0xc
dec eax
mov dword [esp + 0x34], eax
jne 0x41fff1
pop edi
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.005f0020
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.005f0020
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x18]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x401b59
Capabilities:
Copy file

Disassembly:
jmp 0x4270d0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
test edi, edi
jne 0x427111
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x427111
push esi
call fcn.004010eb
add esp, 4
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41fa1d
Capabilities:
Get common file path

Disassembly:
jmp 0x41fa00
push 0xffffffffffffffff
push 0x61e790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x68faac]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x41fa96
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.005efd95
push 0x681bc0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.005e6193
push 0x681bc0
lea ecx, [esp + 8]
call fcn.005f03fc
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005efd95
push 0x33
push 0x689290
mov ecx, esi
call fcn.00401a69
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x41fbad
Capabilities:
Get common file path

Disassembly:
jmp 0x41fb90
push 0xffffffffffffffff
push 0x61e7d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x68faac]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x41fc26
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.005efd95
push 0x681bc0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.005e6193
push 0x681bc0
lea ecx, [esp + 8]
call fcn.005f03fc
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005efd95
push 0x4a
push 0x6894f8
mov ecx, esi
call fcn.00401a69
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x42979f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x4297dd
call fcn.00609d0e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4297dd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4297f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x4297f4
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc