joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467640
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push edi
mov edi, eax
test edi, edi
jne 0x46764f
pop edi
add esp, 0x10
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebp
push esi
push 0
push edi
call ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, dword [0x4a2bbc]
je 0x46767a
mov esi, edi
call fcn.00468640
test al, al
jne 0x467812
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x467694
push eax
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp edi, esi
jne 0x4676a2
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x10
ret
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4676b6
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4a0b5a], 0
jne 0x4676d0
push esi
call fcn.004675e0
add esp, 4
test eax, eax
jne 0x467814
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x46772d
push 0
push esi
call ebx
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x46772d
cmp dword [0x4a2bbc], ebx
je 0x467714
call fcn.00468640
test al, al
jne 0x467714
mov eax, dword [0x4a2bbc]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x12]
test ebp, ebp
je 0x46772d
cmp ebx, ebp
je 0x46772d
push 1
push ebp
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esp + 0x14], 0
jmp 0x467740
push edi
call ebx
push 1
push 0xa
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
mov dword [0x49d328], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
cmp ebp, edi
jne 0x467773
mov ebp, edi
jmp 0x467784
cmp ebp, esi
je 0x467788
push 4
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
cmp edi, eax
jne 0x467788
test ebp, ebp
jne 0x4677c9
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x467740
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040e2a0
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 2
call fcn.0040e2a0
push esi
call fcn.004675e0
add esp, 0x34
mov ebp, eax
cmp byte [esp + 0x12], 0
je 0x4677e4
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4a2bbc]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [esp + 0x13], 0
je 0x4677fd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
dec esp
and al, 0x18
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test ebp, ebp
je 0x467812
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret
Function at 0x409e20
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x409ecb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e244
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e23c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x409eb5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x10000949
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1dc87518
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403c92
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x409024]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call main
mov ebx, eax
cmp ebx, esi
je 0x403d05
lea ecx, [ebp - 0x74]
call fcn.0040175a
mov eax, ebx
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040426a
add ebp, 0x1a0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x403d1d
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.00403c92
cmp eax, esi
jne 0x403d4f
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x403d0d
lea ecx, [ebp - 0x74]
call fcn.0040175a
push dword [ebp - 0x78]
mov ecx, edi
call fcn.004016eb
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0040175a
mov eax, esi
jmp 0x403ceb

Function at 0x403fd2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403fe1
pop dword [ebp - 0x40]
mov eax, 0xcaae3b9c
sub eax, 0xca6dfbbb
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x7e4249ff
add dword [ebp - 0x50], 0xd00ffb4c
mov dword [ebp - 0x4c], 0xba4d8145
sub dword [ebp - 0x4c], 0x881a3500
mov dword [ebp - 0x48], 0xd6b42882
sub dword [ebp - 0x48], 0x8a67e454
mov dword [ebp - 0x44], 0x5a65cb13
add dword [ebp - 0x44], 0xa59a34ed
lea eax, [ebp - 0x50]
push eax
mov eax, 0x8d4a0d1a
add eax, 0x72f652fe
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xd28ddc57
add dword [ebp - 0x50], 0xa1e48cff
mov dword [ebp - 0x4c], 0x8477fd04
sub dword [ebp - 0x4c], 0x430b9b8f
mov dword [ebp - 0x48], 0xa38dc285
sub dword [ebp - 0x48], 0x401e5619
mov dword [ebp - 0x44], 0xf74b39e6
add dword [ebp - 0x44], 0x8b4c61a
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x39a0b
push 0
call eax
mov ecx, 0x535a
mov ebx, eax
mov edi, 0x8ff94fc6
sub edi, 0x8fb815c6
add edi, dword [ebp - 0x40]
mov edx, 0xc1f600d5
add edx, 0xaf73fdf
sub dword [ebp - 0x1c], ebx
mov esi, dword [edi]
xor dword [ebp - 0x34], 0xcac1ed84
add esi, edx
xor dword [ebp - 0x18], 0x65b6f48
mov dword [ebx], esi
xor dword [ebp - 0x20], edx
add ebx, 0xc79b7091
sub ebx, 0xc79b708d
add edi, 0x2c81fb18
sub edi, 0x2c81fb14
loop 0x4040f8
add eax, 0x1403b
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x40426a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409024]
jne 0x404274
repz ret
jmp fcn.00404744
Function at 0x40473a
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x408088
call fcn.00404850
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
cmp dword [0x409494], ebx
jne 0x4044d5
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x409488
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x40450f
cmp eax, esi
jne 0x404502
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x404512
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x4044e9
xor esi, esi
inc esi
mov eax, dword [0x409484]
cmp eax, esi
jne 0x404525
push 0x1f
call sub.msvcr100.dll__amsg_exit
pop ecx
jmp 0x404560
mov eax, dword [0x409484]
test eax, eax
jne 0x40455a
mov dword [0x409484], esi
push 0x406224
push 0x406218
call sub.msvcr100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x404560
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40467a
mov dword [0x409138], esi
mov eax, dword [0x409484]
cmp eax, esi
jne 0x404584
push 0x406214
push 0x406204
call sub.msvcr100.dll__initterm
pop ecx
pop ecx
mov dword [0x409484], 2
cmp dword [ebp - 0x24], ebx
jne 0x404591
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x409498], ebx
je 0x4045b2
push 0x409498
call main
pop ecx
test eax, eax
je 0x4045b2
push ebx
push 2
push ebx
call dword [0x409498]
mov eax, dword [sym.imp.msvcr100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40460b
cmp al, bl
je 0x4045cb
cmp dword [ebp - 0x1c], ebx
jne 0x40460b
mov al, byte [esi]
cmp al, bl
je 0x4045db
cmp al, 0x20
ja 0x4045db
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4045cb
test byte [ebp - 0x40], 1
je 0x4045e7
movzx eax, word [ebp - 0x3c]
jmp 0x4045ea
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x409134], eax
cmp dword [0x409128], ebx
jne 0x404660
push eax
call dword [sym.imp.msvcr100.dll_exit]
cmp al, 0x22
jne 0x40461a
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr100.dll__ismbblead]
pop ecx
test eax, eax
je 0x40462d
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4045b9
cmp dword [0x409138], ebx
jne 0x40466e
call dword [sym.imp.msvcr100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x409134]
call fcn.00404895
ret
call main
jmp 0x4044a7

Function at 0xf0a000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xf0a00a
jmp 0xf0c00f
jmp fcn.00aa2210

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40735f
pop dword [ebp - 0x10]
mov eax, 0x9ab1491e
add eax, 0x658f2a41
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3d286
push 0
mov eax, 0xa7c39394
add eax, 0x587ebe84
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x459d
mov esi, eax
mov edi, 0x435400
add edi, dword [ebp - 0x10]
mov edx, 0x8f7fa81c
sub dword [ebp - 4], esi
mov ebx, dword [edi]
xor dword [ebp - 4], eax
sub ebx, edx
xor dword [ebp - 8], edx
mov dword [esi], ebx
add dword [ebp - 8], esi
add esi, 4
add edi, 0xc54ad6ce
sub edi, 0xc54ad6ca
loop 0x4073ac
add eax, 0x9c97960d
add eax, 0x6369733a
xor ebx, ebx
add ebx, eax
add eax, 0xfc4c80fc
add eax, 0x3b37f09
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7
Function at 0x41db7c
Capabilities:
Get number of processors

Disassembly:
add esp, 4
call 0x41db7c
add byte [0x473f3c4e], bh
dec edi
dec ebx
dec esi
add esp, 4
and edi, 0x8400
and edi, 0x45c
pop edi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x41dc02
Function at 0x41dd00
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ecx
push eax
add esp, 4
xor ecx, 0x3a9d
pop ecx
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x6f
mov byte [ebp - 0x892], 0x61
mov byte [ebp - 0x891], 0x64
mov byte [ebp - 0x890], 0x4c
mov byte [ebp - 0x88f], 0x69
mov byte [ebp - 0x88e], 0x62
mov byte [ebp - 0x88d], 0x72
mov byte [ebp - 0x88c], 0x61
mov byte [ebp - 0x88b], 0x72
mov byte [ebp - 0x88a], 0x79
mov byte [ebp - 0x889], 0x57
mov byte [ebp - 0x888], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x195c], eax
mov ecx, dword [ebp - 0x195c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1960], edx
mov eax, dword [ebp - 0x1960]
mov dword [ebp - 0x15e4], eax
push eax
jmp 0x41dd95
pop eax
push ecx
xor ecx, 0x170cb
pop ecx
push eax
invalid
Function at 0x42fc80
Capabilities:
Encode data using xor

Disassembly:
mov cl, cl
or dword [esi + 0x6498aee], eax
add eax, 0x3910f686
add eax, 0xe2c68605
mov esp, 0x565e0505
xchg dh, ah
or ah, bl
add eax, 0x53ce8605
sub eax, dword [0xe6f68605]
push eax
add eax, 0x66c68605
leave
add eax, 0x8a925e05
dec ebp
add al, 4
mov cs, word [edx + 0x404f605]
nop
xchg edx, eax
test dword [eax], eax
add al, 4
nop
push esi
xor eax, 0xf6099a8e
add al, 4
cmp ch, al
imul ecx, dword [esi + 0x403498a], 4
dec ecx
add eax, dword [esp + eax]
cmp dh, cl
imul ecx, dword [esi + 0x4044592], 4
push edi
xchg bh, cl
or al, 0xdf
add eax, 0x50ded05
add eax, 0x46410505
dec edi
dec esp
dec ebp
cmp eax, 0x9c9883a
xchg bh, cl
jb 0x42fc0e
add eax, 0x86575f05
out dx, eax
in al, dx
mov eax, dword [0x56585f05]
add eax, 0x56585f05
mov cl, cl
or dword [esi + 0x546fdd0], eax
add eax, 0x99a9060
test byte [esp + eax], 0x6b
nop
pop es
imul ecx, dword [esi + 0x4f8d58a], 4
nop
xchg edx, eax
or esi, esi
add al, 4
mov dh, al
pop es
mov ss, word [edx + 0x404f609]
imul edx, dword [eax + 0x4f8d59a], 4
aad 0xf8
add al, 4
imul ecx, dword [esi + 0x403499a], 4
nop
mov al, byte [0x6b0404f6]
nop
or eax, 0xd3928e6b
clc
add al, 4
nop
lcall 0xc788, 0x404f605
pop es
mov ds, word [edx + 0x404f605]
imul edx, dword [eax + 0x4f8d38a], 4
add al, 4
imul ecx, dword [esi + 0x404458a], 4
pop ebx
xchg bl, dl
popfd
salc
add eax, 0x20f38605
xor eax, dword [esi]
add eax, 0x5050ded
add eax, 0x45444705
dec esi
cmp bh, byte [ecx*2 + 0x6309c988]
push esi
xchg dh, dh
jno 0x42fc51
add eax, 0xe1f68605
jbe 0x42fcb8
add eax, 0x43dee686
add eax, 0xbc145e05
xchg edx, eax
inc ebp
add al, 4
add al, 0x8a
into
jp 0x42fce3
adc al, 0xbc
lcall 0xbc14, 0x4040349
mov al, byte [ebp + 4]
add al, 4
xor ch, dl
mov ds, word [edx + 0x404f121]
invalid
add al, 4
adc al, 0xbc
lcall 0xcf40, 0x4040445
adc al, 0x89
push cs
add al, 4
add al, 0x14
mov esp, 0x403498a
add al, 0x88
cmc
and eax, 0x4592bc14
add al, 4
add al, 0x40
invalid
Function at 0x435d00
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x52440505
dec esp
dec esi
push ebx
dec ebp
inc esp
dec ebp
inc esi
mov cl, cl
or dword [ebx - 0x70], esp
xchg edx, eax
dec ecx
add dword [esp + eax], eax
mov ss, word [edx + 0x404e785]
push edi
xchg bh, ah
popfd
call 0x57a261aa
xchg bh, cl
inc ebx
pop es
push es
add eax, 0x5050ded
add eax, 0x473e4a05
dec esi
inc edi
inc eax
aaa
mov cl, cl
or eax, esi
or dword [edx + 0x4c], ecx
inc esi
cmp eax, 0x8856575f
leave
or dword [esi + 0x56bb2cf], eax
add eax, 0x859a905f
out 4, eax
add al, 0x8e
lcall 0x8a92, 0x404e781
mov ebx, esi
add al, 4
push ebp
add al, 0x9a
and edi, 0xc58a0404
jp 0x435d31
pop eax
xchg al, dh
pop ebx
lcall 0x8857, 0x5b600505
leave
or dword [esi + 0x5d914cb], eax
add eax, 0xef6ed386
outsb dx, byte [esi]
out dx, eax
add eax, 0x50fed05
add eax, 0x49530505
cmp cl, byte [ebx + 0x45]
push esp
push edx
aaa
inc ebx
mov cl, cl
or dword [esi + 0x680e0d3], eax
add eax, 0x2d8acc63
cli
add al, 4
add eax, 0xee050505
add eax, 0x5505050c
xchg ch, ch
mov esp, 0x8605054b
lds esp, [esi - 0x75]
add eax, 0x58555d05
add eax, 0x66c58605
mov eax, dword [0x58555d05]
mov cl, cl
or ebp, ebp
syscall
add eax, 0x3f4b0505
push ecx
cmp eax, 0x5051413a
aas
mov cl, cl
or dword [esi + 0x5ed9ae5], eax
add eax, 0x8a3cc586
push es
add eax, 0x1290695d
sbb eax, 0x8e050505
xchg edx, eax
jge 0x435d50
mov ss, word [edx + 0x404e77d]
add al, 4
nop
lcall 0x4790, 0x404e77d
xor eax, 0xe7798a8e
add al, 4
nop
xchg edx, eax
jns 0x435d65
add al, 4
mov ss, word [edx + 0x404effd]
pop eax
xchg al, bh
xor eax, 0x60050628
push edi
xchg bh, al
and ebx, dword [ecx + 6]
add eax, 0xc30cf86
push es
add eax, 0x9161cf86
add eax, 0x3ef78605
adc al, 6
add eax, 0xbf0585f
dec edx
aaa
cmp edx, dword [eax + 0x54]
inc ecx
xchg al, ch
sub ah, byte [ebx - 0x779ffafb]
ret 0xeffd
Function at 0x4393d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x439583
test edi, edi
je 0x439583
test ebx, ebx
je 0x439583
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.0051d250
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.0051d250
add esp, 0x24
push 0x104
lea eax, [ebp - 0x61c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp + 0x14], 2
push ebx
push edi
lea edx, [ebp - 0x414]
push esi
jne 0x4394d9
mov ecx, dword [str._s_sExtensions_s]
push ecx
push 0x104
push edx
call fcn.00436ed0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439583
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [str...Local_s_sUser_DataDefaultExtensions_s]
push ecx
push 0x104
push edx
call fcn.00436ed0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4394c6
push 0x208
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0051d250
push 0x208
lea edx, [ebp - 0x414]
push 0
push edx
call fcn.0051d250
mov eax, dword [str...Local_SettingsApplication_Data_s_sUser_DataDefaultExtensions_s]
push ebx
push edi
push esi
push eax
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00436ed0
add esp, 0x30
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
jmp 0x4394b8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x43aa10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5797f8
push 0x51d580
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x594ccc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x43ab72
cmp word [esi], 0
je 0x43ab72
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aa70
sub eax, edx
sar eax, 1
cmp eax, 0x104
ja 0x43ab72
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ab72
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x7fe
push eax
lea ecx, [ebp - 0x81a]
push ecx
call fcn.0051d250
push esi
push 0x561180
push 0x3ff
lea edx, [ebp - 0x81c]
push edx
call fcn.00436ed0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.0051d250
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x848], ecx
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], edi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x83c], edx
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
cmp dword [ebp + 0x18], 0
je 0x43ab3b
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebx, ebx
je 0x43ab4d
push ebx
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x43ab5e
mov eax, dword [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43ab7b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x441530
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x8c]
push ecx
push edi
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x85], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x44157d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.0051e9bc
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x441625
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x98]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441625
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x441625
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00436fa0
add esp, 0x14
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441625
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push esi
call int.00436bb0
test eax, eax
jl 0x441625
mov byte [ebp - 0x85], 1
push ebx
call fcn.0051e865
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x85]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x4416e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
mov esi, ecx
mov ecx, dword [esi]
push str.DefaultScope
push str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
push ecx
call fcn.004384b0
add esp, 0x14
test al, al
jne 0x44170c
xor al, al
pop esi
pop ebp
ret 4
mov edx, dword [esi]
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x441723
cmp eax, 2
jne 0x441705
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x441730
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0x100
push eax
push str.DefaultScope
push str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004384b0
add esp, 0x14
test al, al
jne 0x44175b
xor al, al
pop ebp
ret
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x441774
cmp eax, 2
jne 0x441757
mov al, 1
pop ebp
ret