joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484590
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7cc0
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x4845bc
cmp ecx, 0x61
jne 0x48461e
cmp word [edx + 2], bx
jne 0x48461e
cmp word [edi], bx
jne 0x48461e
cmp word [eax], bx
jne 0x48461e
cmp word [esi], bx
jne 0x48461e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x4845ff
cmp byte [ebp + 0xea], bl
jne 0x4845ff
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4845fd
push esi
call fcn.004851e0
add esp, 4
test al, al
je 0x4845ff
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x484612
cmp esi, ebx
je 0x484612
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x484643
cmp word [edi], bx
jne 0x484643
cmp word [eax], bx
jne 0x484643
cmp word [esi], bx
jne 0x484643
mov eax, ebp
call fcn.00484790
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4b0cf8
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.00485340
test eax, eax
je 0x484744
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
je 0x484750
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x48471c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484744
cmp byte [ebp + 0xea], bl
jne 0x484715
mov esi, dword [esp + 0x102c]
call fcn.00485250
cmp al, bl
jne 0x484715
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x484744
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x484735
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.004857a0
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00485860
test eax, eax
jne 0x484760
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea eax, [esp + 0x10]
push eax
push 0x484810
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x48477a
cmp eax, ebx
je 0x48477a
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x4857a0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x48585e
mov eax, dword [esi]
test eax, eax
je 0x48585e
push edi
test al, 1
jne 0x4857ca
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4857e6
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4857e6
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x485801
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x48583f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x48583f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.0045ba40
add esp, 4
test eax, eax
jne 0x48583f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x48585e
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x4860a0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.004a7cc0
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x48614d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x4868c0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4b0cf8
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x48614d
mov ecx, dword [0x4d5b14]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x48614d
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x486160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x48617c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4d5b14]
push eax
push esi
mov ecx, edi
call fcn.004866c0
cmp byte [edi], 0
je 0x4861af
test eax, eax
jne 0x4861b7
mov edx, dword [esp + 0x1c]
push eax
push edx
push edi
call fcn.00486290
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x486258
test esi, esi
je 0x486232
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004014c0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x486215
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x486215
push 1
push 0x8000012f
call fcn.004014c0
add esp, 8
push esi
call edi
test eax, eax
jne 0x4861f0
mov edx, dword [0x4d5b14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x48622e
push 1
push eax
call fcn.004014c0
add esp, 8
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x486272
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x486258
mov ecx, dword [0x4d5b14]
push ecx
push eax
mov ecx, edi
call fcn.004866c0
test eax, eax
jne 0x48616f
cmp byte [edi], 0
je 0x486272
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call fcn.00486290
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00486490
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x486290
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7cc0
mov eax, dword [esp + 0x11c74]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x4862b4
mov dword [eax], edi
cmp dword [ebp + 8], edi
je 0x486454
mov cl, 1
mov eax, ebp
call fcn.00486630
test eax, eax
je 0x48647a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4d5b14]
push eax
push esi
mov ecx, ebp
call fcn.004866c0
test eax, eax
setne cl
mov byte [esp + 0x17], cl
test cl, cl
jne 0x4862fa
xor eax, eax
mov dword [0x4da698], eax
jmp 0x4862ff
mov eax, dword [0x4da698]
cmp byte [esp + 0x11c80], 0
mov dword [esp + 0x1844], edi
mov dword [esp + 0x1848], edi
mov dword [esp + 0x184c], edi
mov dword [esp + 0x1858], edi
mov dword [esp + 0x1864], edi
mov dword [esp + 0x1868], edi
je 0x48633f
mov byte [esp + 0x1841], 0
test cl, cl
je 0x486347
mov byte [esp + 0x1841], 1
mov edx, dword [0x4da694]
mov ecx, 0x4b0cf8
mov dword [esp + 0x1024], ecx
mov dword [esp + 0x102c], ecx
mov dword [esp + 0x1030], ecx
mov ecx, dword [0x4d5b14]
cmp eax, edi
mov dword [esp + 0x1028], edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1850], edx
mov dword [esp + 0x1854], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x103c], ebp
mov dword [esp + 0x18], 0x10
setg bl
cmp byte [esp + 0x17], 0
je 0x4863ca
xor ecx, ecx
test eax, eax
jle 0x4863ba
lea ecx, [ecx]
cmp dword [edx + ecx*4], esi
je 0x4863ca
inc ecx
cmp ecx, eax
jl 0x4863b0
cmp eax, 0x1f4
jge 0x4863ca
mov dword [edx + eax*4], esi
inc eax
mov dword [0x4da698], eax
lea edx, [esp + 0x18]
push edx
push 0x484810
mov dword [esp + 0x185c], eax
call edi
mov eax, dword [esp + 0x1848]
test eax, eax
jne 0x4863fb
test bl, bl
je 0x486466
mov edx, dword [0x4da694]
mov dword [0x4da698], eax
xor bl, bl
jmp 0x4863a0
call fcn.00484050
mov ecx, dword [0x4da698]
mov edx, dword [esp + 0x1848]
mov esi, dword [0x4da694]
xor eax, eax
test ecx, ecx
jle 0x48642a
lea esp, [esp]
cmp dword [esi + eax*4], edx
je 0x48643c
inc eax
cmp eax, ecx
jl 0x486420
cmp ecx, 0x1f4
jge 0x48643c
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4da698], ecx
mov eax, dword [0x4d5b14]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jle 0x486454
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 0xc
mov ecx, dword [esp + 0x11c84]
test ecx, ecx
je 0x48647a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48647a
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c68
ret 0xc
Function at 0x486490
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a7cc0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x486610
xor cl, cl
mov eax, edi
call fcn.00486630
test eax, eax
jne 0x4864c5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4d5b14]
push eax
push ebp
mov ecx, edi
call fcn.004866c0
test eax, eax
je 0x4864e8
xor eax, eax
mov dword [0x4da698], eax
jmp 0x4864ed
mov eax, dword [0x4da698]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4b0cf8
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x486533
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x48653b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4da694]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x486790
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x4865e8
lea ecx, [esp + 0x10]
push ecx
push 0x4850b0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4865a5
mov edx, dword [esp + 0x1848]
call fcn.00485d30
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00484050
mov edx, dword [esp + 0x1848]
call fcn.00485d30
mov edx, dword [0x4d5b14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x486610
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4da698]
cmp eax, ebx
je 0x486610
cmp eax, 1
setg al
mov dword [0x4da698], ebx
cmp al, bl
je 0x486610
mov edx, ebp
call fcn.00485d30
push ebx
mov ecx, edi
call fcn.00486490
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x4a1746
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4b20]
jne 0x4a1750
repz ret
jmp fcn.004a79d3

Function at 0x4a4f30
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d4b20]
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.0049dca2
and dword [ebp - 0x14], 0
cmp dword [0x4d7e5c], 0
mov dword [ebp - 0x18], eax
jne 0x4a4fe3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a508b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4af0e0
push ebx
call edi
test eax, eax
je 0x4a508b
mov esi, dword [fcn.00499830]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d7e5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d7e60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d7e64], eax
call edi
push eax
call esi
mov dword [0x4d7e6c], eax
test eax, eax
je 0x4a4fe3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d7e68], eax
mov eax, dword [0x4d7e68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00499834]
cmp eax, ecx
je 0x4a503c
cmp dword [0x4d7e6c], ecx
je 0x4a503c
push eax
call esi
push dword [0x4d7e6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a503c
test ebx, ebx
je 0x4a503c
call edi
test eax, eax
je 0x4a5033
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a5033
test byte [ebp - 8], 1
jne 0x4a503c
or dword [ebp + 0x10], 0x200000
jmp 0x4a506f
mov eax, dword [0x4d7e60]
cmp eax, dword [ebp - 0x18]
je 0x4a506f
push eax
call esi
test eax, eax
je 0x4a506f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a506f
mov eax, dword [0x4d7e64]
cmp eax, dword [ebp - 0x18]
je 0x4a506f
push eax
call esi
test eax, eax
je 0x4a506f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d7e5c]
call esi
test eax, eax
je 0x4a508b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a508d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1746
leave
ret
Function at 0x406840
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5002bb
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
aas
inc ebx
add al, 0x83
clc
dec dword [edi]
test byte [ecx + eax + 0x4b8b0000], dl
adc byte [ebp - 0x767b3e37], al
add dword [eax], eax
add byte [ebx + 0x279b0ce6], cl
adc al, 0x8d
push esi
sub bl, cl
push edx
push eax
call dword [0x40f061]
cmp eax, 0xffffffff
vmptrld qword [edi]
add dword [eax], eax
sbb byte [ebx + 0x40afd835], cl
xchg edi, eax
call esi
test eax, eax
je 0x40698a
adc eax, dword cs:[0xafc80]
cmp eax, 0xb23b3
jne 0xae4069f4
mov edi, dword [ebx + 0x20]
and dword [ebx + 0x24], esi
mov esp, dword [edx + 0xb]
invalid
arpl word [edx - 0x6f2dcec2], dx

Function at 0x406e00
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x406e03
ljmp 0xacb6:0xda8d5821

Function at 0x407d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
lea eax, [ebp - 0x58]
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push eax
mov eax, dword [ebp - 0x60]
lea edx, [ebp + 0xc]
push ecx
mov edi, ebp
or byte [edx + 0x57], dl
push eax
push ecx
pop ebx
jnp 0x407d44
add byte [esi], dh
mov edi, dword [esi - 4]
mov edi, dword ss:[esi - 4]
add dword [ebp + 0x14], edx
aad 0xc4
sbb byte [ecx - 0x367a07bb], cl
mov esi, edx
je 0x407d5d
invalid
lea esp, [edi + edi*8]
push ebx
test ecx, ecx
jle 0x407d74
sbb byte [edi + 0x6753001], 0x4f
dec ecx
test ecx, ecx
cdq
hlt
mov eax, dword [eax + 0xc]
test ebx, ebx
jl 0x407e74
int3
cmp edi, 1
adc al, 0xa
dec edi
inc edi
or byte [eax + 0x4f40540e], cl
jne 0x407e51
test esi, 0x85f9d106
fstp xword [ebp - 9]
mov byte [esi], 0xd1
stc
test ebx, ebx
jge 0x407e59
neg ebx
mov byte [esi], 0x2d
ret 0xc603
idiv ecx
inc esi
test eax, eax
mov edi, edx
jle 0x407e4b
add al, 0x30
mov dword [esi], 0xb9c38b46
or al, byte [eax]
add byte [ebx - 0x7a060867], dl
sti
mov ecx, edx
ficom word [edi]
mov eax, 0x87666667
imul edi
cmp bh, dl
add al, byte [edx - 0x3e]
shr eax, 0x4b
add edx, eax
add dl, 0x30
mov byte [ecx + 0x20c18049], dh
mov byte [0x8cff5934], dh
dec dword [ebx + 0x69d60]
pop edi
pop esi
mov esp, ebp
pop ebp
enter 0xffffffffffff9090, 0x55
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 0x18]
mov edi, esi
adc al, 0x50
mov eax, dword [ebx + 0x51016a10]
xlatb
xor byte [ebx + esi*4], cl
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.00407ef0
add esp, 0x1c
pop ebp
ret
Function at 0x497529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00497480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x497558
mov eax, 0xea61
jmp 0x4975d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x497568
mov eax, 0xea62
jmp 0x4975d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00497480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x497595
mov eax, 0xea62
jmp 0x4975d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4975ad
mov eax, 0xea65
jmp 0x4975d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4975c2
mov eax, 0xea66
jmp 0x4975d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4975d2
mov eax, 0xea67
jmp 0x4975d6
xor eax, eax
jmp 0x4975d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x985c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x985d1c
test eax, eax
je 0x985d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x9a0fe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x985d03
lea edi, [eax + 4]
jmp 0x985c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x985c7c
mov dword [ebp - 4], 2
jmp 0x985c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x985c93
mov dword [ebp - 4], 1
jmp 0x985c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x985d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x985cd6
mov byte [ecx], 0x3d
jmp 0x985ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x985ced
mov byte [ecx], 0x3d
jmp 0x985cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x985c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x99c684
Capabilities:
Encode data using xor

Disassembly:
cmp byte [eax], dl
nop
mov ebx, 0xbba41038
cmp byte [eax], dl
mov eax, 0xc81038bb
mov ebx, 0xbbdc1038
cmp byte [eax], dl
in al, 0xbb
cmp byte [eax], dl
in al, dx
mov ebx, 0xbbf41038
cmp byte [eax], dl
cld
mov ebx, 0xbc041038
cmp byte [eax], dl
or al, 0xbc
cmp byte [eax], dl
adc al, 0xbc
cmp byte [eax], dl
sbb al, 0xbc
cmp byte [eax], dl
and al, 0xbc
cmp byte [eax], dl
sub al, 0xbc
cmp byte [eax], dl
xor al, 0xbc
cmp byte [eax], dl
cmp al, 0xbc
cmp byte [eax], dl
dec esp
mov esp, 0xbc601038
cmp byte [eax], dl
insb byte es:[edi], dx
mov esp, 0xbbfc1038
cmp byte [eax], dl
js 0x99c698
cmp byte [eax], dl
test byte [eax + edi + 0x38bc9010], bh
adc byte [eax - 0x4befc744], ah
mov esp, 0xbcc41038
cmp byte [eax], dl
fdivr dword [eax + edi + 0x38bcec10]
adc ah, dh
mov esp, 0xbcfc1038
cmp byte [eax], dl
adc byte [ebp - 0x42c7efc8], bh
cmp byte [eax], dl
add byte [eax], al
add byte [eax], al
pushal
ljmp 0
Function at 0x9a8c9e
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x9a8cdc
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x9a8cd4
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x9a8cde
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x9a8cc4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9a8dae
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x9a8dc4
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x9a8ddf
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x9aaed2
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x800151c0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.009aae60
test al, al
je 0x9aaf2d
push ebx
push esi
push edi
mov eax, 0x40000000
lea edi, [ebp - 0x14]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x10], 0x7263694d
pop edi
pop esi
pop ebx
jne 0x9aaf2d
cmp dword [ebp - 0xc], 0x666f736f
jne 0x9aaf2d
cmp dword [ebp - 8], 0x76482074
jne 0x9aaf2d
mov al, 1
jmp 0x9aaf2f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009acf7c
mov esp, ebp
pop ebp
ret
Function at 0x403310
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x50
mov edi, edx
mov ebx, ecx
mov ecx, edi
call fcn.00417688
movzx edx, word [eax + 0x14]
movzx ebp, word [eax + 6]
lea esi, [eax + edx + 0x18]
test ebp, ebp
jle 0x4034f2
xor edx, edx
xor eax, eax
cmp byte [esi + 6], 0
jne 0x403363
cmp byte [esi + 2], 0x64
jne 0x403363
cmp byte [esi + 5], 0x61
jne 0x403363
cmp byte [esi + 3], 0x61
jne 0x403363
cmp byte [esi + 4], 0x74
jne 0x403363
cmp byte [esi + 1], 0x73
jne 0x403363
cmp byte [esi], 0x2e
je 0x403370
inc edx
add esi, 0x28
cmp edx, ebp
jl 0x40333a
jmp 0x4034f2
mov edx, dword [esi + 0xc]
add edi, edx
je 0x4034f2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push eax
lea ecx, [esp + 4]
call fcn.0040f5a8
push 0
lea ecx, [esp + 0x14]
call fcn.0040f5a8
push 0x2c
push edi
lea ecx, [esp + 8]
call fcn.0040f500
lea ecx, [esp + 0x20]
lea edx, [esp]
call fcn.00414c4c
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 4]
call fcn.0040f458
lea ecx, [esp + 0x20]
call fcn.0040f678
lea esi, [esp + 0x30]
push 4
push esi
lea ecx, [esp + 8]
call fcn.0040f5cc
lea ebp, [esp + 0x34]
push 4
push ebp
lea ecx, [esp + 8]
call fcn.0040f5cc
lea ecx, [esp]
call fcn.0040f864
mov edx, dword [esp + 0x30]
add edx, 0x2c
push edx
push edi
lea ecx, [esp + 8]
call fcn.0040f500
lea ecx, [esp + 0x20]
lea edx, [esp]
call fcn.00414c4c
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 4]
call fcn.0040f458
lea ecx, [esp + 0x20]
call fcn.0040f678
push 4
push esi
lea ecx, [esp + 8]
call fcn.0040f5cc
push 4
push ebp
lea ecx, [esp + 8]
call fcn.0040f5cc
push dword [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.0040f84c
push 0
lea ecx, [esp + 4]
call fcn.0040f4e0
mov ebp, eax
push 0
lea ecx, [esp + 0x14]
call fcn.0040f4e0
push eax
push ebp
call fcn.004078f8
pop eax
pop eax
lea ecx, [esp + 0x10]
call fcn.0040f4f4
test al, al
jne 0x4034d6
mov esi, dword [esp + 0x64]
lea ebp, [esp + 0x40]
lea edx, [esp + 0x38]
push 4
push edx
lea ecx, [edx - 0x28]
call fcn.0040f5cc
lea edx, [esp + 0x3c]
push 4
push edx
lea ecx, [edx - 0x2c]
call fcn.0040f5cc
push dword [esp + 0x3c]
push ebp
lea ecx, [esp + 0x18]
call fcn.0040f544
cmp esi, dword [esp + 0x38]
jne 0x4034c2
mov ecx, ebx
push ebp
call fcn.0040f63c
mov ecx, ebp
call fcn.0040f678
jmp 0x4034df
mov ecx, ebp
call fcn.0040f678
lea ecx, [esp + 0x10]
call fcn.0040f4f4
test al, al
je 0x40347f
mov ecx, ebx
push 0
call fcn.0040f5a8
lea ecx, [esp + 0x10]
call fcn.0040f678
lea ecx, [esp]
call fcn.0040f678
jmp 0x4034fb
mov ecx, ebx
push 0
call fcn.0040f5a8
mov eax, ebx
add esp, 0x50
pop ebp
pop ebx
pop edi
pop esi
ret 4