joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40188f
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
xor esi, esi
mov edi, esi
mov edi, 0xfffffffb
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x10e], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xa]
push eax
push 1
push 1
lea eax, [ebp - 0x10e]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
lea eax, [ebp - 0xa]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
movsx eax, byte [ebp - 0xa]
sub eax, 0x41
pop edi
pop esi
leave
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0xcda0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00cda200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcda0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcda0c2
add dl, dl
jne 0xcda0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcda134
xor eax, eax
add dl, dl
jne 0xcda0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcda1d5
add dl, dl
jne 0xcda0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcda12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcda0cd
mov eax, 1
add dl, dl
jne 0xcda142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcda139
sub eax, ebx
mov ebx, 1
jne 0xcda180
mov ecx, 1
add dl, dl
jne 0xcda166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcda171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcda15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcda0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcda197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcda1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcda18e
cmp eax, 0x7d00
jae 0xcda1c5
cmp eax, 0x500
jb 0xcda1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcda0cd
cmp eax, 0x7f
ja 0xcda1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcda0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcda1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcda0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x414dd9
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], edx
mov ebx, 0xe0f4a883
add edi, 4
add esi, ebx
or ecx, ebx
add ebx, 0x4d6f1df0
cmp edi, eax
jne fcn.00414dd9
mov ecx, 0x4166fb9
add ebx, 0x65f140f
ret
Function at 0x412eb4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427ff5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4362ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x50], ebx
push 0x42efc0
lea ecx, [esp + 0x10]
call fcn.00408720
call fcn.00412689
push eax
lea edi, [esp + 0x1c]
call fcn.00408228
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 1
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42d240
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42efe0
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 1
lea edi, [esp + 0x1c]
call fcn.00408228
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 2
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42eff0
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42eff8
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42effc
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
mov dword [esp + 0x1c], str.InstallDataRoot
mov dword [esp + 0x30], ebx
mov byte [esp + 0x50], 3
mov dword [esp + 0x34], ebx
mov byte [esp + 0x50], 4
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x2c], ebx
call fcn.00412ac6
mov byte [esp + 0x50], 5
push dword [esp + 0xc]
lea ecx, [esp + 0x20]
call fcn.00412396
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x1c]
call fcn.00412354
mov byte [esp + 0x50], 1
cmp dword [esp + 0x10], ebx
je 0x412ffb
lea ecx, [esp + 0x10]
call fcn.004088a7
mov byte [esp + 0x50], bl
cmp dword [esp + 0x14], ebx
je 0x41300e
lea ecx, [esp + 0x14]
call fcn.004088a7
or dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0xc], ebx
je 0x413022
lea ecx, [esp + 0xc]
call fcn.004088a7
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x805f70
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805f76
pop ebp
sub ebp, 6
sub ebp, 0x405f70
jmp 0x805fd4
jmp 0x805fdd
mov eax, 0x405f70
add eax, ebp
add eax, 0x93
mov ecx, 0x62c
mov edx, 0x96762c1d
xor byte [eax], dl
inc eax
dec ecx
jne 0x805ff4
jmp 0x806007
ja 0x806066
jne 0x806028
or eax, 0x1d751d1d
sal dword [ecx], 1
sbb eax, 0x6923ed9c
fsub dword [esi + 0x6923ed9c]
fsub dword [esi - 0x1db222d2]
mov byte [0x4d1d2bcc], bl
dec ebp
xchg esi, eax
rcl byte [esi + 0x1d1d2194]
sbb eax, 0x1de5dc9c
sbb eax, 0xdc9c1d1d
in eax, 0x1d
sbb eax, 0xa5d01e1d
sbb ebx, dword [0x35a71d1d]
sbb eax, 0xffea1d1d
push ds
aad 0x96
pushfd
adc dword [0xd81e1d1d], ebx
dec ebp
jne 0x80602e
sub dl, byte [ebx + 0x2a3ab175]
sbb eax, 0x7539311c
sbb eax, 0xf51d1d1d
sbb byte [0x37f41d1d], bl
sbb eax, 0x90481d1d
jno 0x8060a9
sbb eax, 0x1d1d37f4
sbb eax, 0x39719048
sbb eax, 0x1d159896
sbb eax, 0x1188961d
sbb eax, 0x90961d1d
or eax, 0xdc1d1d1d
hlt
cmp dword [ebp + esi*8 + 0x18], ecx
sbb eax, 0x22f41d1d
pop ds
sbb eax, 0x4049481d
loop 0x806122
adc edx, esp
push 0x1d6ff515
sbb eax, 0x15a0961d
sbb eax, 0xec9c1d1d
add al, 0x5d
sbb byte [ecx], ah
pushfd
in al, dx
add al, 0x5d
sbb byte [ecx], ah
aam 0x2e
iretd
pop es
sbb eax, 0xe69d1d1d
hlt
sbb al, 0x9e
fcomp qword [eax]
sahf
cmc
sbb esp, esi
mov al, byte [0x34e2e2e2]
dec ecx
and al, 0x1f
pop ds
sahf
fcomp qword [ebx]
sahf
neg dword [ecx]
sahf
cmc
sbb ah, dh
mov dh, 0xe2
loop 0x806113
inc eax
fist word [ecx]
sbb eax, 0x4bf19648
dec edx
dec eax
xchg esi, eax
push 0x15609611
loope 0x8060f2
popfd
xchg edi, eax
sbb ebx, dword [ebx + ebx*8 + 0x1d1d1d1c]
xchg ebp, eax
sbb bl, byte [edx + ebx*8 + 0x1d1d1d1c]
cmpsb byte [esi], byte es:[edi]
pop ds
sbb eax, 0xcf1f1d1d
adc bl, byte [eax + 0x1d1d1d18]
xchg edi, eax
or ebx, dword [ebx + 0xf]
iretd
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
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 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
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 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
fimul word [esi - reloc.ole32.dll_CoInitializeSecurity]
mov dh, 0x34
mov eax, dword [esi]
mov edi, 0xd74499a5
pop ds
jge 0x4153e1
invalid
invalid
Function at 0x10001050
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.10001bd0
mov byte [esi], 0x80
pop esi
ret
Function at 0x10003780
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10003797
pop ebx
ret
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
lea ecx, [ebx + 0x723]
push eax
push ecx
call fcn.100026c0
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push str.wincfg.ini
push ebx
lea edx, [ebx + 0x105]
push str._s_s
push edx
call ebp
push str.spi.ini
push ebx
lea eax, [ebx + 0x20a]
push str._s_s
push eax
call ebp
push str.Winspool.dll
push str.ntext
push ebx
lea ecx, [ebx + 0x414]
push str._s_s_s
push ecx
call ebp
mov edi, str.http:__str.cnt123.cn_str.php
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x923]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._sl_id
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [eax + 0x12]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebx + 0x923]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
add ebx, 0x519
push str._sct
push ebx
rep movsb byte es:[edi], byte [esi]
call ebp
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10004e10
Capabilities:
Get file version info
Read .ini file

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x24]
push esi
push eax
push edi
push 0x100121e0
push ecx
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x10004e4a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov edx, dword [esp + 0x20]
push esi
push 0
push edx
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, eax
test ebp, ebp
jne 0x10004e6a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov ebx, dword [esp + 0x18]
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x10004e83
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
push esi
call fcn.10006337
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10004eac
push edi
call fcn.1000624e
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.StringFileInfo080404b0FileVersion
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10004ed5
push edi
call fcn.1000624e
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x14]
push 0x1000f3ec
push edx
call fcn.100061aa
add esp, 8
test eax, eax
jne 0x10004ef2
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push eax
call fcn.10005b99
add esp, 4
cmp ebp, eax
seta al
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100050c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x100
lea ecx, [esp]
push esi
mov esi, dword [esp + 0x10c]
push 0x100
mov eax, dword [esi]
push eax
push ecx
call fcn.10005a10
mov edx, dword [esi]
push 0x100
lea eax, [esp + 0x14]
push edx
push eax
call fcn.10006471
add esp, 0x18
lea ecx, [esp + 4]
push 0x100051a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
test eax, eax
mov dword [0x100126a0], eax
pop esi
je 0x10005138
push 1
push 0
push 2
call fcn.10005150
push 0
push 0
push 4
call fcn.10005150
add esp, 0x18
push str.tmp.dll
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.10003ea0
add esp, 0x100
ret 8
Function at 0x10005390
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d1d0
push 0x100066b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 0x12c], ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100053f7
mov eax, 0xfffffcdd
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], edi
mov ebx, dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push edi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10005473
push ebx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.100054a0
mov esi, eax
mov dword [ebp - 0x124], esi
test esi, esi
je 0x1000546a
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call fcn.100060fe
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edi
mov dword [ebp - 0x128], edi
jmp 0x10005409
mov dword [ebp - 4], 0xffffffff
call fcn.10005494
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d1f0
push 0x100066b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000580d
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005801
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 0x1c]
jne 0x10005801
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.100060fe
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 4], 0xffffffff
call fcn.10005822
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x10005830
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10005860
xor eax, eax
ret 0x18
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 8]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10005895
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
ret 0x18
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret 0x18
Function at 0x100058b0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d200
push 0x100066b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000596b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000596b
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10005910
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp - 0x1c]
push edx
push 0xf003f
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000596b
mov dword [ebp - 4], eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1000595f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call fcn.100060fe
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
call fcn.10005980
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10005c5f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10005c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100078ac
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x10005ca2
test byte [esp + 8], 2
je 0x10005ca2
call fcn.1000791f
mov dword [eax], 0xd
call fcn.10007928
mov dword [eax], 5
jmp 0x10005c7b
xor eax, eax
ret