joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbf8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4bbfbd
call fcn.0045daaa
mov dword [eax], esi
call fcn.0045da97
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00459c92
add esp, 0x14
push 0x16
pop eax
jmp 0x4bc012
test dword [ebp + 0xc], 0xfffffff9
jne 0x4bbf99
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4bbfea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045dabd
pop ecx
call fcn.0045da97
mov eax, dword [eax]
jmp 0x4bc012
test al, 0x10
jne 0x4bc010
test al, 1
je 0x4bc010
test byte [ebp + 0xc], 2
je 0x4bc010
call fcn.0045daaa
mov dword [eax], 5
call fcn.0045da97
mov dword [eax], 0xd
jmp 0x4bbfe1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0xf11102c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x27102b7
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40cbad
Capabilities:
Write file on windows

Disassembly:
push 0x9c
mov eax, 0x4abffe
call fcn.0046a57c
mov esi, ecx
mov eax, 0xfeff
xor ebx, ebx
mov word [ebp - 0x78], ax
mov eax, vtable.ATL::CAccessToken.0
mov byte [ebp - 0x71], bl
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push 0x4d021c
push eax
call fcn.0040d1ae
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.0040d0c7
push ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040d041
lea eax, [ebp - 0x71]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040d009
push ebx
cmp byte [ebp - 0x71], bl
je 0x40cc93
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], 0xc
push eax
push 1
push str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GA___AU_
mov dword [ebp - 0xa0], ebx
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x40cced
push ebx
push 0x80
push 1
lea eax, [ebp - 0xa8]
push eax
jmp 0x40cc9b
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40cced
push ebx
lea eax, [ebp - 0x7c]
push eax
push 2
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40cced
push ebx
lea eax, [ebp - 0x7c]
mov edi, str._SESSION_
push eax
push edi
call fcn.004863fd
pop ecx
lea eax, [eax*2 + 2]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40ccf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x40ccfe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x70]
call fcn.0040d2c2
mov esi, vtable.ATL::CAccessToken.0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], esi
call fcn.0040d340
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.0040d340
mov eax, ebx
call fcn.0046a526
ret
Function at 0x40ced2
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea ebx, [ecx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40ceed
push 3
pop eax
jmp 0x40cf95
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40cefd
push 2
jmp 0x40cee7
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x82
push 2
pop edx
add esi, esi
cmp esi, 0x821
jae 0x40cf90
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044ffe2
lea ecx, [esi + esi]
mov dword [edi], eax
push ecx
push 0
push eax
call fcn.00482cf0
add esp, 0x10
push ebx
push esi
push dword [edi]
push 0
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
test eax, eax
je 0x40cf5a
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x40cf6c
push dword [edi]
call fcn.0044ffdd
and dword [edi], 0
mov eax, dword [ebp - 4]
pop ecx
test eax, eax
je 0x40cf89
inc eax
push 2
pop edx
cmp esi, eax
jbe 0x40cf0a
cmp dword [edi], 0
je 0x40cf90
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40cf90
xor eax, eax
jmp 0x40cf93
mov eax, 0xe8
jmp 0x40cf93
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40d009
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40d03a
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
add eax, 4
push eax
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x40d03a
cmp dword [ebp - 4], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x40d03c
xor al, al
pop esi
leave
ret 8

Function at 0x40d43d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x512554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x41c]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.00482cf0
push edi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00482cf0
add esp, 0x18
mov dword [ebp - 0x420], ebx
mov ecx, 0x105
mov dword [ebp - 0x428], ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], ebx
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x4d0240
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, 0x104
test eax, eax
je 0x40d4dd
push 0xa
push edi
push esi
push dword [ebp - 0x420]
call fcn.00489bfe
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x40d4f7
push str.thsnYaViMRAeBoda
mov edx, edi
mov ecx, esi
call fcn.0040d3cf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469f6a
leave
ret
Function at 0x412984
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], eax
xor edi, edi
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 0
push ecx
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4129d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
push 0xd
pop eax
cmove esi, eax
cmp esi, 0xe8
jne 0x4129e6
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
cmp edi, 0xa
jl 0x412995
jmp 0x4129e6
push 0xd
pop eax
mov esi, eax
xor eax, eax
cmp dword [ebp - 4], 4
cmove esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x413835
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push dword [0x517d04]
xor ebx, ebx
mov dword [ebp - 0xc], esi
inc ebx
mov dword [ebp - 0x14], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x517c98], bl
mov dword [0x517c9c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41391e
push edi
push 4
pop edi
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [0x517d10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4138a6
cmp dword [ebp - 0xc], ebx
je 0x4138cd
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4e77a4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4138d7
cmp dword [ebp - 0x14], ebx
jne 0x4138d7
mov dword [0x517c9c], 2
mov edx, dword [0x517d04]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push str.iLogLevelDebug
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], esi
call fcn.0044057f
add esp, 0xc
pop edi
test eax, eax
jne 0x413915
movzx eax, byte [0x517c96]
cmp dword [ebp - 0x18], 0x64
cmovae eax, ebx
mov byte [0x517c96], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x414d6a
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x828
mov eax, 0x4acf37
call fcn.0046a57c
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + 4]
mov edi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x81c], ebx
call fcn.00455f5e
push ebx
call fcn.00414fc2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414fb7
call fcn.00450721
push eax
lea ecx, [ebp - 0x818]
call fcn.00402899
and dword [ebp - 4], 0
mov esi, 0x104
imul esi, esi, 5
lea ecx, [ebp - 0x818]
push esi
call fcn.00402bd2
push dword [edi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
mov ebx, eax
call fcn.0040a0b9
lea ecx, [esi - 2]
cmp ebx, ecx
je 0x414dcc
mov esi, dword [ebp - 0x818]
test ebx, ebx
je 0x414faf
cmp dword [esi - 4], 1
jle 0x414e23
push dword [esi - 0xc]
lea ecx, [ebp - 0x818]
call fcn.00402aac
mov esi, dword [ebp - 0x818]
mov edi, 0x4cedac
lea ecx, [ebp - 0x814]
push edi
call fcn.00402829
push edi
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 1
call fcn.00402829
lea eax, [ebx - 1]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x81c]
xor edi, edi
mov dword [ebp - 0x834], eax
movzx eax, word [esi + edi*2]
test ax, ax
jne 0x414f45
mov eax, dword [ebp - 0x814]
cmp dword [eax - 0xc], 0
je 0x414f38
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00482cf0
mov eax, dword [ebp - 0x824]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x810]
push 0x400
push eax
mov eax, dword [ebp - 0x828]
push 0x4cedac
push dword [eax]
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x820]
call fcn.0040286d
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x82c], eax
cmp dword [eax - 0xc], 0
je 0x414ef9
push dword [ebp - 0x814]
mov ecx, ebx
call fcn.00455cfd
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.0040286d
jmp 0x414f38
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [ebp - 0x81c]
call fcn.00402829
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 3
xor ecx, ecx
lea edx, [ebp - 0x81c]
push 0
push eax
inc ecx
call fcn.00413930
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x81c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x814]
call fcn.00402a6b
jmp 0x414f79
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.004150ac
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x814]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
call fcn.00402e64
inc edi
cmp edi, dword [ebp - 0x834]
jbe 0x414e59
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
call fcn.0040a0b9
mov ecx, dword [ebp - 0x820]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x814]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
xor eax, eax
inc eax
call fcn.0046a526
ret 8
Function at 0x416e10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor edx, edx
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x416e18
mov dword [edx*4 + 0x518380], ecx
inc edx
cmp edx, 0x100
jb 0x416e13
mov esi, 0x800
jmp 0x416e60
mov ecx, dword [edx*4 + 0x517f80]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x518380]
mov dword [edx*4 + 0x518380], ecx
inc edx
cmp edx, esi
jb 0x416e44
mov dword [0x5182e0], 0x416e90
call fcn.0041a1af
mov ecx, dword [0x5182e0]
test eax, eax
mov edx, 0x416f30
cmove ecx, edx
mov dword [0x5182e0], ecx
pop esi
ret

Function at 0x417984
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 8], ecx
mov esi, dword [edi]
test esi, esi
je 0x4179df
and dword [edi], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
mov edx, 0x400000
mov eax, esi
cmp esi, edx
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x4179d7
test ecx, ecx
je 0x4179df
test esi, esi
je 0x4179df
mov ecx, dword [ebp - 8]
jmp 0x41799d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4179e1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419f8f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x419fb2
xor eax, eax
jmp 0x41a0e8
push ebx
lea ebx, [edx - 4]
or ecx, 0xffffffff
add ebx, eax
mov dword [ebp - 0x14], ebx
lea edx, [edi + eax]
cmp edx, ebx
jae 0x419fd5
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x419fd2
inc edx
cmp edx, ebx
jb 0x419fc5
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x41a0d0
cmp eax, 3
jbe 0x41a00c
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x41a048
cmp al, 0xff
je 0x41a048
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x41a0c9
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x419fec
cmp byte [esi + 0x4e4fe8], 0
je 0x41a035
movzx eax, byte [esi + 0x4e4ff0]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x41a035
cmp al, 0xff
jne 0x419fec
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x419fbe
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0xc], ebx
test esi, esi
je 0x41a0a1
movzx eax, byte [esi + 0x4e4ff0]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x41a090
cmp al, 0xff
jne 0x41a0a1
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 8]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0xc]
jmp 0x41a066
mov ecx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x41a040
lea ecx, [eax - 1]
shl esi, cl
xor ecx, ecx
and esi, 7
cmp eax, 3
mov eax, dword [ebp + 0xc]
cmova esi, ecx
pop ebx
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x425ec2
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x4aea88
call fcn.0046a548
mov edi, ecx
call fcn.00450721
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
and dword [ebp - 4], 0
cmp dword [0x517e4c], 2
mov esi, dword [0x517e30]
jne 0x425f31
test esi, esi
jne 0x425f01
cmp dword [0x518280], 0x249f0
jne 0x425f31
push 0x517f30
lea ecx, [ebp - 0x14]
call fcn.00402e14
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x425f81
test esi, esi
mov ecx, str.http:__www.adobe.com_go_update_error_win
mov eax, str.http:__www.adobe.com_go_ARMUpgradeFailedHelp
cmove eax, ecx
lea ecx, [ebp - 0x14]
push eax
call fcn.0040286d
jmp 0x425f81
cmp dword [0x517ee0], 0
jne 0x425f48
cmp dword [0x517f24], 0
mov eax, 0x517ef0
je 0x425f4d
mov eax, 0x517f34
push eax
lea ecx, [ebp - 0x14]
call fcn.00402e14
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x425f81
mov ecx, 0x517e5c
call fcn.004031f2
test eax, eax
mov edx, 0x517cfc
mov ecx, 0x517d00
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402e14
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff0
push ebx
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
add edi, 0x84
push eax
mov ecx, edi
call fcn.00402e14
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402e64
push 0x4cedac
lea ecx, [ebp - 0x10]
call fcn.00402829
push 1
xor eax, eax
mov byte [ebp - 4], 2
push eax
push eax
push dword [edi]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x21
jge 0x4260a6
mov ecx, esi
sub ecx, 0
je 0x42603f
dec ecx
sub ecx, 1
je 0x426032
sub ecx, 1
je 0x42602b
dec ecx
sub ecx, 1
je 0x42603f
sub ecx, 3
je 0x426024
sub ecx, 0x12
je 0x42601d
sub ecx, 6
lea ecx, [ebp - 0x10]
je 0x426016
push str.All_other_non_caught_scenarios
jmp 0x42603a
push str.The_specified_DLL_was_not_found.
jmp 0x42603a
push str.A_sharing_violation_occurred.
jmp 0x426037
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x426037
push str.The_specified_path_was_not_found.
jmp 0x426037
push str.The_specified_file_was_not_found.
lea ecx, [ebp - 0x10]
call fcn.0040286d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4260a6
push str.Failed_to_navigate_to_URL:
lea ecx, [ebp - 0x18]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
push edi
lea edx, [ebp - 0x18]
inc ecx
call fcn.00413930
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___Error_message:
lea ecx, [ebp - 0x18]
call fcn.00402829
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x18]
push 0
push eax
inc ecx
call fcn.00413930
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, ebx
call fcn.00402e64
xor eax, eax
inc eax
call fcn.0046a511
ret
Function at 0x42b4c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x512554]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x42b4f4
push 0xd
jmp 0x42b559
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b557
push 0x250
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00482cf0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42b557
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x42b53e
cmp dword [esp + 0x30], edi
je 0x42b53e
mov eax, 0x5b6
jmp 0x42b55a
push ebx
mov ecx, esi
call fcn.0042a7f0
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffc12
add eax, 0x3ee
jmp 0x42b55a
push 2
pop eax
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469f6a
mov esp, ebp
pop ebp
ret

Function at 0x433896
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x512554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.Shell_TrayWnd
push edi
xor edi, edi
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4338e0
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4338e0
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4339a2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x433946
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x43392a
sub eax, 1
je 0x433911
sub eax, 1
je 0x43392a
sub eax, 1
jne 0x4339a2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx - 0x64]
mov dword [esi], eax
lea eax, [ecx - 0x10]
jmp 0x433941
mov ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x64]
mov dword [esi + 4], eax
lea eax, [ecx - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
jmp 0x4339a2
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x433984
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi]
cmp eax, 0x96
jle 0x433972
lea eax, [ecx - 0x96]
mov dword [esi], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, 0x1e
jle 0x4339a2
lea eax, [ecx - 0x1e]
jmp 0x43399f
push edi
push esi
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469f6a
leave
ret 4
Function at 0x43596e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
push 9
mov ebx, ecx
lea edi, [ebp - 0x28]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x28], 0
jne 0x435997
mov al, 1
jmp 0x4359ea
mov edi, dword [0x517cc0]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x4359ce
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4359e4
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [0x517cc0], edi
test edi, edi
je 0x4359e1
lea eax, [ebp - 4]
mov ecx, edi
push eax
push ebx
call dword [0x4b87ec]
call edi
test eax, eax
je 0x4359e4
mov esi, dword [ebp - 4]
test esi, esi
pop esi
setne al
pop edi
pop ebx
leave
ret