joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a320
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b628
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [0x44d35c], bl
jne 0x41a3c1
or dword [0x44d35c], ebx
push 0x18
mov dword [ebp - 4], 0
mov dword [0x44d354], 0
call fcn.004241a6
add esp, 4
test eax, eax
je 0x41a3d6
mov dword [0x44d350], eax
mov dword [eax], eax
mov eax, dword [0x44d350]
mov dword [eax + 4], eax
mov eax, dword [0x44d350]
mov dword [eax + 8], eax
mov eax, dword [0x44d350]
mov byte [eax + 0x14], bl
mov ecx, dword [0x44d350]
mov byte [ecx + 0x15], bl
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, 0x44d34c
call fcn.00419d90
push 0x43bec0
call fcn.00423de2
add esp, 4
mov eax, 0x44d34c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
call fcn.00425209
push 0x446c34
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004234fd
int3
Function at 0x41ad40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0x3ef
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
push 0x20
push 0x1036
push eax
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 0x20]
xor eax, eax
push str.File_Name
push eax
push 0x1057
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], str.File_Name
call edi
mov ecx, dword [esi + 0x20]
add eax, 0xf
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x1061
push ecx
mov dword [ebp - 0x18], 0
call edi
mov edx, dword [esi + 0x20]
push 0xc8
push 0
push 0x101e
push edx
call edi
xor eax, eax
push str.Process_ID
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
push 0x1057
push eax
mov dword [ebp - 0x2c], 0xd
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], str.Process_ID
call edi
mov edx, dword [esi + 0x20]
lea ecx, [ebp - 0x2c]
push ecx
push 1
push 0x1061
add eax, 0xf
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 1
call edi
push 0x64
mov eax, dword [esi + 0x20]
push 1
push 0x101e
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41bc80
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
lea esi, [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.00401010
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx + 0x48]
mov eax, dword [esi]
push edx
push 2
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push ecx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push 0x3f4
push edx
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xd1
push 0
mov esi, eax
push 0x467
push esi
call edi
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push esi
call edi
pop edi
mov eax, 1
pop esi
ret 0x10
Function at 0x41d150
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ba82
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x44bb64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x114
lea eax, [ebp - 0x124]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], 0
call fcn.00424440
add esp, 0xc
lea ecx, [ebp - 0x124]
push ecx
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x44bb48]
mov eax, dword [edx + 0xc]
mov ecx, 0x44bb48
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], 1
cmp eax, 6
jne 0x41d223
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jne 0x41d20f
push 9
push str.Windows_7
mov ecx, esi
call fcn.00401530
jmp 0x41d277
test eax, eax
jne 0x41d25f
push 0xd
push str.Windows_Vista
mov ecx, esi
call fcn.00401530
jmp 0x41d277
cmp eax, 5
jne 0x41d251
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x41d23a
push str.Windows_Server_2003___Windows_XP_64_Bit_Edition
jmp 0x41d270
cmp eax, 1
jne 0x41d246
push str.Windows_XP
jmp 0x41d270
test eax, eax
jne 0x41d264
push str.Windows_2000
jmp 0x41d270
jae 0x41d25a
push str.Before_Windows_2000
jmp 0x41d270
cmp eax, 6
jmp 0x41d262
cmp eax, 1
ja 0x41d26b
push str.Version_Unknow
jmp 0x41d270
push str.After_Windows_7
mov ecx, esi
call fcn.004015e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004234ee
mov esp, ebp
pop ebp
ret 4
Function at 0x41e0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, esi
mov dword [ebp - 8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e102
push 0
sub eax, edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
sar eax, 1
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41e144
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e130
sub eax, edx
sar eax, 1
cmp dword [ebp - 8], eax
je 0x41e156
push 0x44908c
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], 0
call fcn.004234fd
mov esp, ebp
pop ebp
ret
Function at 0x41e740
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bc20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
test esi, esi
je 0x41e897
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41e897
cmp word [eax], 0
je 0x41e897
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e897
cmp word [eax], 0
je 0x41e897
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x41e883
mov edi, str.UNKNOWN
cmp esi, 0x80000000
jne 0x41e7db
mov edi, str.HKEY_CLASSES_ROOT
jmp 0x41e833
cmp esi, 0x80000001
jne 0x41e7ea
mov edi, str.HKEY_CURRENT_USER
jmp 0x41e833
cmp esi, 0x80000002
jne 0x41e7f9
mov edi, str.HKEY_LOCAL_MACHINE
jmp 0x41e833
cmp esi, 0x80000005
jne 0x41e808
mov edi, str.HKEY_CURRENT_CONFIG
jmp 0x41e833
cmp esi, 0x80000003
jne 0x41e817
mov edi, str.HKEY_USERS
jmp 0x41e833
cmp esi, 0x80000004
jne 0x41e826
mov edi, str.HKEY_PERFORMANCE_DATA
jmp 0x41e833
cmp esi, 0x80000006
jne 0x41e833
mov edi, str.HKEY_DYN_DATA
push eax
mov esi, 0x44191c
call fcn.0041e0f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
push edi
mov dword [ebp - 4], 0
call fcn.0041e4e0
add esp, 0x14
mov bl, al
jmp 0x41e86b
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x41e883
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4200c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4200ce
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x4201ad
mov esi, edx
shr esi, 3
push edi
jmp 0x4200f0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441ae8]
add ecx, 8
sub edx, 8
dec esi
jne 0x4200f0
pop edi
test edx, edx
je 0x4201ca
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x441ae8]
inc ecx
dec edx
jne 0x4201b1
not eax
pop esi
pop ebp
ret
Function at 0x420730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x420776
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x20]
jb 0x42075b
pop edi
mov dword [esi + 0xc], 0x30000
xor eax, eax
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 8]
push edi
push edx
add eax, ecx
push eax
call fcn.00424aa0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi]
test eax, eax
je 0x420799
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop esi
pop ebp
ret 8
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x420b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x64]
push edi
test ecx, ecx
je 0x420b51
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
cmp eax, edi
jae 0x420b98
mov edx, dword [ebp + 0xc]
sub edi, eax
cmp edi, edx
jbe 0x420b24
mov edi, edx
mov ebx, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.00424aa0
mov eax, dword [esi + 0x58]
add dword [esi + 0x6c], edi
add dword [esi + 0x54], edi
push edi
push ebx
push eax
call fcn.004200c0
add esp, 0x18
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x420b91
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
lea ecx, [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420b98
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x58]
add dword [esi + 0x54], edi
push edi
push ebx
push eax
call fcn.004200c0
add esp, 0xc
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov dword [esi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x420c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
push 0x4000
lea ebx, [esi + 0x74]
push ebx
mov dword [ebp - 4], 0
call fcn.00420b00
mov edi, eax
test edi, edi
je 0x420ca5
cmp edi, 0xffffffff
je 0x420ca5
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x420c68
mov eax, dword [esi + 0x1c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x20]
jb 0x420c56
mov dword [esi + 0xc], 0x30000
jmp 0x420c89
push edi
add eax, ecx
push ebx
push eax
call fcn.00424aa0
add esp, 0xc
add dword [esi + 0x1c], edi
jmp 0x420c8f
mov eax, dword [esi]
test eax, eax
je 0x420c82
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
jmp 0x420c8b
mov dword [esi + 0xc], 0x1000000
xor eax, eax
cmp eax, edi
jne 0x420cb4
add dword [ebp - 4], edi
push 0x4000
push ebx
mov ecx, esi
call fcn.00420b00
mov edi, eax
test edi, edi
jne 0x420c36
mov edx, dword [ebp - 4]
pop edi
mov dword [esi + 0x70], edx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x60000
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x422045
cmp dword [esi + 0x6af90], 3
jb 0x421ea7
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x421ee7
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x421ee7
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x421ecf
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.0041f560
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x421ee7
mov edi, eax
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x421fc4
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.0041efc0
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x421f8e
cmp eax, 3
jb 0x421f8e
mov eax, 1
sub edi, eax
lea ecx, [ecx]
add dword [esi + 0x6af84], eax
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub edi, eax
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne 0x421f30
add dword [esi + 0x6af84], eax
jmp 0x421fe7
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
xor edi, edi
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
jmp 0x421fe7
movzx edx, byte [ecx + esi + 0x1af70]
push edx
push 0
push esi
call fcn.0041efc0
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x422023
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x422000
lea ecx, [eax + esi + 0x1af70]
jmp 0x422002
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00421c70
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x422038
push esi
call fcn.0041f710
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x421e53
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x422058
lea ecx, [eax + esi + 0x1af70]
jmp 0x42205a
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00421c70
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4230e9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44d3d0], 0
push esi
push edi
jne 0x42305f
call fcn.00422fcb
test eax, eax
je 0x4230a4
mov eax, dword [0x44d3d0]
cmp eax, 1
jne 0x423080
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4230a4
jmp 0x4230e6
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4230e6
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4230a8
xor eax, eax
jmp 0x4230e6
mov eax, dword [esi]
push dword [0x44d3d0]
call edi
mov edi, eax
test edi, edi
je 0x4230ca
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4230e6
lea edi, [esi + 0xff0]
push esi
push dword [0x44d3d0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4230d0
mov eax, esi
pop edi
pop esi
ret
jmp 0x42304b

Function at 0x4234ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44bb64]
jne 0x4234f8
repz ret
jmp fcn.004274dd
Function at 0x42e7e2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44bb64]
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.00426a16
and dword [ebp - 0x14], 0
cmp dword [0x44e264], 0
mov dword [ebp - 0x18], eax
jne 0x42e895
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42e93d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443528
push ebx
call edi
test eax, eax
je 0x42e93d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x443518
push ebx
mov dword [0x44e264], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44e268], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44e26c], eax
call edi
push eax
call esi
mov dword [0x44e274], eax
test eax, eax
je 0x42e895
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44e270], eax
mov eax, dword [0x44e270]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42e8ee
cmp dword [0x44e274], ecx
je 0x42e8ee
push eax
call esi
push dword [0x44e274]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42e8ee
test ebx, ebx
je 0x42e8ee
call edi
test eax, eax
je 0x42e8e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42e8e5
test byte [ebp - 8], 1
jne 0x42e8ee
or dword [ebp + 0x10], 0x200000
jmp 0x42e921
mov eax, dword [0x44e268]
cmp eax, dword [ebp - 0x18]
je 0x42e921
push eax
call esi
test eax, eax
je 0x42e921
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42e921
mov eax, dword [0x44e26c]
cmp eax, dword [ebp - 0x18]
je 0x42e921
push eax
call esi
test eax, eax
je 0x42e921
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e264]
call esi
test eax, eax
je 0x42e93d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42e93f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004234ee
leave
ret
Function at 0x402648
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402656
call dword [0x49a008]
or eax, eax
je 0x402657
ret
mov al, 1
jmp fcn.004026c8

Function at 0x402660
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40266e
call dword [0x49a00c]
or eax, eax
jne 0x40266f
ret
mov al, 2
jmp fcn.004026c8

Function at 0x402678
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b0
test edx, edx
je 0x40269a
push eax
mov eax, ecx
call dword [0x49a010]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004026c8
mov dword [eax], edx
mov eax, ecx
call dword [0x49a00c]
or eax, eax
jne 0x402693
ret
mov al, 1
jmp fcn.004026c8
test edx, edx
je 0x4026c4
push eax
mov eax, edx
call dword [0x49a008]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret

Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x49c004]
test ecx, ecx
je 0x4026d8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4026f1]
jns 0x4026ec
call fcn.004033bc
mov eax, dword [eax + 4]
jmp fcn.00404e69

Function at 0x402954
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x49c030], 0x8088405
inc edx
mov dword [0x49c030], edx
mul edx
mov eax, edx
ret

Function at 0x402bb8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402bd0
mov ecx, dword [eax]
cmp ecx, edx
je 0x402bd0
mov ecx, dword [ecx - 0x14]
test ecx, ecx
jne 0x402bbe
mov al, 0xa
jmp fcn.004026c8
ret

Function at 0x402c00
Capabilities:
Terminate process

Disassembly:
mov eax, 0xd2
jmp fcn.00404e69
push eax
push ecx
mov eax, dword [eax]
call fcn.00402bd4
pop ecx
pop eax
je 0x402c0f
jmp ebx
pop ecx
jmp 0x40283c

Function at 0x403980
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4039b0
cmp al, 0xc
je 0x4039ba
cmp al, 0xd
je 0x4039cd
cmp al, 0xe
je 0x4039e9
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4039b0
jmp 0x4039fd
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4039ba
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403980
dec edi
jg 0x4039d0
pop ebp
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403958
dec edi
jg 0x4039ec
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403a04
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403980
Function at 0x403d6c
Capabilities:
Terminate process

Disassembly:
cmp eax, edx
je 0x403ddc
cmp word [eax], 8
jb 0x403d91
push eax
push edx
cmp word [eax], 0x100
je 0x403d87
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403d8f
add eax, 8
call fcn.00403400
pop edx
pop eax
cmp word [edx], 8
jae 0x403da8
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x403dc8
mov edx, dword [edx + 8]
or edx, edx
je 0x403dbf
mov ecx, dword [edx - 8]
inc ecx
jle 0x403dbf
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne fcn.00403d30
ret

Function at 0x4044f4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4042d1
cmp eax, 0x100
jne 0x404323
mov eax, 8
cmp edx, 0x11
jbe 0x4042e3
cmp edx, 0x100
jne 0x404323
mov edx, 8
mov al, byte [eax + 0x49a01c]
mov dl, byte [edx + 0x49a01c]
movzx ecx, byte [edx + eax*8 + 0x49a030]
call dword [ecx*4 + 0x404302]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00403d30
mov ecx, 0
jmp 0x4042a8

Function at 0x404500
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp 0x4042a8

Function at 0x40450c
Capabilities:
Terminate process

Disassembly:
mov ecx, 2
jmp 0x4042a8

Function at 0x404518
Capabilities:
Terminate process

Disassembly:
mov ecx, 4
jmp 0x4042a8

Function at 0x404524
Capabilities:
Terminate process

Disassembly:
mov ecx, 5
jmp 0x4042a8

Function at 0x404530
Capabilities:
Terminate process

Disassembly:
mov ecx, 8
jmp 0x4042a8

Function at 0x40453c
Capabilities:
Terminate process

Disassembly:
mov ecx, 9
jmp 0x4042a8

Function at 0x404548
Capabilities:
Terminate process

Disassembly:
mov ecx, 0xa
jmp 0x4042a8

Function at 0x404554
Capabilities:
Terminate process

Disassembly:
mov ecx, 6
jmp 0x4042a8

Function at 0x404560
Capabilities:
Terminate process

Disassembly:
mov ecx, 7
jmp 0x4042a8

Function at 0x40456c
Capabilities:
Terminate process

Disassembly:
mov ecx, 3
jmp 0x4042a8