joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f564
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43f6ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, edi
call fcn.00404060
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
call fcn.00404520
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43f6a7
mov eax, dword [ebp - 0xc]
call fcn.004026e8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43f69f
xor eax, eax
push ebp
push 0x43f695
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x43f6d8
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43f68b
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov edx, 4
call fcn.00407bec
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004065a4
movzx eax, ax
lea ecx, [ebp - 0x18]
mov edx, 4
call fcn.00407bec
push 0x43f6fc
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x43f718
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004043e0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040436c
mov eax, dword [ebp - 0x28]
call fcn.00404520
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43f68b
mov eax, edi
mov edx, dword [ebp - 0x20]
call fcn.00404258
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43f69f
mov eax, dword [ebp - 8]
call fcn.00402708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f6d1
lea eax, [ebp - 0x28]
call fcn.00404060
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404084
ret
Function at 0x4400a4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44016f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
mov eax, 0x440188
call fcn.0043efbc
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404328
mov eax, dword [ebp - 8]
call fcn.00404520
mov esi, eax
xor edx, edx
push ebp
push 0x44014f
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x44011e
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x440159
push esi
push 0xffffffffffffffff
push 0
call fcn.00406304
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x44013b
cmp eax, 5
jne 0x440145
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x440159
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440176
lea eax, [ebp - 8]
call fcn.00404060
ret

Function at 0x440190
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440301
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov dword [esi], 2
mov eax, edi
call fcn.00404060
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00404520
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4402e3
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x4402dd
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4402dd
cmp word [ebp - 0x4c], 0x5a4d
jne 0x4402dd
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x4402dd
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4402dd
cmp dword [ebp - 0x144], 0x4550
jne 0x4402dd
mov eax, dword [ebp - 0x13c]
xor eax, 0x50485e00
xor eax, dword [ebp - 0x11c]
movzx edx, word [ebp - 0x13e]
xor eax, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jle 0x4402aa
cmp dword [ebp - 0xc], 0x7a120
jge 0x4402aa
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov byte [ebp - 1], 1
jmp 0x4402dd
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.00407ad8
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x14c]
mov eax, 0x44031c
call fcn.0043efbc
mov edx, dword [ebp - 0x14c]
mov eax, edi
pop ecx
call fcn.0040436c
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440308
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00404084
ret
Function at 0x44034c
Capabilities:
Parse pe header
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4404fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404520
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4404e1
push 0
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x4404db
push 0
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4404db
cmp word [ebp - 0x4c], 0x5a4d
jne 0x4404db
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x4404db
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4404db
cmp dword [ebp - 0x144], 0x4550
jne 0x4404db
call sub.kernel32.dll_GetCurrentProcessId
add eax, 0x7c6
mov edx, dword [ebp - 0x11c]
xor edx, 0x50485e00
movzx ecx, word [ebp - 0x13e]
xor edx, ecx
xor edi, edx
xor eax, edi
mov dword [ebp - 0x13c], eax
call fcn.00402ab0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x44047f
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp byte [ebp - 1], 0
je 0x4404db
mov eax, 0x200
call fcn.00402ce4
mov edi, eax
shl edi, 4
test edi, edi
jle 0x4404db
push 2
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x4404db
push edi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x440328]
call fcn.004053e8
add esp, 4
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.004065b8
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440504
lea eax, [ebp - 0xc]
mov edx, dword [0x440328]
call fcn.004053f4
ret
Function at 0x440738
Capabilities:
Encode data using xor
Parse pe header
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x440979
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
call fcn.00404060
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, esi
call fcn.00404520
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4407c7
lea eax, [ebp - 0x154]
call fcn.0043eda8
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp + 8]
call fcn.004040b4
jmp 0x44094d
cmp byte [ebp + 0xc], 0
je 0x440805
call fcn.00402ab0
mov eax, 0x1ff
call fcn.00402ce4
mov edx, eax
inc edx
mov eax, edx
shl eax, 4
add eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x440714]
call fcn.004053e8
add esp, 4
jmp 0x440808
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x440714]
call fcn.004053e8
add esp, 4
mov ecx, edi
mov eax, ebx
dec eax
test eax, eax
jb 0x44083e
inc eax
xor edx, edx
mov bl, byte [ecx]
xor bl, 0xff
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], bl
inc ecx
inc edx
dec eax
jne 0x44082e
xor ebx, ebx
cmp byte [ebp + 0x10], 0
je 0x4408f5
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x58]
mov ecx, 0x40
call fcn.004065b0
cmp word [ebp - 0x58], 0x5a4d
jne 0x4408d5
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea edx, [eax + edx]
lea eax, [ebp - 0x150]
mov ecx, 0xf8
call fcn.004065b0
cmp dword [ebp - 0x150], 0x4550
jne 0x4408b5
cmp word [ebp - 0x138], 0x10b
jb 0x4408b5
call fcn.0043ea18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx + 8]
lea edx, [ebp - 0x14]
mov ecx, 4
call fcn.004065a8
mov bl, 1
jmp 0x4408f7
lea edx, [ebp - 0x158]
mov eax, 0x440994
call fcn.0043efbc
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp + 8]
call fcn.004040b4
jmp 0x4408f7
lea edx, [ebp - 0x15c]
mov eax, 0x4409ac
call fcn.0043efbc
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 8]
call fcn.004040b4
jmp 0x4408f7
mov bl, 1
test bl, bl
je 0x440944
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x44092b
mov byte [ebp - 1], 1
jmp 0x440944
lea eax, [ebp - 0x160]
call fcn.0043eda8
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp + 8]
call fcn.004040b4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440980
lea eax, [ebp - 0x160]
mov edx, 4
call fcn.00404084
lea eax, [ebp - 0x18]
mov edx, dword [0x440714]
call fcn.004053f4
ret
Function at 0x443f08
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404510
xor eax, eax
push ebp
push 0x443fb9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00407870
cmp dword [ebp - 0x28], 0
je 0x443f9b
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
je 0x443f9b
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404520
push eax
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jne 0x443f7b
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x443f9b
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443fc0
lea eax, [ebp - 0x28]
call fcn.00404060
lea eax, [ebp - 4]
call fcn.00404060
ret

Function at 0x44401c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404510
xor eax, eax
push ebp
push 0x4440bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407870
cmp dword [ebp - 8], 0
je 0x4440a4
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
je 0x4440a4
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404520
push eax
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jne 0x44408c
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x4440a4
push esi
call sub.advapi32.dll_DeleteService
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4440c6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404084
ret

Function at 0x444804
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444881
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404060
mov eax, dword [ebp - 4]
call fcn.00404320
mov esi, eax
test esi, esi
jle 0x44486b
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx - 1]
xor bl, byte [ebp - 5]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404248
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00404328
inc dword [ebp - 0xc]
dec esi
jne 0x444844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444888
lea eax, [ebp - 0x10]
call fcn.00404060
ret
Function at 0x447384
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x44738c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4475b0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push esi
call sub.kernel32.dll_GlobalFindAtomA
mov word [0x450da4], ax
cmp word [0x450da4], 0
jne 0x447577
call fcn.00402ab0
mov eax, dword [0x44ed08]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
call fcn.00402ce4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov eax, dword [0x44ed08]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.0043e01c
push dword [ebp - 0x1c]
push 0x4475c8
lea eax, [ebp - 8]
mov edx, 3
call fcn.004043e0
mov eax, dword [ebp - 8]
call fcn.004081fc
test al, al
jne 0x44742e
lea eax, [ebp - 8]
mov edx, dword [0x44f064]
mov edx, dword [edx]
call fcn.004040f8
lea edx, [ebp - 0x10]
mov eax, dword [0x44f130]
mov eax, dword [eax]
call fcn.00408114
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0043cf28
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.004040f8
mov al, byte [0x4475cc]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4475d8
mov edx, 0x4475e8
mov eax, dword [ebp - 0x10]
call fcn.0040cd80
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.004040f8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040436c
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404520
mov edi, eax
push edi
mov eax, dword [0x44f130]
mov eax, dword [eax]
call fcn.00404520
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x447531
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0044034c
push esi
call sub.kernel32.dll_GlobalAddAtomA
mov word [0x450da4], ax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004080e0
mov eax, dword [ebp - 0x28]
call fcn.00404520
push eax
mov eax, edi
xor edx, edx
pop ecx
call fcn.0043f508
test al, al
je 0x4474f9
mov ebx, 1
call fcn.00403ecc
jmp 0x447588
lea edx, [ebp - 0x2c]
mov eax, 0x4475f8
call fcn.0043efbc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.0043eda8
mov edx, dword [ebp - 0x30]
pop eax
call fcn.00404328
mov eax, dword [ebp - 0x2c]
call fcn.0043f150
mov ax, word [0x450da4]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x447588
lea edx, [ebp - 0x38]
mov eax, 0x447610
call fcn.0043efbc
push dword [ebp - 0x38]
push dword [ebp - 0xc]
push 0x44762c
lea eax, [ebp - 0x3c]
call fcn.0043eda8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004043e0
mov eax, dword [ebp - 0x34]
call fcn.0043f150
mov ax, word [0x450da4]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
jmp 0x447588
mov ax, word [0x450da4]
push eax
call sub.kernel32.dll_GlobalDeleteAtom
mov ebx, 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4475b7
lea eax, [ebp - 0x3c]
mov edx, 0xa
call fcn.00404084
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404084
ret
Function at 0x7f3dc6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
push edx
mov word [esp], ax
mov word [esp], bp
mov dword [esp], esp
push ebp
jmp 0x7f3e60
pop word [esp]
mov byte [esp], cl
mov word [esp], dx
lea esp, [esp + 2]
jmp 0x7f3da4
call fcn.007f3ded
push eax
push dword [esp + 3]
jg 0x7f3e29
jle 0x7f3e29

Function at 0x7f3ded
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf07e52c4
jmp 0x7f3df8
lea esp, [esp + 2]
mov dword [esp + 4], edi
lea esp, [esp + 4]
jmp 0x7f3e0e
mov dword [esp + 8], esi
push si
mov byte [esp], ah
jmp 0x7f3dd7
pushfd
xchg dword [esp], edx
jmp 0x7f3e11
pushfd
jmp 0x7f3db7
mov ebp, dword [esp + 0x30]
xchg bx, si
mov esi, dword [esp]
lea ebx, [edi*4]
jmp 0x7f3e44
sub esp, 0xbc
jmp 0x7f3e81
lea edi, [esp + 4]
mov cl, 0x54
lea ebx, [edi - 0x2ee3]
lea edx, [ebx + esi]
bt cx, dx
jmp 0x7f3eaf
mov edx, dword [esp]
jmp 0x7f3e91
mov esi, esp
bsr edx, ebx
jge 0x7f3e69
mov edx, dword [esp]
jmp 0x7f3edc
bsr dx, sp
bt edx, ebx
mov ecx, ebp
neg ax
jle 0x7f3ebb
rdtsc
sub edx, 0xbf611f9e
jmp 0x7f3ebd
jbe 0x7f3e2e
ja 0x7f3e2e
jmp 0x7f3efb
mov dx, word [esp]
mov dl, 0xa7
rdtsc
jmp 0x7f3f0b
bsr dx, sp
bt edx, ebx
jmp 0x7f3e98
mov ah, bh
sub esp, 7
jl 0x7f3fc4
jge 0x7f3fc4
add byte [ebx - 6], 0xd5
inc esp
rdtsc
sub edx, 0xbf611f9e
mov dx, word [esp]
mov dl, 0xa7
rdtsc
mov eax, dword [esp]
jmp 0x7f3ee5
call 0x7f3f8c

Function at 0x7f6b96
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x7f6c1b
xchg ch, ah
xchg ecx, eax
bsf ecx, ebx
jmp 0x7f6bf1
add ebp, 0x6fd1ef74
mov eax, dword [esp]
mov eax, ebx
neg edx
jmp 0x7f6bf5
lea eax, [esi + ebp]
bswap eax
bts edx, edx
rdtsc
cmc
jmp 0x7f6c2c
jno 0x7f6ba8
jo 0x7f6ba8
jbe 0x7f6bdb
lea eax, [esi + ebp]
bswap eax
jmp 0x7f6c02
bts edx, edx
rdtsc
cmc
jmp 0x7f6c2c
mov ah, 0xae
lea esp, [esp + 4]
neg ebp
rdtsc
mov ch, 0x11
jmp 0x7f6b9b
not ebp
sub esp, 8
js 0x7f6c6e
mov eax, dword [esp + 5]
sub esp, 0x13
pushfd
lea esp, [esp + 3]
jmp 0x7f6c74
sub esp, 0x13
pushfd
lea esp, [esp + 3]
jmp 0x7f6c74
mov eax, dword [esp + 5]
jmp 0x7f6c58
add ebp, dword [edi]
btc ax, bx
jns 0x7f6cb8
sub esp, 0xa
mov ah, ch
clc
lea esp, [esp + 2]
jmp 0x7f6cd3
mov ah, ch
clc
lea esp, [esp + 2]
jmp 0x7f6cd3
sub esp, 0xa
jmp 0x7f6ca2
movzx edx, byte [ebp - 1]
mov cl, al
mov al, bh
bswap eax
bsr ax, dx
jmp 0x7f6fc0
jmp 0x7f6cbd
btr eax, esi
lea eax, [0x4b2232c3]
mov ax, 0x8cf
call fcn.007f6d80
xchg byte [ecx], dh
xor byte [ebx], dh
sub cl, byte [ebx + 0x4dc380dd]
mov ax, 0x8cf
jmp 0x7f6ce2
jo 0x7f6cd5
btr eax, esi
lea eax, [0x4b2232c3]
jmp 0x7f6dfe
Function at 0x8f7e2f
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x8edff6
call 0x8edffb
jmp 0x8ee64f
pop eax
jmp 0x8ee67c
sub eax, 0x8edffb
jmp 0x8ee6a8
cmp dword [eax + 0x7dc012], 0
je 0x8ed57d
jne 0x8ee7f1
inc ebp
js 0x8ee727
je 0x8ee710
jb 0x8ee731
arpl word [ebp + 0x73], sp
jae 0x8ee6c7
add cl, byte [ebp - 0x4017dbdc]
invalid
add byte [eax], al
add byte [edi + ecx], bh
and al, 6
lea esp, [esp + 8]
popal
jmp 0x8ed52d
call 0x8f28df
jmp 0x8f7e83
pop word [esp]
mov byte [esp], cl
lea esp, [esp + 3]
jmp 0x8f7e70
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x8f7e99
mov dword [esp + 0x48], edi
lea esp, [esp + 0x48]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x8f7e57
pop eax
jmp 0x8f7ea2
mov eax, dword [eax + 8]
push eax
jmp 0x8f28da
sub eax, 0x4f28df
jmp 0x8f7f0c
push eax
jmp 0x8ed6ba
Function at 0x40ac03
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x164]
call fcn.00440d23
mov ecx, dword [ebp - 0x164]
add ecx, 0x1d4
call fcn.0041cb74
push 0x4001
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push 0x45d008
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x1d0], eax
mov edx, dword [ebp - 0x164]
cmp dword [edx + 0x1d0], 0
je 0x40ac8b
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x1d0]
push ecx
push 0
push 0x1109
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esp, ebp
pop ebp
ret

Function at 0x40d36b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp - 0x244]
cmp dword [eax + 0x8c], 0
je 0x40d3ce
cmp dword [ebp - 0x244], 0
jne 0x40d39e
mov dword [ebp - 0x248], 0
jmp 0x40d3ad
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x8c]
push ecx
push 0
push 0x402
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x23c]
push edx
push 0x20019
push 0
mov eax, dword [0x45e89c]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40d40f
jmp 0x40d4f2
mov dword [ebp - 0x240], 0x103
mov dword [ebp - 0x2c], 0x103
mov dword [ebp - 4], 0
push 0x24
push 0
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x28]
or edx, 7
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x238], 0
jmp 0x40d469
mov eax, dword [ebp - 0x238]
add eax, 1
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40d4d8
lea edx, [ebp - 0x130]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x244]
call sub.MFC42.DLL_CComboBoxEx::InsertItem
mov dword [ebp - 0x240], 0x103
mov dword [ebp - 0x2c], 0x103
jmp 0x40d45a
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x244]
mov byte [eax + 0xe4], 1
mov esp, ebp
pop ebp
ret