joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d523b
Capabilities:
Decompress data using aplib

Disassembly:
add dl, dl
jne 0x4b3a68
mov dl, byte [esi]
inc esi
adc dl, dl
nop
adc eax, eax
push esi
pop esi
jne 0x4c1c79
mov byte [edi], al
push ebx
pop ebx
push eax
inc edi
pop eax
mov ebx, 2
jmp 0x4d4ba4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4d416f
jmp 0x4d38e5
add dl, dl
jne 0x4b74ed
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4c5a57
mov eax, 1
add dl, dl
je 0x4c1c84
jmp 0x4c5a42
add dl, dl
mov ebx, ebx
jmp 0x4c212c
jmp 0x4c5a42
mov dl, byte [esi]
inc esi
mov eax, eax
push ecx
pop ecx
adc dl, dl
mov edi, edi
jmp 0x4c5a4c
sub eax, ebx
jmp 0x4be7c5
jmp 0x4d1a44
mov ecx, 1
add dl, dl
je 0x4ba8d7
adc ecx, ecx
jmp 0x4b7a3a
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
jmp 0x4d4ba4
jmp 0x4d4ba4
mov dl, byte [esi]
jmp 0x4c6c07
adc dl, dl
jmp 0x4d1a56
inc esi
adc dl, dl
jmp 0x4b9b62
mov ebx, 1
je 0x4b9d5d
dec eax
shl eax, 8
mov al, byte [esi]
jmp 0x4d1a3c
adc eax, eax
xchg ecx, ecx
jmp 0x4c51a6
pop esi
sub esi, eax
jmp 0x4c8f11
adc dl, dl
jmp 0x4beb37
inc esi
jmp 0x4baaec
mov dl, byte [esi]
inc esi
jmp 0x4c0f89
inc esi
adc dl, dl
jmp 0x4c5a7c
push edi
pop ebx
sub ebx, eax
mov al, byte [ebx]
jmp 0x4b3a72
mov dl, byte [esi]
mov ebx, ebx
jmp 0x4bc643
je 0x4d3bfd
jb 0x4b9d62
push esi
push edi
mov esp, esp
pop esi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4ba8d2
add dl, dl
jne 0x4c51b3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
jmp 0x4b3a5a
adc eax, eax
add dl, dl
je 0x4b9b67
jae 0x4b9b77
jmp 0x4b74f8
xor eax, eax
add dl, dl
jne 0x4c5a6e
mov dl, byte [esi]
xchg eax, eax
push ecx
xchg ebx, ebx
inc esi
nop
pop ecx
adc dl, dl
nop
jae 0x4b3a83
add dl, dl
je 0x4d4179
adc eax, eax
jmp 0x4d0cf4
sub esi, eax
jmp 0x4cf684
inc esi
jmp 0x4cca8e
jne 0x4beb37
jmp 0x4c16d4
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4d4ba4
jmp 0x4c2132
mov dl, byte [esi]
inc esi
adc dl, dl
jmp 0x4d1a4c
mov dl, byte [esi]
jmp 0x4c14cc
adc dl, dl
push ebp
pop ebp
jmp 0x4d3bf8
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
mov esi, esi
push ecx
xchg esp, esp
jmp 0x4d1248
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4d4163
cmp eax, 0x7d00
sbb ecx, 0xffffffff
mov edi, edi
jmp 0x4cea11
push ebp
nop
pop ebp
jmp 0x4c5f85
add dl, dl
jmp 0x4c7648
pop ecx
adc ecx, 0
push esi
push edi
mov ecx, ecx
jmp 0x4c089a
inc esi
push eax
pop ebp
mov ecx, 1
add dl, dl
je 0x4ca0d3
adc ecx, ecx
add dl, dl
je 0x4ca0dd
jae 0x4d050e
jmp 0x4b9d58
adc ecx, 2
push eax
pop ebp
push esi
push edi
pop esi
jmp 0x4d0943
jmp 0x4b9d6a
mov dl, byte [esi]
inc esi
adc dl, dl
jmp 0x4ca0ce
mov ebx, 1
mov ebx, ebx
jmp 0x4d4ba4
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
mov dl, byte [esi]
jmp 0x4c1c71
add dl, dl
jne 0x4d4bb3
mov dl, byte [esi]
inc esi
adc dl, dl
xchg ebx, ebx
jb 0x4b74e0
jmp 0x4d56d2
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
jmp 0x4d56d2
mov al, byte [esi]
jmp 0x4ba0e1
Function at 0x4de220
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4de255
push 0x52a130
push 0xd0
push 0x52a14c
push 0x532db8
call fcn.0050948a
add eax, 0x40
push eax
call fcn.005062f0
push 0x16
call fcn.005148d6
add esp, 0x18
mov dword [esi + 0x28], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x6a09e667
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0x3c6ef372
mov dword [esi + 0x14], 0xa54ff53a
mov dword [esi + 0x18], 0x510e527f
mov dword [esi + 0x1c], 0x9b05688c
mov dword [esi + 0x20], 0x1f83d9ab
mov dword [esi + 0x24], 0x5be0cd19
xor eax, eax
pop esi
ret
Function at 0x4dee80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
test esi, esi
jne 0x4deebd
push 0x532d70
push 0x64b
push 0x532da0
push 0x532db8
call fcn.0050948a
add eax, 0x40
push eax
call fcn.005062f0
add esp, 0x14
push 0x16
call fcn.005148d6
add esp, 4
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4deef4
push 0x532d70
push 0x64c
push 0x532dac
push 0x532db8
call fcn.0050948a
add eax, 0x40
push eax
call fcn.005062f0
add esp, 0x14
push 0x16
call fcn.005148d6
add esp, 4
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x4def2b
push 0x532d70
push 0x64d
push 0x532d90
push 0x532db8
call fcn.0050948a
add eax, 0x40
push eax
call fcn.005062f0
add esp, 0x14
push 0x16
call fcn.005148d6
add esp, 4
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 3]
shl eax, 8
or eax, edx
movzx edx, byte [edi + 4]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 6]
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 5]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 7]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
lea ecx, [esp + 0x10]
lea eax, [ebx + 0x80]
push ecx
mov dword [esp + 0x18], edx
call fcn.004deb50
mov eax, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 1], cl
mov edx, eax
mov byte [esi + 3], al
mov eax, dword [esp + 0x18]
shr edx, 8
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 2], dl
mov byte [esi + 4], cl
add esp, 4
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
pop edi
mov byte [esi + 7], al
mov byte [esi + 5], dl
mov byte [esi + 6], cl
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x4e459d
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
je 0x4e4625
cmp esi, dword [0x53be2c]
je 0x4e4625
push 0x1000
push esi
call dword [0x51e8b0]
test eax, eax
jne 0x4e4625
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4e4625
mov eax, dword [esi + 0x3c]
cmp eax, 0x500
jge 0x4e4625
add esi, eax
cmp dword [esi], 0x4550
jne 0x4e4625
movzx eax, word [esi + 6]
mov ecx, pe_nt_image_headers32
cmp ax, cx
jae 0x4e4625
xor ecx, ecx
xor edi, edi
lea ebx, [esi + 0xf8]
cmp cx, ax
jae 0x4e4625
mov ebp, 0x5256bc
push ebp
call fcn.00501a60
push eax
movzx eax, di
imul eax, eax, 0x28
add eax, ebx
push ebp
push eax
call fcn.00504b2b
add esp, 0x10
test eax, eax
je 0x4e462c
inc edi
cmp di, word [esi + 6]
jb 0x4e4601
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
xor eax, eax
inc eax
jmp 0x4e4627

Function at 0x4e6101
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov ebp, esp
sub esp, 0x100
push ebx
push ecx
push edx
push ebp
push esi
push edi
and dword [ebp - 4], 0
call fcn.004e6027
cmp eax, 0
jne 0x4e611f
jmp 0x4e6140
mov eax, dword fs:[0x30]
add eax, 0x68
mov al, byte [eax]
and al, 0x70
cmp al, 0x70
jne 0x4e6139
mov dword [ebp - 4], 1
jmp 0x4e6140
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebp
pop edx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e6252
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push edx
push ebp
push esi
push edi
and dword [ebp - 4], 0
call fcn.004e6027
cmp eax, 0
jne 0x4e6267
jmp 0x4e6282
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax - 3]
and eax, 6
test eax, eax
je 0x4e6282
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebp
pop edx
pop ecx
pop ebx
mov esp, ebp
pop ebp

Function at 0x4ea615
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ebx
push edi
lea edi, [eax - 2]
test edi, edi
jle 0x4ea648
mov ebx, dword [ebp + 8]
add ebx, dword [ebp + 0xc]
dec ebx
movzx ecx, byte [ebx]
mov ebx, dword [ebp - 4]
add ebx, dword [ebp + 8]
add ecx, dword [ebp - 4]
ror byte [ebx], cl
xor byte [ebx], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x4ea629
lea ecx, [eax - 3]
mov dword [ebp - 4], ecx
test ecx, ecx
jl 0x4ea69f
mov ecx, dword [ebp + 8]
push esi
lea esi, [ecx + eax]
movzx eax, byte [esi - 2]
cdq
idiv edi
mov eax, edx
or eax, dword [ebp - 4]
cdq
idiv edi
lea ebx, [edx + ecx]
mov al, byte [ebx]
mov byte [ebp + 0xf], al
movzx eax, byte [esi - 1]
cdq
idiv edi
mov eax, edx
add eax, dword [ebp - 4]
cdq
idiv edi
mov al, byte [edx + ecx]
mov byte [ebx], al
movzx eax, byte [esi - 1]
cdq
idiv edi
mov eax, edx
add eax, dword [ebp - 4]
cdq
idiv edi
dec dword [ebp - 4]
mov al, byte [ebp + 0xf]
mov byte [edx + ecx], al
jns 0x4ea659
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4ec183
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x14
push 0x534d88
call fcn.005052f0
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ec298
cmp dword [ebp + 0xc], 0
je 0x4ec298
xor ecx, ecx
cmp dword [ebp + 0xc], 0xffff
ja 0x4ec1b0
inc ecx
and dword [ebp - 4], 0
mov eax, dword [esi + 0x3c]
add eax, esi
mov edx, dword [eax + 0x78]
mov dword [ebp + 8], edx
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x20], eax
test edx, edx
je 0x4ec291
test eax, eax
je 0x4ec291
lea edi, [edx + esi]
test ecx, ecx
jne 0x4ec250
mov ebx, dword [edi + 0x20]
add ebx, esi
and dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x18]
jae 0x4ec291
mov eax, dword [ebx]
add eax, esi
push eax
push dword [ebp + 0xc]
call fcn.00505676
pop ecx
pop ecx
test eax, eax
jne 0x4ec248
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx*2]
movzx eax, word [eax + esi]
mov ecx, dword [edi + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + esi]
mov ecx, dword [ebp + 8]
cmp eax, ecx
jb 0x4ec23e
mov edx, dword [ebp - 0x20]
add edx, ecx
cmp eax, edx
jae 0x4ec23e
add eax, esi
push eax
call fcn.004ec0f2
pop ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x4ec29a
cmp dword [ebp + 0x10], 0
je 0x4ec235
add eax, esi
jmp 0x4ec235
inc dword [ebp - 0x1c]
add ebx, 4
jmp 0x4ec1e4
movzx ecx, word [ebp + 0xc]
sub ecx, dword [edi + 0x10]
cmp ecx, dword [edi + 0x14]
jae 0x4ec291
mov edi, dword [edi + 0x1c]
lea ecx, [edi + ecx*4]
mov ecx, dword [ecx + esi]
cmp ecx, edx
jb 0x4ec274
add eax, edx
cmp ecx, eax
jae 0x4ec274
add ecx, esi
push ecx
jmp 0x4ec22f
cmp dword [ebp + 0x10], 0
je 0x4ec27f
lea eax, [ecx + esi]
jmp 0x4ec235
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
jmp 0x4ec29a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.00505335
ret
Function at 0x4f591b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x53aab0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00501a60
xor ebx, ebx
pop ecx
mov byte [ebp - 0x24], 0x48
mov byte [ebp - 0x23], 0x4b
mov byte [ebp - 0x22], 0x50
mov byte [ebp - 0x21], 0x57
mov byte [ebp - 0x20], 0x42
mov byte [ebp - 0x1f], 0x56
mov byte [ebp - 0x1e], 0x54
mov byte [ebp - 0x1d], 0x58
mov byte [ebp - 0x1c], 0x5a
mov byte [ebp - 0x1b], 0x4d
mov byte [ebp - 0x1a], 0x52
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0x4e
mov byte [ebp - 0x17], 0x59
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x4a
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x47
mov byte [ebp - 0x11], 0x51
mov byte [ebp - 0x10], 0x55
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x34
mov byte [ebp - 0xc], 0x35
mov byte [ebp - 0xb], 0x36
mov byte [ebp - 0xa], 0x37
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x39
test eax, eax
jbe 0x4f59e4
mov ecx, esi
sub edi, esi
mov dword [ebp - 0x28], eax
mov al, byte [edi + ecx]
xor edx, edx
xor esi, esi
cmp al, byte [ebp + esi - 0x24]
je 0x4f59d1
inc esi
cmp esi, 0x1d
jb 0x4f59c3
jmp 0x4f59d3
mov edx, esi
neg ebx
lea ebx, [edx + ebx*2]
mov al, bl
add al, 0x30
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x28]
jne 0x4f59bc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503dcd
leave
ret
Function at 0x35c3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.035c378f
jae 0x35c370e
xor ecx, ecx
call fcn.035c378f
jae 0x35c373d
xor eax, eax
call fcn.035c378f
jae 0x35c374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.035c378f
adc al, al
jae 0x35c372f
jne 0x35c3779
stosb byte es:[edi], al
jmp 0x35c3711
call fcn.035c379b
sub ecx, ebx
jne 0x35c3756
call fcn.035c3799
jmp 0x35c3775
lodsb al, byte [esi]
shr eax, 1
je 0x35c3783
adc ecx, ecx
jmp 0x35c3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.035c3799
cmp eax, 0x7d00
jae 0x35c3772
cmp ah, 5
jae 0x35c3773
cmp eax, 0x7f
ja 0x35c3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x35c3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

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 0x10013dc
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001168
call fcn.010015f0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp word [0x1000000], 0x5a4d
jne 0x1001424
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001424
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x100143d
cmp ecx, 0x20b
je 0x100142a
and dword [ebp - 0x60], 0
jmp 0x1001451
cmp dword [eax + 0x84], 0xe
jbe 0x1001424
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x100144b
cmp dword [eax + 0x74], 0xe
jbe 0x1001424
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x60], ecx
and dword [ebp - 4], 0
push 2
pop esi
push esi
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or edi, 0xffffffff
mov dword [0x1002038], edi
mov dword [0x100203c], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002034]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002030]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002040], eax
call fcn.010015ea
cmp dword [0x1002018], 0
jne 0x10014b1
push fcn.010015ea
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010015d8
push 0x1002010
push 0x100200c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100202c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [0x1002028]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x74], eax
push 0x1002008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], 0
jne 0x1001515
mov dword [ebp - 4], edi
mov eax, 0xff
jmp 0x10015c6
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp word [eax], 0x22
jne 0x1001558
add eax, esi
mov dword [ebp - 0x78], eax
mov cx, word [eax]
test cx, cx
je 0x1001533
cmp cx, 0x22
jne 0x1001520
cmp word [eax], 0x22
jne 0x100153e
add eax, esi
mov dword [ebp - 0x78], eax
mov cx, word [eax]
test cx, cx
je 0x100154c
cmp cx, 0x20
jbe 0x1001539
test byte [ebp - 0x30], 1
je 0x1001565
movzx ecx, word [ebp - 0x2c]
jmp 0x1001568
cmp word [eax], 0x20
jbe 0x100153e
add eax, esi
mov dword [ebp - 0x78], eax
jmp 0x1001558
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x1000000
call fcn.010011c4
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x60], 0
jne 0x1001588
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x10015c4
mov eax, esi
call fcn.0100162b
ret
Function at 0x4813700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0481378f
jae 0x481370e
xor ecx, ecx
call fcn.0481378f
jae 0x481373d
xor eax, eax
call fcn.0481378f
jae 0x481374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0481378f
adc al, al
jae 0x481372f
jne 0x4813779
stosb byte es:[edi], al
jmp 0x4813711
call fcn.0481379b
sub ecx, ebx
jne 0x4813756
call fcn.04813799
jmp 0x4813775
lodsb al, byte [esi]
shr eax, 1
je 0x4813783
adc ecx, ecx
jmp 0x4813772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.04813799
cmp eax, 0x7d00
jae 0x4813772
cmp ah, 5
jae 0x4813773
cmp eax, 0x7f
ja 0x4813774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4813711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x5da1114c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push 0x28
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor esi, esi
cmp eax, esi
mov dword [section..data], eax
jne 0x5da11179
xor eax, eax
jmp 0x5da11250
push ebx
push 0x104
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, esi
jne 0x5da111a9
xor eax, eax
jmp 0x5da1124f
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [section..data]
mov dword [ecx + 0x18], eax
mov eax, dword [section..data]
cmp dword [eax + 0x18], esi
je 0x5da11227
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [section..data]
mov dword [ecx + 0x10], eax
mov eax, dword [section..data]
cmp dword [eax + 0x10], esi
je 0x5da11227
lea ecx, [eax + 8]
push ecx
lea ecx, [eax + 0xc]
push ecx
push eax
add eax, 4
push eax
call fcn.5da11a44
test eax, eax
jne 0x5da11227
call sub.DHCPCSVC.DLL_DhcpOpenGlobalEvent
mov ecx, dword [section..data]
mov dword [ecx + 0x14], eax
mov eax, dword [section..data]
cmp dword [eax + 0x14], esi
je 0x5da1124c
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x5da11ad4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x5da11238
call fcn.5da110c2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x5da111a2
mov ecx, dword [section..data]
push eax
mov dword [ecx + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop ebx
pop esi
leave
ret 4
Function at 0x40157d
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x818
push 0x420770
call fcn.00413000
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x429630
mov ecx, 0x42965c
call fcn.0040126a
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x42060c
lea edi, [ebp - 0x28]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00408ec9
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40169e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40169b
push str.RegServer
push esi
call edi
test eax, eax
je 0x40169b
push 4
push str.auto
push esi
call fcn.00413870
add esp, 0xc
test eax, eax
jne 0x401625
mov dword [0x428064], ebx
mov dword [0x428068], 0x420630
jmp 0x401683
push 9
push str.scheduled
push esi
call fcn.00413870
add esp, 0xc
test eax, eax
jne 0x401645
mov dword [0x429654], 1
jmp 0x401683
push 7
push str.pending
push esi
call fcn.00413870
add esp, 0xc
test eax, eax
jne 0x401665
mov dword [0x429658], 1
jmp 0x401683
push 4
push str.test
push esi
call fcn.00413870
add esp, 0xc
test eax, eax
jne 0x401683
lea eax, [esi + 5]
push eax
call fcn.0040edb7
pop ecx
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00408ec9
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x4015df
jmp 0x40169e
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], ebx
je 0x401787
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x401749
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401749
call fcn.0040bc9a
test eax, eax
jne 0x40172b
mov edi, 0x400
push edi
lea eax, [ebp - 0x428]
push eax
push 0x72
push dword [0x4298c0]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x828]
push eax
push 0x75
push dword [0x4298c0]
call esi
push 0x10
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x828]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40177e
push dword [0x428068]
push 0x42066c
push ebx
call fcn.0040caec
add esp, 0xc
call fcn.00401531
mov dword [ebp - 0x1c], eax
jmp 0x40177e
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40177e
cmp dword [0x428064], ebx
jne 0x401765
cmp dword [0x429654], ebx
je 0x40177e
push dword [0x428068]
push 0x420674
push ebx
call fcn.0040caec
add esp, 0xc
call fcn.0040ef7d
or dword [ebp - 4], 0xffffffff
call fcn.004017a4
mov ecx, 0x42965c
call fcn.004014df
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041303b
ret 0x10