joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcebd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xcebd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xcebd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xcebd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xcebd94
push eax
push esi
call fcn.00cee20b
add esp, 8
pop esi
ret 0x10

Function at 0xcebda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xcebe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xcebe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xd04320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00ceddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xcebdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xcebe30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xcebec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xcebeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xd04320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00ceddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xcebeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xcebe6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xcec000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xcec131
push esi
call fcn.00cef145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00cde080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xcec131
push 0
push ebp
call fcn.00cde3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00cde260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xcec08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00cde2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xcec121
push 0xd04918
push edi
call fcn.00ced3f0
push eax
push ebx
push esi
call fcn.00cebf60
push 0xd048f8
push edi
call fcn.00ced3f0
push eax
push ebx
push esi
call fcn.00cebf60
push 0xd048d8
push edi
call fcn.00ced3f0
push eax
push ebx
push esi
call fcn.00cebf60
push 0xd048c0
push edi
call fcn.00ced3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00cebf60
push 0xd048a0
push edi
call fcn.00ced3f0
push eax
push ebx
push esi
call fcn.00cebf60
push 0xd04888
push edi
call fcn.00ced3f0
push eax
push ebx
push esi
call fcn.00cebf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xced1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00ced140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00ced140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00ced140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00ced140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xced230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xced2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0xced2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00ced230
mov esi, eax
add esp, 8
test esi, esi
jne 0xced2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0xced27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0xced2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0xcedbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xcedc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xcff87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xcedc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xcedc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x54fff0
Capabilities:
Encode data using xor

Disassembly:
test dword [edx + 0x3b328060], 0x93ca7b74
popal
or al, byte [edx - 0x378ad489]
xor dl, byte [ebx + 0x370276a6]
cmp dword [ebx - 0x68], eax
invalid
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
mov dword [edi + 0x11809c], 0x7b186601
push edi
or ebp, 0xffffffff
jmp 0x55001a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x550021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x550010
mov eax, 1
add ebx, ebx
jne 0x550033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x550044
jne 0x550063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x550063
dec eax
add ebx, ebx
jne 0x550050
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x550028
add ebx, ebx
jne 0x55005f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5500b5
xor ecx, ecx
sub eax, 3
jb 0x55007b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5500ea
sar eax, 1
mov ebp, eax
jmp 0x550086
add ebx, ebx
jne 0x550086
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x550054
inc ecx
add ebx, ebx
jne 0x550094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x550054
add ebx, ebx
jne 0x5500a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x550096
jne 0x5500b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x550096
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5500d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5500c6
jmp 0x550016
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5500d4
add edi, ecx
jmp 0x550016
pop esi
mov edi, esi
mov ecx, 0x984e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5500f2
cmp byte [edi], 0x16
jne 0x5500f2
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 0x5500f7
lea edi, [esi + 0x14c000]
mov eax, dword [edi]
or eax, eax
je 0x550166
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x152b74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x152c7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x550124
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x152c84]
or eax, eax
je 0x550160
mov dword [ebx], eax
add ebx, 4
jmp 0x550141
call dword [esi + 0x152c80]
mov ebp, dword [esi + 0x152c88]
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 0x55019a
sub esp, 0xffffff80
jmp 0x518ea0
Function at 0x10053ea1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10053eb0
pop dword [ebp - 0x44]
mov eax, 0xec139bb0
sub eax, 0xdc0e5d00
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x8e7ca564
add dword [ebp - 0x54], 0xbfd59fe7
mov dword [ebp - 0x50], 0xc32f2840
sub dword [ebp - 0x50], 0x90fbdbfb
mov dword [ebp - 0x4c], 0x85da84f
add dword [ebp - 0x4c], 0x43ee9bdf
mov dword [ebp - 0x48], 0x56817306
add dword [ebp - 0x48], 0xa97e8cfa
lea eax, [ebp - 0x54]
push eax
mov eax, 0x24817e36
sub eax, 0x147b7e26
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5efe5c88
add dword [ebp - 0x54], 0x15740cce
mov dword [ebp - 0x50], 0x83a70626
add dword [ebp - 0x50], 0xbdc55b4f
mov dword [ebp - 0x4c], 0x54c1e80e
add dword [ebp - 0x4c], 0xead845e
mov dword [ebp - 0x48], 0x184126d0
add dword [ebp - 0x48], 0xe7bed930
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x199d9ac2
add eax, 0xf6686552
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x5235c
push 0
call eax
mov ecx, 0x39bb
mov esi, eax
mov edi, 0xab52db2e
sub edi, 0x9b4a1f2e
add edi, dword [ebp - 0x44]
mov ebx, 0x6b4c200a
add ebx, 0xd5c5d6a4
xor dword [ebp - 0x3c], ecx
mov edx, dword [edi]
sub dword [ebp - 4], esi
xor edx, ebx
sub dword [ebp - 0x2c], 0x96208bce
mov dword [esi], edx
add esi, 0xbfbe4da2
add esi, 0x4041b262
add edi, 0x3ba21450
add edi, 0xc45debb4
loop 0x10053fcc
add eax, 0x8b164e98
add eax, 0x74ea8b27
xor ebx, ebx
add ebx, eax
add eax, 0x88ad874
sub eax, 0x88ad86f
mov ecx, 0x7d2bead4
add ecx, 0x92d4152c
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402ea9
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064d5
xor ebx, ebx
cmp eax, ebx
jne 0x402f8c
test byte [ebp + 0x10], 2
je 0x402f0a
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f71
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402f46
test edi, edi
jne 0x402f71
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402ea9
test eax, eax
jne 0x402f4f
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402f1f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406a35
test eax, eax
jne 0x402f81
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f8c
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40455a
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x404595
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40457c
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40458d
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x404597
inc edi
add eax, 0x28
cmp edi, esi
jb 0x404572
xor eax, eax
pop edi
pop esi
ret
Function at 0x4065af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x4065c0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x406095
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
clc
invalid
call [edx - 0x76e7a3a]
invalid
call dword [esi - 0x76d7a3a]
invalid
invalid
fcmovnb st(0), st(6)
test dword [ebx - 0x42000008], edx
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
sahf
cmp dword [ebp - 0x6fc], 1
jne 0x406146
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
or al, 0x8d
test dword [eax + edi*8 - 1], esi
call dword [eax - 0x18]
or ah, ah
invalid
call [ecx + 0x50]
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.0040448b
add esp, 0xc
les ecx, [ecx*4 - 0x12b7b]
dec dword [ecx - 0x39f7b]
invalid
jmp 0x406492
cmp dword [ebp - 0x6fc], 2
jne 0x406203
and byte [ebp - 0x79c], 0
cmp dword [ebp - 0x6fc], 3
inc dword [ebx - 0x37b43]
inc dword [eax]
je 0x4065bb
jmp 0x4065c0
jmp 0x405ebc

Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap ebx
dec ebx
dec ebx
dec ebx
not ebx
rol esi, 0xac
neg edi
bswap edx
add esi, 0x58
mov esi, 0xac
add ebx, 0xdf
neg ebx
imul esi
inc eax
inc eax
bswap edi
rcr ebx, 0xdc
inc eax
inc esi
dec edi
not eax
add eax, 0xe7
add edx, 0x90
sub eax, 0x7c
ror esi, 0x7e
sbb edi, 0xa
ror edi, 0xfc
ror edx, 0xba
sbb eax, 0x67
sub edx, 0x98
or ebx, 0x92
neg edi
rcr edx, 0x15
or edx, 0x93
dec ebx
inc edi
ror esi, 0x4e
rcl edi, 0xef
not edi
neg edx
sbb edx, 0x68
bswap ebx
sbb eax, 0x3b
rcl edx, 0x36
inc edx
sub eax, 0x39
bswap edi
sub edi, 0xd3
sbb edi, 0x1b
neg edx
xor ecx, ecx
xor edi, edi
or edi, 0x68
rcr edx, 0x11
bswap edi
bswap eax
rol esi, 9
dec edi
bswap edi
imul ebx
not eax
ror ebx, 0x3e
sub edi, 0x3b
rcr edx, 0x60
not edi
and ebx, 0xfc
imul edi
bswap edi
imul eax
bswap esi
bswap ebx
not esi
imul edx
dec eax
not eax
inc ebx
or edx, 0xea
bswap edx
sub edi, 0x6f
rcr edi, 0x6f
bswap edi
not esi
mov eax, 0x6c
bswap eax
mov esi, 0xbf
sub edi, 0
sub esi, 0xfc
add edi, 0xb1
imul edi
imul ebx
and eax, 0x7e
neg edx
mov edi, 0xd9
add ebx, 0x2c
rol eax, 0xe6
bswap ebx
dec ebx
dec esi
and ebx, 0x72
sub ebx, 0xbd
not edi
not edx
mov ecx, dword [ebp + 0xc]
inc ebx
neg esi
rol edx, 0xe3
not eax
inc edi
inc edx
bswap eax
not eax
bswap esi
dec edi
not ebx
sbb ebx, 0x4f
sbb ebx, 0xb7
inc esi
dec ebx
rcr edi, 0xb0
sbb eax, 0x18
or esi, 0x86
rol ebx, 0xc1
rcl esi, 0x18
rol edi, 0xdf
sbb esi, 0xf8
not ebx
rol eax, 0x7b
dec eax
imul esi
not eax
and eax, 0x16
rol ebx, 0x69
ror edi, 0x45
sbb eax, 0x57
bswap edi
ror edx, 0x44
sub edi, 0xa
bswap esi
neg edx
ror esi, 0x55
neg eax
rol edx, 0xc2
not eax
sub edx, 0xf8
add ebx, 0xc4
rcl edi, 0x4b
or edx, 0xcf
rcr eax, 0x7d
rcl eax, 0xf3
not eax
or eax, 0x8f
bswap eax
rcr eax, 0x79
mov edi, dword [ebp + 8]
mov eax, esi
xor eax, eax
mov eax, esi
not byte [edi]
mov esi, eax
mov esi, esi
mov eax, eax
xor ebx, eax
xor eax, esi
xor eax, ebx
xor esi, eax
xor eax, ebx
xor esi, ebx
add byte [edi], 0x48
xor ebx, eax
mov esi, ebx
xor ebx, esi
mov eax, ebx
xor eax, esi
xor ebx, esi
xor ebx, eax
mov ebx, ebx
mov eax, eax
sub byte [edi], 0x97
mov ebx, ebx
mov esi, ebx
mov esi, ebx
mov eax, eax
mov ebx, ebx
mov ebx, ebx
xor eax, ebx
mov eax, ebx
xor eax, ebx
imul byte [edi]
inc edi
loop 0x4013d3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4060e3
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.00404fce
and dword [ebp - 4], 0
cmp dword [0x458460], 0
mov ebx, eax
jne 0x406194
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406245
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406245
push eax
call fcn.00404f5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x458460], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x458464], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x458468], eax
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x458470], eax
test eax, eax
je 0x406194
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x45846c], eax
mov eax, dword [0x45846c]
cmp eax, ebx
je 0x4061ec
cmp dword [0x458470], ebx
je 0x4061ec
push eax
call fcn.00404fd7
push dword [0x458470]
mov esi, eax
call fcn.00404fd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061ec
test edi, edi
je 0x4061ec
call esi
test eax, eax
je 0x4061e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061e3
test byte [ebp - 0xc], 1
jne 0x4061ec
or dword [ebp + 0x10], 0x200000
jmp 0x406225
mov eax, dword [0x458464]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406225
mov eax, dword [0x458468]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x458460]
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406245
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406247
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407f4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x457c08]
jne 0x407f58
repz ret
jmp fcn.00409675
Function at 0x100089f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 1
jne 0x10008a4b
mov dword [ebp - 4], 0
xor eax, eax
lea ecx, [sym.proxy.dll_DllEntry]
lea eax, [ebp - 4]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov eax, 1
add esp, 0x1c
pop ebp
ret 0xc

Function at 0x10008af0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x19
mov dword [esp + 0x10], eax
mov ecx, dword [0x100202fc]
xor eax, eax
cmp dword [ecx - 0x5873eec], 1
mov dword [esp + 0x14], eax
je 0x10008b76
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x19
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x41
mov dword [esp + 0x14], eax
jne 0x10008b25
mov eax, dword [0x100202fc]
mov dword [eax - 0x5873eec], 1
add esp, 0x18
pop esi
pop edi
ret

Function at 0x10008b80
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x11
mov dword [esp + 0x10], eax
mov ecx, dword [0x10020300]
xor eax, eax
cmp dword [ecx - 0x2fc25b96], 1
mov dword [esp + 0x14], eax
je 0x10008c06
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x11
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x14], eax
jne 0x10008bb5
mov eax, dword [0x10020300]
mov dword [eax - 0x2fc25b96], 1
add esp, 0x18
pop esi
pop edi
ret

Function at 0x10008c10
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x11
mov dword [esp + 0x10], eax
mov ecx, dword [0x10020304]
xor eax, eax
cmp dword [ecx - 0x37290163], 1
mov dword [esp + 0x14], eax
je 0x10008c96
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x11
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0xb
mov dword [esp + 0x14], eax
jne 0x10008c45
mov eax, dword [0x10020304]
mov dword [eax - 0x37290163], 1
add esp, 0x18
pop esi
pop edi
ret