joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448190
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.00448180
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408a50
lea eax, [ebp - 0xc10]
call fcn.00403b60
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4481f0
mov eax, 0x62d2f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x44829a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040fb80
xor eax, eax
push fcn.00448170
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x44824c
mov eax, 0x62d2f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x448288
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x5c4b1c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x448288
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448170
jmp 0x4482f8
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4482bc
mov eax, 0x62d2f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4482f8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x5c4b1c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4482f8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448180
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4534e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov byte [ebp - 0xc], cl
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4534fe
mov eax, 0x62d2f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x453536
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x45351a
clc
jmp 0x453521
bt dword [0x5c5030], eax
jb 0x453532
mov eax, ebp
call fcn.00453620
test al, al
je 0x453532
mov bl, 1
jmp 0x453564
xor bl, bl
jmp 0x453564
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x598ed0]
sete bl
mov al, byte [ebp - 0xc]
and al, bl
je 0x453564
and esi, 0x400
je 0x453564
mov eax, ebp
call fcn.00453590
mov bl, al
lea esi, [esi]
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4536b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x4536bc
mov eax, 0x62d2f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret
Function at 0x453bb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00453ba0
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x62eb0c]
xor edx, edx
call fcn.00408a50
mov dword [ebx*4 + 0x62eb2c], 0xffffffff
cmp ebx, 7
jl 0x453bd8
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x453c64
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409440
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0044a070
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x453c64
push 4
push ebx
push esi
mov eax, 0x453a80
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x453b10
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00453ba0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4543b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.00454380
push ebp
push 0x4141b0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.004497f0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00408a50
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040a0a0
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00408a50
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x4544bc
lea ecx, [ebp - 8]
mov eax, ebx
xor dx, dx
call fcn.004093a0
mov eax, dword [ebp - 8]
test eax, eax
je 0x454447
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.0040a0a0
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.004099d0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00409870
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004497f0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00409610
test eax, eax
jne 0x4544b4
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4544a3
mov eax, dword [eax - 4]
sub eax, esi
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00409870
jmp 0x4544c5
lea eax, [ebx + edi]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x454430
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00454380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454520
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.004544f0
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040b2a0
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044ff90
jmp 0x4545f8
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b250
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040bd20
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040bac0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044ff90
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b900
test eax, eax
jne 0x4545e8
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4545d6
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040bac0
jmp 0x4545ff
mov eax, esi
call fcn.004047c0
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x454580
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004544f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454640
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x62eb70], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x62e9d0], eax
mov eax, dword [ebp - 0x90]
mov dword [0x62e9e0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x62e9f0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x62ea00], eax
mov edx, 0x62ea11
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403650
lea eax, [ebp - 0x80]
call fcn.004047a0
mov byte [0x62ea10], al
mov eax, 0x5c5100
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x62eb80], eax
test eax, eax
je 0x4546e0
mov eax, 0x5c510c
push eax
push dword [0x62eb80]
call sub.kernel32.dll_GetProcAddress
mov dword [0x62eb70], eax
nop
cmp dword [0x62e9e0], 6
jae 0x4546f4
mov dword [0x598790], 0
nop
cmp dword [0x62e9e0], 6
jb 0x454710
cmp dword [0x62e9f0], 1
jb 0x454710
mov dword [0x5987a0], 2
mov esp, ebp
pop ebp
ret

Function at 0x472690
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00472680
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
call fcn.0040b160
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4726cb
mov eax, 0x62d2f0
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
or eax, eax
setne al
mov byte [ebp - 8], al
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00472680
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x491c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x491c64
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x62f180]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x491c40
pop edi
pop esi
pop ebx
ret
Function at 0x4b18d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov eax, dword [ebp - 4]
call fcn.00408a20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
push fcn.004b1890
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4b1929
jmp 0x4b1930
jmp 0x4b1aef
lea ebx, [ebp - 0x10]
mov eax, ebx
call fcn.0040a220
lea esi, [ebp - 0x14]
mov eax, esi
call fcn.0040a220
mov edx, esi
mov eax, ebx
call fcn.004b1480
test al, al
jne 0x4b1956
jmp 0x4b1ab2
mov edx, dword [ebp - 0x14]
mov ecx, 1
mov eax, 0x5d9b00
call fcn.0040ab50
cmp eax, 0
jg 0x4b1972
jmp 0x4b1a26
mov edx, dword [ebp - 0x14]
mov ecx, 1
mov eax, 0x5d99b0
call fcn.0040ab50
test eax, 0xffffffff
je 0x4b198d
jmp 0x4b19cc
cmp byte [ebp - 8], 0
jne 0x4b1995
jmp 0x4b19cc
mov eax, dword [ebp - 0x10]
call fcn.004b1080
test al, al
je 0x4b19a3
jmp 0x4b19cc
push 0
mov eax, 0x5d9968
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, 0x5d9968
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408de0
nop
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
call fcn.0040b210
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x1c]
call fcn.004305a0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0xb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, 0
call fcn.0044b260
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
call fcn.00408a50
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
call fcn.004304f0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.0040b1e0
jmp 0x4b1a82
cmp byte [ebp - 8], 0
jne 0x4b1a2e
jmp 0x4b1a6c
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x20
call fcn.004099d0
cmp eax, 0
jg 0x4b1a44
jmp 0x4b1a6c
push 0
mov eax, 0x5d9968
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, 0x5d9968
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408de0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x2c]
call fcn.004304f0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.0040b1e0
push 1
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4b1a92
mov eax, 0x62d2f0
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4b1a9f
mov eax, 0x62d2f0
push eax
mov eax, str.open
push eax
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
jmp 0x4b1ae7
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x2c]
call fcn.004304f0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.0040b1e0
push 1
push 0
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4b1ada
mov eax, 0x62d2f0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
seta byte [ebp - 0xc]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004b1890
mov al, byte [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1b30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408a20
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
xor eax, eax
push fcn.004b1b10
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4b1b6f
jmp 0x4b1b74
jmp 0x4b1c39
mov eax, dword [ebp - 4]
call fcn.004b1710
mov byte [ebp - 0x18], al
cmp byte [ebp - 0x18], 0
jne 0x4b1b87
jmp 0x4b1ba7
mov eax, dword [ebp - 4]
call fcn.004b17a0
test al, al
jne 0x4b1b95
jmp 0x4b1ba7
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004b18d0
mov byte [ebp - 8], al
jmp 0x4b1c39
cmp byte [ebp - 0x18], 0
jne 0x4b1baf
jmp 0x4b1bcb
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x20
call fcn.004099d0
cmp eax, 0
jg 0x4b1bc5
jmp 0x4b1bcb
mov byte [ebp - 0x14], 1
jmp 0x4b1bcf
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0x14], 0
jne 0x4b1bd7
jmp 0x4b1c00
push 0
mov eax, 0x5d9968
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, 0x5d9968
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408de0
nop
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x28]
call fcn.0040cab0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.0040b1e0
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4b1c28
mov eax, 0x62d2f0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta byte [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004b1b10
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4b2180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4b21b1
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4b21a0
pop esi
pop ebx
ret
Function at 0x4b3990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4b39b4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4b3a7a
mov esi, esi
xor eax, eax
push 0x4b3a5b
push ebp
push 0x414530
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040d2a0
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x5bfcb4
call fcn.0043a350
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004b3c10
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004b3c80
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004b3cf0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4b3a50
cmp dword [ebp - 4], 0
je 0x4b3a50
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4b3a7a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bc1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x4bc218
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x4bc2c6
mov esi, esi
xor eax, eax
push 0x4bc2a7
push ebp
push 0x414530
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x4bc27c
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00438420
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x4bc29c
cmp dword [ebp - 8], 0
je 0x4bc29c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4bc2c6
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4be030
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4be064
mov eax, esi
call fcn.004c25b0
cmp byte [esi + 0x40], 0
je 0x4be05c
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4be115
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4be0f4
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4be0ec
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4be098
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
lea esi, [esi]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4be0b0
xor bl, bl
jmp 0x4be115
cmp edi, 2
je 0x4be0ea
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4be088
cmp edi, 3
je 0x4be0c8
cmp edi, 1
jne 0x4be088
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4be088
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4be088
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4be10c
cmp dword [esi + 0x14], 0xcc
je 0x4be10c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004be450
lea esi, [esi]
mov eax, esi
call fcn.004be120
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4da960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
cmp dword [eax + 0x28], 0
je 0x4da9a8
mov eax, dword [0x5980f0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x168]
cmp eax, dword [edx + 0x28]
jne 0x4da9a8
mov eax, dword [0x5980f0]
cmp byte [eax + 0x114], 0
jne 0x4da9a8
mov eax, dword [0x598530]
mov edx, dword [0x598530]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x598530]
mov edx, dword [0x598530]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 4]
jne 0x4daa9f
mov eax, dword [0x5980f0]
cmp byte [eax + 0x114], 0
jne 0x4daa9f
mov eax, dword [0x598530]
mov edx, dword [0x598530]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.00559d40
mov eax, dword [0x5980f0]
cmp dword [eax + 0x168], 0
je 0x4daa64
push 0x10
push 0
mov eax, dword [0x5980f0]
mov eax, dword [eax + 0x168]
push dword [eax + 0x25c]
mov eax, dword [0x5980f0]
mov eax, dword [eax + 0x168]
push dword [eax + 0x250]
mov eax, dword [0x5980f0]
mov eax, dword [eax + 0x168]
push dword [eax + 0x130]
push 0
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x5980f0]
mov eax, dword [eax + 0x168]
call fcn.004fa790
test al, al
je 0x4daa64
push 0
mov eax, dword [0x5980f0]
call fcn.00420f20
push eax
call sub.user32.dll_ShowWindow
nop
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [0x5980f0]
call fcn.004241b0
jmp 0x4dab38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0x4daaf4
mov eax, dword [ebp - 4]
mov edx, dword [0x5980f0]
mov eax, dword [eax + 0x28]
cmp eax, dword [edx + 0x168]
jne 0x4daaf4
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [0x5980f0]
call fcn.004241b0
jmp 0x4dab38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0x4dab38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
test dword [eax + 0x488], 8
je 0x4dab38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [0x598530]
mov edx, dword [0x598530]
mov edx, dword [edx]
call dword [edx + 0x8c]
mov esi, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dfe30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 8
mov eax, fcn.004de800
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.004130b0
mov dword [ebp - 0x20], eax
mov eax, str.MAINICON
push eax
push dword [0x62d2c0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4dfe88
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
mov esi, esi
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, str.Window
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
je 0x4dff04
or dword [ebp - 0x30], 0x800
cmp dword [0x5b1770], 6
jb 0x4dfedc
or dword [ebp - 0x30], 0x20000
mov esi, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, str.HintWindow
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
setne byte [ebp - 8]
mov esi, esi
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4e0e50
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
je 0x4e0ee8
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jle 0x4e0ee8
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.004e0e30
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004e0e30
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret