joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a5c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
mov eax, dword [0x5ad040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x698], ax
lea eax, [ebp - 0x696]
push eax
call fcn.00530d50
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x288], ax
lea eax, [ebp - 0x286]
push eax
call fcn.00530d50
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x490], ax
lea eax, [ebp - 0x48e]
push eax
call fcn.00530d50
lea eax, [esi + 0x1ee4]
mov dword [ebp - 0x6a8], 0x104
push eax
lea eax, [ebp - 0x288]
push 0x104
push eax
call fcn.0052f5cf
lea eax, [esi + 0x424]
push eax
lea eax, [ebp - 0x698]
push 0x104
push eax
call fcn.0052f5cf
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x288]
push 0x104
push eax
call fcn.0052f62b
add esp, 0x48
lea eax, [ebp - 0x6a4]
push eax
push 0
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.msi.dll_MsiOpenProductW]
test eax, eax
je 0x40a6a7
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e288
mov esp, ebp
pop ebp
ret
push edi
mov ecx, 0x1e
lea edi, [ebp - 0x80]
mov esi, str._SELECT__Value__FROM__Property__WHERE__Property_PRODTYPE
lea eax, [ebp - 0x69c]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x6a4]
movsw word es:[edi], word [esi]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
push 0
push dword [ebp - 0x69c]
call dword [sym.imp.msi.dll_MsiViewModify]
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x69c]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0x490]
push eax
push 1
push dword [ebp - 0x6a0]
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
push dword [ebp - 0x6a0]
mov esi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
call esi
push dword [ebp - 0x69c]
call esi
push dword [ebp - 0x6a4]
call esi
mov eax, str.trial
lea ecx, [ebp - 0x490]
pop edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40a76f
test dx, dx
je 0x40a759
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40a76f
add ecx, 4
add eax, 4
test dx, dx
jne 0x40a737
xor eax, eax
test eax, eax
pop esi
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e288
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
sbb eax, eax
or eax, 1
test eax, eax
pop esi
sete al
xor ecx, ebp
call fcn.0052e288
mov esp, ebp
pop ebp
ret
Function at 0x40a790
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54989b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040a5c0
cmp al, 1
jne 0x40a8c3
call fcn.00412b6d
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40a7e5
push 0x80004005
call fcn.00402af0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x105
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a817
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00402650
push 1
push 0x58cde8
lea ecx, [ebp - 0x224]
call fcn.004038d0
push 0xe
push str.WinHDB110B.ini
lea ecx, [ebp - 0x224]
call fcn.004038d0
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a8a2
call fcn.0040a8e0
cmp eax, 0x1e
jg 0x40a87d
test eax, eax
jns 0x40a8a2
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a89e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x40a8c5
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a8c3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e288
mov esp, ebp
pop ebp
ret
Function at 0x40a8e0
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5498db
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0x30809
mov dword [ebp - 0x14], 0xb0e0502
mov dword [ebp - 0x20], 0xf010704
mov dword [ebp - 0x1c], 0xd060a0c
call fcn.00412b6d
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40a946
push 0x80004005
call fcn.00402af0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x274], eax
push 0x105
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
jmp 0x40a980
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a980
sub ecx, edx
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x274]
call fcn.00402650
push 1
push 0x58cde8
lea ecx, [ebp - 0x274]
call fcn.004038d0
push 0xe
push str.WinHDB110B.ini
lea ecx, [ebp - 0x274]
call fcn.004038d0
mov esi, dword [ebp - 0x274]
push 0x58e558
push esi
call fcn.0052ff89
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x274], eax
push ecx
push 0x58e55c
push eax
call fcn.005301f7
lea eax, [ebp - 0x50]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a9f5
sub eax, edx
xor ecx, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jle 0x40aa3a
jmp 0x40aa10
movsx edx, byte [ebp + ecx - 0x20]
movzx eax, byte [ebp + edx - 0x50]
mov edx, ecx
mov byte [ebp + ecx - 0x38], al
and edx, 7
movsx eax, byte [ebp + ecx - 0x18]
movzx eax, byte [ebp + eax - 0x50]
xor al, byte [ebp + edx - 0x38]
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, edi
jl 0x40aa10
lea eax, [ebp - 0x26]
push eax
call fcn.0052f304
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x26], 0
call fcn.0052f304
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x28], 0
call fcn.0052f304
add esp, 0xc
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movdqu xmm0, xmmword [ebp - 0x3c]
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.0040ab00
movdqu xmm0, xmmword [ebp - 0x270]
sub esp, 0x10
mov edi, eax
mov ecx, esp
movdqu xmmword [ecx], xmm0
call fcn.0040ab00
push dword [ebp - 0x274]
mov ebx, eax
sub ebx, edi
call fcn.00530380
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
add esp, 4
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40aad7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e288
mov esp, ebp
pop ebp
ret
Function at 0x40b8c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549983
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.004108d3
mov dword [ebp - 4], 0
mov dword [esi], vtable.CNewMemDC.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], vtable.CBitmap.0
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x20]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
sete al
mov dword [esi + 0x30], eax
test eax, eax
je 0x40b9ae
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x50]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004110fa
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.00411130
test edi, edi
jne 0x40b98d
xor eax, eax
jmp 0x40b990
mov eax, dword [edi + 4]
push eax
push dword [esi + 4]
call fcn.00411661
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov ecx, esi
push dword [ebx]
lea eax, [ebp - 0x1c]
push eax
call fcn.004119bc
jmp 0x40b9c0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fb2d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041a622
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40fb64
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0040fb85
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4153f2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
clc
clc
jae 0x4153bd
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4153ae
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov ah, 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00415169
sbb ah, ch
push ecx
popal
lea eax, [ebp - 0x58]
push eax
call fcn.00415179
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0041512e
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]

Function at 0x41549a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00415169
push ss
xor al, 0x9f
enter 0x458d, 0xffffffffffffffc0
push eax
call fcn.00415179
push eax
push esi
push dword [ebp + 8]
call fcn.0041512e
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00415169
lea eax, [ebx + 0xc]
inc edi
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
invalid
inc ebp

Function at 0x41559a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
push edx
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00415179
push eax
push esi
push dword [ebp + 8]
call fcn.0041512e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00415169
daa
sbb ebp, eax
mov cs, word [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x41562e
Capabilities:
Inspect section memory permissions

Disassembly:
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid

Function at 0x41586a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x415840
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41585e
movzx eax, ax
lea eax, [eax + eax*4]
add al, 0x80
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4158bc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
adc byte gs:[eax], al
add byte [eax], al
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4158a3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4158ac
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4158b6
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x415898
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
or al, 0x66
cmp ecx, dword [eax + 6]
jbe 0x415822
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x4245a7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00419854
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4245e3
call fcn.004247c6
mov dword [esi + 0xc], 1
jmp 0x4245e8
call fcn.004247c6
cmp dword [esi], 0
je 0x424631
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42460b
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004130e5
jmp 0x42461c
push 0xff
mov ecx, esi
call fcn.00402ab0
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041333b
jmp 0x424655
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x424655
push dword [esi]
push dword [ebp - 4]
call fcn.004207a7
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42471b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004247c6
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x424763
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004130e5
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041333b
jmp 0x42476e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004207a7
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x44edb0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
ja 0x44edcb
cmp dword [ecx + 0x114], 0
je 0x44edcb
call fcn.0044f08e
pop ebp
ret 8
pop ebp
jmp method.CDialog.virtual_128
Function at 0x466de6
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x54e1f6
call fcn.00530655
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00406f00
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x58cde8
call fcn.0041b9db
cmp eax, 0xffffffff
jne 0x466e9a
push 0
push 0x55e600
lea ecx, [ebp - 0x4d0]
call fcn.0041b9db
cmp eax, 0xffffffff
jne 0x466e9a
push 0
push 0x55c454
lea ecx, [ebp - 0x4d0]
call fcn.0041b9db
cmp eax, 0xffffffff
jne 0x466e9a
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00406f00
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x466e76
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402950
jmp 0x466ec9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00402710
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402950
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x466ec0
mov ebx, dword [ebp - 0x4cc]
jmp 0x466ec9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402950
mov eax, ebx
call fcn.00530604
ret

Function at 0x492f0c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
je 0x492f1f
cmp dword [ecx + 0x20], 0
je 0x492f1f
pop ebp
jmp fcn.00415648
pop ebp
ret 4
Function at 0x543238
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ad040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00536843
mov dword [ebp - 0x14], eax
cmp dword [0x5b8594], esi
jne 0x54332b
push 0x800
push esi
push 0x587590
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5432b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x54340b
push esi
push esi
push 0x587590
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x54340b
push 0x5875a8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54340b
push eax
call ebx
push 0x5875b4
push edi
mov dword [0x5b8594], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5875c4
push edi
mov dword [0x5b8598], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5b859c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b85a4], eax
test eax, eax
je 0x543328
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b85a0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x543350
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x543343
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x543365
push 4
pop eax
jmp 0x54340d
cmp dword [ebp - 0x14], esi
je 0x543365
push dword [0x5b8594]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54334a
mov eax, dword [0x5b85a0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5433c3
cmp dword [0x5b85a4], edi
je 0x5433c3
push eax
call ebx
push dword [0x5b85a4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5433c3
test eax, eax
je 0x5433c3
call ecx
test eax, eax
je 0x5433b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5433b8
test byte [ebp - 8], 1
jne 0x5433c3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5433f3
mov eax, dword [0x5b8598]
cmp eax, edi
je 0x5433f0
push eax
call ebx
test eax, eax
je 0x5433f0
call eax
mov esi, eax
test esi, esi
je 0x5433f0
mov eax, dword [0x5b859c]
cmp eax, edi
je 0x5433f0
push eax
call ebx
test eax, eax
je 0x5433f0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5b8594]
call ebx
test eax, eax
je 0x54340b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x54340d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052e288
mov esp, ebp
pop ebp
ret
Function at 0x401290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call sym._9
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._7
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.DLL_CreateThread
sub esp, 0x18
mov dword [esp], 0xea60
call sub.KERNEL32.DLL_Sleep
sub esp, 4
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym._8
jmp 0x4012d2
Function at 0x401aa9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40133e]
sub eax, 0x6af9d5ff
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x4e73fb3a
mov dword [ebp - 4], ecx
mov word [ebp - 8], 0
mov dword [ebp - 0x20], eax
mov word [ebp - 0xc], 0
cmp dword [ebp - 0x14], 0
jne 0x401af2
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0040168e
mov byte [ebp - 0x28], 0xaa
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
push edx
add ecx, 0x3187
call fcn.00401957
add esp, 4
mov word [ebp - 8], ax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2]
mov word [ebp - 0x28], 0x2cb1
push edx
test dword [ebp - 0x14], 0xd8
jne 0x401b32
call fcn.00401ced
call fcn.00401957
add esp, 4
mov byte [ebp - 0x1c], 0x68
mov word [ebp - 0xc], ax
test dword [ebp - 0x14], 0x20
jne 0x401af2
mov ecx, dword [ebp - 0x14]
add ecx, 0x4e73fb3b
cmp dword [ebp - 4], ecx
jbe 0x401b95
mov dword [ebp - 0x20], 0xb8e72f4d
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0x1c], ecx
movzx eax, word [ebp - 8]
sub eax, dword [ebp - 0x14]
add eax, 0xb18c0499
mov edx, dword [ebp - 0x14]
add edx, 0x4e73fb3b
cmp eax, edx
jne 0x401b87
mov byte [ebp - 0x28], 0x9c
jmp 0x401bf2
movzx ecx, word [ebp - 8]
mov byte [ebp - 0x1c], 0x90
test ecx, ecx
jne 0x401b95
jmp 0x401bf2
movzx edx, word [ebp - 8]
movzx eax, word [ebp - 0xc]
mov word [ebp - 0x20], 0x4ca
cmp edx, eax
je 0x401bb5
mov byte [ebp - 0x28], 0x66
mov eax, dword [ebp - 0x14]
xor eax, 0xb18c04c7
jmp 0x401bf7
mov edx, dword [ebp - 0x14]
cmp edx, dword [0x40133a]
je 0x401bb5
movzx eax, word [ebp - 0x14]
add ecx, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
sub edx, 0xb18c04c5
add ecx, edx
mov byte [ebp - 0x28], 0x19
mov dword [ebp - 4], ecx
mov edx, dword [0x40133a]
add edx, 0xe7f8da04
test edx, edx
mov dword [ebp - 0x20], eax
jne 0x401ad7
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov esp, ebp
pop ebp
ret