joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4599b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x459a57
cmp dword [ebx + 0x94], 0
jne 0x459a51
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459940
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459a51
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x459a17
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459a51
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417fb0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459a26
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459c70
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x487c98]
cmp dword [eax + 0x30], 0
je 0x459dcd
test bl, bl
jne 0x459d1e
cmp dword [esi + 0x9c], 0
jne 0x459d13
mov eax, esi
call fcn.0045c340
push eax
push 0x459b9c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x459ce4
mov eax, dword [0x487c98]
call fcn.0045c930
test al, al
je 0x459ce4
mov eax, dword [0x487cbc]
call fcn.00405c54
mov edi, eax
cmp edi, 0
jl 0x459ce4
push 0
mov eax, dword [0x487cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x459cce
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x459d13
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417fb0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x459cf3
inc dword [esi + 0x9c]
jmp 0x459dcd
cmp dword [esi + 0x9c], 0
jle 0x459dcd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x459dcd
cmp dword [esi + 0x44], 0
je 0x459d79
mov eax, dword [0x487c98]
call fcn.0045c930
test al, al
je 0x459d79
mov eax, dword [0x487cbc]
call fcn.00405c54
mov edi, eax
cmp edi, 0
jl 0x459d79
push 5
mov eax, dword [0x487cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x459d63
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x459da8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417fb0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x459d88
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x487cbc
mov ecx, 1
mov edx, dword [0x459b7c]
call fcn.00405e08
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45a8b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45a91e
mov eax, ebx
call fcn.0045c930
test al, al
jne 0x45a91e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a4c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45a90b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45a92b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b0
jmp 0x45a92b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45bb44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bbb2
mov eax, esi
call fcn.00444c1c
test al, al
je 0x45bbb2
mov eax, dword [ebx + 0x84]
call fcn.00444920
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bbb2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45bba6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444920
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043c9c4
jmp 0x45bbb2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045b980
pop esi
pop ebx
ret
Function at 0x45e384
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x45e415
movzx ebx, byte [ebx + 0x47f890]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x47f790]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x47f790]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x47f890]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x45e46f
movzx ebx, byte [ebx + 0x47f890]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x47f890]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x47f790]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x47f790]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x47f790]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x47f790]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x487cd0]
movzx ecx, byte [ecx + 0x47f890]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x47f790]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x4880d0]
movzx eax, byte [eax + 0x47f790]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x47f890]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x4884d0]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x47f890]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x47f890]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x4888d0]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x45e52c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
movzx ecx, cl
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jb 0x45e539
pop esi
pop ebx
ret
Function at 0x45f2e8
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x47f790
mov ebx, 0x487cd0
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.0045e26c
mov dword [esp + 8], eax
mov eax, edi
call fcn.0045e27c
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.0045e26c
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0045e27c
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x45f301
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4621b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4621eb
movzx eax, byte [ebx]
mov edx, dword [0x47f9c0]
cmp al, byte [edx]
jne 0x4621eb
cmp dword [ebp + 8], 0x38
je 0x4621f5
mov eax, 0xfffffffa
jmp 0x4623bb
lea eax, [esi + 0x18]
call fcn.0040495c
cmp dword [esi + 0x20], 0
jne 0x46220f
mov dword [esi + 0x20], 0x4620c8
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x46221c
mov dword [esi + 0x24], 0x4620c0
cmp dword [ebp - 4], 0xffffffff
jne 0x462229
mov dword [ebp - 4], 6
test edi, edi
jge 0x462236
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x46226a
cmp dword [ebp + 0x14], 9
jg 0x46226a
cmp dword [ebp - 8], 8
jne 0x46226a
cmp edi, 8
jl 0x46226a
cmp edi, 0xf
jg 0x46226a
cmp dword [ebp - 4], 0
jl 0x46226a
cmp dword [ebp - 4], 9
jg 0x46226a
cmp dword [ebp + 0x10], 0
jl 0x46226a
cmp dword [ebp + 0x10], 2
jle 0x462274
mov eax, 0xfffffffe
jmp 0x4623bb
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.004620d4
mov ebx, eax
test ebx, ebx
jne 0x462295
mov eax, 0xfffffffc
jmp 0x4623bb
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004620d4
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004620d4
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.004620d4
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.004620d4
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x462360
cmp dword [ebx + 0x38], 0
je 0x462360
cmp dword [ebx + 0x3c], 0
je 0x462360
cmp dword [ebx + 8], 0
jne 0x46237b
lea eax, [esi + 0x18]
mov edx, 0x47fa48
call fcn.00404bc0
mov eax, esi
call fcn.00462768
mov eax, 0xfffffffc
jmp 0x4623bb
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.004623ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x462a6c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x462a95
cmp dword [ebx + 0x64], 0
jne 0x462a95
cmp dword [ebx + 0x6c], 0
jne 0x462a95
mov esi, edi
jmp 0x462b21
cmp esi, 0xffffffff
jne 0x462aa0
dec esi
jmp 0x462b21
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x462b21
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.004620b0
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x462ae9
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x462aee
mov word [edx], 0
dec eax
test eax, eax
jne 0x462acf
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x462b15
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x462b1a
mov word [edx], 0
dec eax
test eax, eax
jne 0x462afb
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x462b7f
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004627e4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x462b6a
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x462b7f
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x462a75
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x467560
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x489f3c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x467582
shr eax, 1
xor eax, 0xedb88320
jmp 0x467584
shr eax, 1
dec edx
jne 0x467570
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x467569
mov byte [0x48a33c], 1
pop esi
pop ebx
ret

Function at 0x4675a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x48a33c], 0
jne 0x4675b7
call fcn.00467560
mov eax, edi
dec eax
test eax, eax
jl 0x4675df
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x489f3c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4675c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x469a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x469aea.0
jmp dword [ecx*4 + 0x469a83]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x469ab5
sub dl, 8
je 0x469ac4
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4696fc
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469754
jmp case.0x469aea.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x469aea.0
movzx ecx, byte [ecx + 0x469af1]
jmp dword [ecx*4 + 0x469b02]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469800
jmp case.0x469aea.0
cmp dl, 3
jne 0x469b2f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469854
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469810
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469898
jmp case.0x469aea.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x469b5a
sub dl, 8
je 0x469b66
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4698c4
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469930
jmp case.0x469aea.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x469b85
sub dl, 8
je 0x469b91
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4699ec
jmp case.0x469aea.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469a14
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x469c35
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00468c90
test eax, eax
je 0x469c35
mov eax, ebx
call fcn.00469c40
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x469bce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x469c71
dec al
je 0x469cac
dec al
je 0x469cf1
dec al
je 0x469d5a
jmp 0x469de4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x469de4
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x469c81
jmp 0x469de4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x469de4
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x469cbc
jmp 0x469de4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x469de4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x469d20
xor ebp, ebp
jmp 0x469d30
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x469d39
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x469d01
jmp 0x469de4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x469de4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x469db3
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004675e8
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x469d6e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4701e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x470251
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4809e4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x47023b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004701d8
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46ffd4]
call fcn.00470278
mov dword [0x480a48], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470258
lea eax, [ebp - 8]
call fcn.004064f8
ret

Function at 0x478140
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403420
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x402f59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc4
mov eax, 0x47cef6
call fcn.0046033f
xor esi, esi
mov dword [ebp - 4], esi
push 0xf
pop edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.0040169a
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], edi
call fcn.0040169a
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00402187
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x14], 0x10
mov edi, eax
mov eax, dword [ebp - 0x28]
jae 0x402fcf
lea eax, [ebp - 0x28]
push 1
push 0x40
push 0x20
push eax
lea ecx, [ebp - 0xd0]
call fcn.00402de9
push edi
push ebx
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00402eb3
lea ecx, [ebp - 0xd0]
call fcn.00402bab
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00402c9d
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.0040190a
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040190a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401240
call fcn.004603c2
ret

Function at 0x403d69
Capabilities:
Encode data using xor

Disassembly:
push 0x48
mov eax, 0x47cfc7
call fcn.0046033f
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
lea eax, [ebp + 0xc]
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403bb2
pop ecx
pop ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004036e3
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x18], edi
jbe 0x403dd3
push edi
lea ecx, [ebp - 0x2c]
call fcn.004033db
mov cl, byte [0x4ae29d]
xor byte [eax], cl
push edi
lea ecx, [ebp - 0x2c]
call fcn.004033db
movzx eax, byte [eax]
push eax
mov ecx, esi
call fcn.004037aa
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x403da8
push dword [esi]
lea ecx, [ebp - 0x48]
call fcn.004023de
mov edi, dword [ebp + 0x28]
dec edi
mov byte [ebp - 4], 3
test edi, edi
jle 0x403e25
push dword [ebp + 0x2c]
lea eax, [ebp - 0x48]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.00401f9a
lea eax, [ebp - 0x4c]
push eax
call fcn.00403d69
add esp, 0x28
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004039fe
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401240
inc edi
cmp dword [ebp + 0x2c], edi
jne 0x403e56
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp + 0x2c]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004038b8
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004039fe
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401240
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040190a
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040190a
push 0
push ebx
lea ecx, [ebp + 0xc]
call fcn.0040190a
mov eax, esi
call fcn.004603c2
ret