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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x100054bb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x100054dd
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x100054df
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x1000557e
jg 0x100054fc
test esi, esi
je 0x1000557e
test ecx, ecx
jl 0x10005549
jg 0x10005506
test eax, eax
je 0x10005549
cmp ebx, ecx
jg 0x1000551a
jl 0x10005510
cmp esi, eax
jae 0x1000551a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.1000adb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x10005550
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x1000557e
jg 0x1000555a
test esi, esi
je 0x1000557e
cmp dword [edi + 0x4c], 0
je 0x1000557e
mov ecx, edi
call fcn.100066d0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.1001045b
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100058e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1003106c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10005910
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000959e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000594c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000594c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000959e
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10005a33
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10005974
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100059a7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1000e247
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000959e
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x10005a33
cmp eax, 1
jle 0x10005a06
cmp eax, 3
jne 0x10005a33
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.1000e247
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000959e
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10005a23
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1000ee21
add esp, 0x10
cmp edi, eax
jne 0x10005a33
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10005937
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000959e
mov esp, ebp
pop ebp
ret 4
Function at 0x10006790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1003106c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10006831
cmp byte [esi + 0x3d], 0
je 0x10006831
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100067e7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100067f9
sub eax, 1
je 0x100067fd
sub eax, 2
je 0x10006831
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000959e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000681a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1000ee21
add esp, 0x10
cmp edi, eax
jne 0x100067e7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000959e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1000959e
mov esp, ebp
pop ebp
ret

Function at 0x10013dc5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10013c44
Function at 0x469c44
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0xa0
pushfd
mov dword [0x4abffbb4], eax
loopne 0x469bdf
sti
mov edi, 0x3031e04a
inc ebx
jg 0x469bfb
xor byte [ebx + 0x7f], al
dec ecx
inc ebp
ror ecx, 0x1c
ja 0x469c26
pop es
loopne 0x469bc3
ret 0xf22c
enter 0xffffffffffff9136, 0xffffffffffffffdc
invalid
invalid
sti
daa
and eax, 0x6a31ee79
xor byte [edi + 0x20], dh
aaa
jb 0x469ba4
lodsb al, byte ss:[esi]
lodsb al, byte [esi]
ja 0x469be6
jns 0x469ba9
jnp 0x469bd7
bound esi, qword [esi + esi]
pop ebx
lea ecx, [eax - 0x4bf9774d]
dec esp
mov byte [esi], al
mov ah, 0x4c
hlt
bound esp, qword [eax]
xlatb
daa
fldenv [esi + 0x67623bc2]
xor dh, byte [esi - 0x2d]
push esi
call 0xb9338e70
push edx
lds eax, [eax - 0x2103d963]
movsb byte es:[edi], byte [esi]
mov dword [eax + 0x37], edi
sal byte [ecx + 0x72], cl
mov bl, 0xe3
mov edx, 0xf7347642
jl 0x469bed
scasb al, byte es:[edi]
lodsb al, byte [esi]
xor dword [0xb5d2bcab], 0x23
and eax, dword [0xa2fa151f]
and eax, dword [0xa2fa151f]
nop
mov bl, 0x1d
inc edx
xchg esi, eax
jbe 0x469c12
and eax, 0xcdb77cf7
idiv dword [edi + esi*4 - 0x33]
mov edi, 0x328fb235
xor al, 0x81
std
lcall 0x3c37, 0xde023bce
sal byte [ebx - 0x1c205cd5], 0x2a
jno 0x469c52
push es
and dword [edx - 0x15], 0xffffffbc
out 0x4f, al
std
invalid

Function at 0x47242d
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x9c
jl 0x472432
stc
cmc
aad 0xe1
loope 0x472457
in al, dx
loope 0x472457
in al, dx
or byte [ebx], bh
add byte [edx + 0x26], bh
xor edx, ebx
fisttp dword [ecx]
cmpsb byte [esi], byte es:[edi]
fcomp st(5)
xchg esi, eax
jge 0x472474
mov dword [edx], edx
or bh, byte [ebx]
and ch, byte [esi + 0x51928147]
cmp byte [ecx - 0x48], dh
pop ds
rol byte [eax - 0x148d1d09], 0x2e
sbb eax, dword [ecx + 0x51]
push ecx
inc eax
loopne 0x472425
cwde
sbb al, 0x63
sub byte [0x591fddf2], bl
invalid
insb byte es:[edi], dx
stc
loope 0x472495
aam 0xd
loope 0x4724cb
add eax, edi
and dword [ebp - 0x7685137f], esi
sbb al, 0x1c
test byte [eax], ah
add dword [ebx - 0x3c], edi
test byte [ecx + esi*4], bl
sub byte [edi + 0x2ebf1979], 0x67
in eax, dx
imul edi, dword [ebx - 0x14], 0xffffffa4
stosd dword es:[edi], eax
or dword [edi - 0x454825d3], esp
or dword [edi - 0x454825d3], esp
pop esi
outsd dx, dword [esi]
sbb al, 0x41
test al, 0x2d
mov eax, dword [0x82fb86fa]
xor al, cl
xchg edi, eax
sbb dword [ebp - 0x66], eax
push esp
mov ecx, dword [ecx + 0x2b]
in eax, 0x97
push ecx
test byte [ebx + 0x32], bh
loope 0x47249c
cmp dh, byte [ebp - 0x43]
leave
fiadd word [ebp]
cmp ch, byte [eax + 0x27]
cdq
pop edx
pop ds
xor eax, 0xff28dc18
int 0xdb
xor al, 0xbf
dec eax
invalid

Function at 0x4afc3a
Capabilities:
Encode data using xor

Disassembly:
sti
xchg ebx, eax
or eax, dword [edx + 0x68]
mov cl, 0xde
add al, 0x1f
invalid
Function at 0x4b0325
Capabilities:
Encode data using xor

Disassembly:
cdq
sti
sub ebx, dword [eax]
loopne 0x4b0363
retf
dec ecx
cwde
dec eax
cdq
or al, 0x8c
nop
nop
cdq
out 0xf9, eax
cdq
or byte [ebp - 0x771694e2], bl
or dword [eax + 0x1678596f], 0xc21d5cd1
cmp ah, al
fcmovne st(0), st(1)
adc dword [ecx - 0x1a3f743e], esp
push ss
xor byte [esi + 0x39], 0x6a
mov dl, 0xbf
inc esp
dec dword [esi + 0x45f740c0]
ja 0x4b0375
mov ebx, 0x2932b5db
sub ch, bh
dec ebp
int3

Function at 0x4b6054
Capabilities:
Encode data using xor

Disassembly:
sar dh, 0xc8
in eax, dx
xor dword [edx + ebx*8 - 0x74528c89], eax
outsb dx, byte [esi]
pop es
xchg esp, eax
or byte [ecx], ch
lcall 0xd6af, 0x31143a93
inc ebp
mov ecx, 0x5a6aca16
dec eax
pop ebx
in al, dx
xchg esi, eax
adc al, 0x32
fcmovbe st(0), st(6)
lcall 0xd861, 0xb084a143
inc ebx
mov eax, dword [0xd861b084]
movsd dword es:[edi], dword [esi]
add al, 9
stosd dword es:[edi], eax
leave
movsb byte es:[edi], byte [esi]
jae 0x4b6011
dec edi
loopne 0x4b6075
in al, 0x89
mov dword [0x66203de2], eax
fistp dword [edx + eax]
push ss
inc eax
adc byte [ecx - 0x7df1854a], cl
insd dword es:[edi], dx
outsd dx, dword [esi]
aad 0x67
test dword [ebp + 0x41], esi
or ch, al
pushfd
cmpsd dword [esi], dword es:[edi]
test byte [ebx - 0x2e], dl
loop 0x4b6069
jmp [edi]
das
cwde
sbb dword [0x4b04ad8d], ecx
lodsb al, byte [esi]
sbb dword [ebx], eax
jg 0x4b6037
mov ah, 0xbc
shr byte [ecx + 0x689df492], 1
sub eax, 0xaca58b5b
pop ebx
cwde
mov bl, byte [esi]
lodsb al, byte [esi]
bnd jl 0x4b60b2
movsd dword es:[edi], dword [esi]
invalid
xchg dword [esi + 0x43aa4c86], esp
invalid
Function at 0x4019d0
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_getenv
test eax, eax
je 0x401a00
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
add esp, 0x18
pop ebx
jmp fcn.00401870
add esp, 0x18
pop ebx
ret

Function at 0x401ce0
Capabilities:
Get file attributes

Disassembly:
push esi
mov edx, eax
push ebx
mov ebx, eax
sub esp, 0x14
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x401ce9
mov ecx, eax
mov dword [esp + 4], 0x40e244
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
lea eax, [edx - 4]
cmp ebx, eax
cmovae eax, ebx
mov dword [esp], eax
mov esi, eax
call sub.msvcrt.dll__stricmp
test eax, eax
je 0x401d4b
mov dword [esp + 4], 0x40e249
mov dword [esp], esi
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x401d70
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
test eax, 0x80000010
sete al
movzx eax, al
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 4], 0x40e24e
mov dword [esp], esi
call sub.msvcrt.dll__stricmp
test eax, eax
je 0x401d4b
xor eax, eax
jmp 0x401d62

Function at 0x4024d0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], 1
mov edx, dword [esp + 8]
jmp fcn.00401f90
Function at 0x404740
Capabilities:
Delete file

Disassembly:
push esi
push ebx
sub esp, 0x24
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x40475d
mov edx, dword [ebx + 0x44]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [edx + 0xc]
mov eax, dword [ebx + 0x18]
test eax, eax
jle 0x404771
mov edx, dword [ebx + 0x44]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [edx + 0xc]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x404780
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x40478f
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x404830
mov edx, dword [ebx + 0x14]
test edx, edx
jne 0x404820
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x3c]
test eax, eax
jle 0x4047ff
xor esi, esi
lea esi, [esi]
nop
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + esi*4]
mov dword [esp], eax
call sub.msvcrt.dll_remove
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + esi*4]
add esi, 1
mov dword [esp], eax
call sub.msvcrt.dll_free
cmp dword [ebx + 0x3c], esi
jg 0x4047d0
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40480e
mov dword [esp], ebx
call eax
mov dword [esp + 0x30], ebx
add esp, 0x24
pop ebx
pop esi
jmp sub.msvcrt.dll_free
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_free
jmp 0x4047a1
lea eax, [esp + 0x1c]
and dword [ebx], 0xfffffffe
lea ecx, [esp + 0x18]
mov edx, 1
mov dword [esp], eax
mov eax, ebx
call fcn.00403a60
jmp 0x40479a

Function at 0x404b30
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x4100c8]
test eax, eax
je 0x404b40
ret
push esi
push ebx
sub esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x404b78
mov eax, dword [0x4100c8]
test eax, eax
je 0x404bac
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp], eax
call fcn.004037e0
mov dword [esp], ebx
mov dword [0x4100c8], eax
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
jne 0x404b65
mov eax, dword [0x4100c8]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [0x4100c8], 0
mov dword [esp], 0x40ea00
call fcn.004038b0
mov dword [0x4100c8], eax
jmp 0x404b6e

Function at 0x4050f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0040b8c0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0040b8c0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x405150
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x41043c]
test esi, esi
jle 0x405250
mov eax, dword [0x410440]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x405180
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4051ff
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x405170
mov dword [esp], ebx
call fcn.00405ac0
mov edi, eax
test eax, eax
je 0x405277
mov eax, dword [0x410440]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00405bd0
mov edx, dword [0x410440]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x405257
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4051f8
sub eax, 4
and eax, 0xfffffffb
jne 0x405206
add dword [0x41043c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x410440]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4051f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004050f0
xor esi, esi
jmp 0x40518a
mov eax, dword [0x410440]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004050f0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004050f0
lea esi, [esi]
nop

Function at 0x405730
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x410458
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x410450]
sub esp, 4
test ebx, ebx
je 0x405785
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40577e
test esi, esi
je 0x40577e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x405760
mov dword [esp], 0x410458
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
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 0x403ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret
Function at 0x10246460
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1024664d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1cf000]
push edi
or ebp, 0xffffffff
jmp 0x1024648a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10246491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10246480
mov eax, 1
add ebx, ebx
jne 0x102464a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x102464b4
jne 0x102464d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102464d3
dec eax
add ebx, ebx
jne 0x102464c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10246498
add ebx, ebx
jne 0x102464cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10246525
xor ecx, ecx
sub eax, 3
jb 0x102464eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1024655a
sar eax, 1
mov ebp, eax
jmp 0x102464f6
add ebx, ebx
jne 0x102464f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102464c4
inc ecx
add ebx, ebx
jne 0x10246504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102464c4
add ebx, ebx
jne 0x10246511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10246506
jne 0x10246522
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10246506
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10246544
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10246536
jmp 0x10246486
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10246544
add edi, ecx
jmp 0x10246486
pop esi
mov edi, esi
mov ecx, 0xb4b9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10246562
cmp byte [edi], 0x3a
jne 0x10246562
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10246567
lea edi, [esi + 0x238000]
mov eax, dword [edi]
or eax, eax
je 0x102465df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24bb28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24bc68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10246594
mov ecx, edi
jns 0x102465c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24bc6c]
or eax, eax
je 0x102465d9
mov dword [ebx], eax
add ebx, 4
jmp 0x102465b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10246610
cmp al, 0xef
ja 0x10246603
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x102465e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x102465f2
mov ebp, dword [esi + 0x24bc70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x10246644
sub esp, 0xffffff80
jmp 0x10148d00