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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x437ad8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a084
cmp word [ebx], dx
jne 0x41a084
or byte [eax + edi + 0x28], 4
jmp 0x41a089
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41a1ec
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41a1cc
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41a0ca
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41a100
cmp eax, edx
jae 0x41a10e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41a0a5
jmp 0x41a1ec
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a1c7
cmp dword [ebp - 0x18], 0
je 0x41a1c7
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x437ad8]
test byte [eax + edi + 0x28], 0x48
je 0x41a19d
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41a161
mov word [esi], cx
jmp 0x41a198
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x437ad8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x437ad8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x437ad8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41a1ec
pop eax
cmp word [ebp - 4], ax
jne 0x41a1ad
cmp esi, ebx
jne 0x41a1ad
mov word [esi], ax
jmp 0x41a1e9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041985b
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41a1ec
push 0xd
pop eax
jmp 0x41a1a8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x437ad8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41a1e6
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41a1ec
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41af47
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41af92
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041b0e2
test al, al
jne 0x41af8c
sub edx, 2
cmp edx, edi
jne 0x41af72
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41afb4
lea eax, [edi + 2]
cmp edx, eax
je 0x41afb4
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041ae93
add esp, 0x10
jmp 0x41b0ae
push esi
lea ecx, [ebp - 0x255]
call fcn.0041b0e2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41aff7
push dword [ebp - 0x25c]
jmp 0x41afa4
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41b034
cmp word [ebp - 0x226], 0
je 0x41b055
cmp word [ebp - 0x226], ax
jne 0x41b034
cmp word [ebp - 0x224], 0
je 0x41b055
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041ae93
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41b0a1
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41b00e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41b089
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41b0ae
push 0x41acc3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00422fb0
add esp, 0x10
jmp 0x41b07e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408484
leave
ret

Function at 0x41e672
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00415e2a
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e6e1
cmp esi, dword [ebp - 4]
je 0x41e6dc
cmp dword [ebp + 0xc], 0
je 0x41e6dc
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41e6b9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041e1c4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41e6e3
xor eax, eax
inc eax
jmp 0x41e6e3
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41e748
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00415e2a
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00415e2a
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41e7bf
cmp word [ecx], dx
je 0x41e7bf
mov eax, dword [0x42b68c]
push edi
dec eax
push eax
push 0x42b578
call fcn.0041e6e7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41e832
cmp word [eax], dx
je 0x41e832
mov eax, dword [edi]
test eax, eax
je 0x41e7e3
cmp word [eax], dx
je 0x41e7e3
lea eax, [ebp - 0x10]
push eax
call fcn.0041e0ca
jmp 0x41e7ec
lea eax, [ebp - 0x10]
push eax
call fcn.0041e165
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41e85c
mov eax, dword [0x42b574]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42b268
call fcn.0041e6e7
add esp, 0xc
test al, al
je 0x41e85c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41e827
cmp word [eax], di
je 0x41e827
lea eax, [ebp - 0x10]
push eax
call fcn.0041e0ca
pop ecx
jmp 0x41e85e
lea eax, [ebp - 0x10]
push eax
call fcn.0041e165
jmp 0x41e824
mov eax, dword [edi]
test eax, eax
je 0x41e849
cmp word [eax], dx
je 0x41e849
lea eax, [ebp - 0x10]
push eax
call fcn.0041e07f
pop ecx
jmp 0x41e85c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41e927
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041e56c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41e927
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41e927
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41e927
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41e8b4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041839e
test ebx, ebx
je 0x41e922
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041839e
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e927
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e927
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004236dd
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41e929
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408484
leave
ret
Function at 0x425505
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00425481
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x425674
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x425674
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x425629
jg 0x425561
test eax, eax
je 0x42561f
push 1
push 0x1000
call fcn.00417d67
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x425584
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425616
push 0x8000
push ebx
call fcn.0041240e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4255ad
jg 0x4255a8
cmp ecx, 0x1000
jb 0x4255ad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00419439
add esp, 0x10
cmp eax, 0xffffffff
je 0x4255f2
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 0x4255a8
jl 0x4255d9
test ecx, ecx
jne 0x42559a
push dword [ebp - 0xc]
push ebx
call fcn.0041240e
push esi
call fcn.00415ab2
add esp, 0xc
xor ebx, ebx
jmp 0x425682
cmp byte [edi + 0x24], 0
je 0x425609
cmp dword [edi + 0x20], 5
jne 0x425609
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x425614
mov ebx, dword [edi + 0x18]
jmp 0x425616
xor ebx, ebx
push esi
call fcn.00415ab2
pop ecx
jmp 0x425682
test ecx, ecx
jg 0x4255eb
jl 0x425629
test eax, eax
jae 0x4255eb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041985b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x425649
cmp byte [edi + 0x1c], 0
je 0x4255eb
jmp 0x42567a
push ebx
call fcn.0041c542
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4255eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425682
cmp byte [edi + 0x1c], 0
je 0x42567f
mov ebx, dword [edi + 0x18]
jmp 0x425682
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041985b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425ca0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425ccd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425ccd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1bd8489
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [0x1bd8028]
mov eax, dword [ecx + 0x3c]
push ebx
push esi
push edi
mov edi, dword [0x1bd8024]
add eax, ecx
cmp dword [edi + 0x78], ecx
mov dword [ebp - 0x18], eax
je 0x1bd8596
mov esi, dword [edi + 0x88]
test esi, esi
je 0x1bd8596
add esi, ecx
jmp 0x1bd858a
and dword [ebp - 0x10], 0
lea eax, [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
sub eax, 8
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x1bd8587
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
mov ebx, eax
and ebx, 0xfff
add ebx, dword [esi]
add ebx, ecx
shr eax, 0xc
mov dword [ebp - 0x20], ebx
je 0x1bd856c
cmp eax, 3
jne 0x1bd859e
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, ecx
sub eax, dword [edi + 0x78]
add dword [ebp - 4], eax
cmp dword [ebp - 4], ecx
jb 0x1bd859e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
add eax, ecx
cmp dword [ebp - 4], eax
ja 0x1bd859e
lea eax, [ebp - 8]
push eax
push 0x40
push 4
pop esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cld
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x1bd8028]
mov edi, dword [0x1bd8024]
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
add dword [ebp - 0xc], 2
inc dword [ebp - 0x10]
sub eax, 8
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x10], eax
jl 0x1bd84e1
add esi, dword [esi + 4]
cmp dword [esi], 0
mov dword [ebp - 0x14], esi
jne 0x1bd84c4
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x1bd8599

Function at 0x1bd85a2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x1bd80fc
lea edi, [ebp + 0x50]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp + 0x50]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1bd85c6
sub eax, edx
mov edx, eax
mov eax, dword [0x1bd8024]
add eax, 0x34
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1bd85dc
sub eax, esi
mov ebx, eax
lea eax, [ebp + 0x50]
mov dword [ebp + 0x74], eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], edx
mov esi, dword [ebp + 0x74]
mov edi, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x70]
cld
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x1bd8024]
add eax, 0x34
push ebx
push eax
lea eax, [ebp + edx - 0x14]
push eax
call fcn.01bd841c
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
add ebx, edx
push 0
mov byte [ebp + ebx - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
pop edi
pop esi
pop ebx
je 0x1bd8647
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1bd8647
xor eax, eax
inc eax
jmp 0x1bd8649
xor eax, eax
add ebp, 0x78
leave
ret
Function at 0x7ccea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a3000]
push edi
or ebp, 0xffffffff
jmp 0x7ccec2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7ccec9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7cceb8
mov eax, 1
add ebx, ebx
jne 0x7ccedb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7cceec
jne 0x7ccf0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ccf0b
dec eax
add ebx, ebx
jne 0x7ccef8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7cced0
add ebx, ebx
jne 0x7ccf07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7ccf5d
xor ecx, ecx
sub eax, 3
jb 0x7ccf23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ccf92
sar eax, 1
mov ebp, eax
jmp 0x7ccf2e
add ebx, ebx
jne 0x7ccf2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ccefc
inc ecx
add ebx, ebx
jne 0x7ccf3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ccefc
add ebx, ebx
jne 0x7ccf49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ccf3e
jne 0x7ccf5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ccf3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ccf7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ccf6e
jmp 0x7ccebe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ccf7c
add edi, ecx
jmp 0x7ccebe
pop esi
lea edi, [esi + 0x3ca000]
mov eax, dword [edi]
or eax, eax
je 0x7ccfdb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3cd680]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3cd6e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ccf99
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3cd6ec]
or eax, eax
je 0x7ccfd5
mov dword [ebx], eax
add ebx, 4
jmp 0x7ccfb6
call dword [esi + 0x3cd6e8]
mov ebp, dword [esi + 0x3cd6f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7cd00f
sub esp, 0xffffff80
jmp 0x408159

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
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x40965247
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x583d73a3
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2d680a18
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x727e665e
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x415050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x414f90
sub esp, 0x6c
mov eax, dword [0x69416c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00401343
mov ebx, eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x18], ebx
call fcn.004026e4
add esp, 4
mov edi, 0x4b814e
cmp byte [esp + 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x4c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x5c], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esp + 0x6c], xmm0
mov eax, dword [eax + 0x28]
mov dword [esp + 0x74], eax
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jne 0x415006
mov edi, dword [ebx + 8]
lea eax, [esp + 0x20]
push eax
call fcn.004026e4
mov ecx, edi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415018
sub ecx, edx
push 1
lea ebx, [ecx + 1]
push ebx
call fcn.00403387
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x415122
test ebx, ebx
je 0x415048
push ebx
push edi
push ebp
call fcn.00405759
add esp, 0xc
lea eax, [esp + 0x4c]
mov dword [esi + 8], ebp
push eax
push 0
push str.false
call fcn.004031a2
mov dword [esi + 0x10], eax
lea eax, [esp + 0x58]
push eax
push 0
push str.true
call fcn.004031a2
add esp, 0x18
mov dword [esi + 0x14], eax
cmp byte [esp + 0x84], 0
je 0x4150f5
lea eax, [esp + 0x4c]
mov byte [esp + 0x10], 0x2e
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
push 1
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x24]
movlpd qword [esp + 0x28], xmm0
push eax
call fcn.00403cc9
movzx eax, word [esp + 0x28]
xorps xmm0, xmm0
mov word [esi + 0xc], ax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x28], 0x2c
push eax
push 1
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x38]
movlpd qword [esp + 0x3c], xmm0
push eax
call fcn.00403cc9
movzx eax, word [esp + 0x3c]
add esp, 0x28
jmp 0x415109
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
movzx eax, word [eax]
mov word [esi + 0xc], ax
mov eax, dword [ecx + 0x34]
movzx eax, word [eax]
mov ecx, dword [esp + 0x78]
pop edi
mov word [esi + 0xe], ax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403085
add esp, 0x6c
ret 8
call fcn.004010aa
int3