joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482250
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push esi
push 0x4bc434
mov esi, ecx
call fcn.00405410
test eax, eax
jne 0x48227d
push 0x4a7935
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4bc450
call fcn.0043b430
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x1c]
add eax, esi
mov ebp, esi
add esi, 4
mov dword [esp + 0x10], eax
cmp esi, eax
jbe 0x4822e4
xor esi, esi
cmp dword [0x4bc44c], esi
je 0x4822d0
cmp dword [0x4bc43c], esi
je 0x4822be
mov edx, dword [0x4bc434]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4bc43c], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4bc44c], esi
mov dword [0x4bc434], esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x482299
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x482299
mov ebx, dword [ecx]
mov ebp, esi
add esi, ebx
cmp esi, eax
ja 0x482299
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, ebx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x48235b
test ebx, ebx
je 0x482341
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4823b1
push ebx
push ebp
push eax
call fcn.0049b100
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, esi
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp + 4]
cmp esi, dword [esp + 0x10]
jbe 0x4822e0
jmp 0x482299
cmp dword [0x4bc44c], 0
je 0x482395
cmp dword [0x4bc43c], 0
je 0x482383
mov eax, dword [0x4bc434]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4bc43c], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4bc44c], eax
mov dword [0x4bc434], eax
push 0x4a7935
push str.Out_of_memory.
mov ecx, 0x4bc450
call fcn.0043b430
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4bc44c], esi
je 0x4823ef
cmp dword [0x4bc43c], esi
je 0x4823dd
mov ecx, dword [0x4bc434]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4bc43c], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4bc44c], esi
mov dword [0x4bc434], esi
push 0x4a7935
push 0x4a7b8c
mov ecx, 0x4bc450
call fcn.0043b430
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x4827e0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 0x17]
push edi
cmp eax, 3
ja case.default.0x4827f3
jmp dword [eax*4 + 0x4829a4]
mov eax, esi
call fcn.00401150
cmp dword [0x4bb594], 0
jne 0x4828c8
cmp dword [esi + 0xc], 0
jne 0x4828c8
mov edi, dword [esp + 0x14]
cmp dword [0x4bd4dc], esi
jne 0x482828
test edi, edi
jne 0x482885
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x13]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x482881
mov dword [0x4bd4dc], 0
test edi, edi
je 0x482879
mov eax, dword [0x4bb570]
test eax, eax
je 0x48286a
mov edx, dword [esi + 0x18]
push 0
push edx
push str.An_environment_variable_is_being_accessed__see_NoEnv.
push eax
mov ecx, 0x4bc450
call fcn.0043b950
mov ecx, dword [esi + 0x18]
call fcn.004806e0
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x4828b9
cmp byte [esi + 0x17], 0
jne 0x482890
mov eax, dword [esi + 0xc]
jmp 0x482892
mov eax, esi
test byte [eax + 0x15], 4
je 0x4828a3
push esi
mov ecx, 0x4bc450
call fcn.0043ba80
mov byte [edi], 0
mov dword [0x4bd4dc], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4bd4dc], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0xc]
test edi, edi
je 0x482938
test ebx, ebx
jne 0x4828fe
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x4828f2
push esi
mov ecx, 0x4bc450
call fcn.0043ba80
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x482938
cmp ebx, 0x186a0
jae 0x482929
mov al, byte [ecx]
test al, al
je 0x48291d
inc ecx
mov byte [edi], al
mov al, byte [ecx]
inc edi
test al, al
jne 0x482913
mov byte [edi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
push ebx
push ecx
push edi
call fcn.0049b100
add esp, 0xc
mov byte [ebx + edi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
push eax
call fcn.004827e0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404e70
cmp eax, 0xffffffff
jne 0x482967
xor eax, eax
test esi, esi
je 0x48299b
mov byte [eax + esi], 0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x482981
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
push ecx
push edx
call eax
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x4831d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
push edi
mov edi, eax
mov al, byte [esi]
cmp al, 0x41
je 0x4831de
cmp al, 0x61
jne 0x483241
cmp byte [esi + 1], 0
jne 0x483241
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
jne 0x483241
cmp byte [ebx], 0
jne 0x483241
cmp byte [edi], 0
jne 0x483241
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
test ebp, ebp
je 0x483241
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xca], 0
jne 0x483228
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x483241
push ebp
call fcn.00484410
add esp, 4
test al, al
jne 0x483241
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x48323c
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, ebp
pop edi
pop ebp
ret
mov eax, dword [esp + 0x14]
test al, al
jne 0x48326d
cmp byte [esi], al
jne 0x48326d
mov edx, dword [esp + 0x10]
cmp byte [edx], al
jne 0x48326d
cmp byte [ebx], al
jne 0x48326d
cmp byte [edi], al
jne 0x48326d
mov eax, dword [esp + 0xc]
call fcn.00483a20
test eax, eax
jne 0x483292
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0
push eax
mov eax, dword [esp + 0x1c]
push ebx
mov ecx, edi
mov edi, dword [esp + 0x24]
push eax
mov edx, esi
call fcn.00483820
add esp, 0x18
jmp 0x483266
pop edi
pop ebp
jmp fcn.00483300
Function at 0x483300
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x48330f
pop edi
add esp, 0x10
ret
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push 0
push edi
call ebp
mov dword [esp + 0x14], eax
cmp eax, dword [0x4bc41c]
je 0x48333c
mov esi, edi
call fcn.00484390
test al, al
je 0x48333c
pop esi
pop ebp
xor eax, eax
pop edi
add esp, 0x10
ret
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x483359
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, ebx
jne 0x483367
pop ebx
pop esi
pop ebp
mov eax, edi
pop edi
add esp, 0x10
ret
cmp byte [0x4bb564], 0
jne 0x483381
push ebx
call fcn.004832a0
add esp, 4
test eax, eax
jne 0x4834c6
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test ebx, ebx
je 0x4833e4
push 0
push ebx
call ebp
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4833e4
cmp dword [0x4bc41c], ebp
je 0x4833c7
mov esi, ebx
call fcn.00484390
test al, al
jne 0x4833c7
mov eax, dword [0x4bc41c]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4833e4
cmp ebp, eax
je 0x4833e4
push 1
push eax
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov esi, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
push edi
call esi
push 1
push 0xa
mov dword [0x4b79cc], 0
call fcn.00401450
add esp, 8
mov dword [0x4b79cc], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x483425
mov ebp, edi
jmp 0x483436
cmp ebp, ebx
je 0x48343a
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x48343a
test ebp, ebp
jne 0x48347b
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x4833f2
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.00418240
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.00418240
push ebx
call fcn.004832a0
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x483496
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x4bc41c]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x4834af
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x4834c4
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop ebx
pop esi
mov eax, ebp
pop ebp
pop edi
add esp, 0x10
ret
xor eax, eax
pop ebx
pop esi
pop ebp
pop edi
add esp, 0x10
ret
Function at 0x4835b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x4835c0
mov eax, esi
call fcn.0045ec50
jmp 0x4835cd
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 4]
test eax, eax
js 0x483628
je 0x483628
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401450
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x483625
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x483625
push 1
push 0x8000012f
call fcn.00401450
add esp, 8
push esi
call ebx
test eax, eax
jne 0x483604
pop edi
pop ebp
pop ebx
mov eax, esi
ret
Function at 0x483820
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e60
call fcn.0049faa0
mov eax, dword [esp + 0x8e68]
push ebx
push ebp
mov ebp, dword [esp + 0x8e6c]
push esi
mov esi, ecx
mov cl, byte [edx]
xor ebx, ebx
cmp cl, 0x41
je 0x48384b
cmp cl, 0x61
jne 0x4838a9
cmp byte [edx + 1], bl
jne 0x4838a9
cmp byte [edi], bl
jne 0x4838a9
cmp byte [eax], bl
jne 0x4838a9
cmp byte [esi], bl
jne 0x4838a9
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x48388a
cmp byte [ebp + 0xca], bl
jne 0x48388a
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x483888
push esi
call fcn.00484410
add esp, 4
test al, al
je 0x48388a
xor esi, esi
cmp byte [esp + 0x8e7c], bl
je 0x48389d
cmp esi, ebx
je 0x48389d
mov dword [ebp + 0xa4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
cmp cl, bl
jne 0x4838ca
cmp byte [edi], bl
jne 0x4838ca
cmp byte [eax], bl
jne 0x4838ca
cmp byte [esi], bl
jne 0x4838ca
mov eax, ebp
call fcn.00483a20
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x828], 0x4a7935
mov byte [esp + 0xc45], bl
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc50], ebx
mov dword [esp + 0xc54], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov dword [esp + 0xc68], ebx
mov dword [esp + 0xc6c], ebx
call fcn.00484570
test eax, eax
je 0x4839d9
test byte [esp + 0xc], 2
mov al, byte [esp + 0x8e78]
mov ecx, dword [esp + 0x8e80]
mov edx, dword [esp + 0x8e84]
mov byte [esp + 0xc35], al
mov dword [esp + 0xc44], ecx
mov dword [esp + 0xc48], edx
je 0x4839e5
mov eax, dword [esp + 0x828]
cmp eax, 0xffff
je 0x4839b1
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4839d9
cmp byte [ebp + 0xca], bl
jne 0x4839aa
mov esi, dword [esp + 0x828]
call fcn.00484480
cmp al, bl
jne 0x4839aa
mov eax, dword [esp + 0x828]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x4839d9
mov eax, dword [esp + 0x828]
cmp dword [esp + 0xc5c], eax
je 0x4839ca
lea esi, [esp + 0xc]
mov dword [esp + 0xc5c], eax
call fcn.004849b0
push ebx
lea ecx, [esp + 0x10]
push ecx
call fcn.00484a70
test eax, eax
jne 0x4839f5
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
lea edx, [esp + 0xc]
push edx
push 0x483aa0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc3c]
cmp byte [esp + 0x8e7c], bl
je 0x483a0f
cmp eax, ebx
je 0x483a0f
mov dword [ebp + 0xa4], eax
pop esi
pop ebp
pop ebx
add esp, 0x8e60
ret
Function at 0x483c20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x8018
call fcn.0049faa0
push ebx
push ebp
mov ebp, dword [esp + 0x8028]
push esi
push edi
mov edi, dword [esp + 0x802c]
mov esi, ecx
test edi, edi
je 0x483c49
mov ecx, edi
call fcn.0041c000
cmp dword [esp + 0x8038], 0
jne 0x483c5e
mov dword [esp + 0x8038], 0x1f4
cmp dword [esp + 0x803c], 1
jge 0x483c73
mov dword [esp + 0x803c], 0x32
cmp ebp, 1
jge 0x483c7d
mov ebp, 1
test esi, esi
je 0x483e4a
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x483e4a
cmp ebp, dword [esp + 0x20]
jg 0x483e4a
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.004807c0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x483e43
dec ebp
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
jmp 0x483cf0
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push ebp
push 0x403
push esi
call ebx
test eax, eax
je 0x483d67
mov edx, 0x7fff
cmp word [esp + 0x14], dx
ja 0x483dbe
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push ebp
push 0x402
push esi
call ebx
test eax, eax
je 0x483d67
movzx ecx, word [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
inc ecx
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x483db9
mov edx, dword [esp + 0x8034]
lea eax, [esp + 0x28]
call fcn.00483150
test al, al
jne 0x483de4
cmp dword [esp + 0x802c], 0
jne 0x483dc8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483e17
mov edi, dword [esp + 0x8038]
test edi, edi
js 0x483d9e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x483dfc
mov edx, dword [esp + 0x803c]
push 1
push edx
call fcn.00401450
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x483cf0
mov byte [esp + 0x28], 0
cmp dword [esp + 0x802c], 0
je 0x483e17
mov eax, dword [esp + 0x802c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00482410
mov esi, eax
jmp 0x483e1c
mov eax, dword [0x4bbc30]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7950
push eax
call fcn.00482410
jmp 0x483dbe
mov ecx, dword [0x4bbc30]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7dfc
push ecx
call fcn.00482410
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x8000
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov edi, dword [esp + 0x802c]
mov eax, 0x4a7dfc
test edi, edi
jne 0x483e58
mov eax, 0x4aa298
mov ecx, dword [0x4b7a60]
test byte [ecx + 0xe0], 1
jne 0x483e85
mov edx, dword [0x4bbc30]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.00482410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov edi, dword [0x4bc7c4]
push 0x4a7935
push 0
push eax
call fcn.0043ad70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
Function at 0x4849b0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0xc50]
test ecx, ecx
je 0x484a67
mov eax, dword [esi]
test eax, eax
je 0x484a67
push edi
test al, 1
jne 0x4849d9
mov eax, dword [esi + 0x80c]
cmp byte [eax], 0
je 0x4849f2
push 0x7fff
lea edi, [esi + 0xc58]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x4849f2
mov byte [edi], al
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x484a0d
mov edx, dword [esi + 0xc50]
lea ecx, [esi + 0xc54]
push ecx
push edx
call edi
test byte [esi], 0x20
je 0x484a48
mov ecx, dword [esi + 0xc50]
lea eax, [esp + 4]
push eax
push ecx
call edi
test eax, eax
je 0x484a48
movzx edx, byte [esi + 0xc28]
mov ecx, dword [esp + 4]
push edx
lea eax, [esi + 0x8d58]
call fcn.0045b4c0
add esp, 4
test eax, eax
jne 0x484a48
mov byte [esi + 0x8d58], al
test byte [esi], 8
pop edi
je 0x484a67
mov ecx, dword [esi + 0xc50]
push 0x101
lea eax, [esi + 0x8c57]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
pop ecx
ret

Function at 0x4851b0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e5c
call fcn.0049faa0
mov eax, dword [esp + 0x8e60]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x48525d
mov dword [esp + 0xc44], eax
lea eax, [esp + 4]
push eax
push 0x485930
mov dword [esp + 0xc], ebx
mov dword [esp + 0x818], 0x4a7935
mov byte [esp + 0xc35], bl
mov dword [esp + 0xc38], ebx
mov dword [esp + 0xc3c], ebx
mov dword [esp + 0xc40], ebx
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov byte [esp + 0xc50], cl
mov dword [esp + 0xc54], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc34], ebx
je 0x48525d
mov ecx, dword [0x4b7a60]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x48525d
push 1
push eax
call fcn.00401450
add esp, 8
mov eax, 1
pop ebx
add esp, 0x8e5c
ret 4
Function at 0x485270
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x48528c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4b7a60]
push eax
push esi
mov ecx, edi
call fcn.00485730
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x4852c3
test eax, eax
jne 0x4852c7
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00485380
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x485346
test esi, esi
je 0x485346
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401450
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x485325
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x485325
push 1
push 0x8000012f
call fcn.00401450
add esp, 8
push esi
call edi
test eax, eax
jne 0x485300
mov edx, dword [0x4b7a60]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x48533e
push 1
push eax
call fcn.00401450
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x485360
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00485380
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00485500
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x485500
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.0049faa0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x485680
xor cl, cl
mov eax, edi
call fcn.004856a0
test eax, eax
jne 0x485535
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4b7a60]
push eax
push ebp
mov ecx, edi
call fcn.00485730
test eax, eax
je 0x485558
xor eax, eax
mov dword [0x4bc3ac], eax
jmp 0x48555d
mov eax, dword [0x4bc3ac]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x4a7935
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc64], ebx
mov dword [esp + 0xc68], ebx
cmp byte [esp + 0x8e7c], bl
je 0x4855a3
mov byte [esp + 0xc41], bl
cmp eax, ebx
je 0x4855ab
mov byte [esp + 0xc41], 1
mov ecx, dword [0x4bc3a8]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc54], eax
lea eax, [esp + 0x18]
push eax
push 0x485800
mov dword [esp + 0xc58], ecx
mov dword [esp + 0xc60], edx
call esi
mov eax, dword [esp + 0xc48]
cmp eax, ebx
je 0x485658
lea ecx, [esp + 0x10]
push ecx
push 0x4842e0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x485615
mov edx, dword [esp + 0xc48]
call fcn.00484ec0
mov dword [esp + 0xc48], esi
mov eax, dword [esp + 0xc48]
call fcn.00483300
mov edx, dword [esp + 0xc48]
call fcn.00484ec0
mov edx, dword [0x4b7a60]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x485680
push 1
push eax
call fcn.00401450
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
mov eax, dword [0x4bc3ac]
cmp eax, ebx
je 0x485680
cmp eax, 1
setg al
mov dword [0x4bc3ac], ebx
cmp al, bl
je 0x485680
mov edx, ebp
call fcn.00484ec0
push ebx
mov ecx, edi
call fcn.00485500
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8e68
ret 4
Function at 0x499b51
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b6ddc]
jne 0x499b5b
repz ret
jmp fcn.0049ece1

Function at 0x49c300
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b6ddc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00496b62
and dword [ebp - 0x14], 0
cmp dword [0x4b9c4c], 0
mov dword [ebp - 0x18], eax
jne 0x49c3b3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49c45b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x49c45b
mov esi, dword [fcn.00492330]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b9c4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b9c50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b9c54], eax
call edi
push eax
call esi
mov dword [0x4b9c5c], eax
test eax, eax
je 0x49c3b3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b9c58], eax
mov eax, dword [0x4b9c58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00492334]
cmp eax, ecx
je 0x49c40c
cmp dword [0x4b9c5c], ecx
je 0x49c40c
push eax
call esi
push dword [0x4b9c5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49c40c
test ebx, ebx
je 0x49c40c
call edi
test eax, eax
je 0x49c403
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49c403
test byte [ebp - 8], 1
jne 0x49c40c
or dword [ebp + 0x10], 0x200000
jmp 0x49c43f
mov eax, dword [0x4b9c50]
cmp eax, dword [ebp - 0x18]
je 0x49c43f
push eax
call esi
test eax, eax
je 0x49c43f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49c43f
mov eax, dword [0x4b9c54]
cmp eax, dword [ebp - 0x18]
je 0x49c43f
push eax
call esi
test eax, eax
je 0x49c43f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b9c4c]
call esi
test eax, eax
je 0x49c45b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49c45d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499b51
leave
ret