joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438088
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x4380f9
cmp dword [esp + 8], edi
je 0x4380f9
mov eax, dword [esi + 8]
cmp eax, edi
je 0x4380b4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4380b4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x4380f9
push ebx
mov ebx, dword [esi]
push 0xc
call fcn.0046222d
cmp eax, edi
pop ecx
jne 0x4380cc
xor eax, eax
jmp 0x4380ea
mov ecx, dword [esp + 0xc]
push edi
push edi
push eax
push 0x438ce7
push edi
push edi
mov dword [eax], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], ecx
call fcn.004998ba
add esp, 0x18
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 8], eax
pop ebx
mov eax, ecx
jmp 0x4380fb
xor eax, eax
pop edi
ret 4

Function at 0x438f1d
Capabilities:
Delete file

Disassembly:
mov eax, 0x4ced0c
call fcn.004cc470
sub esp, 0x14
mov eax, dword [0x50dc24]
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x50dc24
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], esi
mov edi, 0x50fa20
mov dword [ebp - 0x1c], esi
push str.GetPacketData__d
mov esi, edi
call fcn.004831f9
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, ebx
call fcn.0043902d
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp - 0x14], eax
call fcn.004831f9
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jne 0x438f92
mov dword [ebx + 0x1c], 1
jmp 0x43900b
push 0x28
call fcn.0046222d
test eax, eax
pop ecx
je 0x438fa8
push eax
call fcn.00471a5b
mov ebx, eax
jmp 0x438faa
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x43900b
push str.Extract...
call fcn.004831f9
mov eax, dword [ebx]
pop ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
call fcn.004831f9
test ebx, ebx
pop ecx
pop ecx
je 0x439004
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43901b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x439028
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
jmp 0x438fe6
Function at 0x43910e
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.00495180
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43919a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x50fa20
call fcn.004831f9
add esp, 0xc
jmp 0x439212
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x4391cd
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x4391f5
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x439204
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x50fa20
call fcn.004831f9
add esp, 0xc
jmp 0x43920b
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439675
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4396e6
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4396e6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x4ef768]
fnstsw ax
test ah, 1
jne 0x4396e6
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43a293
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d0cd6
call fcn.004cc470
push ecx
push ecx
mov eax, dword [0x50dc24]
push ebx
push esi
push edi
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x50fcf4
push 0x65
pop ecx
lea esi, [ebp - 0x10]
call fcn.0043972e
mov ebx, eax
test ebx, ebx
je 0x43a364
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push eax
call fcn.0043295b
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp + 8], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.0043995d
mov ebx, eax
test ebx, ebx
je 0x43a367
mov eax, dword [esi - 0xc]
mov ecx, dword [0x50fcf8]
cmp eax, dword [ecx - 0xc]
jl 0x43a367
lea eax, [ebp - 0x10]
mov edi, 0x50fcf8
call fcn.004013bf
push str.product_tag_cmpc_ch.tag
lea eax, [ebp - 0x10]
call fcn.00416417
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a358
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43a358
mov dword [0x50fcf4], 0x12
jmp 0x43a367
mov dword [0x50fcf4], 0x65
jmp 0x43a367
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x43b069
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
xor eax, eax
push 0x1fe
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.00495180
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
push eax
mov eax, dword [ebp + 0xc]
push 0x4e3074
push dword [eax]
push 0x4e6bbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call fcn.0043295b
mov eax, dword [ebp + 8]
leave
ret

Function at 0x43b0cd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d1c99
call fcn.004cc470
push edi
push 0x12c
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.004807be
add esp, 0x14
test eax, eax
jne 0x43b10a
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b10a
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret
Function at 0x43b864
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d237f
call fcn.004cc470
push ecx
push ebx
push esi
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b8c7
cmp dword [ebp + 0xc], 0
je 0x43b8c7
mov esi, dword [ebp + 8]
call fcn.0041979e
push esi
push eax
call fcn.00432935
call fcn.00417be5
mov ebx, eax
call fcn.00417d46
push 0x1770
call fcn.00447e52
mov dword [esp], 0x1771
call fcn.004407ff
mov dword [esp], 0x1772
call fcn.004403da
jmp 0x43b8e9
push 0x2710
call fcn.004407ff
mov dword [esp], 0x2711
call fcn.004403da
mov dword [esp], 0x2712
call fcn.00447e52
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43b98a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d223a
call fcn.004cc470
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.00401367
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0047c2a0
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
test edi, edi
je 0x43ba18
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.0043b0cd
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43caef
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x50e9a4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43cb0c
mov edi, dword [eax + 4]
jmp 0x43cb0e
xor edi, edi
cmp edi, esi
jne 0x43cb1e
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x43cb43
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x43cb43
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cb43
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x4d0], esi
call fcn.0043cf45
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43cb69
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43cc6b
mov edx, eax
call fcn.0041a56c
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.0043d293
cmp dword [ebx + 0x4c0], esi
je 0x43cc0e
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x43cbd3
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x43cbef
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x43cc0e
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x4d0], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43cc53
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x43cc53
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43cc53
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a56c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x4d4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43ccfb
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x50e9a4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43cd18
mov ebp, dword [eax + 4]
jmp 0x43cd1a
xor ebp, ebp
cmp ebp, esi
jne 0x43cd2a
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x43cd4f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x43cd4f
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cd4f
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0043d0dd
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43cd78
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43ce54
mov edx, eax
call fcn.0041a56c
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0043d293
cmp dword [ebx + 0x510], esi
je 0x43cdfa
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x43cdde
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x43cdfa
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.004384a1
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43ce3f
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x43ce3f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43ce3f
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a56c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43ec0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4cde97
call fcn.004cc470
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x5060b4]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x43ec64
call fcn.00448187
mov esi, eax
jmp 0x43ed65
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43ec81
call fcn.00448187
jmp 0x43ed5a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x43ec77
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x43ecc7
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43ecbd
lea eax, [ebp - 0x424]
call fcn.0043ed91
mov eax, 0x8007000e
jmp 0x43ed80
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0043ed9a
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43eceb
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0043fd4f
jmp 0x43ecf7
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x43ed12
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x43ed23
mov esi, 0x8007000e
jmp 0x43ed5c
call dword [0x5060b4]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x43ec77
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0043edbf
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43ed7e
lea eax, [ebp - 0x424]
call fcn.0043ed91
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x43fcda
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43fced
push 0x80004005
call fcn.0040131e
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43fcf4
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43fd24
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x43feac
xor eax, eax
cmp dword [ebp - 8], esi
je 0x43fe2e
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x43feac
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push ecx
jmp 0x43fe82
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.0043fde5
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x43febf
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], pe_nt_image_headers32
call edi
test eax, eax
je 0x43fe56
cmp dword [ebp - 8], esi
je 0x43fe9c
push dword [ebp - 8]
call ebx
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 8], esi
je 0x43feb6
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x43fec9
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x43feb8
Function at 0x4424fb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cec55
call fcn.004cc470
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.0047b68c
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44388a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 8]
push edi
xor edi, edi
cmp esi, edi
je 0x443a30
cmp dword [ebx + 0x3c], edi
je 0x4438b4
push 4
call fcn.0044308a
push dword [ebp + 8]
lea esi, [esp + 0x2c]
call fcn.00431fce
mov esi, dword [ebx + 8]
call fcn.00424a74
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], eax
call fcn.00424a54
fld1
fst dword [esp + 0x30]
mov dword [esp + 0x1c], eax
fldz
movzx eax, byte [ebp + 0x10]
fst dword [esp + 0x34]
mov dword [esp + 0x10], eax
fst dword [esp + 0x38]
lea eax, [esp + 0x20]
fst dword [esp + 0x3c]
push eax
fst dword [esp + 0x44]
mov dword [esp + 0x24], edi
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fxch st(1)
fst dword [esp + 0x4c]
fst dword [esp + 0x64]
fild dword [esp + 0x14]
fdiv qword [0x4ef7b0]
fstp dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x28]
call fcn.00426b67
mov dword [esp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp dword [esp + 0x18], eax
jg 0x443a0e
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x14], 0
cmp ecx, dword [esp + 0x10]
jg 0x4439f7
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x1c]
add eax, ecx
push eax
mov eax, dword [edi]
add eax, dword [esp + 0x18]
lea esi, [esp + 0x34]
push eax
mov eax, dword [ebx + 8]
call fcn.00424a94
mov edx, dword [esp + 0x1c]
add dword [esp + 0x14], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
sub ecx, eax
add esi, edx
cmp esi, ecx
mov dword [esp + 0x10], ecx
jle 0x4439b7
mov ecx, dword [esp + 0x18]
add dword [esp + 0xc], ecx
mov edx, dword [edi + 8]
mov esi, dword [esp + 0xc]
sub edx, dword [edi]
add esi, ecx
cmp esi, edx
jle 0x4439a8
cmp dword [ebx + 0x3c], 0
je 0x443a1e
mov esi, dword [ebx + 8]
push 4
call fcn.0044308a
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc