joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407984
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x45c319
test al, 0x10
je 0x45c31d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45cf94
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c24
xor eax, eax
push ebp
push 0x45d0be
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x45d089
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp byte [0x4c8119], 2
jne 0x45d071
cmp dword [ebp - 4], 0
je 0x45d071
lea eax, [ebp - 4]
mov edx, 0x45d0d8
call fcn.00407b88
cmp dword [0x4c0f44], 0
je 0x45d07f
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040763c
lea eax, [ebp - 8]
call fcn.004070fc
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x45d01f
sub eax, 4
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
push edx
mov eax, dword [0x4c0f44]
push eax
call sub.kernel32.dll_WriteFile_1
cmp dword [ebp - 0xc], 0
jne 0x45d07f
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.0041c350
push dword [ebp - 0x14]
push 0x45d0ec
push dword [ebp - 4]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00407c68
mov eax, dword [ebp - 0x10]
call fcn.00407984
push eax
call sub.kernel32.dll_OutputDebugStringW
jmp 0x45d07f
mov eax, dword [ebp - 4]
call fcn.00407984
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d093
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d0c5
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406ba0
lea eax, [ebp - 8]
call fcn.00406b64
lea eax, [ebp - 4]
call fcn.00406b40
ret
Function at 0x45d9bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45dab6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
push ebp
push 0x45da5c
push dword fs:[esi]
mov dword fs:[esi], esp
test dl, dl
je 0x45da0b
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0041b7c4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0xfde9
call fcn.0040763c
jmp 0x45da1a
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0xfde9
call fcn.0040763c
mov edx, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x45da2b
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
test ecx, ecx
jle 0x45da4f
mov eax, 1
imul edx, edx, 0x5517e877
mov ebx, dword [ebp - 4]
movzx ebx, byte [ebx + eax - 1]
xor edx, dword [ebx*4 + 0x4c0f50]
inc eax
dec ecx
jne 0x45da36
mov dword [ebp - 8], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45da93
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dabd
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406ba0
lea eax, [ebp - 4]
call fcn.00406b64
ret

Function at 0x45db0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x45dc19
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor ecx, ecx
push ebp
push 0x45dbf1
push dword fs:[ecx]
mov dword fs:[ecx], esp
test dl, dl
je 0x45db69
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0041b7c4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0xfde9
call fcn.0040763c
jmp 0x45db78
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0xfde9
call fcn.0040763c
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x45db92
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x45dbdb
mov esi, 1
push 0
push 0x5517e877
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00408778
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
mov edx, dword [eax*8 + 0x4c1354]
mov eax, dword [eax*8 + 0x4c1350]
xor eax, dword [ebp - 0x18]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
inc esi
dec ebx
jne 0x45db9d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dbfb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dc20
lea eax, [ebp - 0x1c]
call fcn.00406b40
lea eax, [ebp - 4]
call fcn.00406b64
ret
Function at 0x45e6e4
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.00407984
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jbe 0x45e792
xor eax, eax
push ebp
push 0x45e781
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004044f0
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.00404a64
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.00407984
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 0x45e792
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x462540
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 0x46261c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.004079ac
mov eax, dword [ebp - 0x18]
push eax
call fcn.004646e0
pop edx
call fcn.00461970
test al, al
je 0x462588
mov ebx, 1
jmp 0x462606
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 0x4625b5
call sub.kernel32.dll_GetLastError_2
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x462606
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x4625e9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x4625e9
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 0x462623
lea eax, [ebp - 0x18]
call fcn.00406b40
ret
Function at 0x462630
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 0x46267b
lea eax, [esp + 0x105]
push eax
push 0
push 0x4626ac
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x46267b
lea eax, [esp + 0x105]
call fcn.00407044
cmp ebx, eax
setg al
jmp 0x46267d
xor eax, eax
mov ebx, eax
test bl, bl
je 0x462697
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0041d824
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x4c24e0]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x463078
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x463081
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 0x4631fe
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.00462ef8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040763c
lea eax, [ebx + 0x22]
mov edx, dword [ebp - 4]
call fcn.0041d904
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.00462d58
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040763c
lea eax, [ebx + 0x122]
mov edx, dword [ebp - 4]
call fcn.0041d904
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00462e3c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040763c
lea eax, [ebx + 0x222]
mov edx, dword [ebp - 4]
call fcn.0041d904
cmp word [esi + 0x4a], 0
je 0x46313e
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 0x4631af
lea eax, [ebp - 8]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00407a18
mov eax, dword [ebp - 8]
call fcn.0041cdec
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00407a18
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.00407a18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00461f18
mov eax, dword [ebp - 8]
call fcn.00407984
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 0x463205
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00406ba0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00406ba0
lea eax, [ebp - 8]
call fcn.00406b40
lea eax, [ebp - 4]
call fcn.00406b64
ret
Function at 0x46538c
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 [0x4c28ec]
cmp dword [eax], 2
je 0x4653ad
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_EnterCriticalSection_1
mov bl, 1
jmp 0x4653f1
cmp edi, 0xffffffff
jne 0x4653bf
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_EnterCriticalSection_1
mov bl, 1
jmp 0x4653f1
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 0x4653f1
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 0x4653c6
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4656e8
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.00406c24
xor eax, eax
push ebp
push 0x46593e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00406f20
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x465916
cmp dword [0x4c1b8c], 0
jne 0x46574d
call fcn.00466918
cmp dword [0x4c1b8c], 0
je 0x465916
xor eax, eax
push ebp
push 0x4658fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4658ec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x46595c
call fcn.00406f68
mov edx, dword [ebp - 4]
mov eax, 0x465974
call fcn.00407efc
mov esi, eax
test esi, esi
jle 0x4657ac
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00407d50
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00407d98
cmp dword [ebp - 4], 0
jne 0x4657cc
mov dl, 1
mov eax, ebx
call fcn.0045d9bc
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.0041c504
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4c1b8c]
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.0045e34c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00406f20
mov eax, dword [0x4c1b8c]
cmp byte [eax + 0x13], 0
je 0x465839
push 0x465984
push dword [ebp - 4]
push 0x4659a8
push ebx
push 0x4659a8
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00407c68
mov eax, dword [ebp - 0x1c]
call fcn.00407984
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x465886
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00406f20
mov eax, dword [0x4c1b8c]
cmp byte [eax + 0x11], 0
je 0x465870
push dword [ebp - 4]
push 0x4659bc
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00407c68
mov byte [ebp - 0xd], 0
call fcn.004062ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465916
mov byte [ebp - 0xd], 1
mov eax, dword [0x4c1b8c]
cmp byte [eax + 0x11], 0
je 0x4658af
push dword [ebp - 4]
push 0x4659cc
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00407c68
lea eax, [ebp - 8]
call fcn.00406b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4658f3
mov eax, dword [0x4c1b8c]
cmp dword [eax + 0x18], 0
je 0x4658eb
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x4c1b8c]
call dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00406f20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465945
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406ba0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ba0
ret
Function at 0x466760
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 0x466860
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x46687c
call fcn.00406f68
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 0x4667c6
push 0xa
lea eax, [ebp - 0xe]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x4667ca
xor eax, eax
jmp 0x4667cc
mov al, 1
mov ebx, eax
test bl, bl
je 0x4667e7
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
call fcn.004079dc
mov eax, esi
lea edx, [ebp - 0xe]
call fcn.004079dc
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041b774
mov eax, dword [ebp - 0x1c]
mov edx, 0x466890
call fcn.00407d18
jne 0x46682e
lea edx, [ebp - 0x20]
mov eax, dword [esi]
call fcn.0041b774
mov eax, dword [ebp - 0x20]
mov edx, 0x4668a4
call fcn.00407d18
jne 0x46682e
mov eax, edi
mov edx, dword [0x4c1b90]
mov ecx, 0
call fcn.0040763c
jmp 0x46683d
mov eax, edi
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040763c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466867
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406ba0
lea eax, [ebp - 4]
call fcn.00406b40
ret
Function at 0x46f8bc
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 0x46fa9c
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 0x46f919
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 0x46f92c
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WindowFromDC
test eax, eax
jne 0x46f92c
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46f97c
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf5], 0
jne 0x46f97c
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 0x46f98c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf5]
test eax, eax
je 0x46f98c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46fa8b
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.0047248c
cmp dword [0x4c825c], 0
je 0x46f9ce
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call dword [0x4c825c]
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call fcn.0047248c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x45b]
test eax, eax
je 0x46f9f3
xor edx, edx
call fcn.0046b7a0
push 0
push ebx
call sub.gdi32.dll_SelectClipRgn
cmp ebx, dword [ebp - 0xc]
je 0x46fa1f
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 0x46fa38
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 0x46fa92
cmp dword [ebp - 0x10], 0
je 0x46fa77
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 0x46fa8a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x46fa8a
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf5], edx
ret
Function at 0x4706d8
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 0x470733
cmp byte [ebx + 0x44d], 0
jne 0x470733
push eax
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
jne 0x470701
xor esi, esi
jmp 0x47071d
inc eax
mov ebp, eax
add ebp, ebp
mov eax, ebp
call fcn.004044f0
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.004079dc
test esi, esi
je 0x470740
mov eax, esi
call fcn.0040450c
jmp 0x470740
mov eax, edi
mov edx, dword [ebx + 0x441]
call fcn.004079dc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x475534
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 0x475571
mov al, 4
mov edx, dword [esp + 4]
cmp edx, 6
jne 0x47555f
mov al, 7
jmp 0x4755aa
cmp edx, 5
jb 0x4755aa
mov al, 5
cmp dword [esp + 8], 1
jb 0x4755aa
mov al, 6
jmp 0x4755aa
cmp eax, 1
jne 0x4755a8
mov al, 1
cmp dword [esp + 4], 4
ja 0x47558d
cmp dword [esp + 4], 4
jne 0x47558f
cmp dword [esp + 8], 0xa
jb 0x47558f
mov al, 2
cmp dword [esp + 4], 4
ja 0x4755a4
cmp dword [esp + 4], 4
jne 0x4755aa
cmp dword [esp + 8], 0x5a
jb 0x4755aa
mov al, 3
jmp 0x4755aa
xor eax, eax
add esp, 0x11c
ret
Function at 0x47fc98
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.00406c24
xor eax, eax
push ebp
push 0x47fcfc
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.00407984
push eax
mov eax, esi
call fcn.00407984
push eax
mov eax, ebx
call fcn.00407984
push eax
push 0x47fd0c
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 0x47fd03
lea eax, [ebp + 8]
call fcn.00406b40
ret

Function at 0x47fe54
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c24
xor eax, eax
push ebp
push 0x47feee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a64
lea eax, [ebp - 0x44]
call fcn.00480d54
xor eax, eax
push ebp
push 0x47fed1
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.00407984
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 0x47fed8
lea eax, [ebp - 0x44]
call fcn.00480e64
ret

Function at 0x481b34
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
call fcn.0040a1a4
push eax
push 0x481b54
push 5
push 0
push 0x4c2258
call sub.ole32.dll_CoCreateInstance
pop ebx
ret
Function at 0x48b6f0
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 0x48b8e8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48b8b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.004af070
call fcn.004b08a0
call fcn.004ab314
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4867ac]
call fcn.0048a8a0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48b8a7
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00472840
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], edi
cmp edi, 0x20
setne al
push eax
mov edx, dword [0x4c26ac]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0048abcc
mov edx, dword [0x4c28e4]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
call fcn.0048aae4
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00407a6c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0048a9ec
mov ebx, eax
test ebx, ebx
je 0x48b891
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.00472880
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48b88a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00473304
call fcn.0046ba60
mov ecx, eax
mov edx, dword [ebx + 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00476848
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
call fcn.0043c03c
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
push 0
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00489e9c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00407a80
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 [0x48b628]
call fcn.0048ba00
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48b86d
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 0x48b874
mov eax, dword [ebp - 0xc]
call fcn.00404ed4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b8ae
mov eax, dword [ebp - 8]
call fcn.00404ed4
ret