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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x423036
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x423020
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x422f5d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x423020
cmp dword [ebp - 0x14], 0
jne 0x422f72
mov eax, dword [ebp - 0xc]
call fcn.00407a20
mov bl, 1
jmp 0x423020
cmp dword [ebp - 0x14], 0x70000000
jb 0x422f80
call fcn.0041f270
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00407ba8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00407fa0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
je 0x422f26
test eax, eax
jne 0x423020
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x422fce
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x423020
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x422fd6
dec esi
test esi, esi
je 0x422fe5
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x422fd5
cmp dword [ebp - 0x10], 7
jne 0x422ff0
test esi, esi
je 0x422ff0
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00408664
cmp dword [ebp - 0x10], 7
jne 0x423013
test esi, esi
je 0x423013
lea eax, [ebp - 4]
call fcn.00407fa0
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00407e00
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42303d
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4246e4
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4c090c
mov eax, esi
mov edx, 8
test al, 1
je 0x424700
shr eax, 1
xor eax, 0xedb88320
jmp 0x424702
shr eax, 1
dec edx
jne 0x4246f3
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4246ec
pop esi
ret

Function at 0x424718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4c0908], 0
jne 0x424742
call fcn.004246e4
mov dword [esp], 0x4c0908
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x42476c
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4c090c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x424748
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42729c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00427250
test al, al
jne 0x4272bd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x427309
xor eax, eax
push ebp
push 0x4272f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004084ec
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427300
lea eax, [ebp - 0xc]
call fcn.0042728c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x46758c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x497a9c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x497aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00497560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497b03
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4af57c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4af5d6
inc esi
xor edi, edi
cmp edi, 1
jne 0x4af5a2
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4af5b0
cmp edi, 1
jle 0x4af5b0
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0042729c
test eax, eax
jne 0x4af5d6
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4af5d6
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4af5d6
inc edi
dec esi
jne 0x4af592
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4af5e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4af604
mov eax, dword [ebp - 4]
jmp 0x4af607
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x40994c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a1f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a38
push ebx
push 0x409a44
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040336c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099cc
mov al, 0x6a
call fcn.004095a8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409920
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x4099d5
call fcn.00409920
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a26
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x409ab8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b6c
jmp 0x409b61
cmp dword [esi + 0x10], 0x1000
jne 0x409b4d
test byte [esi + 0x15], 1
jne 0x409b4d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b0c
cmp eax, 2
je 0x409b0c
cmp eax, 0x10
je 0x409b0c
cmp eax, 0x20
jne 0x409b21
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b21
mov bl, 1
xor ebp, ebp
jmp 0x409b32
mov eax, dword [esi]
add eax, ebp
call fcn.00409ab0
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b25
test bl, bl
je 0x409b4d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b6c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ae4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x41d8bc
Capabilities:
Set current directory

Disassembly:
sub esp, 0x104
push ebx
push ecx
push edx
push esi
mov esi, eax
call sub.KERNEL32.dll_AreFileApisANSI
cmp eax, 0
je 0x41d8d6
mov ebx, esi
jmp 0x41d8e1
lea ebx, [esp + 0x10]
push ebx
push esi
call sub.USER32.dll_CharToOemA
push ebx
call sub.KERNEL32.dll_SetCurrentDirectoryA
cmp eax, 0
jne 0x41d901
call fcn.0041d830
mov ebx, eax
call sub.KERNEL32.dll_GetLastError
mov dword [ebx], eax
mov eax, 0xffffffff
jmp 0x41d906
mov eax, 0
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x104
ret

Function at 0x41d914
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push ecx
push edx
push esi
mov esi, eax
call sub.KERNEL32.dll_AreFileApisANSI
cmp eax, 0
je 0x41d92e
mov ebx, esi
jmp 0x41d939
lea ebx, [esp + 0x10]
push ebx
push esi
call sub.USER32.dll_CharToOemA
push 0
push ebx
call sub.KERNEL32.dll_CreateDirectoryA
cmp eax, 0
jne 0x41d95b
call fcn.0041d830
mov ebx, eax
call sub.KERNEL32.dll_GetLastError
mov dword [ebx], eax
mov eax, 0xffffffff
jmp 0x41d960
mov eax, 0
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x104
ret

Function at 0x41ddac
Capabilities:
Set current directory

Disassembly:
sub esp, 0x104
push ebx
push ecx
push edx
push esi
mov esi, eax
call sub.KERNEL32.dll_AreFileApisANSI
cmp eax, 0
je 0x41ddc6
mov ebx, esi
jmp 0x41ddd1
lea ebx, [esp + 0x10]
push ebx
push esi
call sub.USER32.dll_CharToOemA
push ebx
call sub.KERNEL32.dll_SetCurrentDirectoryA
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x104
ret
Function at 0x4229ac
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ecx
push edx
cmp dword [0x70a574], 8
je 0x422c18
mov eax, dword [0x70a570]
mov dword [0x70a578], eax
mov eax, dword [0x70a570]
movsx eax, byte [eax]
call fcn.0047b090
cmp eax, 0
je 0x4229e0
inc dword [0x70a570]
jmp 0x4229c6
mov ebx, dword [0x70a570]
mov dl, byte [ebx]
inc ebx
mov al, dl
call fcn.00429be4
cmp eax, 0
je 0x422a03
mov al, 0
mov bl, 0
call fcn.00422e38
jmp 0x422c18
cmp dl, 0x5f
je 0x4229f5
movsx ecx, dl
mov eax, ecx
call fcn.0047b09c
cmp eax, 0
je 0x422a21
call fcn.00422ecc
jmp 0x422c18
cmp dl, 0x2e
je 0x422a17
cmp ecx, 0x3f
jne 0x422a39
mov al, 1
mov bl, 0
call fcn.00422e38
jmp 0x422c18
cmp ecx, 0x27
jne 0x422a48
call fcn.00422c1c
jmp 0x422c18
cmp ecx, 0x40
jne 0x422a57
call fcn.00422ce8
jmp 0x422c18
cmp ecx, 0
jne 0x422a6b
mov dword [0x70a574], 7
jmp 0x422c12
cmp ecx, 0x2b
jne 0x422a86
mov dword [0x70a574], 1
mov byte [0x70a57c], 7
jmp 0x422c12
cmp ecx, 0x2d
jne 0x422aa1
mov dword [0x70a574], 1
mov byte [0x70a57c], 8
jmp 0x422c12
cmp ecx, 0x2a
jne 0x422abc
mov dword [0x70a574], 1
mov byte [0x70a57c], 3
jmp 0x422c12
cmp ecx, 0x2f
jne 0x422ad7
mov dword [0x70a574], 1
mov byte [0x70a57c], 4
jmp 0x422c12
cmp ecx, 0x7e
jne 0x422af2
mov dword [0x70a574], 1
mov byte [0x70a57c], 0x10
jmp 0x422c12
cmp ecx, 0x3c
jne 0x422b0d
mov dword [0x70a574], 1
mov byte [0x70a57c], 0xc
jmp 0x422c12
cmp ecx, 0x3e
jne 0x422b28
mov dword [0x70a574], 1
mov byte [0x70a57c], 0xd
jmp 0x422c12
cmp ecx, 0x3d
jne 0x422b43
mov dword [0x70a574], 1
mov byte [0x70a57c], 0xa
jmp 0x422c12
cmp ecx, 0x26
jne 0x422b5e
mov dword [0x70a574], 1
mov byte [0x70a57c], 9
jmp 0x422c12
cmp ecx, 0x28
jne 0x422b72
mov dword [0x70a574], 2
jmp 0x422c12
cmp ecx, 0x29
jne 0x422b86
mov dword [0x70a574], 3
jmp 0x422c12
cmp ecx, 0x5b
jne 0x422b97
mov dword [0x70a574], 5
jmp 0x422c12
cmp ecx, 0x5d
jne 0x422ba8
mov dword [0x70a574], 6
jmp 0x422c12
cmp ecx, 0x2c
jne 0x422bc0
mov dword [0x70a574], 1
mov byte [0x70a57c], 0x14
jmp 0x422c12
cmp ecx, 0x3a
jne 0x422bd8
mov dword [0x70a574], 1
mov byte [0x70a57c], 0x15
jmp 0x422c12
cmp ecx, 0x5e
jne 0x422bf0
mov dword [0x70a574], 1
mov byte [0x70a57c], 2
jmp 0x422c12
cmp ecx, 0x25
jne 0x422c08
mov dword [0x70a574], 1
mov byte [0x70a57c], 5
jmp 0x422c12
mov dword [0x70a574], 8
mov dword [0x70a570], ebx
pop edx
pop ecx
pop ebx
ret
Function at 0x43b688
Capabilities:
Delete registry key

Disassembly:
sub esp, 4
push ecx
push edx
push esi
mov esi, 0
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x80000000
call sub.ADVAPI32.dll_RegOpenKeyA
cmp eax, 0
jne 0x43b6c5
push ebx
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegDeleteKeyA
cmp eax, 0
jne 0x43b6bc
mov esi, 1
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, esi
pop esi
pop edx
pop ecx
add esp, 4
ret

Function at 0x43b6d0
Capabilities:
Set registry value

Disassembly:
sub esp, 4
push ecx
push edx
push esi
push edi
mov edi, ecx
mov esi, 0
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x80000000
call sub.ADVAPI32.dll_RegCreateKeyA
cmp eax, 0
jne 0x43b71b
mov eax, edi
call fcn.0043b8d8
push eax
push edi
push 1
push ebx
push dword [esp + 0x20]
call sub.ADVAPI32.dll_RegSetValueA
cmp eax, 0
jne 0x43b712
mov esi, 1
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, esi
pop edi
pop esi
pop edx
pop ecx
add esp, 4
ret

Function at 0x43b728
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ecx
push edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov esi, 0
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x80000000
call sub.ADVAPI32.dll_RegOpenKeyA
cmp eax, 0
jne 0x43b787
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push dword [esp + 0x20]
call sub.ADVAPI32.dll_RegQueryValueA
jmp 0x43b772
cmp dword [esp + 0x18], 0
jne 0x43b779
jmp 0x43b77e
cmp eax, 0
je 0x43b769
jmp 0x43b77e
mov esi, 1
push dword [esp + 0x14]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, esi
pop edi
pop esi
pop edx
pop ecx
add esp, 0xc
ret

Function at 0x43c314
Capabilities:
Enumerate pe sections

Disassembly:
pushal
cmp eax, 0
je 0x43c38b
mov ebx, eax
and ebx, 0xfff
cmp ebx, 0
jne 0x43c38b
mov esi, eax
mov ebx, dword [esi + 0x3c]
lea eax, [eax + ebx]
cmp dword [eax], 0x4550
jne 0x43c38b
mov dx, word [eax + 6]
mov edi, eax
mov ebx, 0
lea ebx, [ebx + 0x18]
add edi, ebx
movzx eax, word [eax + 0x14]
add edi, eax
cmp dx, 0
je 0x43c38b
mov eax, dword [edi + 0x24]
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x43c384
mov eax, dword [edi + 0x24]
and eax, 0xc0
cmp eax, 0x80
jne 0x43c384
mov eax, dword [edi + 0xc]
lea eax, [esi + eax]
mov ecx, dword [edi + 8]
mov ebx, 0
call fcn.0042f5e2
add edi, 0x28
dec dx
jmp 0x43c34d
popal
ret
Function at 0x4499cc
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push ebx
push ecx
push edx
push esi
push edi
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x4499f8
push dword [0x70a904]
call sub.USER32.dll_IsWindow
cmp eax, 0
jne 0x4499ee
jmp 0x449a01
mov eax, 1
jmp 0x449bbf
cmp dword [0x70a904], 0
jne 0x4499dc
mov eax, 0x18
mov cl, byte [eax + str.Clarion_VBX_Server_V1.00]
mov byte [esp + eax + 0x53], cl
sub eax, 1
jae 0x449a06
mov eax, 0x14
mov cl, byte [eax + str.Auxilary_VBX_Control]
mov byte [esp + eax + 0x3e], cl
sub eax, 1
jae 0x449a1a
mov eax, 8
mov cl, byte [eax + str.DDE_Data]
mov byte [esp + eax + 0x35], cl
sub eax, 1
jae 0x449a2e
mov eax, 8
mov cx, word [eax + str.DDE_Event]
mov word [esp + eax + 0x2b], cx
sub eax, 2
jae 0x449a42
mov eax, 0xa
mov cl, byte [eax + str.DDE_Change]
mov byte [esp + eax + 0x20], cl
sub eax, 1
jae 0x449a58
lea eax, [esp + 0x53]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov si, ax
lea eax, [esp + 0x3e]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov dword [ebx + 0x40], 1
movzx edi, si
mov ecx, edi
movzx esi, ax
mov eax, esi
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x1c], ecx
push ecx
mov eax, dword [ebx]
push eax
push 0x3e0
push 0xffff
call sub.USER32.dll_SendMessageA
mov ecx, dword [esp + 0x18]
mov eax, ecx
mov ebx, 0x3e8
call fcn.00449c40
cmp dword [ecx + 0x40], 2
jne 0x449afb
lea eax, [esp + 0x35]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov word [0x70a908], ax
lea eax, [esp + 0x2b]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov word [0x70a90c], ax
lea eax, [esp + 0x20]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov word [0x70a910], ax
mov eax, 1
jmp 0x449bbf
push 0
push str.CWVBX32.EXE
call sub.KERNEL32.dll_WinExec
cmp eax, 0x20
jae 0x449b22
push edi
call sub.KERNEL32.dll_GlobalDeleteAtom
push esi
call sub.KERNEL32.dll_GlobalDeleteAtom
mov eax, 0
jmp 0x449bbf
mov dword [esp + 0x14], 0x14
jmp 0x449b67
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
inc eax
cmp eax, 0
jne 0x449b3d
jmp 0x449b71
mov dword [ebx + 0x40], 1
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx]
push eax
push 0x3e0
push 0xffff
call sub.USER32.dll_SendMessageA
mov eax, ebx
mov ebx, 0x1f4
call fcn.00449c40
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x40], 2
jne 0x449b2c
cmp dword [ebx + 0x40], 2
jne 0x449bae
lea eax, [esp + 0x35]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov word [0x70a908], ax
lea eax, [esp + 0x2b]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov word [0x70a90c], ax
lea eax, [esp + 0x20]
push eax
call sub.KERNEL32.dll_GlobalAddAtomA
mov word [0x70a910], ax
mov eax, 1
jmp 0x449bbf
push edi
call sub.KERNEL32.dll_GlobalDeleteAtom
push esi
call sub.KERNEL32.dll_GlobalDeleteAtom
mov eax, 0
pop edi
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x58
ret
Function at 0x449bc8
Capabilities:
Hide graphical window

Disassembly:
push ecx
push edx
push esi
mov esi, eax
cmp ebx, 0
je 0x449bd9
mov eax, 0x40000000
jmp 0x449bde
mov eax, 0x80000000
push 0
mov ecx, dword [esi + 4]
push ecx
push 0
push ebx
push 0
push 0
push 0
push 0
push eax
push str.Clarion_VBX_Client
push str.DdeClient
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [esi], eax
movzx eax, si
push eax
push str.lo_this
mov eax, dword [esi]
push eax
call sub.USER32.dll_SetPropA
mov eax, esi
shr eax, 0x10
and ax, 0xffff
movzx eax, ax
push eax
push str.hi_this
mov eax, dword [esi]
push eax
call sub.USER32.dll_SetPropA
push 0
mov eax, dword [esi]
push eax
call sub.USER32.dll_ShowWindow
mov eax, dword [esi]
pop esi
pop edx
pop ecx
ret

Function at 0x449c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
pushal
mov esi, eax
call sub.KERNEL32.dll_GetTickCount
mov dword [esp + 0x20], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [esp + 0x20]
cmp eax, ebx
jae 0x449c82
push 1
push 0x3e8
push 0x3e0
mov eax, dword [esi]
push eax
lea edi, [esp + 0x34]
push edi
call sub.USER32.dll_PeekMessageA
cmp eax, 0
je 0x449c4f
push edi
call sub.USER32.dll_DispatchMessageA
jmp 0x449c89
mov dword [esi + 0x40], 0x32
popal
add esp, 0x20
ret
Function at 0x451140
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
push ebx
push ecx
push edx
push esi
mov esi, eax
mov eax, dword [esi + 0x7b]
and eax, 1
cmp eax, 0
je 0x451200
mov eax, dword [esi + 0xb8]
cmp eax, 3
jne 0x4511af
lea edx, [esp + 0x10]
mov eax, edx
call fcn.005319c8
mov eax, edx
lea ebx, [esi + 0xb8]
mov ecx, 0
call fcn.00450a0c
mov eax, edx
call fcn.005313e0
mov ebx, dword [esi + 0xf1]
mov ebx, dword [esi + 0xf1]
mov eax, dword [ebx]
call dword [eax + 0x24]
mov eax, edx
call fcn.005319e0
jmp 0x451224
cmp dword [esi + 0xbc], 3
je 0x4511bd
jmp 0x4511d5
cmp eax, 1
jne 0x4511d0
cmp dword [esi + 0xbc], 2
jne 0x4511a4
mov eax, dword [esi + 0xf1]
lea ebx, [esi + 0xb8]
call fcn.00450528
jmp 0x451229
cmp eax, 4
jne 0x4511e8
mov eax, dword [esi + 0xf1]
lea ebx, [esi + 0xb8]
call fcn.004504dc
jmp 0x451229
cmp eax, 2
jne 0x451224
mov eax, dword [esi + 0xf1]
lea ebx, [esi + 0xb8]
call fcn.00450468
jmp 0x451229
mov eax, 0x70a960
push eax
push 0x258
push 0xd
mov eax, dword [esi + 0x5b]
push eax
call sub.USER32.dll_SendMessageA
mov eax, esi
mov ebx, 0x70a960
call fcn.0044f4d0
jmp 0x451229
mov eax, 0
pop esi
pop edx
pop ecx
pop ebx
add esp, 0xc
ret
Function at 0x466344
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xec
pushal
mov edi, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
push 0x64
lea esi, [esp + 0x38]
push esi
mov eax, dword [ebx + 0x5b]
push eax
call sub.USER32.dll_GetClassNameA
push 0x64
lea ebx, [esp + 0x9c]
push ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_GetWindowTextA
lea eax, [esp + 0xfc]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_GetWindowRect
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_GetParent
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], 0
jne 0x4663b3
mov ecx, dword [0x545a00]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xfc]
push ecx
push eax
call sub.USER32.dll_ScreenToClient
lea eax, [esp + 0x104]
push eax
push dword [esp + 0x2c]
call sub.USER32.dll_ScreenToClient
push 0xfffffffffffffff0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_GetWindowLongA
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
and eax, 0x40000000
cmp eax, 0
je 0x466403
mov eax, dword [edi + 8]
add eax, 0x4000
mov dword [esp + 0x2c], eax
push 0xffffffffffffffec
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_GetWindowLongA
push edi
push dword [0x567830]
push dword [esp + 0x34]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x118]
sub ecx, dword [esp + 0x110]
push ecx
mov ecx, dword [esp + 0x118]
sub ecx, dword [esp + 0x110]
push ecx
push dword [esp + 0x118]
push dword [esp + 0x118]
push dword [esp + 0x50]
push ebx
push esi
push eax
call sub.USER32.dll_CreateWindowExA
mov dword [edi + 0x5b], eax
mov eax, dword [esp + 0x104]
mov ebx, dword [esp + 0x108]
call fcn.00465764
mov eax, edi
mov ebx, 1
call fcn.004662f0
popal
add esp, 0xec
ret
Function at 0x469124
Capabilities:
Hide graphical window

Disassembly:
sub esp, 4
push ebx
push ecx
push edx
push esi
mov esi, eax
mov dword [esp + 0x10], esi
mov eax, ecx
call fcn.004c2b08
cmp eax, 0
setne al
movzx edx, al
mov eax, ebx
cmp eax, 0x7c59
jne 0x4691c0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 0xc]
mov ecx, 0x200
call fcn.005291c8
jmp 0x46916b
mov eax, ebx
call fcn.005170d4
cmp eax, 0
jne 0x46917c
jmp 0x4691b6
mov eax, dword [ebx + 0xc]
xor eax, esi
and eax, 0x200
cmp eax, 0
jne 0x46915d
jmp 0x4691b6
mov eax, dword [ebx + 0xc]
and eax, 0x200
cmp eax, 0
je 0x4691a0
push 0x57
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x5b]
push eax
call sub.USER32.dll_SetWindowPos
jmp 0x4691ab
push 0
mov eax, dword [ebx + 0x5b]
push eax
call sub.USER32.dll_ShowWindow
mov eax, ebx
mov ebx, dword [eax + 4]
call dword [ebx + 0xa4]
mov eax, 1
jmp 0x469244
cmp eax, 0x7ce0
je 0x4691d5
cmp eax, 0x7ce5
je 0x4691d5
cmp eax, 0x7ce4
jne 0x4691f3
mov eax, esi
add eax, 0x8c
call fcn.004797e0
mov eax, esi
mov ebx, dword [eax + 4]
call dword [ebx + 0xa4]
mov eax, 1
jmp 0x469244
cmp eax, 0x7c5f
jne 0x46920c
mov eax, esi
call fcn.005170bc
cmp eax, 0
sete al
movzx eax, al
jmp 0x469224
cmp eax, 0x7c88
jne 0x46922f
mov eax, dword [esi + 0xc]
and eax, 0x1000
cmp eax, 0
setne al
movzx eax, al
cmp eax, edx
je 0x46922f
mov eax, esi
call fcn.00468d70
mov eax, esi
call fcn.004671ac
mov edx, eax
mov eax, esi
add eax, 0x7b
call fcn.00516f28
mov eax, edx
pop esi
pop edx
pop ecx
pop ebx
add esp, 4
ret