joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50e94b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esi + 0x10]
mov byte [esi], bl
call fcn.00404230
push 0x48
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x38], 0x80
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], ebx
call int.004eceb1
push 0x1000
mov dword [esi + 4], eax
call int.004eceb1
mov dword [esi + 8], eax
add esp, 8
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4d5920
Capabilities:
Encode data using xor

Disassembly:
sbb al, 0x45
inc ebx
call 0x4659c9ab
xor dword [eax + 0xc], 0x46
add dl, byte [edi]
enter 0x1b6f, 0xfffffffffffffff1
and byte [ebx - 0x75], dh
mov ah, 0x93
inc eax
xor al, 0x49
lock xor dl, byte gs:[ebx - 0x6d444763]
add byte [ecx + esi + 0x7bb9711b], bl
sub dword [ebx], ebx
aas
loope 0x4d5924
fiadd dword [ebx + 1]
xor byte [eax], cl
inc eax
dec esi
add dword [edx + eax*8 - 0x52439199], 0x269e4e96
jae 0x4d5985
ret
in eax, dx
lahf
or dword gs:[edi - 0x4a], esi
add byte [0x5e00c04], ah
add byte [ecx], cl
or dword [ecx], 0x40
xor byte [esi + 0x26], cl
xchg ebx, eax
dec esi
sbb ebx, edi
mov ebx, 0x8010d409
xor al, 0x26
xchg ebx, eax
push ebp
mov bl, 0x5a
add ah, al
add ecx, ebx
or byte [edx], cl
and ebp, ebx
lds ebx, [ebp - 0x20]
and dword [eax], eax
enter 0xffffffffffffb434, 0x72
rol byte [eax - 0x4d007bd0], cl
push ebx
mul byte [esi + 0x35]
invalid
Function at 0x4ec47e
Capabilities:
Encode data using xor

Disassembly:
cmp al, byte [eax]
les ebx, [eax - 0x395bfdb4]
sub al, 0x84
add eax, 0xbbe3e473
popfd
je 0x4ec4d1
add bh, al
adc byte [esi], dl
xor byte [eax], ah
pushal
add byte [eax + 0x1c000a], 0xe9
add eax, 0x2186a80
or byte [ebx + 0x7f1cf966], 0x7c
stosd dword es:[edi], eax
into
sub byte [eax + eax], 0x20
add byte [edx + eax + 0x60], bh
add eax, dword [edx]
and byte [eax], 0x80
adc byte [ebx], cl
inc eax
dec esp
add ah, ch
test byte [eax], al
rcl byte [eax], 0x10
adc byte [esi], 2
push es
push eax
or al, 0x43
inc eax
push ss
adc byte [edx], 0x80
test byte [ecx + eax*8], al
mov eax, 0xe780198
xor byte [ecx], 2
test eax, 0x6c026c00
add dword [eax + 0x60888f03], esp
cmp eax, dword [eax + 0x60]
push es
and dword [eax - 0x7913ffeb], 0x68ea030
push ecx
fild qword [edx - 0x20]
adc byte [edx + 0x70032802], al
pop es
inc eax
xadd byte [0xd0600d04], dh
add dh, byte [eax + 0x54e007]
cwde
add esp, dword [eax]
or al, 0
adc eax, dword [eax]
das
add byte [eax], bh
pop eax
add eax, dword [eax]
sbb eax, 0x6e800
xor dword [eax], eax
outsb dx, byte [esi]
or byte [eax + eax*8], bh
push es
enter 0xffffffffffffc000, 1
mov al, byte [0x2c2f4008]
mov dl, 0x69
inc eax
cmp bh, ah
pop es
pushal
sbb byte [ebx + 0x6544008], dl
and eax, 0x14a34401
test byte [edi + 0x552758a], dl
inc eax
or byte [eax + 0x19428119], al
xor byte [esp + ebx*8], al
cwde
dec esp
in al, 0xd0
rcl dl, 1
add dword [esi], 0x20
or dl, byte [eax + 0x7193c5bf]
pop esp
xor esp, dword [ebx + ecx]
in al, dx
push ecx
das
push es
mov al, byte [0x2294df60]
pushal
xor byte fs:[edi], al
sub bh, bh
cmp byte [eax + ebx*4 + 0x17f546ee], ah
mov ebx, 0x4800c04
inc ecx
add byte [eax + 0x1b80054], 0x10
push es
dec ecx
das
push es
and byte [edi - 0x77], 0xa0
sbb byte [ecx + 0x248c1850], al
bound ecx, qword [ecx + 0x4e6128a9]
mov esp, 0x54e2f72
push ecx
or byte [ebx + eax - 0x4c], 0x24
xor dword [eax], edi
xor eax, 0xc5d1820c
jne 0x4ec568
and edi, dword [ebx - 0x1d]
add byte [ecx + 0x6108089c], al
or byte [edx], 0x49
mov al, byte [0x37802126]
add byte [ecx + edx*2 + 0x30], bh
pop es
imul eax, dword [eax], 0xf4007cc
xor byte [eax + eax*2], 3
loopne 0x4ec5da
jg 0x4ec555
pushal
add dh, byte [eax + 0x2a]
add esi, dword [eax + 0xc3f21b]
test al, 0x68
push cs
sal byte [eax + eax + 0x76], 3
mov al, 0x1b
bnd ret
add byte [ebx], al
movsb byte es:[edi], byte [esi]
adc edx, dword [edx]
pop ecx
xor eax, 0x410b1325
xor eax, 0xfb1b830d
mov edx, 0x5c401002
add byte [eax + 3], dl
add byte [eax], dl
lock sub byte [edx], bl
add eax, dword [edx]
imul esp, dword [eax + 0x31], 0x348018c0
add byte [eax - 0x5ffff260], bh
add edi, esi
add byte [ebx + eax*2 + 0x28], ch
add dword [eax + 0xc20e419], ebp
ret
Function at 0x1000103a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
mov esi, eax
test esi, esi
je 0x10001065
and dword [0x1000e048], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.10001ff0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret

Function at 0x100010f9
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov cl, byte [eax]
mov dl, byte [eax + 1]
jle 0x100011b5
push ebx
push esi
push edi
movzx esi, cl
movzx ebx, dl
lea eax, [esi + 1]
cdq
mov ecx, 0x230
idiv ecx
mov edi, dword [0x1000f008]
movzx esi, dl
lea ecx, [esi + edi]
movzx eax, byte [ecx]
add eax, ebx
mov byte [ebp - 2], dl
cdq
mov ebx, 0x230
idiv ebx
movzx ebx, dl
lea eax, [ebx + edi]
mov byte [ebp - 3], dl
call fcn.1000102f
mov ecx, dword [0x1000f008]
movzx eax, byte [ebx + ecx]
movzx ecx, byte [esi + ecx]
add eax, ecx
cdq
mov ecx, 0x230
idiv ecx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
mov byte [ebp - 1], dl
call edi
push 0
push 0
call edi
mov edi, dword [ebp - 8]
movzx ecx, byte [ebp - 1]
mov edx, dword [0x1000f008]
mov cl, byte [ecx + edx]
mov eax, edi
sub eax, dword [0x1000e048]
add eax, dword [ebp + 8]
xor byte [eax], cl
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp + 0xc]
jl 0x1000111d
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 2]
mov dl, byte [ebp - 3]
pop edi
pop esi
pop ebx
mov byte [eax], cl
mov byte [eax + 1], dl
leave
ret
Function at 0x10001d37
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e084]
jne 0x10001d41
repz ret
jmp fcn.100028c8

Function at 0x10006ffc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000e084]
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.1000443a
and dword [ebp - 0x14], 0
cmp dword [0x1000fcfc], 0
mov dword [ebp - 0x18], eax
jne 0x100070af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10007157
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10007157
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000fcfc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000fd00], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000fd04], eax
call edi
push eax
call esi
mov dword [0x1000fd0c], eax
test eax, eax
je 0x100070af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000fd08], eax
mov eax, dword [0x1000fd08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10007108
cmp dword [0x1000fd0c], ecx
je 0x10007108
push eax
call esi
push dword [0x1000fd0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10007108
test ebx, ebx
je 0x10007108
call edi
test eax, eax
je 0x100070ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100070ff
test byte [ebp - 8], 1
jne 0x10007108
or dword [ebp + 0x10], 0x200000
jmp 0x1000713b
mov eax, dword [0x1000fd00]
cmp eax, dword [ebp - 0x18]
je 0x1000713b
push eax
call esi
test eax, eax
je 0x1000713b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000713b
mov eax, dword [0x1000fd04]
cmp eax, dword [ebp - 0x18]
je 0x1000713b
push eax
call esi
test eax, eax
je 0x1000713b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000fcfc]
call esi
test eax, eax
je 0x10007157
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10007159
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001d37
leave
ret
Function at 0x10002dd0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push 0x100
push 0
push 0x10122118
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10002df0
mov cl, byte [eax + str.r_jj]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10122118], cl
inc eax
cmp eax, 0x100
jb 0x10002df0
movzx edx, byte [esi + 4]
push edx
push 0x10122118
push 0
mov ecx, 0x101174c0
call fcn.100052a0
movzx eax, byte [esi + 4]
add esp, 0xc
cmp eax, 0xa
ja case.default.0x10002e2c
jmp dword [eax*4 + 0x10002e9c]
mov ecx, 0xe
jmp 0x10002e7e
mov ecx, 0xf
jmp 0x10002e7e
mov ecx, 0x10
jmp 0x10002e7e
mov ecx, 0x11
jmp 0x10002e7e
mov ecx, 0x12
jmp 0x10002e7e
mov ecx, 0x13
jmp 0x10002e7e
mov ecx, 0x14
jmp 0x10002e7e
mov ecx, 0x16
jmp 0x10002e7e
mov ecx, 0x18
jmp 0x10002e7e
mov ecx, 0x19
jmp 0x10002e7e
mov ecx, 0x15
push 0x1388
call fcn.10005a00
push eax
push 2
mov eax, 0x1011c790
call fcn.1000b460
add esp, 0xc
pop ecx
ret

Function at 0x10002ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x1011cd08], 1
push edi
je 0x10002f78
mov ecx, dword [0x10117474]
mov dword [0x1011ccd0], ebx
mov dword [0x1011ccd4], ebx
mov dword [0x1011ccd8], ebx
mov dword [0x1011ccdc], ebx
mov dword [0x1011cce0], ebx
mov dword [0x1011cce4], ebx
mov dword [0x1011cce8], ebx
mov dword [0x1011ccec], ebx
mov dword [0x1011ccf0], ebx
cmp ecx, dword [0x10117478]
je 0x10002f3c
mov dword [0x10117478], ecx
mov ecx, dword [0x10117484]
cmp ecx, dword [0x10117488]
je 0x10002f50
mov dword [0x10117488], ecx
mov ecx, dword [0x10117494]
cmp ecx, dword [0x10117498]
je 0x10002f64
mov dword [0x10117498], ecx
mov ecx, dword [0x101174a4]
cmp ecx, dword [0x101174a8]
je 0x10002f78
mov dword [0x101174a8], ecx
mov word [ebp - 0x3c], 0x38c1
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x10002f92
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x1011c52c]
mov edx, dword [str.PREMIUM]
mov byte [ebp - 0x3a], al
mov eax, dword [0x1011cd08]
mov dword [ebp - 0x38], eax
mov eax, dword [0x10014798]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.1000b610
push 0x100
mov esi, eax
push ebx
mov ecx, 9
lea edi, [ebp - 0x28]
push 0x10122118
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x10013460]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10122118], cl
inc eax
cmp eax, 0x100
jb 0x10002fe0
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push 0x10122118
push ebx
mov ecx, 0x101174c0
call fcn.100052a0
movzx ecx, byte [ebp - 0x3b]
add esp, 0x18
lea edx, [ebp - 0x3c]
call fcn.10001850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e352
mov esp, ebp
pop ebp
ret
Function at 0x10005180
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101176d8]
push ebx
push esi
push edi
test eax, eax
js 0x1000528d
cmp eax, 1
jge 0x1000528d
mov esi, eax
imul esi, esi, 0x214
add esi, 0x101174c4
push str.DataLogs
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x101176d8], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x1000528d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10005268
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e352
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000528d
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e352
mov esp, ebp
pop ebp
ret
Function at 0x10005530
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x1011cd1c], 0
je 0x1000554d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1011cd1c]
cmp eax, dword [ecx]
jne case.0x10005583.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x101176e8]
cmp eax, 0x1388
jb 0x10005578
call edi
mov dword [esi*4 + 0x101176e8], eax
mov dword [esi*4 + 0x101176f0], 0
mov eax, dword [0x1011cd00]
pop edi
cmp eax, 5
ja case.default.0x10005583
jmp dword [eax*4 + 0x100055f0]
inc dword [esi*4 + 0x101176f0]
cmp dword [esi*4 + 0x101176f0], 0x19
jmp 0x100055dd
inc dword [esi*4 + 0x101176f0]
cmp dword [esi*4 + 0x101176f0], 0x14
jmp 0x100055dd
inc dword [esi*4 + 0x101176f0]
cmp dword [esi*4 + 0x101176f0], 0xf
jmp 0x100055dd
inc dword [esi*4 + 0x101176f0]
cmp dword [esi*4 + 0x101176f0], 0xa
jmp 0x100055dd
inc dword [esi*4 + 0x101176f0]
cmp dword [esi*4 + 0x101176f0], 5
jbe case.0x10005583.0
push 0
push 0
push 9
call fcn.10003040
add esp, 0xc
ret

Function at 0x100057c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005833
lea ecx, [ebp - 8]
push ecx
push 0x1011ce64
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10005829
push 0x10014908
push 0x10
push 0x1011ce64
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x100061c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.1000ed00
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10006211
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e352
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x10006276
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x10006271
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006268
test dl, dl
je 0x10006264
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006268
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006248
xor eax, eax
jmp 0x1000626d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000628a
inc esi
cmp esi, edi
jl 0x10006220
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e352
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000e352
mov esp, ebp
pop ebp
ret 4

Function at 0x100062a0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x100062dc
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100062e3
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10014980
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100062ce
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x100062ce
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x100062d6
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x100079b0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4e2c]
mov eax, str.mhp.premium
call fcn.10001140
test al, al
je 0x10007a23
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str.mhp.premium
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007a23
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e28
je 0x10007a35
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e352
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e28
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10007a1c
mov eax, esi
mov ecx, 0x4e28
mov dl, byte [eax]
add dl, 0x78
xor dl, 0xb3
mov byte [eax], dl
inc eax
dec ecx
jne 0x10007a63
call fcn.100057c0
lea eax, [ebx + 0xd4]
call fcn.10005840
lea eax, [ebx + 0x1a9c]
call fcn.100058a0
lea eax, [ebx + 0x3464]
call fcn.10005900
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000e352
mov esp, ebp
pop ebp
ret

Function at 0x10007ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc8], 0
push ebx
push esi
je 0x10007bca
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10007b53
push 0x100
push eax
push 0x10122118
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x10013660]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10122118], dl
inc eax
cmp eax, 0x100
jb 0x10007b20
push 0x10122118
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
lea ebx, [edi + 0x66]
push ebx
lea esi, [ebp - 0x110]
call fcn.1000b320
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x10007b8f
mov eax, 0x22
call fcn.1000b6d0
push eax
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
lea esi, [ebp - 0x510]
call section..text
mov eax, esi
push eax
lea esi, [ebp - 0x514]
mov eax, ebx
call fcn.10001140
test al, al
jne 0x10007bb5
mov eax, 0x23
jmp 0x10007b75
mov ecx, dword [edi + 0xc8]
cmp ecx, dword [ebp - 0x514]
je 0x10007bca
mov eax, 0x24
jmp 0x10007b75
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e352
mov esp, ebp
pop ebp
ret
Function at 0x10007be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xcc], 0
push ebx
push esi
je 0x10007cc4
lea esi, [ebp - 0x408]
call section..text
mov eax, esi
lea ebx, [edi + 0x86]
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001140
test al, al
jne 0x10007c73
push 0x100
push 0
push 0x10122118
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x10013a60]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10122118], cl
inc eax
cmp eax, 0x100
jb 0x10007c40
push 0x10122118
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
mov edx, dword [edi + 0xcc]
cmp edx, dword [ebp - 0x40c]
je 0x10007ca0
mov eax, 0x26
call fcn.1000b6d0
push eax
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10007cb2
mov eax, 0x27
jmp 0x10007c86
push 0x100149f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007cc4
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e352
mov esp, ebp
pop ebp
ret

Function at 0x10007ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10017018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xd0], 0
push esi
je 0x10007da0
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xa6]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x10007d73
push 0x100
push 0
push 0x10122118
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10013d60]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10122118], dl
inc eax
cmp eax, 0x100
jb 0x10007d40
push 0x10122118
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
mov eax, dword [edi + 0xd0]
cmp eax, dword [ebp - 0x40c]
je 0x10007da0
mov eax, 0x29
call fcn.1000b6d0
push eax
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000e352
mov esp, ebp
pop ebp
ret