joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443ffe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov edi, ecx
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x444040
call fcn.00457885
mov ebp, dword [eax + 0xc]
push 0xf0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x444040
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x444037
xor eax, eax
jmp 0x444048
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044404f
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x444fdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x10]
mov eax, edi
mov dword [esi + 0x40], edi
shr eax, 0x10
test ax, ax
jne 0x444ffe
cmp dword [esi + 0x3c], 0
jne 0x444ffe
movzx eax, di
mov dword [esi + 0x3c], eax
call fcn.00457885
mov ebx, dword [eax + 0xc]
push 5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
mov ecx, esi
push dword [esp + 0x18]
push eax
call fcn.0044502b
pop edi
pop esi
pop ebx
ret 8

Function at 0x4453a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
push ebx
push esi
mov eax, dword [ecx + 0x48]
push edi
mov edi, dword [ecx + 0x44]
push ebp
mov esi, ecx
mov dword [esp + 0x10], eax
call fcn.00457885
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4453e6
call fcn.00457885
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4453f5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x445406
mov eax, 0xffffffff
jmp 0x4454c0
mov ecx, esi
xor ebp, ebp
call fcn.00445332
mov edi, eax
call fcn.00441ce5
push edi
call fcn.004416b2
test edi, edi
je 0x445438
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x445438
push ebp
push edi
mov ebp, 1
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call fcn.00441ca0
push ebx
push edi
call fcn.004416b2
push eax
mov ecx, esi
push dword [esp + 0x18]
call fcn.0044508f
test eax, eax
je 0x44548c
test byte [esi + 0x24], 0x10
je 0x445479
mov ebx, 4
mov ecx, esi
call fcn.00440f5c
test ah, 1
je 0x445471
mov ebx, 5
push ebx
mov ecx, esi
call fcn.00444127
push 0x97
xor eax, eax
push eax
mov ecx, esi
push eax
push eax
push eax
push eax
call fcn.00441033
test ebp, ebp
je 0x445499
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x4454af
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4454af
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov ecx, esi
call fcn.00445368
mov eax, dword [esi + 0x2c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x4456a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
mov edi, ecx
cmp dword [ecx + 0x40], 0
je 0x4456cd
call fcn.00457885
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4456da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, 1
test esi, esi
je 0x44571a
cmp word [esi + 2], 0xffff
mov eax, dword [esi]
jne 0x4456fa
mov cx, word [esi + 0x12]
mov eax, dword [esi + 0xc]
mov dx, word [esi + 0x14]
jmp 0x445702
mov cx, word [esi + 0xa]
mov dx, word [esi + 0xc]
test eax, 0x1801
jne 0x445718
test cx, cx
jne 0x445718
test dx, dx
mov eax, 1
je 0x44571a
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x446b94
Capabilities:
Read file on windows

Disassembly:
push ebp
mov eax, dword [esp + 0xc]
mov ebp, esp
sub esp, 4
test eax, eax
push esi
jne 0x446ba7
xor eax, eax
jmp 0x446bcf
push 0
lea edx, [ebp - 4]
push edx
push eax
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x446bcc
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004461e4
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x446bd6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x446c1e
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x446c0d
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004461e4
cmp dword [ebp - 4], esi
je 0x446c1e
push dword [edi + 0xc]
push 0xffffffffffffffff
push 0xd
call fcn.004462bf
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x446fe6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push str.CLSID
mov dword [ebp - 4], esi
push 0x80000000
call edi
test eax, eax
jne 0x44708c
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x447083
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push str.InProcServer32
push dword [ebp - 8]
call edi
test eax, eax
jne 0x44707a
mov edi, 0x104
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00444a8d
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
lea edi, [ebp - 0x10]
push edi
push eax
push ecx
push esi
push 0x47d754
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00444ae2
push dword [ebp - 0xc]
cmp esi, 1
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x447096
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4471e9
call fcn.0042de5c
sub esp, 0x16c
xor eax, eax
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov byte [esi], al
cmp dword [0x483fc4], eax
je 0x4470e5
mov dword [ebp - 4], 0xffffffff
call fcn.004471f3
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x184]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x800
lea eax, [ebp - 0x178]
push 0x160
mov edi, dword [ebp + 0xc]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4470be
test byte [ebp - 0x16e], 1
je 0x4470be
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push 0x46a750
push 0
push 0x46a740
call fcn.00446e0c
test eax, eax
jl 0x4470be
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push 0x46a730
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax]
test eax, eax
jl 0x4471d9
mov eax, 0
test edi, edi
je 0x447173
push edi
call fcn.0042fb80
add esp, 4
lea ebx, [eax + 1]
lea eax, [eax*2 + 5]
and al, 0xfc
call fcn.0042e5b0
mov eax, esp
push ebx
push edi
push eax
call fcn.00444bbf
push 0
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x14]
test eax, eax
jl 0x4471ce
mov eax, dword [ebp + 8]
test eax, eax
jne 0x447190
xor eax, eax
jmp 0x447193
mov eax, dword [eax + 0x1c]
push 2
mov ecx, dword [ebp - 0x10]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax + 0x4c]
test eax, eax
jl 0x4471ce
push 0
mov ecx, dword [ebp - 0x10]
push 0
mov eax, dword [ecx]
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x10]
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004471f3
mov eax, 1
jmp 0x4470cc
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x4470be
Function at 0x4471fb
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4472da
call fcn.0042de5c
sub esp, 0x150
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov ebx, 0x104
push eax
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x447248
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.004445ab
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.004472ec
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x447287
mov dword [ebp - 4], 0xffffffff
call fcn.004472e4
jmp 0x447233
test byte [ebp - 0x14], 2
jne 0x447294
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x14], 4
jne 0x4472c4
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4472c4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xffffffff
call fcn.004472e4
mov eax, 1
jmp 0x447235

Function at 0x447708
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
push 0x118
push 0
mov esi, dword [ebp + 8]
push esi
call fcn.0042e150
add esp, 0xc
lea ecx, [esi + 0x12]
push 0x104
push dword [edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x4477bd
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x14]
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x44775a
xor eax, eax
jmp 0x4477c2
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x447771
xor eax, eax
jmp 0x4477c2
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
mov byte [esi + 0x10], 0
call fcn.0043f968
mov eax, dword [eax]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
lea edi, [esi + 8]
push ecx
mov dword [esi], eax
lea ecx, [ebp - 4]
call fcn.0043f968
mov ecx, dword [eax]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov dword [edi], ecx
push eax
lea ecx, [ebp - 4]
call fcn.0043f968
mov eax, dword [eax]
cmp dword [esi], 0
mov dword [esi + 4], eax
jne 0x4477b6
mov dword [esi], eax
cmp dword [edi], 0
jne 0x4477bd
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x447ea6
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x447eeb
cmp dword [eax + 8], 0x70
jne 0x447eeb
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x447eeb
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x447eeb
push 0x11
call esi
test ax, ax
jl 0x447eeb
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x447eed
xor eax, eax
pop esi
ret 4

Function at 0x449948
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
test al, 1
je 0x44996e
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
test eax, eax
jne 0x449984
xor eax, eax
jmp 0x449989
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x20]
call dword [eax + 0x9c]
test eax, eax
mov eax, 0
je 0x449989
mov eax, 1
pop esi
ret
Function at 0x449e17
Capabilities:
Get common file path
Get disk size
Timestomp file

Disassembly:
mov eax, 0x449fce
call fcn.0042de5c
sub esp, 0x248
mov dword [ebp - 0x14], ecx
add ecx, 0x10
push esi
mov dword [ebp - 0x18], ecx
call fcn.0044468b
test byte [ebp + 0xd], 0x10
je 0x449efb
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 8]
call fcn.004477ca
test eax, eax
je 0x449efb
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.004445ab
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
call fcn.004472ec
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x24]
push edx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x449e98
mov esi, dword [ebp - 0x34]
imul esi, dword [ebp - 0x2c]
imul esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x144]
add eax, eax
cmp eax, esi
jge 0x449eef
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x254]
push eax
push ecx
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [ebp - 0x1c]
push 0x105
mov byte [ecx], 0
mov ecx, dword [ebp - 0x18]
call fcn.00444a8d
push eax
lea ecx, [ebp - 0x254]
push 0
push 0x46a6b0
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
call fcn.00444ae2
mov dword [ebp - 4], 0xffffffff
call fcn.00449fd8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
je 0x449fe0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00446a52
test eax, eax
je 0x449fe0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00444853
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x20]
push ecx
mov eax, dword [ebp - 0x14]
push edx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x449f76
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x150]
push eax
push ecx
call fcn.00447884
add esp, 8
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
push ecx
push edx
push eax
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
push eax
push eax
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
push dword [ebp - 0x10]
call fcn.00444558
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
je 0x449fbe
push esi
mov eax, dword [ebp - 0x18]
push 4
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
push esi
call fcn.00444598
add esp, 4
mov eax, 1
jmp 0x449ff9
mov ecx, dword [ebp - 0x18]
call fcn.0044468b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.00446a52
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44beeb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, 0x100
cmp edi, eax
ja 0x44bf32
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, edi
jne 0x44bf32
push esi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x44bf3c
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x44d61f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ecx + 0x74], 0
mov esi, ecx
je 0x44d667
push dword [ebp + 8]
call fcn.00459706
mov esi, eax
test esi, esi
jne 0x44d641
xor eax, eax
jmp 0x44d692
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
sbb eax, eax
neg eax
jmp 0x44d692
push dword [ebp + 0x10]
push 0x469bc0
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x10]
push dword [esi + 0x88]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44e812
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call fcn.004420f5
test eax, eax
je 0x44e833
mov eax, 1
jmp 0x44ea1c
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x44e849
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004416b2
test byte [esi + 0x64], 0x20
mov dword [ebp - 4], eax
jne 0x44e86c
cmp edi, 0x201
je 0x44e86c
cmp edi, 0x202
jne 0x44e9d6
cmp edi, 0x200
jb 0x44e87c
cmp edi, 0x209
jbe 0x44e894
cmp edi, 0xa0
jb 0x44e9d6
cmp edi, 0xa9
ja 0x44e9d6
call fcn.00457208
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x28
lea ecx, [ebp - 0x3c]
push 0
push ecx
call fcn.0042e150
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x28
push ecx
mov ebx, dword [esi]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, esi
call dword [ebx + 0x68]
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, eax
je 0x44e8f5
push dword [ebp - 0x18]
call fcn.0042e300
add esp, 4
cmp edi, 0x201
jne 0x44e90c
test byte [ebp - 0x35], 0x80
je 0x44e90c
mov dword [ebp - 0xc], 1
jmp 0x44e913
mov dword [ebp - 0xc], 0
cmp edi, 0x201
je 0x44e931
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44e931
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x104]
test ebx, ebx
jl 0x44e9a0
cmp dword [ebp - 0xc], 0
jne 0x44e9a0
cmp edi, 0x202
jne 0x44e962
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0xe0]
push 0xc8
mov ecx, esi
push 0xe001
call fcn.0044e5b5
jmp 0x44e9cd
test byte [esi + 0x60], 8
jne 0x44e993
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x44e993
mov eax, dword [ebp - 8]
cmp dword [eax + 0x104], ebx
je 0x44e9cd
push 0x12c
mov ecx, esi
push 0xe000
call fcn.0044e5b5
jmp 0x44e9cd
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xe0]
jmp 0x44e9cd
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44e9b3
cmp dword [ebp - 0xc], 0
je 0x44e9cd
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0xe0]
push 0xe001
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 8]
mov dword [eax + 0x104], ebx
mov ecx, esi
call fcn.0044312f
test eax, eax
je 0x44e9eb
cmp dword [eax + 0x50], 0
je 0x44e9eb
xor eax, eax
jmp 0x44ea1c
cmp dword [ebp - 4], 0
je 0x44ea12
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
mov ebx, dword [ecx]
call dword [ebx + 0x94]
test eax, eax
jne 0x44ea25
mov ecx, dword [ebp - 4]
call fcn.00442fb2
mov dword [ebp - 4], eax
test eax, eax
jne 0x44e9f1
push dword [ebp + 8]
mov ecx, esi
call fcn.004440f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x44ea1c
Function at 0x451fa6
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push ebp
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x45203c
mov ebp, 0x18000000
push edi
call fcn.004416dc
mov ebx, eax
test ebx, ebx
je 0x45202d
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x45202d
push edi
push eax
call fcn.00451dfa
test eax, eax
je 0x45202d
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp dword [esp + 0x14], 0
jne 0x452016
mov ecx, eax
and ecx, ebp
cmp ecx, 0x10000000
jne 0x45200f
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [ebx + 0x24], 2
jmp 0x45202d
cmp dword [esp + 0x14], 0
je 0x45202d
test ebp, eax
jne 0x45202d
test byte [ebx + 0x24], 2
je 0x45202d
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [ebx + 0x24], 0xfd
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x451fc6
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x4574c4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45755f
call fcn.0042de5c
sub esp, 4
xor eax, eax
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CNoTrackObject.0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov esi, ecx
push 0xa
lea ecx, [esi + 0x30]
call fcn.0044089d
lea ecx, [esi + 0x4c]
push 0xa
mov byte [ebp - 4], 1
call fcn.0044089d
lea ecx, [esi + 0x68]
push 0xa
mov byte [ebp - 4], 2
call fcn.00440371
mov byte [ebp - 4], 3
mov eax, esi
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x44453c
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x458bd3
Capabilities:
Allocate thread local storage

Disassembly:
push esi
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], eax
cmp dword [esp + 8], eax
mov dword [ecx + 0x1c], 4
mov dword [ecx + 0xc], 1
mov esi, ecx
je 0x458c0f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x458c15
call fcn.0043f886
jmp 0x458c15
mov dword [esi], 0xffffffff
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret 4

Function at 0x458d80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov eax, dword [ecx]
mov esi, ecx
cmp eax, 0xffffffff
jne 0x458d9a
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
jmp 0x458da1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x458db6
mov ecx, dword [esp + 0xc]
cmp dword [eax + 8], ecx
jle 0x458db6
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx*4]
jmp 0x458db8
xor edi, edi
cmp dword [esi], 0xffffffff
jne 0x458dc7
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
ret 4