joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c428
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov esi, eax
xor eax, eax
push ebp
push 0x45c5c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor eax, eax
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x11], 0
je 0x45c468
call fcn.0045b238
mov dword [ebp - 0x18], eax
mov eax, esi
test eax, eax
je 0x45c473
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45c47e
xor ebx, ebx
jmp 0x45c599
cmp byte [ebp - 0x12], 0
je 0x45c582
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00406f50
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00422f7c
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00406f50
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041cfbc
mov eax, dword [ebp - 8]
test eax, eax
je 0x45c4bf
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x45c4ec
lea eax, [ebp - 0x1c]
push eax
mov ecx, 1
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00407b18
mov eax, dword [ebp - 0x1c]
mov edx, 0x45c5dc
call fcn.00407ae0
sete al
jmp 0x45c4ee
xor eax, eax
test al, al
je 0x45c4f6
mov al, 1
jmp 0x45c500
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0041c92c
test al, al
je 0x45c508
mov al, 1
jmp 0x45c516
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407ae0
sete al
test al, al
jne 0x45c599
cmp dword [ebp - 4], 0
jne 0x45c53a
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.0040774c
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x45c599
mov eax, dword [ebp - 4]
call fcn.0040774c
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.004077a4
mov eax, dword [ebp - 0x20]
movzx ecx, byte [ebp - 0x12]
movzx edx, byte [ebp - 0x11]
call fcn.0045c428
mov ebx, eax
test bl, bl
je 0x45c578
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.0040774c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x45c57c
xor eax, eax
jmp 0x45c57e
mov al, 1
mov ebx, eax
jmp 0x45c599
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.0040774c
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c5c8
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406b88
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406b88
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040774c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45c5f9
test al, 0x10
jne 0x45c5fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45cb94
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0045cbdc
test al, al
je 0x45cbd4
mov eax, esi
call fcn.0041cdac
mov ebx, eax
test bl, bl
jne 0x45cbd4
mov eax, esi
call fcn.0045cae4
push 0x80
mov eax, esi
call fcn.0040774c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, esi
call fcn.0041cdac
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45cbdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040774c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45cbf5
test al, 0x10
je 0x45cbf9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45da9c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040774c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jbe 0x45db4a
xor eax, eax
push ebp
push 0x45db39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004044d8
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, esi
xor ecx, ecx
call fcn.00404a4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040774c
push eax
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45db4a
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4618f8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4619d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00407774
mov eax, dword [ebp - 0x18]
push eax
call fcn.00463a90
pop edx
call fcn.00460d28
test al, al
je 0x461940
mov ebx, 1
jmp 0x4619be
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46196d
call sub.kernel32.dll_GetLastError_2
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x4619be
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x4619a1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x4619a1
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619db
lea eax, [ebp - 0x18]
call fcn.00406b28
ret
Function at 0x4619e8
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x461a33
lea eax, [esp + 0x105]
push eax
push 0
push 0x461a64
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x461a33
lea eax, [esp + 0x105]
call fcn.0040702c
cmp ebx, eax
setg al
jmp 0x461a35
xor eax, eax
mov ebx, eax
test bl, bl
je 0x461a4f
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0041d434
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x4b5bb0]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x462430
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x462439
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4625b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.004622b0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0x22]
mov edx, dword [ebp - 4]
call fcn.0041d514
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.00462110
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0x122]
mov edx, dword [ebp - 4]
call fcn.0041d514
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.004621f4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00407404
lea eax, [ebx + 0x222]
mov edx, dword [ebp - 4]
call fcn.0041d514
cmp word [esi + 0x4a], 0
je 0x4624f6
push edi
lea eax, [ebp - 9]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x4c]
call dword [esi + 0x48]
cmp byte [ebp - 9], 0
jne 0x462567
lea eax, [ebp - 8]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.004077e0
mov eax, dword [ebp - 8]
call fcn.0041c9fc
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.004077e0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.004077e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.004612d0
mov eax, dword [ebp - 8]
call fcn.0040774c
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
mov dword [esi + 0x3ac], eax
xor eax, eax
mov dword [esi + 0x3b0], eax
movzx ebx, byte [ebp - 9]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4625bd
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00406b88
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00406b88
lea eax, [ebp - 8]
call fcn.00406b28
lea eax, [ebp - 4]
call fcn.00406b4c
ret
Function at 0x46473c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
xor ebx, ebx
mov eax, dword [0x4b5fa4]
cmp dword [eax], 2
je 0x46475d
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_EnterCriticalSection_1
mov bl, 1
jmp 0x4647a1
cmp edi, 0xffffffff
jne 0x46476f
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_EnterCriticalSection_1
mov bl, 1
jmp 0x4647a1
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_TryEnterCriticalSection
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4647a1
push 0xa
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
call sub.kernel32.dll_GetTickCount_1
sub eax, ebp
cmp edi, eax
jae 0x464776
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x464be8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406c0c
xor eax, eax
push ebp
push 0x464e2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00406f08
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x464e07
cmp dword [0x4b5358], 0
jne 0x464c4d
call fcn.00465c94
cmp dword [0x4b5358], 0
je 0x464e07
xor eax, eax
push ebp
push 0x464dfd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x464dec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x464e50
call fcn.00406f50
mov edx, dword [ebp - 4]
mov eax, 0x464e68
call fcn.00407cc4
mov esi, eax
test esi, esi
jle 0x464cac
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00407b18
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00407b60
cmp dword [ebp - 4], 0
jne 0x464ccc
mov dl, 1
mov eax, ebx
call fcn.00456a94
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.0041c114
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4b5358]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0045d370
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00406f08
mov eax, dword [0x4b5358]
cmp byte [eax + 0x13], 0
je 0x464d39
push 0x464e78
push dword [ebp - 4]
push 0x464e9c
push ebx
push 0x464e9c
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00407a30
mov eax, dword [ebp - 0x1c]
call fcn.0040774c
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x464d86
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00406f08
mov eax, dword [0x4b5358]
cmp byte [eax + 0x11], 0
je 0x464d70
push dword [ebp - 4]
push 0x464eb0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00407a30
mov byte [ebp - 0xd], 0
call fcn.00406294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464e07
mov byte [ebp - 0xd], 1
mov eax, dword [0x4b5358]
cmp byte [eax + 0x11], 0
je 0x464daf
push dword [ebp - 4]
push 0x464ec0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00407a30
lea eax, [ebp - 8]
call fcn.00406b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464df3
mov eax, dword [0x4b5358]
cmp dword [eax + 0x18], 0
je 0x464deb
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x4b5358]
call dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00406f08
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e36
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406b88
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b88
ret
Function at 0x465adc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x465bdc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x465bf8
call fcn.00406f50
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete bl
test bl, bl
je 0x465b42
push 0xa
lea eax, [ebp - 0xe]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x465b46
xor eax, eax
jmp 0x465b48
mov al, 1
mov ebx, eax
test bl, bl
je 0x465b63
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
call fcn.004077a4
mov eax, esi
lea edx, [ebp - 0xe]
call fcn.004077a4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041b384
mov eax, dword [ebp - 0x1c]
mov edx, 0x465c0c
call fcn.00407ae0
jne 0x465baa
lea edx, [ebp - 0x20]
mov eax, dword [esi]
call fcn.0041b384
mov eax, dword [ebp - 0x20]
mov edx, 0x465c20
call fcn.00407ae0
jne 0x465baa
mov eax, edi
mov edx, dword [0x4b535c]
mov ecx, 0
call fcn.00407404
jmp 0x465bb9
mov eax, edi
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465be3
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406b88
lea eax, [ebp - 4]
call fcn.00406b28
ret
Function at 0x46eac0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x46eca0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_GetClientRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0x46eb1d
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_BeginPaint
mov ebx, eax
jmp 0x46eb30
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WindowFromDC
test eax, eax
jne 0x46eb30
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46eb80
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf5], 0
jne 0x46eb80
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x14], eax
jmp 0x46eb90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf5]
test eax, eax
je 0x46eb90
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46ec8f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xf5], edx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x14
mov eax, dword [ebp - 4]
push eax
call fcn.004716d4
cmp dword [0x4bb238], 0
je 0x46ebd2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call dword [0x4bb238]
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call fcn.004716d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x45b]
test eax, eax
je 0x46ebf7
xor edx, edx
call fcn.0046aad4
push 0
push ebx
call sub.gdi32.dll_SelectClipRgn
cmp ebx, dword [ebp - 0xc]
je 0x46ec23
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
cmp dword [ebp - 8], 0
jne 0x46ec3c
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ec96
cmp dword [ebp - 0x10], 0
je 0x46ec7b
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf5], edx
jmp 0x46ec8e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x46ec8e
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf5], edx
ret
Function at 0x46f8dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x423]
test eax, eax
je 0x46f937
cmp byte [ebx + 0x44d], 0
jne 0x46f937
push eax
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
jne 0x46f905
xor esi, esi
jmp 0x46f921
inc eax
mov ebp, eax
add ebp, ebp
mov eax, ebp
call fcn.004044d8
mov esi, eax
push ebp
push esi
mov eax, dword [ebx + 0x423]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, edi
mov edx, esi
call fcn.004077a4
test esi, esi
je 0x46f944
mov eax, esi
call fcn.004044f4
jmp 0x46f944
mov eax, edi
mov edx, dword [ebx + 0x441]
call fcn.004077a4
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x474610
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffee4
mov dword [esp], 0x11c
push esp
call sub.kernel32.dll_GetVersionExW
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x47464d
mov al, 4
mov edx, dword [esp + 4]
cmp edx, 6
jne 0x47463b
mov al, 7
jmp 0x474686
cmp edx, 5
jb 0x474686
mov al, 5
cmp dword [esp + 8], 1
jb 0x474686
mov al, 6
jmp 0x474686
cmp eax, 1
jne 0x474684
mov al, 1
cmp dword [esp + 4], 4
ja 0x474669
cmp dword [esp + 4], 4
jne 0x47466b
cmp dword [esp + 8], 0xa
jb 0x47466b
mov al, 2
cmp dword [esp + 4], 4
ja 0x474680
cmp dword [esp + 4], 4
jne 0x474686
cmp dword [esp + 8], 0x5a
jb 0x474686
mov al, 3
jmp 0x474686
xor eax, eax
add esp, 0x11c
ret

Function at 0x47ac3c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00406c0c
xor eax, eax
push ebp
push 0x47aca0
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.0040774c
push eax
mov eax, esi
call fcn.0040774c
push eax
mov eax, ebx
call fcn.0040774c
push eax
push 0x47acb0
push edi
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aca7
lea eax, [ebp + 8]
call fcn.00406b28
ret

Function at 0x47ae6c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c0c
xor eax, eax
push ebp
push 0x47af06
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a4c
lea eax, [ebp - 0x44]
call fcn.0047bb78
xor eax, eax
push ebp
push 0x47aee9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x3c
lea eax, [ebp - 0x44]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040774c
push eax
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aef0
lea eax, [ebp - 0x44]
call fcn.0047bc88
ret
Function at 0x488d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x488f38
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x488f08
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.0047cb00
call fcn.0047d584
call fcn.004a5488
xor ecx, ecx
mov dl, 1
mov eax, dword [0x484684]
call fcn.00487f48
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x488ef7
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00471a88
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], edi
cmp edi, 0x20
setne al
push eax
mov edx, dword [0x4b5d70]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00488268
mov edx, dword [0x4b5fa8]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
call fcn.00488180
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00407834
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00488090
mov ebx, eax
test ebx, ebx
je 0x488ee1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x30]
mov cl, 7
call fcn.00471ac8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x488eda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0047254c
call fcn.0046acec
mov ecx, eax
mov edx, dword [ebx + 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00475924
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
call fcn.0043bc04
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
push 0
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00487604
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00407848
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x488c78]
call fcn.00489050
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x488ebd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488ec4
mov eax, dword [ebp - 0xc]
call fcn.00404ebc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488efe
mov eax, dword [ebp - 8]
call fcn.00404ebc
ret
Function at 0x4959b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x620]
call fcn.004088c4
test eax, eax
jl 0x495a6b
cmp word [esi], 0xd
jne 0x495a52
mov edi, dword [ebx + 0x18]
cmp byte [edi + 0x4a7], 0
je 0x495a3a
mov eax, edi
call fcn.00471510
push eax
mov eax, dword [ebx + 0x18]
call fcn.00471254
dec eax
pop edx
cmp edx, eax
jne 0x495a0b
mov eax, ebx
call fcn.0049d068
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.00471738
jmp 0x495a7b
mov eax, dword [ebx + 0x18]
call fcn.00471510
mov edi, eax
mov eax, dword [ebx + 0x18]
call fcn.00471254
sub eax, 2
cmp edi, eax
jne 0x495a30
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.00471738
jmp 0x495a7b
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.00471738
push 0
push 0xd
push 0x464
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_SendMessageW
cmp word [esi], 0x1b
jne 0x495a6b
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x4a7], 0
je 0x495a6b
xor edx, edx
call fcn.00471738
cmp word [esi], 0x21
jae 0x495a7b
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x2e], 3
pop edi
pop esi
pop ebx
pop ebp
ret 4