joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3e1b80
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
mov eax, dword [0x3f0008]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
push str.__DumpIt___v1.3.2.20110401___One_click_memory_memory_dumper_n
call fcn.003e1060
add esp, 4
push 0x3ee348
call fcn.003e1e01
add esp, 4
push str.__Copyright__c__2010___2011__MoonSols__http:__www.moonsols.com__n_n
call fcn.003e1e01
add esp, 4
call fcn.003e17e0
test al, al
jne 0x3e1bf6
push str._______Error:_Cannot_import_functions._n
call fcn.003e1000
add esp, 4
call fcn.003e2140
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.003e1db6
mov esp, ebp
pop ebp
ret
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], ebx
mov word [esp + 0x48], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x3e1c54
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x3e1c43
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [esp + 0xc], ebx
jne 0x3e1c7d
push str._______Error:_This_application_requires_Administrator_privileges._n
call fcn.003e1000
add esp, 4
call fcn.003e2140
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.003e1db6
mov esp, ebp
pop ebp
ret
call fcn.003e1a70
test al, al
jne 0x3e1caf
push str._______You_dont_have_enough_space_on_disk_to_dump_the_physical_memory._n
call fcn.003e1000
add esp, 4
call fcn.003e2140
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.003e1db6
mov esp, ebp
pop ebp
ret
push 0x3b0
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.003e76b0
add esp, 0xc
lea edi, [esp + 0x94]
mov dword [esp + 0x28], 0x300021
call fcn.003e1870
push str._____Destination_
call fcn.003e1060
add esp, 4
mov eax, edi
push eax
push 0x3ee5f8
call fcn.003e10c0
add esp, 8
call fcn.003e1120
test eax, eax
je 0x3e1d9f
call fcn.003e19c0
mov esi, eax
cmp esi, 0xffffffff
je 0x3e1d9f
push str._____Processing...
call fcn.003e1060
add esp, 4
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x3b0
lea edx, [esp + 0x2c]
push edx
push 0x3b0
mov eax, edx
push eax
push 0x22c000
push esi
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x3e1d65
push str.Failed._r_n_r_n
call fcn.003e1e01
add esp, 4
push str._______Error:_DeviceIoControl____Cannot_send_IOCTL._r_n_r_n
call fcn.003e1e01
add esp, 4
jmp 0x3e1d93
cmp dword [esp + 0x24], ebx
jl 0x3e1d81
cmp dword [esp + 0x20], 0x57333244
jne 0x3e1d81
push str.Success._n
call fcn.003e10c0
jmp 0x3e1d8b
push str.Failed._n
call fcn.003e1000
add esp, 4
call fcn.003e2140
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.003e1720
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.003e1db6
mov esp, ebp
pop ebp
ret
Function at 0x3e1db6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3f0008]
jne 0x3e1dc0
repz ret
jmp fcn.003e22d9

Function at 0x3e8f75
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x3f0008]
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.003e5809
and dword [ebp - 0x14], 0
cmp dword [0x3f1b20], 0
mov dword [ebp - 0x18], eax
jne 0x3e9028
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x3e90d0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x3e90d0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x3f1b20], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x3f1b24], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x3f1b28], eax
call edi
push eax
call esi
mov dword [0x3f1b30], eax
test eax, eax
je 0x3e9028
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x3f1b2c], eax
mov eax, dword [0x3f1b2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x3e9081
cmp dword [0x3f1b30], ecx
je 0x3e9081
push eax
call esi
push dword [0x3f1b30]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x3e9081
test ebx, ebx
je 0x3e9081
call edi
test eax, eax
je 0x3e9078
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x3e9078
test byte [ebp - 8], 1
jne 0x3e9081
or dword [ebp + 0x10], 0x200000
jmp 0x3e90b4
mov eax, dword [0x3f1b24]
cmp eax, dword [ebp - 0x18]
je 0x3e90b4
push eax
call esi
test eax, eax
je 0x3e90b4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x3e90b4
mov eax, dword [0x3f1b28]
cmp eax, dword [ebp - 0x18]
je 0x3e90b4
push eax
call esi
test eax, eax
je 0x3e90b4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x3f1b20]
call esi
test eax, eax
je 0x3e90d0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x3e90d2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.003e1db6
leave
ret
Function at 0x10001690
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, 0x553b638
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x10001722
jmp 0x100016c0
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x100016c0
cmp ecx, dword [ebp + 8]
jge 0x1000179e
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x10001761
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10009ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x55453f4
mov dword [ebp - 4], 0x10
call dword [0x553b090]
push 0x55453f4
call dword [0x553b094]
or ecx, 0xffffffff
mov edx, 0x55453f4
test eax, eax
je 0x1000a03d
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x5544568]
inc edx
dec eax
jne 0x1000a024
mov edi, dword [0x553b494]
not ecx
mov esi, ecx
push esi
push 0x5544290
push 0x554540c
call edi
lea ebx, [esi + esi]
push ebx
push 0x5544290
push 0x55453b8
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x5544290
push 0x5545448
call edi
push esi
push 0x55442a8
push 0x55454dc
call edi
push ebx
push 0x55442a8
push 0x554549c
call edi
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x553b4ac]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000a2ca
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5544568]
inc ecx
dec edx
jne 0x1000a2b0
pop esi
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x554f730]
sub esp, 0x104
push ebx
mov ebx, dword [0x553b384]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x553b3b4]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x553b3b0]
test eax, eax
je 0x1000a427
push 0xfffffffffffffff0
push esi
call dword [0x553b3e0]
test eax, 0x40000000
jne 0x1000a40c
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x553b4ac]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000a3ef
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5544568]
inc edx
dec eax
jne 0x1000a3d0
mov ebx, dword [0x553b384]
not ecx
test ecx, ecx
je 0x1000a406
xor eax, eax
cmp ecx, dword [eax*8 + 0x5544238]
je 0x1000a43d
inc eax
cmp eax, 0xb
jb 0x1000a3f7
xor eax, eax
test al, 0x20
je 0x1000a427
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000a390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x554423c]
jmp 0x1000a408

Function at 0x10013400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
jle 0x10013493
mov ecx, dword [ebp + 8]
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x10013424
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + esi]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
movzx edx, byte [edi + eax]
add edi, eax
mov byte [ebp + 0xf], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xf]
mov dword [ebp - 0x10], edi
movzx edi, dl
mov bl, byte [edi + eax]
add edi, eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp + 0xb], bl
movzx ebx, byte [ebp + 0xf]
mov byte [edi], bl
movzx ebx, byte [ebp + 0xf]
movzx edi, byte [ebp + 0xb]
add edi, ebx
mov bl, byte [ebp - 1]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x10013421
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001ec50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x1001ee73
cmp dword [ebp + 8], eax
je 0x1001ee73
cmp dword [ebp + 0xc], eax
je 0x1001ee73
push ebx
mov ebx, dword [0x553b244]
push edi
xor edi, edi
push esi
call fcn.1001f560
test eax, eax
jne 0x1001ec96
push 0x64
call ebx
inc edi
cmp edi, 0x1e
jl 0x1001ec82
push esi
call fcn.1001f560
test eax, eax
je 0x1001ee6e
push esi
push 0
push 0x1f0fff
call dword [0x553b1d0]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x1001ee6e
push 0x553b5d8
mov dword [ebp + 0xc], 0
call dword [0x553b194]
mov esi, dword [0x553b18c]
test eax, eax
je 0x1001ecf6
push 0x553fcd4
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x1001ecf6
lea eax, [ebp + 0xc]
push eax
call dword [0x553b1a8]
push eax
call ebx
cmp dword [ebp + 0xc], 0
je 0x1001ed2f
push 0x553b5d8
mov dword [ebp + 0xc], 0
call dword [0x553b194]
test eax, eax
je 0x1001ed25
push 0x553fcd4
push eax
call esi
test eax, eax
je 0x1001ed25
lea ecx, [ebp + 0xc]
push ecx
push edi
call eax
cmp dword [ebp + 0xc], 0
je 0x1001ee67
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x3c]
add ebx, eax
xor edx, edx
push 0x40
mov dword [ebx + 0x58], 0
mov word [eax], dx
mov eax, dword [ebx + 0x50]
push 0x3000
push eax
push edx
push edi
mov dword [ebx], edx
call dword [0x553b128]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x1001ee67
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
push esi
push edi
call dword [0x553b120]
movzx eax, word [ebx + 0x14]
xor ecx, ecx
lea eax, [eax + ebx + 0x18]
mov dword [ebp + 0xc], 0
cmp cx, word [ebx + 6]
jae 0x1001edfe
lea esi, [eax + 8]
mov edx, dword [esi]
push 4
push 0x3000
push edx
push 0
call dword [0x553b1bc]
mov edi, eax
test edi, edi
je 0x1001ede6
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add ecx, dword [ebp + 8]
push eax
push ecx
push edi
call fcn.1003a582
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0xc]
push eax
push edi
push ecx
push edx
call dword [0x553b120]
push 0x8000
push 0
push edi
call dword [0x553b1b4]
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebx + 6]
inc eax
add esi, 0x28
mov dword [ebp + 0xc], eax
cmp eax, ecx
jl 0x1001ed93
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebx + 0x28]
push 0
push 0
push edi
add ebx, esi
call dword [0x553b160]
push 0
push 0
push 0
push ebx
push 0
push 0
push edi
call dword [0x553b134]
test eax, eax
je 0x1001ee45
push eax
call dword [0x553b1e4]
push edi
mov dword [ebp - 4], 1
call dword [0x553b1e4]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push ebx
push 0
push 0
push 0
push 0
push 0
push edi
call dword [0x553b590]
xor edx, edx
test eax, eax
setns dl
mov dword [ebp - 4], edx
push edi
call dword [0x553b1e4]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10021600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x1002181b
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x10021687
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100216c7
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x100216c7
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x100216b2
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.10021320
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x100216c7
mov ebx, eax
mov eax, dword [esi + 0x6af84]
push esi
cmp ebx, 3
jb 0x100217ab
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.10020b00
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x10021774
cmp ecx, 3
jb 0x10021774
mov edi, 1
sub ebx, edi
jmp 0x10021710
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x10021710
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x100217c6
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x100217c6
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.10020b00
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x100217fd
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x100217dd
lea ecx, [eax + esi + 0x1af70]
jmp 0x100217df
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 0
sub edi, eax
push ecx
mov eax, esi
call fcn.10020950
mov ecx, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x1002180e
call fcn.100214c0
cmp dword [esi + 0x6af90], 0
jne 0x10021630
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x1002182e
lea ecx, [eax + esi + 0x1af70]
jmp 0x10021830
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 1
sub edi, eax
push ecx
mov eax, esi
call fcn.10020950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10022400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10022410
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x100224df
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x553dac8]
add ecx, 8
sub edx, 8
dec esi
jne 0x10022422
pop edi
test edx, edx
je 0x100224fc
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x553dac8]
inc ecx
dec edx
jne 0x100224e3
not eax
pop esi
pop ebp
ret 4
Function at 0x10022510
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x553b104]
cmp eax, 1
je 0x10022531
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x553b100]
test eax, eax
jne 0x1002254d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x553b0f8]
lea edx, [ebp - 0x40]
push edx
call dword [0x553b10c]
mov esi, dword [0x553b110]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x100225af
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x100225b7
or esi, 2
test cl, 4
je 0x100225bf
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100225c9
or esi, 0x10
test cl, 0x20
je 0x100225d1
or esi, 0x20
test edx, edx
je 0x100225dd
or esi, 0x40000000
jmp 0x100225e3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100225f9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x553b118]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x100226a0
mov esi, dword [0x553b114]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x553b210]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1002269d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002269d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10022696
cmp eax, 0x454e
je 0x10022696
cmp eax, 0x454c
je 0x10022696
cmp eax, 0x4550
jne 0x1002269d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x100226ab
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x100226b7
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100226c6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100226ee
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x553b11c]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10026d74
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
test eax, eax
jne 0x10026d92
mov eax, 0x554093c
push 0x5540928
push eax
lea eax, [ebp - 0x20c]
push 0x5540944
push eax
call dword [0x553b494]
lea eax, [ebp - 0x20c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10026db6
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea eax, [ecx + eax + 0xd]
cmp eax, 0x7530
jbe 0x10026ddf
mov eax, ebx
call fcn.100292cf
test al, al
je 0x10026eb5
mov al, byte [0x5544065]
xor ecx, ecx
test al, al
sete cl
dec ecx
and ecx, 0x302fefc
add ecx, 0xfffe0003
mov dword [ebp - 4], ecx
xor ecx, ecx
test al, al
lea eax, [ebp - 0x20c]
mov word [ebp - 0xc], cx
mov word [ebp - 0xa], cx
lea edx, [eax + 1]
je 0x10026e33
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10026e12
sub eax, edx
lea ecx, [eax + 1]
shr ecx, 8
and ecx, 0xff
inc eax
shl eax, 8
xor ecx, eax
mov word [ebp - 8], cx
jmp 0x10026e41
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10026e33
sub eax, edx
inc eax
mov word [ebp - 8], ax
push esi
push edi
xor eax, eax
mov word [ebp - 6], ax
mov eax, dword [ebx + 0x75c4]
push 0xc
lea edi, [eax + ebx + 0x94]
lea esi, [ebp - 0xc]
pop ecx
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edi, dword [ebx + 0x75c4]
lea eax, [ebp - 0x20c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10026e74
sub eax, esi
lea ecx, [eax + 1]
lea esi, [ebp - 0x20c]
lea edi, [edi + ebx + 0x94]
lea eax, [ebp - 0x20c]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10026e98
sub eax, esi
inc eax
add dword [ebx + 0x75c4], eax
mov eax, ebx
call fcn.100292cf
neg al
pop edi
sbb al, al
pop esi
pop ebx
leave
ret 4