joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029e0
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
je 0x402a0a
mov edi, 1
test ecx, ecx
je 0x402a11
add edi, 1
test edx, edx
je 0x402a18
add edi, 1
cmp dword [esi + 0xb0], 0
jne 0x402a33
lea eax, [esi + 4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0xb0], eax
mov esi, dword [esi + 0xb0]
test esi, esi
je 0x402a5c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push 0
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
pop edi
pop esi
add esp, 0xc
ret 0x14

Function at 0x402a70
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x41dda0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
add esi, 4
push esi
lea eax, [esp + 0xc]
push str.__s___lu_:
push eax
call fcn.004059ba
add esp, 0x10
lea eax, [esp + 4]
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402ab1
push edi
sub eax, edx
mov edx, dword [esp + 0x410]
lea ecx, [esp + 0x414]
push ecx
push edx
lea eax, [esp + eax + 0xc]
push eax
call fcn.00405ee0
lea edi, [esp + 0x10]
add esp, 0xc
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402ae1
mov cx, word [0x41278c]
lea edx, [esp + 4]
push edx
mov word [edi], cx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x404]
pop edi
xor ecx, esp
call fcn.0040592b
add esp, 0x404
ret
Function at 0x4034d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x198
mov eax, dword [0x41dda0]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
mov esi, dword [esp + 0x1a0]
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push str.SoftwarePortrait_DisplaysDisplayTuneHPO
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403531
lea ecx, [esp + 4]
push ecx
push str.SoftwarePortrait_DisplaysDisplayTuneHPO
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4035e7
push 0xc7
lea edx, [esp + 0xd5]
push 0
push edx
mov byte [esp + 0xdc], 0
call fcn.00405940
mov eax, dword [esp + 0x1b0]
push eax
push str.SideBtn_d
lea ecx, [esp + 0xe4]
push 0xc8
push ecx
call fcn.00405a35
push 0xc7
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.00405940
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1d0]
push eax
push ecx
push esi
push str._s__d__d
lea edx, [esp + 0x40]
push 0xc8
push edx
call fcn.00405a35
lea eax, [esp + 0x48]
add esp, 0x40
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4035b1
sub eax, edx
mov edx, dword [esp + 4]
add eax, 1
push eax
lea eax, [esp + 0xc]
push eax
push 1
push 0
lea ecx, [esp + 0xe0]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x198]
pop esi
xor ecx, esp
call fcn.0040592b
add esp, 0x198
ret
Function at 0x4051e0
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [0x41dc58]
push esi
xor esi, esi
test ecx, ecx
jbe 0x405205
mov edx, dword [esp + 0xc]
mov eax, 0x417058
cmp dword [eax], edx
je 0x40520a
add esi, 1
add eax, 0x48
cmp esi, ecx
jb 0x4051f7
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
push eax
push 0x104
push str.SoftwarePortrait_Displays__Inc.Pivot_Software
push esi
call fcn.004050a0
lea esi, [esi + esi*8]
add esi, esi
add esi, esi
mov eax, dword [esi + esi + 0x41709c]
add esi, esi
add esp, 0x10
cmp eax, 1
push 0x20006
je 0x40527e
add eax, 0xfffffffe
cmp eax, 1
ja 0x405261
lea ecx, [esp + 8]
push ecx
call fcn.00405050
add esp, 8
test eax, eax
jne 0x40529c
lea edx, [esp + 4]
push edx
call fcn.00405080
jmp 0x405299
lea eax, [esp + 8]
push eax
call fcn.00405050
add esp, 8
test eax, eax
jne 0x40529c
lea ecx, [esp + 4]
push ecx
call fcn.00405080
jmp 0x405299
lea edx, [esp + 8]
push edx
call fcn.00405000
add esp, 8
test eax, eax
jne 0x40529c
lea eax, [esp + 4]
push eax
call fcn.00405030
add esp, 4
mov eax, dword [esp + 4]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
lea edx, [esi + str.COLORCAL_RUNNING]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4052f0
Capabilities:
Get file size
Print debug messages
Write file on windows

Disassembly:
mov eax, 0x103c
call fcn.004070d0
mov eax, dword [0x41dda0]
xor eax, esp
mov dword [esp + 0x1038], eax
mov ecx, dword [esp + 0x1040]
push esi
lea eax, [esp + 0x1048]
push eax
push ecx
lea edx, [esp + 0x44]
push 0x1000
push edx
call fcn.00406f25
add esp, 0x10
cmp dword [0x41f524], 0
jne 0x40536b
mov esi, 1
push str.PRINTD
mov dword [0x41f524], esi
call fcn.0040704d
add esp, 4
test eax, eax
je 0x40536b
push eax
push 0x104
push 0x41f420
call fcn.004058c6
add esp, 0xc
mov dword [0x41f41c], esi
jmp 0x405378
cmp dword [0x41f41c], 0
je 0x405456
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
push ecx
movzx ecx, word [esp + 0xc]
push edx
movzx edx, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x16]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push str._02d__02d__04d__02d:_02d:_02d__
push ecx
call fcn.004052d0
add esp, 0x20
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x41f420
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x18]
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4053f8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0xc]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405421
push 0
lea ecx, [esp + 0xc]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov ecx, dword [esp + 0x103c]
pop esi
xor ecx, esp
call fcn.0040592b
add esp, 0x103c
ret

Function at 0x40592b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41dda0]
jne 0x405935
repz ret
jmp fcn.0040770f

Function at 0x40b777
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
invalid
test esi, esi
cli
Function at 0x40b820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x40b854
cmp dword [ebp - 0x398], 0
je 0x40ba1e
cmp dword [ebp + 0xc], 1
je 0x40ba1e
cmp dword [ebp + 0xc], 8
jne 0x40b9e6
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
call dword [eax]
call fcn.0040ab60
mov dword fs:[esi + eax*4 - 0x5435a80], edi
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
ror byte [ebp - 0x22e43], 0xff
Function at 0x40ba47
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040ab3e
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
cld
invalid
inc dword [eax]
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0040ab70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ab25
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0040ab60
cmp cl, dh
sub al, 0xbf
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.0040ab60
push ss
daa
sub esp, edx
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.0040ab70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ab25
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x40bc0c
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x40bc2c
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
Function at 0x118ee70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcda000]
push edi
jmp 0x118ee8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x118ee91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118ee80
mov eax, 1
add ebx, ebx
jne 0x118eea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x118eeb4
jne 0x118eed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118eed3
dec eax
add ebx, ebx
jne 0x118eec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x118ee98
add ebx, ebx
jne 0x118eecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x118ef25
xor ecx, ecx
sub eax, 3
jb 0x118eeeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x118ef5a
sar eax, 1
mov ebp, eax
jmp 0x118eef6
add ebx, ebx
jne 0x118eef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118eec4
inc ecx
add ebx, ebx
jne 0x118ef04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118eec4
add ebx, ebx
jne 0x118ef11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x118ef06
jne 0x118ef22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x118ef06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x118ef44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x118ef36
jmp 0x118ee86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x118ef44
add edi, ecx
jmp 0x118ee86
pop esi
mov edi, esi
mov ecx, 0xd4f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x118ef62
cmp byte [edi], 9
jne 0x118ef62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x118ef67
lea edi, [esi + 0xd8c000]
mov eax, dword [edi]
or eax, eax
je 0x118efdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd91d94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd91e70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x118ef94
mov ecx, edi
jns 0x118efc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd91e74]
or eax, eax
je 0x118efd9
mov dword [ebx], eax
add ebx, 4
jmp 0x118efb1
call dword [esi + 0xd91e84]
mov ebp, dword [esi + 0xd91e78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x118f013
sub esp, 0xffffff80
jmp 0x42bf81
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e004]
jne 0x40100a
repz ret
jmp fcn.00401858

Function at 0x408aa5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406172
and dword [ebp - 4], 0
cmp dword [0x4340bc], 0
mov ebx, eax
jne 0x408b56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c07
push eax
call fcn.00406100
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4340bc], eax
call esi
push eax
call fcn.00406100
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4340c0], eax
call esi
push eax
call fcn.00406100
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4340c4], eax
call esi
push eax
call fcn.00406100
pop ecx
mov dword [0x4340cc], eax
test eax, eax
je 0x408b56
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406100
pop ecx
mov dword [0x4340c8], eax
mov eax, dword [0x4340c8]
cmp eax, ebx
je 0x408bae
cmp dword [0x4340cc], ebx
je 0x408bae
push eax
call fcn.0040617b
push dword [0x4340cc]
mov esi, eax
call fcn.0040617b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bae
test edi, edi
je 0x408bae
call esi
test eax, eax
je 0x408ba5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408ba5
test byte [ebp - 0xc], 1
jne 0x408bae
or dword [ebp + 0x10], 0x200000
jmp 0x408be7
mov eax, dword [0x4340c0]
cmp eax, ebx
je 0x408be7
push eax
call fcn.0040617b
pop ecx
test eax, eax
je 0x408be7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408be7
mov eax, dword [0x4340c4]
cmp eax, ebx
je 0x408be7
push eax
call fcn.0040617b
pop ecx
test eax, eax
je 0x408be7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4340bc]
call fcn.0040617b
pop ecx
test eax, eax
je 0x408c07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b8fb
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
cmp dword [0x234b8f4], 0x930
jne 0x40b923
push str.hidipezilac
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x234b8f4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x234b610], eax
jne 0x40b955
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
lea eax, [ebp - 0x1c]
push eax
push str.receyodat
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
leave
ret
Function at 0x409718
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429d58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405b0c
and dword [ebp - 0x14], 0
cmp dword [0x42be24], 0
mov dword [ebp - 0x18], eax
jne 0x4097cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409873
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409873
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42be24], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42be28], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42be2c], eax
call edi
push eax
call esi
mov dword [0x42be34], eax
test eax, eax
je 0x4097cb
push 0x427d18
push ebx
call edi
push eax
call esi
mov dword [0x42be30], eax
mov eax, dword [0x42be30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409824
cmp dword [0x42be34], ecx
je 0x409824
push eax
call esi
push dword [0x42be34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409824
test ebx, ebx
je 0x409824
call edi
test eax, eax
je 0x40981b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40981b
test byte [ebp - 8], 1
jne 0x409824
or dword [ebp + 0x10], 0x200000
jmp 0x409857
mov eax, dword [0x42be28]
cmp eax, dword [ebp - 0x18]
je 0x409857
push eax
call esi
test eax, eax
je 0x409857
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409857
mov eax, dword [0x42be2c]
cmp eax, dword [ebp - 0x18]
je 0x409857
push eax
call esi
test eax, eax
je 0x409857
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42be24]
call esi
test eax, eax
je 0x409873
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409875
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004071ae
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x32c71992
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5d026319
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401120
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x248
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x244], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x46]
push ecx
mov word [esp + 0x48], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40117b
xor al, al
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004017ea
add esp, 0x248
ret
push 0x38
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x3c
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp]
lea ecx, [esp + 0x3c]
push edx
mov dword [esp + 0x10], str.runas
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x244]
test eax, eax
setne al
xor ecx, esp
call fcn.004017ea
add esp, 0x248
ret

Function at 0x401300
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push 0x3c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], 0x404388
mov dword [esp + 0x1c], str.__byApp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
cmp eax, 1
je 0x401367
push edi
mov edi, str.ShellExecuteEx_bugreport_error
call fcn.00401000
pop edi
add esp, 0x3c
ret

Function at 0x401370
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push 0x3c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], 0x404b88
mov dword [esp + 0x1c], str.__register_associations_force
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
cmp eax, 1
je 0x4013dd
push edi
mov edi, str.Load_MobileInst_error
call fcn.00401000
xor al, al
pop edi
add esp, 0x3c
ret
mov al, 1
add esp, 0x3c
ret

Function at 0x4013f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push 0x3c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], 0x405388
mov dword [esp + 0x1c], str.__byApp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
cmp eax, 1
je 0x401461
push edi
mov edi, str.Load_MobileMain_error
call fcn.00401000
xor al, al
pop edi
add esp, 0x3c
ret
mov al, 1
add esp, 0x3c
ret