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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x456f87
cmp dword [ebx + 0x94], 0
jne 0x456f81
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456e70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456f81
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 0x456f47
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456f81
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 0x456f56
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4571a0
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 0x4572fd
test bl, bl
jne 0x45724e
cmp dword [esi + 0x9c], 0
jne 0x457243
mov eax, esi
call fcn.00459870
push eax
push 0x4570cc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x457214
mov eax, dword [0x487c98]
call fcn.00459e60
test al, al
je 0x457214
mov eax, dword [0x487cbc]
call fcn.00405c54
mov edi, eax
cmp edi, 0
jl 0x457214
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 0x4571fe
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x457243
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 0x457223
inc dword [esi + 0x9c]
jmp 0x4572fd
cmp dword [esi + 0x9c], 0
jle 0x4572fd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4572fd
cmp dword [esi + 0x44], 0
je 0x4572a9
mov eax, dword [0x487c98]
call fcn.00459e60
test al, al
je 0x4572a9
mov eax, dword [0x487cbc]
call fcn.00405c54
mov edi, eax
cmp edi, 0
jl 0x4572a9
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 0x457293
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4572d8
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 0x4572b8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x487cbc
mov ecx, 1
mov edx, dword [0x4570ac]
call fcn.00405e08
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x457de4
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 0x457e4e
mov eax, ebx
call fcn.00459e60
test al, al
jne 0x457e4e
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 0x457e3b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x457e5b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b0
jmp 0x457e5b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x459074
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4590e2
mov eax, esi
call fcn.0044214c
test al, al
je 0x4590e2
mov eax, dword [ebx + 0x84]
call fcn.00441e50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4590e2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4590d6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441e50
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00439ef4
jmp 0x4590e2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00458eb0
pop esi
pop ebx
ret

Function at 0x45bf04
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, 0x47f768
mov ebx, 0x487cd0
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.0045ae88
mov dword [esp + 8], eax
mov eax, edi
call fcn.0045ae98
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.0045ae88
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0045ae98
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 0x45bf1d
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4621c4
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 0x4621f7
movzx eax, byte [ebx]
mov edx, dword [0x47f9c0]
cmp al, byte [edx]
jne 0x4621f7
cmp dword [ebp + 8], 0x38
je 0x462201
mov eax, 0xfffffffa
jmp 0x4623c7
lea eax, [esi + 0x18]
call fcn.0040495c
cmp dword [esi + 0x20], 0
jne 0x46221b
mov dword [esi + 0x20], 0x4620d4
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x462228
mov dword [esi + 0x24], 0x4620cc
cmp dword [ebp - 4], 0xffffffff
jne 0x462235
mov dword [ebp - 4], 6
test edi, edi
jge 0x462242
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x462276
cmp dword [ebp + 0x14], 9
jg 0x462276
cmp dword [ebp - 8], 8
jne 0x462276
cmp edi, 8
jl 0x462276
cmp edi, 0xf
jg 0x462276
cmp dword [ebp - 4], 0
jl 0x462276
cmp dword [ebp - 4], 9
jg 0x462276
cmp dword [ebp + 0x10], 0
jl 0x462276
cmp dword [ebp + 0x10], 2
jle 0x462280
mov eax, 0xfffffffe
jmp 0x4623c7
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.004620e0
mov ebx, eax
test ebx, ebx
jne 0x4622a1
mov eax, 0xfffffffc
jmp 0x4623c7
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.004620e0
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004620e0
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.004620e0
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.004620e0
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 0x46236c
cmp dword [ebx + 0x38], 0
je 0x46236c
cmp dword [ebx + 0x3c], 0
je 0x46236c
cmp dword [ebx + 8], 0
jne 0x462387
lea eax, [esi + 0x18]
mov edx, 0x47fa48
call fcn.00404bc0
mov eax, esi
call fcn.00462774
mov eax, 0xfffffffc
jmp 0x4623c7
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.004623f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x462a78
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 0x462aa1
cmp dword [ebx + 0x64], 0
jne 0x462aa1
cmp dword [ebx + 0x6c], 0
jne 0x462aa1
mov esi, edi
jmp 0x462b2d
cmp esi, 0xffffffff
jne 0x462aac
dec esi
jmp 0x462b2d
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x462b2d
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.004620bc
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 0x462af5
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x462afa
mov word [edx], 0
dec eax
test eax, eax
jne 0x462adb
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 0x462b21
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x462b26
mov word [edx], 0
dec eax
test eax, eax
jne 0x462b07
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x462b8b
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004627f0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x462b76
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 0x462b8b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x462a81
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x46756c
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 0x46758e
shr eax, 1
xor eax, 0xedb88320
jmp 0x467590
shr eax, 1
dec edx
jne 0x46757c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x467575
mov byte [0x48a33c], 1
pop esi
pop ebx
ret

Function at 0x4675ac
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 0x4675c3
call fcn.0046756c
mov eax, edi
dec eax
test eax, eax
jl 0x4675eb
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 0x4675cd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x469a5c
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.0x469af6.0
jmp dword [ecx*4 + 0x469a8f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x469ac1
sub dl, 8
je 0x469ad0
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469708
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469760
jmp case.0x469af6.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x469af6.0
movzx ecx, byte [ecx + 0x469afd]
jmp dword [ecx*4 + 0x469b0e]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46980c
jmp case.0x469af6.0
cmp dl, 3
jne 0x469b3b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469860
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46981c
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4698a4
jmp case.0x469af6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x469b66
sub dl, 8
je 0x469b72
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4698d0
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x46993c
jmp case.0x469af6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x469b91
sub dl, 8
je 0x469b9d
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4699f8
jmp case.0x469af6.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x469a20
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 0x469c41
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.00468c9c
test eax, eax
je 0x469c41
mov eax, ebx
call fcn.00469c4c
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 0x469bda
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469c4c
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 0x469c7d
dec al
je 0x469cb8
dec al
je 0x469cfd
dec al
je 0x469d66
jmp 0x469df0
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x469df0
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 0x469c8d
jmp 0x469df0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x469df0
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 0x469cc8
jmp 0x469df0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x469df0
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 0x469d2c
xor ebp, ebp
jmp 0x469d3c
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 0x469d45
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 0x469d0d
jmp 0x469df0
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x469df0
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 0x469dbf
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.004675f4
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 0x469d7a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4701f4
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 0x47025d
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 0x470247
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004701e4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46ffe0]
call fcn.00470284
mov dword [0x480a48], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470264
lea eax, [ebp - 8]
call fcn.004064f8
ret

Function at 0x47814c
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 0x40cad8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
movzx eax, byte [ebp + 8]
test eax, eax
sete byte [ebp - 5]
mov al, byte [ebp - 5]
test al, al
jne 0x40cb9d
movzx eax, byte [ebp + 8]
add eax, 0x40
mov byte [0x40f1cc], al
lea eax, [ebp - 0x210]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
lea eax, [0x40f1cc]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
test eax, eax
jne 0x40cb9d
call sub.kernel32.dll_GetLastError
and eax, 0xffff
mov dword [0x410390], eax
call fcn.00409288
mov eax, dword [ebp + 0xc]
movzx edx, byte [ebp + 8]
add edx, 0x40
mov edi, edx
shl edi, 8
or edi, 1
mov word [ebp - 0x310], di
lea edi, [ebp - 0x410]
push edi
lea edi, [ebp - 0x310]
push edi
push 0xff
call fcn.00402dc8
push eax
lea edi, [ebp - 0x410]
push edi
push 0x40f35e
call fcn.00402e08
mov eax, dword [esp]
lea edi, [ebp - 0x410]
push edi
push dword [ebp + 0x10]
call fcn.00402dc8
lea eax, [ebp - 0x210]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
jmp 0x40cc16
lea eax, [ebp - 0x10c]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov al, byte [ebp - 5]
test al, al
jne 0x40cbc1
lea eax, [ebp - 0x210]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x310]
push edi
call fcn.00402eb8
mov eax, dword [esp]
lea edi, [ebp - 0x310]
push edi
push dword [ebp + 0x10]
call fcn.00402dc8
mov al, byte [0x40f0ec]
test al, al
jne 0x40cc16
mov eax, dword [ebp + 0xc]
push eax
push eax
lea edi, [ebp - 0x310]
push edi
call fcn.00404cd8
mov eax, dword [esp]
lea edi, [ebp - 0x310]
push edi
push dword [ebp + 0x10]
call fcn.00402dc8
leave
ret 0xc
Function at 0xf4a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x11b010]
push edi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x4b90318
nop
push eax
call 0x77055da0
nop
mov ebx, eax
push 0x1249e8
mov dword [ebp - 4], ebx
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
mov byte [ebx + edi], 0
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0xf4b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x765397f0
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x1249e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0xf4b06
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
push 0x1249e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x4b9031e
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xf6ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0xf6f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
nop
call 0x76538cf0
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0xf6fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xf6fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0xf6f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
nop
call 0x76538cf0
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0xf6fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0xf6fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0xf6fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.003290f4]
push eax
call dword [fcn.00329088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0xf6f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.000f7590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x5faaf0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x3290e0]
test esi, esi
jne 0x5fab08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x5fab01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x5fab01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x5fab6a
jmp 0x5fab50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x328bf0]
add eax, esi
call fcn.005f8610
test eax, eax
je 0x5fab73
inc edi
cmp edi, dword [ebp - 4]
jb 0x5fab50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret