joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40db4f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40db9a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040dcee
test al, al
jne 0x40db94
sub edx, 2
cmp edx, edi
jne 0x40db7a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40dbbc
lea eax, [edi + 2]
cmp edx, eax
je 0x40dbbc
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040da9b
add esp, 0x10
jmp 0x40dcb6
push esi
lea ecx, [ebp - 0x255]
call fcn.0040dcee
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40dbff
push dword [ebp - 0x25c]
jmp 0x40dbac
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40dc3c
cmp word [ebp - 0x226], 0
je 0x40dc5d
cmp word [ebp - 0x226], ax
jne 0x40dc3c
cmp word [ebp - 0x224], 0
je 0x40dc5d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040da9b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40dca9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40dc16
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40dc91
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40dcb6
push 0x40d8cb
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00412000
add esp, 0x10
jmp 0x40dc86
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404966
leave
ret

Function at 0x40ea0b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a5fc
push 0x41a5f4
push str.FlsAlloc
push 0x1e
call fcn.0040e948
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ea3f
push dword [ebp + 8]
mov ecx, esi
call dword [0x418304]
call esi
jmp 0x40ea45
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40ea89
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a60c
push 0x41a604
push str.FlsGetValue
push 0x20
call fcn.0040e948
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40eac0
push dword [ebp + 8]
mov ecx, esi
call dword [0x418304]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x416408
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x1c], eax
mov esi, ecx
xor ebx, ebx
call fcn.004039ea
mov ecx, eax
call fcn.00403a5c
test eax, eax
je 0x41647f
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x11], 0x71655264
push ecx
push eax
mov dword [ebp - 0xb], 0x577473
mov word [ebp - 0x16], 0x7074
mov word [ebp - 0x13], 0x6e65
mov word [ebp - 0x18], 0x7448
mov word [ebp - 0xd], 0x6575
mov byte [ebp - 0x14], 0x53
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41647f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp + 8]
push edi
push esi
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404966
leave
ret

Function at 0x416490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
call fcn.004039ea
mov ecx, eax
call fcn.00403ad8
test eax, eax
je 0x41650b
lea ecx, [ebp - 0x1c]
mov word [ebp - 0xc], 0x656c
push ecx
push eax
mov dword [ebp - 0x11], 0x76697250
mov word [ebp - 0x1b], 0x6a64
mov dword [ebp - 0xa], 0x736567
mov dword [ebp - 0x16], 0x656b6f54
mov byte [ebp - 0x1c], 0x41
mov word [ebp - 0x18], 0x7473
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x12], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41650b
push ebx
push ebx
push 0x10
push edi
push ebx
push esi
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404966
leave
ret

Function at 0x41651c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
xor ebx, ebx
call fcn.004039ea
mov ecx, eax
call fcn.00403ad8
test eax, eax
je 0x416587
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x72507075
push ecx
push eax
mov dword [ebp - 0xe], 0x6c615665
mov dword [ebp - 0x1c], 0x6b6f6f4c
mov dword [ebp - 0x13], 0x656c6976
mov dword [ebp - 0xa], 0x576575
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0xf], 0x67
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416587
push edi
push esi
push ebx
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404966
leave
ret
Function at 0x41687b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x417491
call fcn.00415ee9
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x21c], ebx
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22c], ebx
and dword [ebp - 0x224], 0
push 0x41df38
mov dword [ebp - 0x228], eax
call fcn.00403c0b
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x224], 1
call fcn.00405e70
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416945
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416939
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00403bda
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.00415ea7
ret

Function at 0x41694d
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 2
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4169f2
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4169d2
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4169c4
push dword [ebp - 0x228]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x4169d9
mov ebx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x416997
jmp 0x4169eb
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404966
leave
ret
Function at 0x416ae9
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x69
pop eax
push 0x70
mov word [ebp - 0x24], ax
pop eax
push 0x63
mov word [ebp - 0x10], ax
pop eax
push 0x51
mov word [ebp - 0x22], ax
pop eax
push 0x6d
mov word [ebp - 0x28], ax
pop eax
push 0x75
pop edx
push 0x65
pop ecx
push 0x54
mov word [ebp - 0x12], ax
pop eax
push 0x74
mov word [ebp - 0x1e], ax
pop eax
push 0x6f
mov word [ebp - 0xc], ax
pop eax
push 0x6e
mov word [ebp - 0x14], ax
pop eax
mov word [ebp - 0x1a], ax
xor eax, eax
push 0x72
mov word [ebp - 6], ax
pop eax
push 0x6b
mov word [ebp - 8], ax
pop eax
push 0x43
mov word [ebp - 0x20], ax
pop eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x28]
push 0x41df38
push eax
mov word [ebp - 0x26], dx
mov word [ebp - 0x18], cx
mov word [ebp - 0x1c], dx
mov word [ebp - 0xa], cx
mov word [ebp - 0xe], dx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x416c15
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00405e70
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x230]
add esp, 0xc
push edi
push 0x2a
push eax
push edi
call esi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.00401201
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.00401108
push edi
push 0x23
lea eax, [ebp - 0x230]
push eax
push edi
call esi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.00401108
push edi
push 0x1c
lea eax, [ebp - 0x230]
push eax
push edi
call esi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.00401201
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.00401108
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404966
leave
ret
Function at 0x416c21
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x421008]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x416c6f
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x416c87
cmp eax, 2
jne 0x416d19
xor eax, eax
inc eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00404966
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
lea esi, [edi + eax*2]
pop eax
cmp word [esi - 2], ax
je 0x416cce
mov word [esi], ax
add esi, 2
xor eax, eax
mov word [esi], ax
jmp 0x416cce
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push 0x208
push edi
call fcn.0040a0e7
add esp, 0x10
mov edx, edi
mov ecx, ebx
call fcn.00416c21
test eax, eax
je 0x416cf9
xor ecx, ecx
mov dword [esp + 0x14], 0x104
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x416ca7
xor eax, eax
mov word [esi - 2], ax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x416c6f
xor eax, eax
jmp 0x416c72

Function at 0x4173a6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
call fcn.004033a4
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417404
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
lea ecx, [ebp + 0x20]
call fcn.004033a4
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
lea ecx, [ebp + 8]
call fcn.004033b1
lea ecx, [ebp + 0x20]
call fcn.004033b1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00404966
leave
ret
Function at 0x4026d8
Capabilities:
Get common file path

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x1d803
jg 0x40270e
inc edi
cmp edi, 0x1e70dee2
jl 0x4026e4
cmp dword [0x44d4bc], 0x400
jne 0x402736
push esi
call fcn.00402791
push esi
push esi
call fcn.00402c32
push esi
call fcn.00402a52
push esi
call fcn.00402cdf
add esp, 0x14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bba6
jg 0x402755
inc edi
cmp edi, 0xe147
jl 0x402738
mov eax, dword [0x4454bc]
mov dword [0x44d4bc], eax
call fcn.00402478
mov edi, 0x3078f
cmp dword [0x44d4bc], 0x51f
jne 0x402781
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x402769
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x4055d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b570]
jne 0x4055e3
repz ret
jmp fcn.00407030
Function at 0x40689b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40b570]
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.0040418f
and dword [ebp - 0x14], 0
cmp dword [0x4470d0], 0
mov dword [ebp - 0x18], eax
jne 0x40694e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4069f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4069f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4470d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4470d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4470d8], eax
call edi
push eax
call esi
mov dword [0x4470e0], eax
test eax, eax
je 0x40694e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4470dc], eax
mov eax, dword [0x4470dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4069a7
cmp dword [0x4470e0], ecx
je 0x4069a7
push eax
call esi
push dword [0x4470e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4069a7
test ebx, ebx
je 0x4069a7
call edi
test eax, eax
je 0x40699e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40699e
test byte [ebp - 8], 1
jne 0x4069a7
or dword [ebp + 0x10], 0x200000
jmp 0x4069da
mov eax, dword [0x4470d4]
cmp eax, dword [ebp - 0x18]
je 0x4069da
push eax
call esi
test eax, eax
je 0x4069da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4069da
mov eax, dword [0x4470d8]
cmp eax, dword [ebp - 0x18]
je 0x4069da
push eax
call esi
test eax, eax
je 0x4069da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4470d0]
call esi
test eax, eax
je 0x4069f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4069f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004055d9
leave
ret
Function at 0x45e8f6
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x30], edi
jmp 0x45e8c4
lea esp, [esp + 0x30]
jmp 0x45e8ef
push dword [esp + 6]
jp 0x45e8ba
mov dword [esp + 0x30], edi
lea esp, [esp + 0x30]
jmp 0x45e8ef
pushfd
call 0x45e8f6
push ss
rdtsc
rdtsc
stc
lea edi, [edx + ebp]
call fcn.0045e965
xchg esp, eax
add dword [ecx + reloc.USER32.dll_CreateWindowExW], edx
add edi, dword [edx + reloc.USER32.dll_CreateWindowExW]
push dword [esp + 5]

Function at 0x482be2
Capabilities:
Authenticate hmac
Encrypt data using speck

Disassembly:
call 0x482c19
stc
fdivr dword [ebx]
push edx
lea esp, [esp + 8]
jae 0x450c4f
mov dh, byte [esp]
mov edx, esi
jmp 0x482c11
lea edx, [ecx + 0x47]
jmp 0x450c65

Function at 0x482c01
Capabilities:
Authenticate hmac
Encrypt data using speck

Disassembly:
mov dl, byte [esp + 3]
lea esp, [esp + 4]
lea edx, [ecx + 0x41]
jmp 0x450c65

Function at 0x482c6c
Capabilities:
Authenticate hmac
Encrypt data using speck

Disassembly:
mov dword [esp + 0x1b], ebx
jmp 0x482c76
lea esp, [esp + 2]
lea esp, [esp + 0x24]
lea edx, [edx*4 + 0x2b]
jmp 0x450c65
Function at 0x50bd25
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
sbb ax, 0x2b29
xor bh, dh
push dword [esp + 8]
jmp 0x50bd34
sub esp, 6
xchg cx, dx
pop word [esp + 1]
push dx
jmp 0x50bd0f
xchg byte [esp + 3], al
rcl ax, 1
sub esp, 0x10
push edi
mov byte [esp + 0x15], bh
bt bx, bp
jmp 0x50bd74
xchg word [esp + 0x24], ax
pop eax
mov dh, bl
not bp
std
dec bl
jmp 0x50bd9d
sub esp, 0xf
lea edi, [esp + ecx]
mov dword [esp + 0x1f], ebx
stc
rdtsc
mov byte [esp + 0xc], al
jmp 0x50bd5e
sub esp, 7
mov bp, 0x2eb4
bswap ecx
mov word [esp + 0xd], si
jmp 0x50bdb2
pop dword [esp + 0x20]
std
cpuid
xchg byte [esp + 4], bl
mov eax, dword [esp + 4]
lea esp, [esp + 0xb]
jmp 0x50bd87
xchg byte [esp + 0x16], dl
mov bh, byte [esp + 0x1b]
sub esp, 0x15
pushfd
popal
pop ecx
jmp 0x50bdc6
mov dh, bl
add esp, 0x15
neg si
xchg word [esp + 1], bx
jmp 0x50bdff
cpuid
mov al, 0x34
bswap ebp
lea ebp, [edi*4]
neg ch
dec ecx
jmp 0x50be26
shl si, 0xe
rdtsc
pop si
not dh
not dl
add esp, 1
jmp 0x50bde9
xchg bp, bx
neg bh
btr ecx, ebx
mov bx, dx
mov bx, 0xf7a6
jmp 0x50be37
setb ch
lea ebx, [esp + edi]
mov bp, si
mov byte [esp], bh
mov cl, 0x6b
cld
jmp 0x50be10
lea ebx, reloc.USER32.dll_CreateWindowExW
not cl
sub esp, 0xb
xchg al, bh
std
call 0x50be4b
or al, 0xfd
jmp 0x50beef
mov dl, byte [esp + 0xc]
pop di
mov cl, ah
rcr ecx, cl
pushfd
lea esp, [esp + 0xc]
jmp 0x50be97
push dword [esp + 0x17]
xchg ah, cl
cpuid
mov di, ax
pop ebx
mov bl, byte [esp + 0x15]
jmp 0x50be6f
mov byte [esp + 6], ah
mov ebx, eax
mov edx, dword [esp + 0x11]
lea ecx, [edx*4]
mov cx, word [esp + 0xb]
mov ebp, edi
jmp 0x50bed5
pushal
mov al, byte [esp + 0xa]
btc bx, dx
pop dword [esp + 8]
mov cl, 0x28
lea ebx, [ebp + ebp]
jmp 0x50be85
bswap eax
neg bx
mov cx, word [esp + 9]
sub esp, 0x18
mov ch, 0x37
pop dword [esp + 0x1f]
jmp 0x50bf8b
pop dword [esp + 3]
cpuid
not edi
lea esp, [esp + 9]
cmc
pop cx
jmp 0x50bec0
rdtsc
xchg dx, ax
mov ebp, dword [esp]
xchg edi, eax
lea edx, [esi - 0x2d]
call fcn.0050bf4b
stc
popal
int1
nop
arpl si, dx
cmp dword [edx + reloc.USER32.dll_CreateWindowExW], esp
arpl word [edx + 0x6607ec83], bx
push eax
sub esp, 7
push ax
lea eax, [edx + ebp]
mov byte [esp + 0x13], cl
lea esp, [esp + 0x24]
xchg dword [esp + 1], esi
jmp 0x50bf00
mov word [esp + 7], di
lea edx, reloc.USER32.dll_CreateWindowExW
lea ebx, [eax*4]
pop word [esp + 0x12]
sub esp, 2
inc bh
jmp 0x50bf1f
Function at 0x50c846
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov ebx, ebp
lea edi, [esp + eax]
lea ebx, reloc.USER32.dll_CreateWindowExW
jmp 0x50c870

Function at 0x50c9e3
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop esi
mov esi, 0x69af26ea
mov ch, 0x92
jmp 0x50ca3e
rdtsc
clc
mov edx, dword [esp + 4]
mov si, sp
mov esi, 0x1f23c60d
dec edi
jmp 0x50ca28
Function at 0x409058
Capabilities:
Get graphical window text

Disassembly:
sub eax, 0x41
push eax
push 0
call esi
mov esi, dword [sym.imp.USER32.DLL_CreateWindowExW]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x96
push eax
push 0x10c80000
push ebx
push dword [0x417108]
push 0
call esi
mov ebx, eax
test ebx, ebx
je 0x40925a
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.DLL_SetWindowLongW]
xor eax, eax
push eax
push dword [0x41806c]
push eax
push ebx
push 0x16
push 0x118
push 0xa
push 0xa
push 0x5000000b
push dword [esp + 0x98]
push str.STATIC
push eax
call esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageW]
push 1
push dword [0x418124]
mov dword [0x418134], eax
push 0x30
push eax
call esi
test byte [esp + 0x80], 1
je 0x4090c8
push 0x20
pop ebp
push 0
push dword [0x41806c]
or ebp, 0x50010080
push 0xa
push ebx
push 0x15
push 0x113
push 0x20
push 0xa
push ebp
mov ebp, dword [sym.imp.USER32.DLL_CreateWindowExW]
push 0
push str.EDIT
push 0x200
call ebp
push 1
push dword [0x418124]
mov dword [0x418130], eax
push 0x30
push eax
call esi
push dword [0x418130]
call dword [sym.imp.USER32.DLL_SetFocus]
test edi, edi
je 0x409145
push edi
push 0
push 0xc
push dword [0x418130]
call esi
push edi
call fcn.00405325
pop ecx
push eax
push edi
call fcn.00405325
pop ecx
push eax
push 0xb1
push dword [0x418130]
call esi
push 0
push dword [0x41806c]
mov eax, 0x3e8
push eax
push ebx
push 0x19
push 0x50
push 0x43
push 0x6e
push 0x50010001
push 0x413080
push str.BUTTON
push 0
call ebp
push 1
push dword [0x418124]
mov dword [0x41812c], eax
push 0x30
push eax
call esi
push 0xd
pop eax
mov word [esp + 0x1a], ax
mov eax, 0x3e8
push 0x1b
mov word [esp + 0x20], ax
pop eax
mov word [esp + 0x20], ax
mov eax, 0x3e9
mov word [esp + 0x22], ax
lea eax, [esp + 0x18]
push 2
push eax
mov byte [esp + 0x20], 1
mov byte [esp + 0x26], 1
call dword [sym.imp.USER32.DLL_CreateAcceleratorTableW]
push ebx
mov esi, eax
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.DLL_BringWindowToTop]
jmp 0x40920a
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.DLL_GetMessageW]
test eax, eax
je 0x409213
lea eax, [esp + 0x24]
push eax
push esi
push ebx
call dword [sym.imp.USER32.DLL_TranslateAcceleratorW]
test eax, eax
jne 0x40920a
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.DLL_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.DLL_DispatchMessageW]
cmp dword [0x418128], 0
je 0x4091ce
test esi, esi
je 0x40921e
push esi
call dword [sym.imp.USER32.DLL_DestroyAcceleratorTable]
cmp dword [esp + 0x10], 0
je 0x409261
push dword [esp + 0x10]
call fcn.00405325
pop ecx
push dword [esp + 0x84]
push eax
call fcn.0040e8a0
push dword [esp + 0x10]
push eax
call fcn.0040532b
pop ecx
pop ecx
push dword [esp + 0x10]
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x10], 0
jne 0x40926d
push dword [esp + 0x84]
call fcn.0040e940
push dword [esp + 0x14]
call fcn.00408e3a
push dword [esp + 0x78]
call fcn.00408e3a
push edi
call fcn.00408e3a
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14