joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511ac0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
test eax, eax
push edi
mov edi, ecx
jbe 0x511c05
fldln2
push ebx
push ebp
push esi
fld qword [0x530630]
fyl2x
fldln2
fld qword [0x530648]
fyl2x
fdivp st(1)
call fcn.00514a64
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, 0xfffffffc
sub ecx, eax
lea esi, [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0xc]
add eax, ecx
lea ebp, [edi + 0x14]
mov dword [esi + 8], eax
mov dword [esp + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov ebx, dword [esi]
push edx
mov ecx, edi
call fcn.00511ce0
push eax
lea eax, [ebx + ebx + 1]
imul eax, ebx
push eax
mov ecx, edi
call fcn.00511d10
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00511ce0
lea edx, [ebx + ebx + 1]
push eax
imul edx, ebx
push edx
mov ecx, edi
call fcn.00511d10
mov ebx, eax
mov ecx, edi
push ebx
call fcn.00511ce0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi - 4]
xor eax, ecx
mov ecx, edi
push eax
call fcn.00511d10
mov ecx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esi - 4], eax
call fcn.00511ce0
mov ecx, dword [esi + 4]
push eax
xor ebx, ecx
mov ecx, edi
push ebx
call fcn.00511d10
mov edx, dword [ebp]
add ebp, 8
add eax, edx
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov dword [esi - 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
dec eax
mov dword [esi + 4], edx
mov dword [esp + 0x14], eax
jne 0x511b25
mov eax, dword [edi + 0x90]
mov ebx, dword [esi - 4]
add ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esi - 4], ebx
mov ecx, dword [edi + 0x94]
add edx, ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
add esi, 0x10
add edx, esi
cmp edx, eax
jb 0x511b06
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x511c10
Capabilities:
Encrypt data using rc6

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, eax
mov ecx, eax
mov edx, eax
and ebx, 0x1000
and eax, 1
shr ecx, 0x10
shl edx, 0x10
or ebx, ecx
or edx, eax
shr ebx, 8
shl edx, 8
push edi
or ebx, edx
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
mov ecx, 0x23
mov edx, dword [eax - 4]
add eax, 4
sub edx, 0x61c88647
dec ecx
mov dword [eax - 4], edx
jne 0x511c4b
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x6c
push 3
mov ecx, esi
call fcn.00511ce0
push eax
mov eax, dword [esp + 0x1c]
add eax, ebp
mov ebp, dword [esi + edi*4 + 8]
add eax, ebp
mov ecx, esi
push eax
call fcn.00511d10
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov dword [esi + edi*4 + 8], eax
lea eax, [ecx + ebp]
mov ecx, esi
push eax
mov dword [esp + 0x1c], eax
call fcn.00511ce0
mov edx, dword [esp + 0x18]
push eax
add edx, ebx
mov ecx, esi
push edx
call fcn.00511d10
mov ebx, eax
lea eax, [edi + 1]
xor edx, edx
mov ecx, 0x24
div ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
dec eax
mov dword [esp + 0x10], eax
mov edi, edx
jne 0x511c6d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x511e10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x60
mov ecx, 8
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
lea edi, [esp + 0x10]
push 0x30
push 0x54f37c
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00511d30
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
add esp, 0xc
xor eax, eax
sub esi, ecx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, 0x30
jl 0x511e49
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
lea ecx, [esp + 0x45]
lea esi, [ebp + 2]
movsx eax, byte [ecx - 5]
movsx edx, byte [ecx]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 4]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 3]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 2]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 1]
lea eax, [edx + eax*2]
lea edi, [ebx + eax]
mov eax, dword [edi*4 + 0x54f4bc]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsx eax, al
and eax, 0x80000001
jns 0x511eb5
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi - 2], al
mov eax, dword [edi*4 + 0x54f4bc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsx edx, al
and edx, 0x80000001
jns 0x511ed8
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi - 1], dl
mov eax, dword [edi*4 + 0x54f4bc]
cdq
sub eax, edx
sar eax, 1
movsx eax, al
and eax, 0x80000001
jns 0x511ef6
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi], al
movsx edx, byte [edi*4 + 0x54f4bc]
and edx, 0x80000001
jns 0x511f0d
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi + 1], dl
add ebx, 0x40
add ecx, 6
add esi, 4
cmp ebx, 0x200
jl 0x511e6d
push 0x20
push 0x54f43c
push ebp
call fcn.00511d30
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x511f40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50c
mov ecx, dword [esp + 0x514]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x520]
sub ecx, edi
lea ebp, [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 8
jmp 0x511f70
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + edi]
mov dl, byte [edi]
mov byte [esp + 0x13], cl
mov esi, ebp
lea ecx, [esp + 0x5c]
xor eax, eax
mov byte [esp + 0x12], dl
mov edx, 7
sub esi, ecx
mov bl, byte [esp + 0x13]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
mov byte [esp + ecx + 0x5c], bl
mov bl, byte [esp + 0x12]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
inc eax
dec edx
cmp eax, 8
mov byte [esp + ecx + 0x1c], bl
jl 0x511f8c
mov eax, dword [esp + 0x14]
inc edi
add ebp, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x511f6c
push 0x40
lea edx, [esp + 0x20]
push 0x54ef9c
push edx
call fcn.00511d30
push 0x38
lea eax, [esp + 0x6c]
push str.91__
push eax
call fcn.00511d30
add esp, 0x18
lea ebp, [esp + 0x11c]
mov ebx, 0x54f27c
mov ecx, dword [ebx]
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.00511db0
mov edi, ebp
add ebx, 4
add esp, 8
mov ecx, 0x10
lea esi, [esp + 0x5c]
add ebp, 0x40
cmp ebx, 0x54f2bc
rep movsd dword es:[edi], dword [esi]
jl 0x511ff7
push 0x30
lea eax, [esp + 0x4e0]
push 0x54f2bc
push eax
call fcn.00511d30
mov ecx, 8
lea esi, [esp + 0x28]
lea edi, [esp + 0xe8]
lea edx, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x48]
lea edi, [esp + 0x28]
lea eax, [esp + 0x4e8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa8]
push ecx
push edx
push eax
call fcn.00511e10
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov bl, byte [esp + eax + 0xdc]
xor cl, bl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x512076
lea ebx, [esp + 0x49c]
mov ebp, 0xf
mov ecx, 8
lea esi, [esp + 0x3c]
lea edi, [esp + 0xdc]
push 0x30
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x20]
lea edi, [esp + 0x40]
push 0x54f2bc
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00511d30
lea edx, [esp + 0xa8]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
call fcn.00511e10
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov dl, byte [esp + eax + 0xdc]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x5120e2
sub ebx, 0x40
dec ebp
jne 0x51209c
push 0x40
lea edx, [esp + 0x20]
push 0x54f09c
push edx
call fcn.00511d30
mov eax, dword [esp + 0x534]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00511d70
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret
Function at 0x513290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov al, 0x62
mov edx, dword [esp + 0x24]
mov byte [esp + 5], al
mov byte [esp + 0xd], al
xor eax, eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], eax
mov byte [esp + 4], 0x12
mov dword [esp + 0x1c], eax
mov byte [esp + 5], 0x22
mov dword [esp + 0x20], eax
push eax
lea eax, [esp + 8]
mov byte [esp + 0xa], 0x32
push eax
push 0
push 1
mov byte [esp + 0x17], 0x42
mov byte [esp + 0x18], 0x5a
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x82
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], 0x24
mov byte [esp + 0x1e], 0x3a
mov byte [esp + 0x1f], 0x44
mov byte [esp + 0x20], 0x53
mov byte [esp + 0x22], 0xc4
mov byte [esp + 0x23], 0x84
call fcn.005134e0
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret 4
Function at 0x513b80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x1c], edx
jbe 0x513c8b
push ebx
push edi
lea eax, [esi + 0x32]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x5523a8]
mov ecx, dword [ecx*4 + 0x552ba8]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x5527a8]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x551fa8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x5527a8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x552ba8]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x5523a8]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x551fa8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x5527a8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x552ba8]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x5523a8]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x551fa8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x5527a8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x552ba8]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x5523a8]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x551fa8]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x1c]
cmp edx, ecx
jb 0x513b96
pop edi
pop ebx
pop esi
ret
Function at 0x518f1c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x553720
cmp edx, dword [eax]
je 0x518f3e
add eax, 8
inc ecx
cmp eax, 0x5537b0
jl 0x518f2f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x553720]
jne 0x51906c
mov eax, dword [0x5578e4]
cmp eax, 1
je 0x519046
test eax, eax
jne 0x518f6f
cmp dword [0x5530cc], 1
je 0x519046
cmp edx, 0xfc
je 0x51906c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x518fa6
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00519920
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00515e70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x518fe9
lea eax, [ebp - 0x1a4]
push eax
call fcn.00515e70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x54b7ac
push edi
call fcn.0051bfe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00519920
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00519930
lea eax, [ebp - 0xa0]
push 0x54dff4
push eax
call fcn.00519930
push dword [esi + 0x553724]
lea eax, [ebp - 0xa0]
push eax
call fcn.00519930
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0051bf4c
add esp, 0x2c
pop edi
jmp 0x51906c
lea eax, [ebp + 8]
lea esi, [esi + 0x553724]
push 0
push eax
push dword [esi]
call fcn.00515e70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4b7630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x75000]
push edi
jmp 0x4b764a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b7651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7640
mov eax, 1
add ebx, ebx
jne 0x4b7663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b7674
jne 0x4b7693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7693
dec eax
add ebx, ebx
jne 0x4b7680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b7658
add ebx, ebx
jne 0x4b768f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b76e5
xor ecx, ecx
sub eax, 3
jb 0x4b76ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b771a
sar eax, 1
mov ebp, eax
jmp 0x4b76b6
add ebx, ebx
jne 0x4b76b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7684
inc ecx
add ebx, ebx
jne 0x4b76c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7684
add ebx, ebx
jne 0x4b76d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b76c6
jne 0x4b76e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b76c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b7704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b76f6
jmp 0x4b7646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b7704
add edi, ecx
jmp 0x4b7646
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b7722
cmp byte [edi], 0x13
jne 0x4b7722
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 0x4b7727
lea edi, [esi + 0xb3000]
mov eax, dword [edi]
or eax, eax
je 0x4b779f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbfe24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbff78]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b7754
mov ecx, edi
jns 0x4b7783
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 + 0xbff7c]
or eax, eax
je 0x4b7799
mov dword [ebx], eax
add ebx, 4
jmp 0x4b7771
call dword [esi + 0xbff8c]
mov ebp, dword [esi + 0xbff80]
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 0x4b77d3
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x4011ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x458210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x401214
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00434e30
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x401214
add esi, 0x10
lea eax, [ebp - 0x804]
call fcn.00401248
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00434bcb
leave
ret

Function at 0x401681
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x458210]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
cmp dword [eax + 0x18], 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
jb 0x4016b4
mov eax, dword [eax + 4]
jmp 0x4016b7
add eax, 4
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x448dac
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x401743
cmp dword [ebp - 0x74], ebx
je 0x401743
mov eax, 0x208
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00434e30
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x401704
mov edi, dword [edi + 4]
jmp 0x401707
add edi, 4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x40172c
lea eax, [ebp - 0x70]
call fcn.00401248
cmp dword [ebp - 0x74], ebx
je 0x40173a
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401745
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434bcb
add ebp, 0x19c
leave
ret 4

Function at 0x40175f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, ecx
jb 0x401773
mov eax, dword [eax + 4]
jmp 0x401776
add eax, 4
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x448dac
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4017eb
cmp dword [ebp - 4], ebx
je 0x4017eb
mov eax, dword [esi + 0x14]
add eax, eax
cmp dword [esi + 0x18], 8
jb 0x4017b2
mov esi, dword [esi + 4]
jmp 0x4017b5
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x4017c0
mov ecx, dword [edi + 4]
jmp 0x4017c3
lea ecx, [edi + 4]
push eax
push esi
push 1
push ebx
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], ebx
mov esi, eax
je 0x4017e2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x4017ed
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x402cf3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00434e30
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00434e30
add esp, 0x18
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
jb 0x402d39
mov esi, dword [esi + 4]
jmp 0x402d3c
add esi, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x402d4a
mov eax, dword [eax + 4]
jmp 0x402d4d
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402d79
cmp dword [ebp - 0x14], ebx
je 0x402d75
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x402d7b
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x403bd7
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0x44509b
call fcn.00436cbf
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
jb 0x403bf9
mov eax, dword [eax + 4]
jmp 0x403bfc
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
jne 0x403c11
xor al, al
jmp 0x403c64
xor edi, edi
cmp dword [ebp - 0x30], esi
jle 0x403c50
jmp 0x403c1c
xor esi, esi
mov eax, dword [ebx + edi*4]
lea ecx, [ebp - 0x2c]
call fcn.00401222
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x403c3b
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403cc1
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.004012b6
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x403c1a
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x34]
call fcn.00403cab
test eax, eax
setne al
call fcn.00436d42
ret 4
Function at 0x4060c2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x458210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x4060e3
mov eax, dword [eax + 4]
jmp 0x4060e6
add eax, 4
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x40610d
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434bcb
leave
ret 4

Function at 0x408bb5
Capabilities:
Get graphical window text

Disassembly:
push 0x274
mov eax, 0x445e7b
call fcn.00436cbf
lea eax, [ebp - 0x258]
mov edi, ecx
push 0x5087
push eax
mov dword [ebp - 0x264], edi
call fcn.00402ca2
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
jae 0x408bf8
lea eax, [ebp - 0x254]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [edi + 4]
call esi
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00434e30
add esp, 0xc
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x25c], eax
je 0x408c73
push eax
call ebx
test eax, eax
je 0x408c73
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x408c73
and word [ebp - 0x18], 0
lea esi, [edi + 0x298]
lea eax, [ebp - 0x220]
call fcn.00401248
jmp 0x408c9c
push dword [ebp - 0x25c]
call ebx
test eax, eax
je 0x408c9c
lea eax, [edi + 0x298]
cmp dword [eax + 0x18], 8
jb 0x408c90
mov eax, dword [eax + 4]
jmp 0x408c93
add eax, 4
push eax
push dword [ebp - 0x25c]
call esi
add edi, 0x298
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x25c], edi
call fcn.0042cec1
push 0xffffffffffffffff
push edi
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.00401322
push ebx
push 1
lea esi, [ebp - 0x280]
mov byte [ebp - 4], bl
call fcn.004012b6
push 0x44909c
mov eax, edi
call fcn.0040c230
mov edi, dword [ebp - 0x264]
cmp byte [edi + 0x90], bl
pop ecx
je 0x408dc3
cmp dword [edi + 0x88], ebx
je 0x408dc3
mov eax, dword [ebp - 0x25c]
lea esi, [edi + 0x74]
call fcn.0040bfe0
test eax, eax
je 0x408dc3
lea eax, [edi + 0x324]
lea esi, [ebp - 0x23c]
call fcn.00403d21
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0040c330
push 0x25
push 0x3a
mov edi, esi
call fcn.0040c160
push 0x25
push 0x5c
call fcn.0040c160
mov edi, str.SoftwareHaoZip_SFX
add esp, 0x10
mov eax, edi
lea ecx, [ebp - 0x280]
call fcn.00401222
lea eax, [ebp - 0x280]
call fcn.0040162e
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x280]
mov byte [ebp - 0x25d], al
call fcn.004012b6
cmp byte [ebp - 0x25d], bl
je 0x408db3
mov eax, edi
lea ecx, [ebp - 0x280]
call fcn.00401222
mov ecx, dword [ebp - 0x25c]
lea edi, [ebp - 0x23c]
lea eax, [ebp - 0x280]
call fcn.0040175f
push ebx
push 1
lea esi, [ebp - 0x280]
call fcn.004012b6
push ebx
push 1
lea esi, [ebp - 0x23c]
call fcn.004012b6
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x258]
call fcn.004012b6
call fcn.00436d42
ret