joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d670
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4708b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004696ff
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d010
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046962d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00465eeb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00465eeb
push 1
push 0
push 0
mov ecx, esi
call fcn.00465e93
push 1
push 0
push 1
mov ecx, esi
call fcn.00465e93
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00469771
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43d7f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4708d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004696ff
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d010
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046962d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43d8b4
cmp dword [esp + 0x40], 1
jne 0x43d8b2
cmp ecx, eax
jge 0x43d8b4
mov eax, ecx
cmp eax, 0xc8
jge 0x43d8c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d670
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00469771
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e040
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046430c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004699a7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046aec3
test eax, eax
je 0x43e15c
mov ecx, dword [esp + 0x3c]
call fcn.004699d4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43e120
push edi
mov ecx, esi
call fcn.00467032
mov ecx, esi
call fcn.0043e2c0
cmp dword [esp + 0x38], 1
jne 0x43e155
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046716d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440b90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440bc3
push esi
call fcn.00443c90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x440bbc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440c49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440c32
mov eax, dword [esi + 8]
test eax, eax
je 0x440be7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x440c2e
cmp eax, 2
je 0x440c32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440bda
cmp eax, 3
je 0x440c0d
cmp eax, 1
jne 0x440bda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x440bda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x440bda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440c70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440c58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440c70
add esp, 4
pop esi
ret

Function at 0x44bf30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44bf96
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44bf96
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44bf77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44c320
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44c358
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44cfd0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44d019
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44d490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044d040
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044d0c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044d0c0
lea ecx, [esi + 0xc]
call fcn.00462ce5
lea ecx, [esi + 0x10]
call fcn.00462ce5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044e650
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044e650
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044e650
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00462d5a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00462d5a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x465101
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465139
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004631b5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046318d
jmp 0x465145
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4667ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x466831
call fcn.0046c56e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x466831
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466828
xor eax, eax
jmp 0x466839
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046683f
pop edi
pop esi
pop ebx
ret 4

Function at 0x46ca9e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46cacc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46caea
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046ca04
jmp 0x46caea
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46caea
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046ca04
test edi, edi
mov eax, edi
jne 0x46cad4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x911000
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [ebp + 8]
push eax
push 0x40
push dword [ebp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x14]
push edi
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edx
call dword [ecx + 0x18]
test eax, eax
jne 0x911058
mov dword [esi + 8], 9
jmp 0x911131
push ebx
mov ebx, dword [esi + 0x10]
cmp ebx, 0x40
jae 0x91106d
mov dword [esi + 8], 1
jmp 0x911130
mov eax, dword [esi + 0xc]
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp word [eax], cx
je 0x911089
mov dword [esi + 8], 2
jmp 0x911130
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp ebx, edx
jae 0x9110a2
mov dword [esi + 8], 3
jmp 0x911130
add ecx, eax
mov dword [esi + 0x18], ecx
cmp dword [ecx], 0x4550
je 0x9110b8
mov dword [esi + 8], 4
jmp 0x911130
mov edx, dword [esi + 0x18]
mov ecx, edi
and ecx, 0xfff
sub edi, ecx
lea ecx, [edi + 0x1000]
mov dword [esi + 0x20], ecx
mov edx, dword [edx + 0x54]
add edx, dword [eax + 0x3c]
cmp ebx, edx
jae 0x9110e1
mov dword [esi + 8], 7
jmp 0x911130
push edx
push eax
push ecx
call fcn.00911e8c
mov eax, dword [esi + 0x18]
movzx ecx, word [eax + 0x14]
xor edx, edx
add esp, 0xc
xor ebx, ebx
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x911130
lea edi, [ecx + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x911121
push eax
mov eax, dword [edi + 4]
add eax, dword [esi + 0xc]
push eax
mov eax, dword [edi - 4]
add eax, dword [esi + 0x20]
push eax
call fcn.00911e8c
add esp, 0xc
mov eax, dword [esi + 0x18]
movzx eax, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, eax
jl 0x911104
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x91115c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
lea ecx, [ecx + eax + 0x78]
cmp dword [ecx + 4], 0
push ebx
push edi
jne 0x911177
xor eax, eax
jmp 0x9111e7
push esi
mov esi, dword [ecx]
add esi, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x9111e4
cmp dword [esi + 0x14], 0
je 0x9111e4
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
or dword [ebp - 8], 0xffffffff
add edi, eax
add ebx, eax
test ecx, ecx
je 0x9111e4
mov dword [ebp - 4], ecx
jmp 0x9111a3
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
add ecx, eax
push ecx
push dword [ebp + 0xc]
call fcn.00911648
pop ecx
pop ecx
test eax, eax
jne 0x9111bc
movzx eax, word [ebx]
mov dword [ebp - 8], eax
add edi, 4
add ebx, 2
dec dword [ebp - 4]
jne 0x9111a0
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x9111e4
cmp eax, dword [esi + 0x14]
jg 0x9111e4
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, ecx
jmp 0x9111e6
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x9116e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.009115ad
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x91172c
push 0xa
push 0xa
push 0x1308204
push 0x3114b604
call fcn.00911dd2
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.0091161c
add esp, 0xc
test eax, eax
je 0x911735
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x911704
jmp 0x9117c7
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x9117c7
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x9117c3
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0x13081ec
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00911d84
push eax
push dword [esp + 0x24]
call fcn.00911648
add esp, 0x14
test eax, eax
je 0x9117ab
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x91176c
jmp 0x9117c3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x91192e
push 0xa
push 0x13081e0
push 0x29a1a909
call fcn.00911d84
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.009116be
push 0xc
push 0x13081d0
push 0x13cbcee9
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.009116be
push 0x18
push 0x13081b4
push 0x17ce53be
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.009116be
push 0xf
push 0x13081a4
push 0x26b30b69
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.009116be
push 0x12
push 0x1308190
push 0x3d924530
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.009116be
push 7
push 0x1308188
push 0x2236409a
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.009116be
push 0x14
push 0x1308170
push 0x149ccd04
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.009116be
push 0x11
push 0x130815c
push 0x673ebfe9
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.009116be
push 0x11
push 0x1308148
push 0x68d29b96
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.009116be
push 0x16
push 0x1308130
push 0x7db65c79
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.009116be
push 0x13
push 0x130811c
push 0x65fa79df
call fcn.00911d84
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.009116be
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x911937
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x7ad8
mov esi, 0x37595d
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x911947
pop esi
ret

Function at 0x911aa3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x911aea
push 7
push str..custom
push edi
call fcn.0091161c
add esp, 0xc
test eax, eax
je 0x911af1
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x911ac7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00911e30
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x911960
mov dword [ebp - 0x14], 0x91196b
call fcn.0091379c
add esp, 0x28
test eax, eax
je 0x911b51
push dword [ebp - 4]
call fcn.00911e47
pop ecx
jmp 0x911aea
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x911aec

Function at 0x911d84
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x911dc3
push edi
mov edi, dword [esp + 0x14]
sub edi, str.loader_entry_thread_thunk
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + str.loader_entry_thread_thunk]
inc esi
mov byte [esi + 0x167e967], al
cmp esi, ebx
jb 0x911d9f
pop edi
pop esi
mov byte [ebx + str.loader_entry_thread_thunk], 0
mov eax, str.loader_entry_thread_thunk
pop ebx
ret

Function at 0x911dd2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x911e10
mov eax, dword [esp + 0x10]
sub eax, str.loader_entry_thread_thunk
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + str.loader_entry_thread_thunk]
inc esi
mov byte [esi + 0x167e967], bl
cmp esi, edi
jb 0x911dec
pop ebx
mov byte [edi + str.loader_entry_thread_thunk], 0
mov byte [edi + 0x167e969], 0
pop edi
mov eax, str.loader_entry_thread_thunk
pop esi
ret
Function at 0x911eec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x911f05
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x911f28
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x911f2d
inc edi
cmp edi, dword [ebp - 4]
jb 0x911f1f
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x912025
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x911f84
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x911f58
cmp cl, 0xff
jne 0x911faf
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x911fbd
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x911fc4
dec ecx
shl edx, cl
and edx, 7
je 0x911f49
movzx ecx, byte [edx + 0x1308294]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x130828c], 0
mov cl, byte [ebx + 4]
je 0x911fac
test cl, cl
je 0x911fac
cmp cl, 0xff
jne 0x911f49
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x911f1a
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x911ff8
movzx esi, byte [edx + 0x1308294]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x911fe3
cmp al, 0xff
jne 0x911ff5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x911f76
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x911f1a
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

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