joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48da28
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
push 0x49bbbc
xor edi, edi
lea ecx, [esp + 0x20]
call fcn.00411330
test eax, eax
je 0x418d93
cmp dword [esp + 0x30], 0x18
je 0x418d37
cmp dword [esp + 0x34], 8
jb 0x418da7
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x418d9f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push 0
lea eax, [esp + 0x40]
mov word [ecx + 4], di
call fcn.0040ac00
call fcn.0040da10
add esp, 0x1c
test al, al
je 0x418d93
cmp dword [esp + 0x34], 8
jb 0x418d7b
mov edx, dword [esp + 0x20]
push edx
call fcn.0043db3e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c
cmp dword [esp + 0x34], 8
jb 0x418da7
mov eax, dword [esp + 0x20]
push eax
call fcn.0043db3e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c

Function at 0x418dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48da28
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
push 0x49bbbc
xor edi, edi
lea ecx, [esp + 0x20]
call fcn.00411330
test eax, eax
je 0x418e73
cmp dword [esp + 0x30], 0x18
je 0x418e17
cmp dword [esp + 0x34], 8
jb 0x418e87
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x418e7f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push 0
lea eax, [esp + 0x40]
mov word [ecx + 4], di
call fcn.0040ac00
call fcn.0040dc50
add esp, 0x1c
test al, al
je 0x418e73
cmp dword [esp + 0x34], 8
jb 0x418e5b
mov edx, dword [esp + 0x20]
push edx
call fcn.0043db3e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c
cmp dword [esp + 0x34], 8
jb 0x418e87
mov eax, dword [esp + 0x20]
push eax
call fcn.0043db3e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c
Function at 0x41b180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488e98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.00448dc9
mov esi, dword [eax + 0xc]
movzx eax, word [ebp + 0xc]
push 0x4aae68
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41b1e2
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b1cb
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0045c03d
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x4c], 0
call fcn.0041b250
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.0045c392
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41dde0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cfb0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00410b20
mov dword [esp + 0x38], 0
cmp dword [esp + 0x20], 0
ja 0x41de65
push 0x4ab0e0
push 0x100
push 0x293
push str..SetupFormView.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
cmp dword [esp + 0x24], 8
jb 0x41de61
mov eax, dword [esp + 0x10]
push eax
call fcn.0043db3e
add esp, 4
xor al, al
jmp 0x41dedd
lea ecx, [esp + 0xc]
push ecx
call fcn.004389f0
add esp, 4
lea edx, [esp + 8]
push edx
call fcn.0041dd40
mov byte [esp + 0x38], 1
cmp dword [esp + 0x24], 8
mov ecx, dword [esp + 0x10]
jae 0x41de90
lea ecx, [esp + 0x10]
mov eax, dword [eax]
push eax
push ecx
push str._s_s
push esi
call fcn.00438740
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 8
jb 0x41dedb
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0043db3e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0046fe44
mov esp, ebp
pop ebp
ret
Function at 0x41f660
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str._Enter__CSetupWizardApp::SetWindowToTop__...
push 1
push 0x237
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 0x10
push 1
call esi
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push eax
call ebp
call fcn.0045a282
test eax, eax
je 0x41f6be
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41f6c0
xor eax, eax
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.0045a282
test eax, eax
je 0x41f6de
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41f6e0
xor eax, eax
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call esi
push eax
push 0
call edi
push eax
call ebx
push eax
call ebp
push str._Leave__CSetupWizardApp::SetWindowToTop__...
push 1
push 0x242
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x424e70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ccb8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push str._Enter__CSetupWizardApp::GetAutoResizeFromIni__...
push 1
push 0x888
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
lea ecx, [esp + 0x60]
call fcn.00410b20
lea eax, [esp + 0x60]
xor ebx, ebx
push eax
mov dword [esp + 0x8c], ebx
call fcn.004389f0
add esp, 0x14
push 0xc
push str.SetupWiz.ini
lea ecx, [esp + 0x58]
call fcn.0040d7d0
push 0xa
push str.AutoResize
lea esi, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.0040acb0
mov byte [esp + 0x78], 1
push 0xa
push str.Parameters
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.0040acb0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x38]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.00432ed0
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x30], esi
mov dword [edi], eax
jb 0x424f74
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043db3e
add esp, 4
mov byte [esp + 0x78], bl
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x424f9c
mov edx, dword [esp + 0x38]
push edx
call fcn.0043db3e
add esp, 4
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str._CSetupWizardApp::GetAutoResizeFromIni_____dwResult_0x_08x___un32AutoResizeType__d_
push 0x10
push 0x88e
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
push str._Leave__CSetupWizardApp::GetAutoResizeFromIni__...
push 1
push 0x88f
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x28
cmp dword [esp + 0x68], esi
jb 0x424ff0
mov edx, dword [esp + 0x54]
push edx
call fcn.0043db3e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0046fe44
add esp, 0x70
ret
Function at 0x4268c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48bebb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
push 0x104
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00472ca0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x426950
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSetupWizardApp::CheckSysprepFolder_____GetSystemDirectoryA___failed.__0x_08x_
push 0x100
push 0xa41
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x14
xor al, al
jmp 0x4269f5
lea eax, [esp + 0x24]
mov byte [esp + 0x27], bl
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
lea edx, [eax + 1]
jmp 0x426970
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x426970
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.00409ac0
push 7
push str.Sysprep
lea eax, [esp + 0x10]
mov dword [esp + 0x140], ebx
call fcn.0040ff10
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4269b0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4269df
push str.CSetupWizardApp::CheckSysprepFolder_____Specified_folder_was_existed.
push 0x100
push 0xa49
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
mov bl, 1
cmp dword [esp + 0x20], 0x10
jb 0x4269f3
mov eax, dword [esp + 0xc]
push eax
call fcn.0043db3e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0046fe44
add esp, 0x134
ret

Function at 0x426a20
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48d3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x14
xor ebx, ebx
push str.C:DELLOOBEDONE.FLG
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00409ac0
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x426a84
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x426ab3
push str.CSetupWizardApp::CheckOobeDoneFile_____Specified_file_was_existed.
push 0x100
push 0xa56
push str..SetupWizard.cpp
mov ecx, 0x4db628
call fcn.0042ffb0
add esp, 0x10
mov bl, 1
cmp dword [esp + 0x20], 0x10
jb 0x426ac7
mov eax, dword [esp + 0xc]
push eax
call fcn.0043db3e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046fe44
add esp, 0x2c
ret
Function at 0x429540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4891a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ceb00]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [0x4cfe80]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x20], edi
jne 0x4295c9
call fcn.0042b540
mov esi, eax
jmp 0x4296b7
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4295e5
call fcn.0042b540
jmp 0x4296ae
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4295fe
call fcn.0042b540
jmp 0x4296ae
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x429634
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x429622
lea eax, [ebp]
call fcn.00429710
lea ecx, [ebp - 0x1c]
call fcn.0041a9b0
mov eax, 0x8007000e
jmp 0x4296d2
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00429720
mov dword [ebp - 4], 1
jmp 0x429664
mov esi, dword [ebp]
test esi, esi
jne 0x429672
mov esi, 0x8007000e
jmp 0x4296b0
call dword [0x4cfe80]
mov ecx, dword [ebp - 0x18]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x429693
call fcn.0042b540
jmp 0x4296ae
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00429760
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x4296d0
lea eax, [ebp]
call fcn.00429710
jmp 0x4296d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0046fe44
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x42a9a3
push 0x80004005
call fcn.004024a0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42a9b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x42ab30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x42ab9e
test ecx, ecx
je 0x42ab90
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x42abac
test ecx, ecx
je 0x42ac51
push ecx
jmp 0x42ac4b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
jne 0x42ac1e
jmp 0x42abe0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0042ab30
mov edi, eax
test edi, edi
jne 0x42ac6d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
je 0x42abe0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42ac35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42ac51
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0046fe44
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42ac7c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x42ac53

Function at 0x42e4d0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esi + 0x54]
cmp dword [eax - 0xc], 0
je 0x42e50d
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x42e50d
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
mov dword [esi + 0x58], 0x2b89d9
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
ret
xor eax, eax
ret
Function at 0x4302d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48b168
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x49bbbc
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0040acb0
mov eax, str.EulaWaitingEvent
mov dword [esp + 0x38], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x430330
sub eax, edx
sar eax, 1
push eax
push str.EulaWaitingEvent
lea esi, [esp + 0x18]
call fcn.0040acb0
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x11]
push ecx
lea edx, [esp + 0x16]
push edx
mov edx, esi
mov ecx, edi
mov byte [esp + 0x1b], bl
mov byte [esp + 0x19], 1
mov byte [esp + 0x1a], bl
call fcn.004303b0
cmp dword [esp + 0x28], 8
mov bl, al
jb 0x430389
mov eax, dword [esp + 0x14]
push eax
call fcn.0043db3e
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046fe44
add esp, 0x30
ret

Function at 0x430680
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xdc]
cmp eax, 2
je 0x430759
cmp eax, 3
je 0x430759
push edi
push 0x80
xor edi, edi
lea eax, [esi + 0x48]
push edi
push eax
mov dword [esi + 8], 0xf3bcc908
mov dword [esi + 0xc], 0x6a09e667
mov dword [esi + 0x10], 0x84caa73b
mov dword [esi + 0x14], 0xbb67ae85
mov dword [esi + 0x18], 0xfe94f82b
mov dword [esi + 0x1c], 0x3c6ef372
mov dword [esi + 0x20], 0x5f1d36f1
mov dword [esi + 0x24], 0xa54ff53a
mov dword [esi + 0x28], 0xade682d1
mov dword [esi + 0x2c], 0x510e527f
mov dword [esi + 0x30], 0x2b3e6c1f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0xfb41bd6b
mov dword [esi + 0x3c], 0x1f83d9ab
mov dword [esi + 0x40], 0x137e2179
mov dword [esi + 0x44], 0x5be0cd19
call fcn.00472ca0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], 1
je 0x430752
mov dword [eax], edi
pop edi
mov al, 1
pop esi
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x430767
mov dword [eax], 1
xor al, al
pop esi
ret 4
Function at 0x432260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b2e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea esi, [ecx + 4]
lea edi, [ecx + 0x20]
push esi
mov edx, ebx
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00432e30
mov eax, 8
cmp dword [esi + 0x18], eax
jb 0x4322b2
mov esi, dword [esi + 4]
jmp 0x4322b5
add esi, 4
cmp dword [ebx + 0x18], eax
jb 0x4322bf
mov ebx, dword [ebx + 4]
jmp 0x4322c2
add ebx, 4
cmp dword [edi + 0x18], eax
jb 0x4322cc
mov eax, dword [edi + 4]
jmp 0x4322cf
lea eax, [edi + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push esi
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4323d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b2c4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov word [ecx + 4], bx
call fcn.0040ac00
lea ecx, [esi + 0x20]
mov eax, 1
add esi, 4
mov dword [ebp - 4], eax
push esi
mov edx, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], esi
call fcn.00432e30
mov edi, dword [0x4db0cc]
cmp edi, ebx
jne 0x432461
mov edi, 0x100
mov dword [0x4db0cc], edi
mov eax, dword [0x4dafb4]
cmp eax, ebx
jne 0x432474
mov eax, 0x100
mov dword [0x4dafb4], eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043db39
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4324d8
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x4324c1
push 6
push eax
mov edx, 0xbf
mov edi, str.....CommonTmCommonTmComn_IniFile.cpp
call fcn.00431980
jmp 0x4324c3
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], eax
push 0x4c3e0c
lea eax, [ebp - 0x28]
push eax
call fcn.00473858
lea ecx, [edi + edi]
push ecx
push 0
push ebx
call fcn.00472ca0
mov ecx, 8
add esp, 0xc
cmp dword [esi + 0x18], ecx
jb 0x4324f6
mov eax, dword [esi + 4]
jmp 0x4324f9
lea eax, [esi + 4]
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x18], ecx
jb 0x432506
mov esi, dword [esi + 4]
jmp 0x432509
add esi, 4
push eax
mov eax, dword [ebp - 0x18]
push edi
push ebx
call fcn.00401cc0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00401cc0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [edi - 1]
cmp edx, eax
jne 0x432540
push ebx
call fcn.0043db3e
mov esi, dword [ebp - 0x14]
add esp, 4
add edi, dword [ebp - 0x20]
jmp 0x432477
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432545
mov esi, dword [ebp - 0x30]
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.0040acb0
push ebx
call fcn.0043db3e
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433250
Capabilities:
Print debug messages

Disassembly:
push ecx
test esi, esi
je 0x4332a5
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433260
sub eax, edx
sar eax, 1
je 0x4332a5
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [edi + 4]
test eax, eax
je 0x433291
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x433291
mov dword [edi + 4], 0
push 0
push 8
push esi
call fcn.0043cdaa
test eax, eax
mov dword [edi + 4], eax
setne al
pop ecx
ret
xor al, al
pop ecx
ret