joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00447760
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x447880
mov al, byte [ebp - 0x110]
test al, al
je 0x447849
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f80
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004093f0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a290
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5c24a8
call fcn.00462280
mov edx, 0x4477da
mov ecx, ebp
call fcn.00414ef0
jmp 0x447880
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5c24a8
call fcn.00462280
mov edx, 0x447849
mov ecx, ebp
call fcn.00414ef0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x447944
mov al, byte [ebp - 0x110]
test al, al
je 0x44790d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f80
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004093f0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a290
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5c24a8
call fcn.00462280
mov edx, 0x44789e
mov ecx, ebp
call fcn.00414ef0
jmp 0x447944
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5c24a8
call fcn.00462280
mov edx, 0x44790d
mov ecx, ebp
call fcn.00414ef0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00446f10
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00447760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44aa00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x5c3134
call fcn.0040d3b0
test al, al
je 0x44aae6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0044ab00
xor eax, eax
push fcn.0044a9f0
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408b70
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.00449c10
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.00449760
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0044a9f0
jmp 0x44aaf1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0044d670
mov esp, ebp
pop ebp
ret

Function at 0x44c9a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [ebx + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x44c9bc
mov dword [ebx + 0xc], 0
mov esi, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457620
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.00457610
push ebp
push 0x415030
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.00408b70
lea eax, [ebp - 0xc10]
call fcn.00403b30
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x457680
mov eax, 0x61f2f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x45772a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040fe30
xor eax, eax
push fcn.00457600
push ebp
push 0x415030
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 0x4576dc
mov eax, 0x61f2f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x457718
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x5c7cfc
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x457718
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.00457600
jmp 0x457788
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x45774c
mov eax, 0x61f2f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x457788
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x5c7cfc
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x457788
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.00457610
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x463790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x5c8ca8
lea eax, [ebp - 0x268]
call fcn.0040eba0
xor eax, eax
push fcn.00463770
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4637d3
mov eax, 0x61f2f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x46381b
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x4637ef
clc
jmp 0x4637f6
bt dword [0x5c8240], eax
jb 0x46380f
mov eax, ebp
call fcn.004638c0
test al, al
je 0x46380f
mov byte [ebp - 0x26c], 1
jmp 0x4638a0
mov byte [ebp - 0x26c], 0
jmp 0x4638a0
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x59bf30]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x4638a0
and esi, 0x400
je 0x4638a0
lea ebx, [ebp - 0x268]
mov edx, 0x5c8ca8
mov eax, ebx
call fcn.0040ec60
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.00463430
test eax, eax
je 0x463874
sub eax, 1
je 0x46388c
jmp 0x463898
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00463790
mov byte [ebp - 0x26c], al
jmp 0x4638a0
mov byte [ebp - 0x26c], 1
jmp 0x4638a0
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00463770
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463af0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x463afc
mov eax, 0x61f2f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x463bf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00463be0
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x463c60
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040bb30
cmp ebx, 1
jle 0x463c50
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040b2e0
jmp 0x463c6b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408b70
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00463be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464070
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.00464060
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x62295c]
xor edx, edx
call fcn.00408b70
mov dword [ebx*4 + 0x62297c], 0xffffffff
cmp ebx, 7
jl 0x464098
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 0x464124
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409560
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0045a2f0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x464124
push 4
push ebx
push esi
mov eax, 0x463f40
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x463fd0
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.00464060
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464770
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.00464740
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040b490
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00460310
jmp 0x464848
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040b440
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040bf10
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040bcb0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00460310
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040baf0
test eax, eax
jne 0x464838
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x464826
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040bcb0
jmp 0x46484f
mov eax, esi
call fcn.00404800
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x4647d0
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.00464740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464890
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x6229c0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x622820], eax
mov eax, dword [ebp - 0x90]
mov dword [0x622830], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x622840], eax
mov eax, dword [ebp - 0x88]
mov dword [0x622850], eax
mov edx, 0x622861
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403610
lea eax, [ebp - 0x80]
call fcn.004047e0
mov byte [0x622860], al
mov eax, 0x5c8310
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x6229d0], eax
test eax, eax
je 0x464930
mov eax, 0x5c831c
push eax
push dword [0x6229d0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x6229c0], eax
nop
cmp dword [0x622830], 6
jae 0x464944
mov dword [0x59b7f0], 0
nop
cmp dword [0x622830], 6
jb 0x464960
cmp dword [0x622840], 1
jb 0x464960
mov dword [0x59b800], 2
mov esp, ebp
pop ebp
ret
Function at 0x4a0e50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x4a0e84
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 + 0x622fd0]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x4a0e60
pop edi
pop esi
pop ebx
ret
Function at 0x4c0a70
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.00408b40
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
xor eax, eax
push fcn.004c0a50
push ebp
push 0x415030
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4c0aaf
jmp 0x4c0ab4
jmp 0x4c0b79
mov eax, dword [ebp - 4]
call fcn.004c05f0
mov byte [ebp - 0x18], al
cmp byte [ebp - 0x18], 0
jne 0x4c0ac7
jmp 0x4c0ae7
mov eax, dword [ebp - 4]
call fcn.004c0680
test al, al
jne 0x4c0ad5
jmp 0x4c0ae7
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004c07b0
mov byte [ebp - 8], al
jmp 0x4c0b79
cmp byte [ebp - 0x18], 0
jne 0x4c0aef
jmp 0x4c0b0b
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x20
call fcn.00409bc0
cmp eax, 0
jg 0x4c0b05
jmp 0x4c0b0b
mov byte [ebp - 0x14], 1
jmp 0x4c0b0f
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0x14], 0
jne 0x4c0b17
jmp 0x4c0b40
push 0
mov eax, 0x5dbd64
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, 0x5dbd64
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408f00
nop
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x28]
call fcn.0040cca0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.0040b3d0
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4c0b68
mov eax, 0x61f2f0
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.004c0a50
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4c10c0
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 0x4c10f1
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 0x4c10e0
pop esi
pop ebx
ret
Function at 0x4c2920
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 0x4c2944
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 0x4c2a0a
mov esi, esi
xor eax, eax
push 0x4c29eb
push ebp
push 0x4153b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040d490
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, 0x5c2d90
call fcn.00448fa0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004c2ba0
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004c2c10
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004c2c80
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4c29e0
cmp dword [ebp - 4], 0
je 0x4c29e0
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 0x4c2a0a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cb5d0
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
je 0x4cb5eb
jmp 0x4cb5f8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x4cb600
jmp 0x4cb608
jmp 0x4cb6b6
xor eax, eax
push 0x4cb693
push ebp
push 0x4153b0
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
jne 0x4cb63e
jmp 0x4cb664
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.00446f10
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4cb673
jmp 0x4cb688
cmp dword [ebp - 8], 0
jne 0x4cb67b
jmp 0x4cb688
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 0x4cb6b6
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cd420
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4cd454
mov eax, esi
call fcn.004d19a0
cmp byte [esi + 0x40], 0
je 0x4cd44c
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4cd505
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4cd4e4
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4cd4dc
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4cd488
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 0x4cd4a0
xor bl, bl
jmp 0x4cd505
cmp edi, 2
je 0x4cd4da
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4cd478
cmp edi, 3
je 0x4cd4b8
cmp edi, 1
jne 0x4cd478
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 0x4cd478
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4cd478
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4cd4fc
cmp dword [esi + 0x14], 0xcc
je 0x4cd4fc
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004cd840
lea esi, [esi]
mov eax, esi
call fcn.004cd510
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4ea690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4ea6a6
jmp 0x4ea6e0
mov eax, dword [0x59b1a0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x4ea6bb
jmp 0x4ea6e0
mov eax, dword [0x59b1a0]
cmp byte [eax + 0x11c], 0
je 0x4ea6cb
jmp 0x4ea6e0
mov eax, dword [0x59b580]
mov edx, dword [0x59b580]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x59b580]
mov edx, dword [0x59b580]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x4ea6fc
jmp 0x4ea7da
mov eax, dword [0x59b1a0]
cmp byte [eax + 0x11c], 0
je 0x4ea70f
jmp 0x4ea7da
mov eax, dword [0x59b580]
mov edx, dword [0x59b580]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.00560870
mov eax, dword [0x59b1a0]
cmp dword [eax + 0x170], 0
jne 0x4ea734
jmp 0x4ea7a0
push 0x10
push 0
mov eax, dword [0x59b1a0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x59b1a0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x59b1a0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x59b1a0]
mov eax, dword [eax + 0x170]
call fcn.0050bda0
test al, al
jne 0x4ea78d
jmp 0x4ea7a0
push 0
mov eax, dword [0x59b1a0]
call fcn.004239d0
push eax
call sub.user32.dll_ShowWindow
nop
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x59b1a0]
call fcn.00427880
jmp 0x4ea878
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4ea7e5
jmp 0x4ea832
mov eax, dword [ebp - 4]
mov edx, dword [0x59b1a0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x4ea7fb
jmp 0x4ea832
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x59b1a0]
call fcn.00427880
jmp 0x4ea878
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4ea83d
jmp 0x4ea878
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x4ea851
jmp 0x4ea878
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x59b580]
mov edx, dword [0x59b580]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f1540
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
jne 0x4f156e
jmp 0x4f15dc
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
jg 0x4f158a
jmp 0x4f15dc
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.004f1520
push ebp
push 0x415030
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.004f1520
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret