joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433f8c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
mov edi, 0x103
jmp 0x434047
xor eax, eax
cmp byte [0x47e6b0], bl
je 0x433fd9
mov eax, 0x100
lea ecx, [esp + 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434053
push dword [esp + 0x14]
call fcn.00433f8c
pop ecx
push dword [esp + 0x14]
mov byte [esp + 0x13], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xf], bl
je 0x434053
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x434053
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
cmp eax, edi
jne 0x433fca
mov al, 1
jmp 0x434055
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434a3e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x434ac6
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileType]
cmp eax, 1
jne 0x434ac6
mov esi, dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push eax
xor ebx, ebx
push ebx
push ebx
push edi
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
je 0x434a9a
cmp dword [ebp + 0x10], ebx
jbe 0x434a9a
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x434a92
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
jmp 0x434ac8
push ebx
push ebx
push dword [ebp - 4]
push edi
call esi
cmp dword [ebp + 0x18], ebx
je 0x434aba
push 2
push ebx
push ebx
push edi
call esi
push ebx
push ebx
push dword [ebp - 4]
mov edi, eax
push dword [ebp + 8]
call esi
sub edi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
inc eax
jmp 0x434ad0
push 6
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43a484
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x480358
push edi
call fcn.004507e0
push 0x10
push ebx
mov esi, 0x480348
push esi
call fcn.004507e0
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [esp + 0x30]
xor eax, eax
inc eax
push ebx
mov dword [0x480358], 0x44
mov dword [0x480384], eax
mov word [0x480388], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
pop edi
pop esi
pop ebx
je 0x43a4e7
push dword [0x480348]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret 4
Function at 0x43aa69
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x4134], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x4138], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
lea eax, [edi + 0x413c]
cmp ecx, dword [eax]
jne 0x43aab5
cmp edx, dword [edi + 0x4140]
je 0x43aacf
cmp dword [ebp + 0xc], 1
mov dword [eax], ecx
mov dword [edi + 0x4140], edx
jne 0x43aacf
push edx
push ecx
push 0xfffffffffffffff5
push dword [ebp + 8]
call fcn.0043a383
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
mov ebx, 0x8000
test bx, ax
jne 0x43aaf6
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x43aaf6
and dword [ebp - 4], 0
jmp 0x43aafd
mov dword [ebp - 4], 1
push 2
call esi
test bx, ax
jne 0x43ab17
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x43ab17
xor ebx, ebx
jmp 0x43ab1a
xor ebx, ebx
inc ebx
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 0x4144]
je 0x43ab81
cmp dword [ebp + 0xc], 1
jne 0x43ab81
cmp byte [edi + 0x4170], 0
je 0x43ab87
test esi, esi
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43ab42
push 0xfffffffffffffff9
jmp 0x43ab72
push 0xfffffffffffffff8
push dword [ebp + 8]
call fcn.0043a383
cmp byte [edi + 0x414c], 0
je 0x43ab7a
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x1000000
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43ab70
push 0xfffffffffffffffa
jmp 0x43ab72
push 0xfffffffffffffff4
push dword [ebp + 8]
call fcn.0043a383
mov byte [edi + 0x414c], 0
cmp dword [ebp + 0xc], 0
je 0x43ab8d
mov dword [edi + 0x4144], esi
cmp ebx, dword [edi + 0x4148]
je 0x43abbb
cmp dword [ebp + 0xc], 1
jne 0x43abbb
test ebx, ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43abb1
push 0xfffffffffffffff7
push dword [ebp + 8]
call fcn.0043a383
jmp 0x43abc1
push 0xfffffffffffffff6
push dword [ebp + 8]
call fcn.0043a383
cmp dword [ebp + 0xc], 0
je 0x43abc7
mov dword [edi + 0x4148], ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43f949
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [eax], bl
push esi
push edi
mov dword [ebp - 0xc], ebx
je 0x43fa50
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43f97f
xor eax, eax
jmp 0x43fa7c
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc]
push eax
push 0x4658d0
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x43f978
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
cmp edx, ebx
mov eax, dword [ebp + 0x10]
jne 0x43fa27
cmp dword [eax], ebx
jne 0x43fa27
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
jmp 0x43fa2f
mov dword [ebp - 0x2c], edx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
push 0x2000
push dword [eax]
push dword [ecx]
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43fa53
mov dword [ebp - 8], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x43fa64
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
push eax
push ebx
mov dword [esi + 0x44], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4401bd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x4158]
cmp eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
je 0x440245
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x44023c
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x44022e
cmp byte [eax + 0x70], 0xb
je 0x44022e
mov cl, byte [eax + 0x73]
movzx edx, cl
cmp edx, dword [esi + 0x4158]
je 0x440210
cmp byte [esi + 0x4160], 0
je 0x44022e
cmp cl, 0xff
je 0x44022e
cmp byte [eax + 0x70], 0xa
je 0x44022e
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x44022e
cmp byte [eax + 0x70], 0x1a
jne 0x44022e
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x4401e2
mov eax, dword [ebp + 8]
mov dword [esi + 0x4158], eax
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x4402a5
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x440297
cmp byte [eax + 0x70], 0xb
je 0x440297
movzx ecx, byte [eax + 0x73]
cmp ecx, dword [esi + 0x4158]
jne 0x440297
test byte [eax + 0x72], 0x20
jne 0x440297
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
push 4
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x440297
cmp byte [eax + 0x70], 0x1a
jne 0x440297
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x440253
push 0
push dword [ebp + 8]
push 0x130c
push dword [esi + 0x4150]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebx
leave
ret 4
Function at 0x444676
Capabilities:
Parse credit card information

Disassembly:
jmp 0x44470f
cmp ecx, 0x4f
jne 0x44468d
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x44470d
cmp ecx, 0x5e
jne 0x4446a9
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x44471c
movzx ecx, byte [0x46695e]
jmp 0x44470d
cmp ecx, 0x38
jl 0x4446d6
cmp ecx, 0x3d
jle 0x4446c7
cmp ecx, 0x40
jle 0x4446c2
cmp ecx, 0x43
jle 0x4446c7
cmp ecx, 0x44
jne 0x4446d6
mov dl, byte [eax + 3]
jmp 0x4446ca
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x4446d4
cmp dl, 0xe
jne 0x4446d6
inc eax
inc eax
movzx edx, byte [ecx + 0x466900]
add eax, edx
cmp dword [esp + 4], 0
je 0x44470f
cmp ecx, 0x1b
jl 0x44470f
cmp ecx, 0x1c
jle 0x4446fa
cmp ecx, 0x1d
jle 0x44470f
cmp ecx, 0x2a
jg 0x44470f
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x44470f
and ecx, 0x3f
movzx ecx, byte [ecx + 0x4669c0]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x44467b
xor eax, eax
ret
Function at 0x450e2e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x450e6b
cmp dword [ebp + 0x14], edi
je 0x450e6b
cmp ecx, edi
jne 0x450e72
call fcn.0045435c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004542fd
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x450e86
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x450ea7
cmp ebx, 0xffffffff
je 0x450e96
push ebx
push edi
push ecx
call fcn.004507e0
add esp, 0xc
cmp esi, edi
je 0x450e53
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x450e53
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x450ec3
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x450eca
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x450fbb
test word [esi + 0xc], 0x10c
je 0x450f1e
mov eax, dword [esi + 4]
test eax, eax
je 0x450f1e
jl 0x45101c
cmp ebx, eax
mov edi, ebx
jb 0x450eef
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x450fc3
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00459630
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x450fb3
cmp ebx, dword [ebp - 0xc]
jb 0x450f8b
cmp dword [ebp - 0xc], 0
je 0x450f48
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x450f3d
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x450f44
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x450f53
mov eax, SysReAllocString
cmp ebx, eax
ja 0x450f53
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x450fef
push eax
push dword [ebp - 8]
push esi
call fcn.0045195b
pop ecx
push eax
call fcn.00459533
add esp, 0xc
test eax, eax
je 0x45102e
cmp eax, 0xffffffff
je 0x45101c
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x450fb3
push esi
call fcn.00458e52
cmp eax, 0xffffffff
pop ecx
je 0x451020
cmp dword [ebp - 4], 0
je 0x450fef
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x450ed2
mov eax, dword [ebp + 0x14]
jmp 0x450e6d
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x450fda
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004507e0
add esp, 0xc
call fcn.0045435c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x450e63
cmp dword [ebp + 0xc], 0xffffffff
je 0x451005
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004507e0
add esp, 0xc
call fcn.0045435c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x450e63
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x450e6d
or dword [esi + 0xc], 0x10
jmp 0x451020
Function at 0x4544c3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x471c60]
je 0x4544de
inc edi
cmp edi, 0x17
jb 0x4544cf
cmp edi, 0x17
jae 0x45465e
push ebp
push 3
call fcn.0045eb03
cmp eax, 1
pop ecx
je 0x45462a
push 3
call fcn.0045eb03
test eax, eax
pop ecx
jne 0x454512
cmp dword [0x471498], 1
je 0x45462a
cmp ebx, 0xfc
je 0x45465d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x473b90
push ebp
call fcn.0045e869
add esp, 0xc
test eax, eax
je 0x454548
push esi
push esi
push esi
push esi
push esi
call fcn.00454201
add esp, 0x14
push 0x104
mov esi, 0x473ba9
push esi
push 0
mov byte [0x473cad], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x45458c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0045e869
add esp, 0xc
test eax, eax
je 0x45458c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00454201
add esp, 0x14
push esi
call fcn.0044e140
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4545d1
push esi
call fcn.0044e140
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x473ea4
push 0x467880
sub ecx, eax
push ecx
push eax
call fcn.0045e7b6
add esp, 0x14
test eax, eax
je 0x4545d1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00454201
add esp, 0x14
jmp 0x4545d3
xor esi, esi
push 0x46c278
push ebx
push ebp
call fcn.0045e6f8
add esp, 0xc
test eax, eax
je 0x4545f3
push esi
push esi
push esi
push esi
push esi
call fcn.00454201
add esp, 0x14
push dword [edi*8 + 0x471c64]
push ebx
push ebp
call fcn.0045e6f8
add esp, 0xc
test eax, eax
je 0x454615
push esi
push esi
push esi
push esi
push esi
call fcn.00454201
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045e946
add esp, 0xc
jmp 0x45465d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45465d
cmp ebp, 0xffffffff
je 0x45465d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x471c64]
push dword [esi]
call fcn.0044e140
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x459ac9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x471f04]
jne 0x459ad3
repz ret
jmp fcn.00461437

Function at 0x45e946
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00453c78
xor ebx, ebx
cmp dword [0x47421c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45ea1c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45eafc
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46963c
push edi
call esi
cmp eax, ebx
je 0x45eafc
push eax
call fcn.00453c0a
mov dword [esp], 0x46962c
push edi
mov dword [0x47421c], eax
call esi
push eax
call fcn.00453c0a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x474220], eax
call esi
push eax
call fcn.00453c0a
mov dword [0x474224], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044dbbe
test eax, eax
pop ecx
pop ecx
je 0x45e9ea
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454201
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45ea1c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00453c0a
cmp eax, ebx
pop ecx
mov dword [0x47422c], eax
je 0x45ea1c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453c0a
pop ecx
mov dword [0x474228], eax
mov eax, dword [0x474228]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45eaa1
cmp dword [0x47422c], ecx
je 0x45eaa1
push eax
call fcn.00453c81
push dword [0x47422c]
mov esi, eax
call fcn.00453c81
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45eaa1
cmp edi, ebx
je 0x45eaa1
call esi
cmp eax, ebx
je 0x45ea6e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45ea6e
test byte [ebp - 0x18], 1
jne 0x45eaa1
lea eax, [ebp - 0x10]
push eax
call fcn.0044dbf5
test eax, eax
pop ecx
je 0x45ea89
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454201
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45ea98
or dword [ebp + 0x10], 0x200000
jmp 0x45eadc
or dword [ebp + 0x10], 0x40000
jmp 0x45eadc
mov eax, dword [0x474220]
cmp eax, dword [ebp - 8]
je 0x45eadc
push eax
call fcn.00453c81
cmp eax, ebx
pop ecx
je 0x45eadc
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45eadc
mov eax, dword [0x474224]
cmp eax, dword [ebp - 8]
je 0x45eadc
push eax
call fcn.00453c81
cmp eax, ebx
pop ecx
je 0x45eadc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47421c]
call fcn.00453c81
cmp eax, ebx
pop ecx
je 0x45eafc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45eafe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430f08
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x430f0e
ret
Function at 0x1001692
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x3e9
push ebx
call esi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea eax, [eax + ecx - 0x104]
mov ecx, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax - 0x61]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 4]
push 1
push 0
push 0
add eax, 0x33
push eax
mov eax, dword [ebp - 8]
add eax, 0x82
push eax
push dword [ebp + 8]
push 0x3eb
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call edi
mov eax, dword [ebp - 4]
push 1
push 0
push 0
add eax, 0x3b
push eax
mov eax, dword [ebp - 8]
add eax, 0x92
push eax
push dword [ebp + 8]
push 0x3ec
push ebx
call esi
push eax
call edi
push 0x3ee
push ebx
call esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0xfffffffffffffffe
sub eax, 0x104
cdq
pop ecx
idiv ecx
add dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0
push 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 0x4f]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
call edi
push 0x105
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x124]
push eax
push 0x3ee
push ebx
call fcn.01001532
push 0x3ed
push ebx
call esi
push 1
push 0
mov esi, eax
mov eax, dword [ebp - 4]
push 0
add eax, 0x53
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push esi
call edi
push 0x105
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x124]
push eax
push 0x3ed
push ebx
call fcn.01001532
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10018f2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
push edi
je 0x1001900
inc ebx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, dword [0x10031a4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001929
xor ebx, ebx
inc ebx
mov dword [0x10031a4], eax
call esi
and dword [0x10031a8], 0
mov dword [0x10031ac], eax
cmp dword [0x10031a8], 0x14
jb 0x100193c
xor ebx, ebx
inc ebx
and dword [0x10031a8], 0
test ebx, ebx
je 0x1001a47
call esi
sub eax, dword [0x10031ac]
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0x3c
xor edx, edx
pop ecx
div ecx
mov ecx, dword [0x10031b0]
cmp eax, ecx
jne 0x100196e
test ecx, ecx
jne 0x1001a47
push 0x3c
pop ecx
xor edx, edx
mov dword [0x10031b0], eax
div ecx
push dword [edi + 0xc]
push 0x4b3
mov esi, edx
mov ebx, eax
call fcn.01001607
pop ecx
xor edi, edi
test ebx, ebx
pop ecx
mov dword [ebp + 0x10], eax
jne 0x10019af
test esi, esi
jne 0x10019d6
push 0x100110c
push eax
push 0x4bc
call fcn.01001607
add esp, 0xc
jmp 0x1001a0c
xor eax, eax
inc eax
test esi, esi
je 0x10019e6
cmp ebx, eax
jbe 0x10019c8
cmp eax, esi
sbb eax, eax
and eax, 2
add eax, 0x4b9
jmp 0x10019f1
cmp eax, esi
sbb eax, eax
and eax, 2
add eax, 0x4b8
jmp 0x10019f1
xor eax, eax
inc eax
cmp eax, esi
sbb eax, eax
neg eax
add eax, 0x4b4
jmp 0x10019f1
cmp eax, ebx
sbb eax, eax
neg eax
add eax, 0x4b6
push esi
push ebx
push eax
call fcn.01001607
mov edi, eax
push edi
push dword [ebp + 0x10]
push 0x4bc
call fcn.01001607
add esp, 0x18
cmp dword [ebp + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, eax
je 0x1001a1f
push dword [ebp + 0x10]
call esi
test edi, edi
je 0x1001a26
push edi
call esi
push ebx
push 0x3ea
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [0x1003188]
test eax, eax
je 0x1001a41
push eax
call esi
mov dword [0x1003188], ebx
inc dword [0x10031a8]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc