joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006861b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100b6e50]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006865b
cmp byte [ebx], 0xa
jne 0x1006865b
or byte [eax + edi + 0x28], 4
jmp 0x10068660
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1006875e
mov al, byte [edx]
cmp al, 0x1a
je 0x10068740
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1006868f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100686b4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100686be
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10068671
jmp 0x1006875e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006873b
cmp dword [ebp - 0xc], 0
je 0x1006873b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100b6e50]
test byte [eax + edi + 0x28], 0x48
je 0x10068715
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10068700
mov byte [esi], dl
jmp 0x10068711
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100b6e50]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1006875e
cmp byte [ebp - 1], 0xa
jne 0x10068724
cmp esi, ebx
jne 0x10068724
mov byte [esi], 0xa
jmp 0x1006875d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1006919b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1006875e
mov byte [esi], 0xd
jmp 0x1006875d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100b6e50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1006875a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1006875e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10068767
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100b6e50]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100687aa
cmp word [esi], dx
jne 0x100687aa
or byte [edi + eax + 0x28], 4
jmp 0x100687af
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x10068902
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100688e2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100687f1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10068827
cmp eax, edx
jae 0x10068833
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100687c9
jmp 0x10068902
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100688de
cmp dword [ebp - 0x14], 0
je 0x100688de
mov eax, dword [ebx*4 + 0x100b6e50]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100688b6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1006887f
mov word [esi], cx
jmp 0x100688b2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100b6e50]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100b6e50]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100b6e50]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x10068902
pop ebx
cmp word [ebp - 4], bx
jne 0x100688c7
cmp esi, dword [ebp + 0xc]
jne 0x100688c7
mov word [esi], bx
jmp 0x100688ff
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1006919b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10068902
push 0xd
jmp 0x100688fb
mov ecx, dword [ebx*4 + 0x100b6e50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100688f9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10068902
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100696d3
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10069655
Function at 0x1006c215
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1006c2b2
push ebx
push esi
call fcn.1006c1de
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1006afb5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1006c25f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006c2b1
push edi
push eax
call fcn.100660c3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1006c27f
call fcn.100659ec
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006c2b0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1006afb5
add esp, 0x20
test eax, eax
jne 0x1006c29e
push edi
call fcn.100659ec
jmp 0x1006c2a6
push ebx
call fcn.100659ec
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100723f1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1007236d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10072569
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10072569
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10072518
jg 0x1007244a
test eax, eax
je 0x1007250e
push 1
push 0x1000
call fcn.10067370
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10072470
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10072505
push 0x8000
push ebx
call fcn.1007229e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1007249c
jg 0x10072497
cmp ecx, 0x1000
jb 0x1007249c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100657ec
add esp, 0x10
cmp eax, 0xffffffff
je 0x100724e1
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10072497
jl 0x100724c8
test ecx, ecx
jne 0x10072489
push dword [ebp - 0xc]
push ebx
call fcn.1007229e
push esi
call fcn.100659ec
add esp, 0xc
xor edi, edi
jmp 0x1007257a
cmp byte [edi + 0x24], 0
je 0x100724f8
cmp dword [edi + 0x20], 5
jne 0x100724f8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10072503
mov edi, dword [edi + 0x18]
jmp 0x10072505
xor edi, edi
push esi
call fcn.100659ec
pop ecx
jmp 0x1007257a
test ecx, ecx
jg 0x100724da
jl 0x10072518
test eax, eax
jae 0x100724da
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1006919b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1007253b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100724da
jmp 0x10072572
push ebx
call fcn.1006c7f9
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100724da
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1007257a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10072577
mov edi, dword [edi + 0x18]
jmp 0x1007257a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1006919b
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10073bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10073bed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10073bed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001c69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001cc2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001cb3
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10001caf
cmp esi, ecx
jae 0x10001cb3
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10001c9d
cmp esi, ecx
jb 0x10001cb7
xor eax, eax
jmp 0x10001cc1
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10002934
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x278
mov eax, 0x10080807
call fcn.1005b38d
mov edi, ecx
mov dword [ebp - 0x27c], edi
and dword [ebp - 4], 0
and dword [ebp - 0x280], 0
push 0x6f
pop esi
push 0x68
pop eax
push 0x79
pop ecx
push 0x54
mov word [ebp - 0x36], ax
pop eax
push 0x73
mov word [ebp - 0x6a], ax
pop eax
push 0x66
mov word [ebp - 0x54], ax
pop eax
push 0x74
mov word [ebp - 0x50], ax
pop eax
push 0x52
mov word [ebp - 0x4e], ax
pop eax
push 0x45
mov word [ebp - 0x64], ax
pop eax
push 0x53
mov word [ebp - 0x62], ax
pop eax
push 0x46
mov word [ebp - 0x70], ax
pop eax
push 0x57
mov word [ebp - 0x6c], ax
pop eax
push 0x70
mov word [ebp - 0x68], ax
pop eax
push 0x67
mov word [ebp - 0x44], ax
mov word [ebp - 0x38], ax
xor eax, eax
mov word [ebp - 0x32], ax
pop eax
push 0x72
pop edx
push 0x41
mov word [ebp - 0x3e], ax
pop eax
push 0x4d
pop ebx
push 0x5c
mov word [ebp - 0x46], cx
mov word [ebp - 0x34], cx
pop ecx
push 0x43
mov word [ebp - 0x66], ax
pop eax
push 0x63
mov word [ebp - 0x52], si
mov word [ebp - 0x40], si
mov word [ebp - 0x56], si
pop esi
push 0x74
mov word [ebp - 0x4a], ax
pop eax
push 0x4f
mov word [ebp - 0x42], ax
pop eax
push 0x69
mov word [ebp - 0x48], dx
mov word [ebp - 0x58], dx
mov word [ebp - 0x3c], dx
pop edx
mov dword [ebp - 0x284], edi
mov word [ebp - 0x5e], bx
mov word [ebp - 0x4c], cx
mov word [ebp - 0x60], cx
mov word [ebp - 0x5a], si
mov word [ebp - 0x6e], ax
mov word [ebp - 0x5c], dx
push 0x61
pop ecx
push 0x6e
pop eax
mov word [ebp - 0x22], ax
xor eax, eax
push 0x64
mov word [ebp - 0x16], ax
pop eax
push 0x75
mov word [ebp - 0x18], ax
pop eax
push 0x68
mov word [ebp - 0x1c], ax
pop eax
push 0x65
mov word [ebp - 0x26], ax
pop eax
mov word [ebp - 0x20], ax
push 0x47
pop eax
mov word [ebp - 0x3a], cx
mov word [ebp - 0x2a], cx
mov word [ebp - 0x2c], bx
mov word [ebp - 0x28], si
mov word [ebp - 0x1e], ax
mov word [ebp - 0x1a], dx
mov word [ebp - 0x24], dx
call fcn.10001e63
push eax
mov ecx, edi
call fcn.10007eec
mov esi, 0x200
lea eax, [ebp - 0x270]
xor ebx, ebx
push esi
push ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x280], 1
call fcn.1005cd30
add esp, 0xc
mov dword [ebp - 0x278], esi
lea eax, [ebp - 0x274]
push eax
push 0x20019
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x70]
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x10002b53
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x274]
call esi
test eax, eax
je 0x10002b39
lea eax, [ebp - 0x274]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x70]
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x10002b53
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x274]
call esi
test eax, eax
jne 0x10002b53
lea eax, [ebp - 0x270]
mov ecx, edi
push eax
call fcn.1000670b
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.1005b348
ret
Function at 0x10002ea6
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
push 0x664
mov eax, 0x10080884
call fcn.1005b38d
mov esi, ecx
mov dword [ebp - 0x660], esi
xor ebx, ebx
lea ecx, [ebp - 0x660]
push 0x100a57dd
mov dword [ebp - 0x670], ebx
call fcn.10006677
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x36], 0x2e32
mov word [ebp - 0x39], 0x6c6c
mov word [ebp - 0x3c], 0x6853
mov word [ebp - 0x33], 0x6c6c
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x37], 0x33
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x34], 0x64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10003019
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0x576874
push ecx
push eax
mov word [ebp - 0x1e], 0x646c
mov dword [ebp - 0x2c], 0x65474853
mov word [ebp - 0x21], 0x466c
mov dword [ebp - 0x28], 0x65705374
mov word [ebp - 0x1b], 0x5072
mov word [ebp - 0x24], 0x6963
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x1f], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10003019
mov ebx, 0x20a
lea eax, [ebp - 0x65c]
push ebx
push 0
push eax
call fcn.1005cd30
push ebx
xor ebx, ebx
lea eax, [ebp - 0x450]
push ebx
push eax
call fcn.1005cd30
push 0x208
lea eax, [ebp - 0x244]
mov dword [ebp - 0x664], ebx
push ebx
push eax
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x668], ebx
call fcn.1005cd30
add esp, 0x24
lea eax, [ebp - 0x244]
push ebx
push 0x25
push eax
push ebx
call edi
xor eax, eax
mov ecx, 0x105
mov word [ebp - 0x23e], ax
lea eax, [ebp - 0x450]
push ecx
push eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x664]
push eax
push ecx
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10003019
push dword [ebp - 0x664]
lea eax, [ebp - 0x660]
push 0x100a6b24
push eax
call fcn.100096bf
add esp, 0xc
push dword [ebp - 0x660]
mov ecx, esi
call fcn.10006745
mov ecx, dword [ebp - 0x660]
add ecx, 0xfffffff0
call fcn.10001e00
mov eax, esi
call fcn.1005b348
ret
Function at 0x10003405
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push 0x8bc
mov eax, 0x100808cd
call fcn.1005b38d
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x27], 0x62667676
push 0x400
lea eax, [ebp - 0x428]
mov word [ebp - 0x23], 0x68
push ebx
push eax
mov byte [ebp - 0x28], 0x73
mov dword [ebp - 0x1b], 0x6e686266
mov word [ebp - 0x16], 0x6d6a
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x17], 0x6a
mov byte [ebp - 0x14], bl
call fcn.1005cd30
add esp, 0xc
lea ecx, [ebp - 0x8b8]
call fcn.1000a60c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.1000acd1
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.1000ae8e
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x1000349a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c0]
call fcn.10006677
xor eax, eax
mov byte [ebp - 4], 2
inc eax
lea ecx, [ebp - 0x840]
push ebx
push eax
mov dword [ebp - 0x8c4], eax
call fcn.1000803f
mov eax, dword [ebp - 0x8c0]
mov dword [ebp - 0x8c8], eax
lea eax, [ebp - 0x28]
push edi
push eax
push 0x100a6b2c
lea eax, [ebp - 0x428]
push 0x400
push eax
call fcn.100011a4
add esp, 0x14
lea ecx, [ebp - 0x8b8]
call fcn.1000a60c
lea eax, [ebp - 0x428]
push eax
call esi
push eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.1000acd1
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.1000ae8e
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1000352f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8bc]
call fcn.10006677
push ebx
push 1
lea ecx, [ebp - 0x858]
call fcn.1000803f
push dword [ebp - 0x8bc]
mov esi, 0x400
lea eax, [ebp - 0x428]
push str.Global_s
push esi
push eax
call fcn.100011a4
add esp, 0x10
lea eax, [ebp - 0x428]
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
test edi, edi
jne 0x100035a2
mov ecx, dword [ebp - 0x8bc]
lea ecx, [ecx - 0x10]
call fcn.10001e00
mov eax, dword [ebp - 0x8c0]
lea ecx, [eax - 0x10]
call fcn.10001e00
xor al, al
jmp 0x10003625
push esi
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x10003600
push 0x400
lea eax, [ebp - 0x828]
push esi
push eax
call fcn.1005ce90
mov edx, dword [ebp - 0x8c8]
lea eax, [ebp - 0x828]
add esp, 0xc
mov ecx, ebx
mov eax, dword [eax + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x100035ed
inc ecx
lea eax, [ebp - 0x828]
cmp ecx, 8
jne 0x100035d7
jmp 0x100035f3
mov byte [ebp - 0x8c4], bl
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, byte [ebp - 0x8c4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x8bc]
add ecx, 0xfffffff0
call fcn.10001e00
mov ecx, dword [ebp - 0x8c0]
add ecx, 0xfffffff0
call fcn.10001e00
mov al, bl
call fcn.1005b348
ret
Function at 0x1000362b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x44
mov eax, 0x10080936
call fcn.1005b38d
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x40], eax
mov dword [esi + 0x10], eax
jb 0x1000365e
mov ecx, dword [esi]
mov byte [ecx], al
mov dword [ebp - 4], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 0x21], 0x253d6469
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x26], 0x6870
mov dword [ebp - 0x2a], 0x2e736469
mov dword [ebp - 0x1c], 0x253d6d26
mov word [ebp - 0x23], 0x753f
mov byte [ebp - 0x24], 0x70
mov word [ebp - 0x2c], 0x752f
mov word [ebp - 0x18], 0x73
mov byte [ebp - 0x1d], 0x73
call fcn.10001e63
push eax
lea ecx, [ebp - 0x44]
call fcn.10007eec
push str.de8ec5c5f1614291825c3281bc6ce88a
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100096bf
add esp, 0x10
call fcn.10001e63
push eax
lea ecx, [ebp - 0x30]
call fcn.10007eec
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100020bb
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x44]
push ebx
push dword [eax]
lea eax, [ebp - 0x30]
push str.https:___s_s
push eax
call fcn.100096bf
mov byte [ebp - 4], 2
add esp, 0x10
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.10001e00
mov edi, dword [ebp - 0x30]
xor eax, eax
cmp eax, 3
jne 0x10003728
push str.ud.php
push str.uids.php
lea ecx, [ebp - 0x30]
call fcn.1000640f
mov edi, dword [ebp - 0x30]
lea ecx, [edi - 0x10]
call fcn.10008de6
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x38]
push str.time_d
push eax
call fcn.10009717
add esp, 0xc
push esi
mov esi, dword [ebp - 0x38]
push esi
call fcn.1000a3f0
test al, al
je 0x100037aa
call fcn.10001e63
push eax
lea ecx, [ebp - 0x34]
call fcn.10007eec
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 0x10
jb 0x1000377d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x34]
push 0x100a6b28
push eax
call fcn.100096bf
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.1000627e
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
cmp dword [eax - 0xc], 0x6c
je 0x100037d5
call fcn.10001e00
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.10001e00
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 6
jge 0x100037e2
mov esi, dword [ebp - 0x3c]
jmp 0x1000370e
call fcn.10001e00
lea ecx, [esi - 0x10]
call fcn.10001e00
lea ecx, [edi - 0x10]
call fcn.10001e00
lea ecx, [ebx - 0x10]
call fcn.10001e00
mov eax, dword [ebp - 0x3c]
call fcn.1005b348
ret
Function at 0x100042e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x158
mov eax, 0x100809a4
call fcn.1005b38d
lea eax, [ebp - 0x34]
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x2b], 0x6c6c64
mov dword [ebp - 0x2f], 0x2e32336c
mov dword [ebp - 0x33], 0x656e7265
mov byte [ebp - 0x34], 0x4b
mov dword [ebp - 0x1a], 0x747865
mov word [ebp - 0x1d], 0x3233
mov dword [ebp - 0x22], 0x7365636f
mov byte [ebp - 0x1e], 0x73
mov byte [ebp - 0x1b], 0x4e
mov word [ebp - 0x24], 0x7250
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x164], eax
test eax, eax
jne 0x10004355
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10001e00
xor eax, eax
jmp 0x100043d9
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100043c0
push ebx
push 2
mov dword [ebp - 0x160], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100043c0
lea eax, [ebp - 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x100043af
lea eax, [ebp - 0x13c]
push eax
push dword [ebp + 8]
call fcn.10063dcc
pop ecx
pop ecx
test eax, eax
je 0x100043b6
lea eax, [ebp - 0x160]
push eax
push esi
call edi
cmp eax, 1
je 0x10004390
jmp 0x100043b9
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001e00
mov eax, ebx
call fcn.1005b348
ret
Function at 0x10004eda
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x1c]
and dword [ebp - 0x2c], 0
xor edx, edx
push 0x64
mov dword [ebp - 0x20], eax
inc edx
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
push 2
push ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a19b
mov esp, ebp
pop ebp
ret
Function at 0x100051b9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x10080a14
call fcn.1005b359
mov eax, edx
mov dword [ebp - 0x18], eax
mov ebx, ecx
xor ecx, ecx
mov edx, 0x800
inc ecx
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
push ecx
push edx
mov ecx, eax
mov dword [ebp - 0x10], edx
call fcn.10006871
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push ecx
mov ecx, dword [ebp - 0x18]
mov esi, eax
call fcn.10006851
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001e00
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001e00
test esi, esi
sete al
call fcn.1005b333
ret