joyce8/EMBER2024-capa huggingface dataset:
Function at 0x597d0c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x597e34
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00597bf8
mov eax, dword [esi]
call fcn.00480fe0
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5982dc]
call fcn.004811a8
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.0047ceec
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.0047ceec
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00480fe0
mov dword [ebp - 0xc], eax
mov eax, dword [0x5f66ec]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0059c418
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.0047d334
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00480fe0
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0059c3f4
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.0059c32c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0059c410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597e3b
lea eax, [ebp - 4]
mov edx, dword [0x5982dc]
call fcn.004812cc
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x5b6a4c
call fcn.005b7bac
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x5b6a6b
test bl, 1
je 0x5b6a6b
call fcn.005bf288
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x5bb5b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5f416b
lea ecx, [ebp - 0x200]
push ecx
call fcn.005b5744
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.005b5844
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005b5844
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5f416d
lea ecx, [ebp - 0x200]
push ecx
call fcn.005b5744
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.005b5844
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.005bccec
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5bb6c1
push esi
call fcn.005b5844
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.005b5844
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005b4880
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x5bb698
xor eax, eax
jmp 0x5bb748
push esi
call fcn.005b5844
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.005b5844
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.005b5673
add esp, 0xc
jmp 0x5bb701
mov edi, dword [ebx + 0x24]
push edi
call fcn.005b5844
pop ecx
push eax
push esi
call fcn.005b5844
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005b5844
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.005b48a0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x5bb701
xor eax, eax
jmp 0x5bb748
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005b5744
add esp, 8
push 0x5f416f
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005b5744
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.005b5744
add esp, 8
push 0x5f4171
mov edx, dword [ebx + 0x24]
push edx
call fcn.005b5744
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5bf21c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x5bf249
jmp 0x5bf280
call fcn.005bf1cc
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.005b5844
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.005b5844
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5bf304
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x5f47a8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5bf3de
cmp dword [0x5f47a4], 0
jne 0x5bf3de
cmp dword [0x5f4a38], 0
je 0x5bf398
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005becd4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5bf37e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005becd4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5bf37e
lea ebx, [ebp - 0x84]
jmp 0x5bf37f
inc ebx
call fcn.005bf2bc
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x5bf419
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x5f47ac
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.005b5844
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x5f47af
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x5bf419
cmp dword [0x5f47a4], 0
je 0x5bf3f8
cmp dword [0x5f47a4], 0xffffffff
je 0x5bf419
push esi
call dword [0x5f47a4]
pop ecx
mov eax, dword [0x5f47a8]
test eax, eax
je 0x5bf419
cmp dword [0x5f47a8], 0xffffffff
je 0x5bf419
cmp byte [eax], 0
je 0x5bf419
push esi
push eax
call fcn.005bf21c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bfda0
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x5fd558], 0
jne 0x5bfe21
cmp dword [0x5fd588], 0
jne 0x5bfdd0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x5fd588], eax
test eax, eax
jne 0x5bfdd0
push 0x5f4904
call fcn.005bf430
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x5fd588]
jmp 0x5bfde4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.005b5844
pop ecx
mov edi, eax
test eax, eax
jne 0x5bfddc
lea edi, [ebp + 1]
push edi
call fcn.005b4880
pop ecx
mov ebx, eax
mov dword [0x5fd55c], ebx
test ebx, ebx
jne 0x5bfe0e
xor eax, eax
jmp 0x5bfee4
push edi
mov edx, dword [0x5fd588]
push edx
push ebx
call fcn.005b548c
add esp, 0xc
jmp 0x5bfe41
xor esi, esi
mov ebx, dword [0x5fd558]
jmp 0x5bfe3b
push eax
call fcn.005b5844
pop ecx
test eax, eax
jne 0x5bfe37
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5bfe2b
lea ebx, [esi + 4]
push 4
mov dword [0x5fd560], ebx
inc ebx
push ebx
call fcn.005b47e4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x5bfe64
xor eax, eax
jmp 0x5bfee4
cmp dword [0x5fd558], 0
jne 0x5bfe95
xor esi, esi
mov ebx, dword [0x5fd55c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x5bfe86
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.005b5844
pop ecx
mov edi, eax
test eax, eax
jne 0x5bfe7c
jmp 0x5bfec6
xor esi, esi
mov ebx, dword [0x5fd558]
mov eax, dword [esp]
mov edi, eax
jmp 0x5bfec0
push eax
call fcn.005b5844
pop ecx
test eax, eax
je 0x5bfeb5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x5bfeb9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5bfea4
mov eax, dword [0x5fd558]
test eax, eax
je 0x5bfed6
push eax
call fcn.005b4890
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x5fd558], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5bff7c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x5fd568], 0
jne 0x5c0008
cmp dword [0x5fd59c], 0
jne 0x5bffac
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x5fd59c], eax
test eax, eax
jne 0x5bffac
push 0x5f4970
call fcn.005bf430
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x5fd59c]
jmp 0x5bffc5
lea eax, [edi + 1]
add edi, edi
add edi, 2
add ebp, eax
inc esi
add ebx, edi
push ebx
call fcn.005b5b04
pop ecx
mov edi, eax
test eax, eax
jne 0x5bffb8
lea edi, [ebp + 1]
mov eax, edi
add eax, eax
push eax
call fcn.005b4880
pop ecx
mov ebx, eax
mov dword [0x5fd56c], ebx
test ebx, ebx
jne 0x5bfff3
xor eax, eax
jmp 0x5c00cf
add edi, edi
mov edx, dword [0x5fd59c]
push edi
push edx
push ebx
call fcn.005b548c
add esp, 0xc
jmp 0x5c0028
xor esi, esi
mov ebx, dword [0x5fd568]
jmp 0x5c0022
push eax
call fcn.005b5b04
pop ecx
test eax, eax
jne 0x5c001e
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5c0012
lea ebx, [esi + 4]
push 4
mov dword [0x5fd570], ebx
inc ebx
push ebx
call fcn.005b47e4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x5c004b
xor eax, eax
jmp 0x5c00cf
cmp dword [0x5fd568], 0
jne 0x5c0080
xor esi, esi
mov ebx, dword [0x5fd56c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x5c0071
mov dword [ebp], ebx
add edi, edi
add ebp, 4
add edi, 2
inc esi
add ebx, edi
push ebx
call fcn.005b5b04
pop ecx
mov edi, eax
test eax, eax
jne 0x5c0063
jmp 0x5c00b1
xor esi, esi
mov ebx, dword [0x5fd568]
mov eax, dword [esp]
mov edi, eax
jmp 0x5c00ab
push eax
call fcn.005b5b04
pop ecx
test eax, eax
je 0x5c00a0
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x5c00a4
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5c008f
mov eax, dword [0x5fd568]
test eax, eax
je 0x5c00c1
push eax
call fcn.005b4890
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x5fd568], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5c062c
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
and eax, 1
mov dword [0x5f4a38], eax
call fcn.005b4b94
mov edx, dword [esi + 0x20]
push edx
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.005bd454
add esp, 8
mov eax, dword [esi + 0x28]
push eax
call fcn.005b7458
pop ecx
mov edx, dword [esi + 0x44]
push edx
call fcn.005b7468
pop ecx
mov dword [0x5fd5b0], 1
mov dword [0x5fd5b4], esi
lea ecx, [ebp - 8]
mov dword [0x5fd598], ecx
call fcn.005b69a0
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x5fd59c], eax
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x5fd5a0], eax
mov eax, dword [esi + 0x30]
push eax
mov edx, dword [esi + 0x2c]
push edx
call fcn.005bf6a8
add esp, 8
mov ecx, dword [esi + 0x40]
push ecx
mov eax, dword [esi + 0x3c]
push eax
mov edx, dword [esi + 0x38]
push edx
mov ecx, dword [esi + 0x34]
push ecx
call fcn.005bf6ec
add esp, 0x10
call fcn.005c04b0
mov edi, eax
test eax, eax
je 0x5c070b
mov edx, dword [edi]
mov dword [edi + edx*4 + 4], 0xffffffff
push 0
push edi
call fcn.005c04b8
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea ebx, [edi + 4]
jmp 0x5c0704
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push edx
push 0
call dword [eax + 0x18]
add esp, 8
inc dword [ebp - 0xc]
add ebx, 4
mov ecx, dword [edi]
cmp ecx, dword [ebp - 0xc]
jg 0x5c06f0
push 0
push 0x5fd5b0
call fcn.005c04b8
add esp, 8
test byte [esi + 0x10], 1
je 0x5c07ab
mov ebx, dword [0x5fd5a0]
jmp 0x5c072f
add ebx, 2
mov ax, word [ebx]
cmp ax, 0x20
je 0x5c072c
cmp ax, 9
je 0x5c072c
cmp word [ebx], 0x22
jne 0x5c074d
mov dx, 0x22
add ebx, 2
jmp 0x5c0756
mov dx, 0x20
jmp 0x5c0756
add ebx, 2
mov ax, word [ebx]
test ax, ax
je 0x5c0769
cmp dx, ax
je 0x5c0769
cmp ax, 9
jne 0x5c0753
cmp word [ebx], 0x22
jne 0x5c0777
add ebx, 2
jmp 0x5c0777
add ebx, 2
mov ax, word [ebx]
test ax, ax
je 0x5c0785
cmp ax, 0x20
je 0x5c0774
cmp ax, 9
je 0x5c0774
call fcn.005c07d4
push eax
push ebx
push 0
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
push eax
call dword [esi + 0x18]
add esp, 0x10
push eax
call fcn.005bf5e0
pop ecx
jmp 0x5c07cc
mov edx, dword [0x5fd5ac]
push edx
mov ecx, dword [0x5fd5a8]
push ecx
mov eax, dword [0x5fd578]
push eax
call dword [esi + 0x18]
add esp, 0xc
push eax
call fcn.005bf5e0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c63f
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x10322ea
call fcn.0102edd8
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov dword [esi], 0x10021d4
mov dword [ebp - 4], 8
call fcn.0100b8b8
cmp dword [esi + 0x184], 0
je 0x100c696
lea ecx, [esi + 0x194]
call fcn.01028311
push 0x1388
push dword [esi + 0x188]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100c68f
push 0
push dword [esi + 0x184]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0x184], 0
mov eax, dword [esi + 0x188]
test eax, eax
je 0x100c6a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x274]
push eax
call edi
lea eax, [esi + 0x658]
push eax
call edi
lea eax, [esi + 0x14c]
push eax
call edi
lea eax, [esi + 0x164]
push eax
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString_3
push 0xc36e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc36f
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
call sub.MFC42u.DLL_AfxGetModuleState
push dword [esi + 0x2ac]
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp - 0x14]
call sub.MFC42u.DLL_CWinApp::WriteProfileInt
push 0xc371
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
call sub.MFC42u.DLL_AfxGetModuleState
push dword [esi + 0x2b0]
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp - 0x14]
call sub.MFC42u.DLL_CWinApp::WriteProfileInt
push 0xc436
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc437
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
call sub.MFC42u.DLL_AfxGetModuleState
push dword [esi + 0x64c]
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp - 0x14]
call sub.MFC42u.DLL_CWinApp::WriteProfileInt
call sub.MFC42u.DLL_AfxOleUnlockApp
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 7
call fcn.01027be8
lea ecx, [esi + 0x290]
mov byte [ebp - 4], 6
call fcn.0102db26
lea ecx, [esi + 0x234]
mov byte [ebp - 4], 5
call fcn.0101592d
lea ecx, [esi + 0x1d8]
mov byte [ebp - 4], 4
call fcn.0102887d
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 3
call fcn.010283a7
mov byte [ebp - 4], 2
lea ecx, [esi + 0x130]
call fcn.0102db26
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 1
call fcn.0101c168
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CDialog::CDialog
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0102db32
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x100d130
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
je 0x100d25b
push esi
lea ecx, [ebp - 0x24]
call fcn.0100c050
test eax, eax
je 0x100d25b
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp + 0xc], eax
add eax, 0x12c
mov dword [ebp - 8], eax
call edi
cmp eax, dword [ebp - 8]
jae 0x100d25b
mov edi, 0x12c
mov ecx, dword [esi]
mov ebx, eax
sub ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
sub eax, ecx
imul eax, ebx
cdq
mov ecx, edi
idiv ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ebx
sub ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
imul eax, ebx
cdq
mov ecx, edi
idiv ecx
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [esi]
sub eax, dword [esi + 8]
mov dword [ebp - 0x10], ecx
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
add eax, ecx
imul eax, ebx
cdq
mov ebx, edi
idiv ebx
mov ebx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [esi + 4]
sub eax, dword [esi + 0xc]
sub ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
add eax, ebx
imul eax, dword [ebp - 8]
cdq
mov ecx, edi
idiv ecx
sub ebx, eax
sub ebx, dword [ebp - 0x20]
cmp dword [ebp + 0x10], 0
mov eax, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTopMost]
jne 0x100d21b
mov eax, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndNoTopMost]
push 0x10
push ebx
push dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
push eax
call sub.MFC42u.DLL_CWnd::SetWindowPos
push 0x105
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
add ecx, 0x12c
cmp eax, ecx
jb 0x100d19b
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTopMost]
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::SetWindowPos
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x100d2a6
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndNoTopMost]
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::SetWindowPos
push 0x105
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100e9ae
Capabilities:
Delete file

Disassembly:
mov eax, 0x1032465
call fcn.0102edd8
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x658]
push edi
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call sub.MFC42u.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_3
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::CString_3
push 0xc422
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc426
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x1e
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x18]
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
lea ecx, [ebp - 0x14]
mov edi, eax
call sub.MFC42u.DLL_CString::CString_3
push 0xc44e
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0102b133
lea ecx, [ebp - 0x38]
call fcn.0102d9ca
push ebx
push 0x7022
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x100eb1c
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 0x20], 1
call fcn.0100da5f
test eax, eax
je 0x100eb14
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.0102b284
test eax, eax
je 0x100eb03
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0100bdd3
test eax, eax
je 0x100eb03
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], ebx
call fcn.0102d9ca
push ebx
push 0x4022
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x100eaf7
push 1
push ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0100bdd3
lea ecx, [ebp - 0x48]
call sub.MFC42u.DLL_CFile::Close
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
cmp dword [ebp - 0x20], ebx
je 0x100eb1c
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CFile::Close
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100f323
Capabilities:
Create thread

Disassembly:
mov eax, 0x1032390
call fcn.0102edd8
sub esp, 0x58
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0xc4]
call fcn.0101c775
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
push 0xc44f
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0102b133
lea ecx, [ebp - 0x20]
call fcn.0102d9ca
push ebx
push 0x20
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x100f3cc
push ebx
push 0x1000
push 3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x64]
call fcn.0102dc2e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
call sub.MFC42u.DLL_CFile::GetLength
test eax, eax
je 0x100f3b0
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
call dword [eax + 0xb8]
lea ecx, [ebp - 0x64]
call sub.MFC42u.DLL_CArchive::Close
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CArchive::CArchive
lea eax, [esi + 0x184]
push eax
push ebx
push esi
push 0x100f2e3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x100f3ed
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x1d8]
call fcn.010288f5
call fcn.0100bdbb
cmp eax, ebx
je 0x100f40c
call fcn.0100bdbb
mov dword [esi + 0x230], eax
mov ecx, esi
call fcn.0100e9ae
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CFile::CFile
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10102a7
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, 0x103258a
call fcn.0102edd8
push ecx
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
xor ebx, ebx
call sub.MFC42u.DLL_CString::CString_3
push 0x87
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::LoadStringW
mov esi, dword [ebp - 0x10]
call sub.MFC42u.DLL_AfxGetModuleState
push dword [ebp - 0x10]
mov edi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push esi
push 1
push edi
mov esi, 0x80000000
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x101030b
mov bl, 1
call sub.MFC42u.DLL_AfxGetModuleState
push dword [eax + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10138fd
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.01014490