joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ab0
Capabilities:
Read .ini file

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
test eax, eax
mov dword [esp + 0x10], ebx
je 0x410b5e
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x410b5e
push 0x201
mov esi, 0x200
call fcn.00447ad7
mov edi, eax
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x410af4
mov eax, 0x483d7c
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push 0x200
push edi
push eax
push ebp
push edx
call ebx
inc eax
cmp eax, 0x200
jb 0x410b54
push edi
add esi, 0x200
call fcn.00447b00
lea eax, [esi + 1]
push eax
call fcn.00447ad7
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x410b3c
mov eax, 0x483d7c
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push edx
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
push ebp
push eax
call ebx
inc eax
cmp eax, esi
jae 0x410b15
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x410b7d
push 1
call fcn.00447ad7
add esp, 4
mov edx, eax
pop edi
pop esi
pop ebp
mov byte [edx], 0
pop ebx
pop ecx
ret 0xc
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00447ad7
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x411da0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push 4
push ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
sete cl
mov dword [esi + 0xc], 4
mov dword [esi + 8], 4
mov eax, ecx
pop esi
ret 8

Function at 0x411e20
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 4], edx
repne scasb al, byte es:[edi]
not ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 8], 1
test edx, edx
pop edi
pop esi
sete al
pop ebx
ret 8
Function at 0x412870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
test eax, eax
jne 0x4128c9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [edx], eax
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x4128e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.0042afb0
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x1014]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
test eax, eax
jne 0x41294d
mov ecx, dword [esp + 0x1010]
lea edx, [esp + 8]
push edx
call fcn.00447f25
mov eax, 1
add esp, 0x1008
ret 8
xor eax, eax
add esp, 0x1008
ret 8

Function at 0x4133b0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
push eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
xor edx, edx
cmp eax, ecx
mov dword [esi + 4], eax
sete dl
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov eax, edx
pop esi
ret 8

Function at 0x4133e0
Capabilities:
Access peb ldr_data
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x461cab
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.0042afb0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x1024]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x30], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [esp + 0x14]
mov edi, eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00447e0a
mov ecx, dword [esp + 0x1028]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1020], ebx
call fcn.00447ed5
cmp edi, ebx
pop edi
pop esi
pop ebx
mov dword [esp + 0x1010], 0xffffffff
lea ecx, [esp]
jne 0x4134aa
call fcn.00447d9c
mov eax, 1
mov ecx, dword [esp + 0x1008]
mov dword fs:[0], ecx
add esp, 0x1014
ret 8
call fcn.00447d9c
mov ecx, dword [esp + 0x1008]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x1014
ret 8
Function at 0x4134d0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x461ccb
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.0042afb0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x1024]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x30], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 0x14]
mov edi, eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00447e0a
mov ecx, dword [esp + 0x1028]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1020], ebx
call fcn.00447ed5
cmp edi, ebx
pop edi
pop esi
pop ebx
mov dword [esp + 0x1010], 0xffffffff
lea ecx, [esp]
jne 0x41359a
call fcn.00447d9c
mov eax, 1
mov ecx, dword [esp + 0x1008]
mov dword fs:[0], ecx
add esp, 0x1014
ret 8
call fcn.00447d9c
mov ecx, dword [esp + 0x1008]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x1014
ret 8
Function at 0x418920
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
xor eax, eax
xor edx, edx
mov dl, byte [eax + 0x47e928]
inc eax
cmp eax, 0x40
mov dl, byte [edx + ecx - 1]
mov byte [eax + 0x48438b], dl
jl 0x418927
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, 0x4843ac
mov edi, 0x48434c
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], edx
mov ebp, 0x2d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x418969
mov edx, ebp
mov ecx, 8
mov esi, 0x48434c
mov edi, 0x48430c
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov bl, byte [edx + eax + 0x48440c]
xor ecx, ecx
mov cl, byte [eax + 0x4843cc]
mov cl, byte [ecx + 0x48434b]
xor cl, bl
mov byte [eax + 0x48428c], cl
inc eax
cmp eax, 0x30
jl 0x41897c
xor edi, edi
mov esi, 0x4842cd
mov ecx, 0x484291
xor edx, edx
xor eax, eax
mov dl, byte [ecx - 5]
mov al, byte [ecx]
add edx, edi
add ecx, 6
add edi, 2
add esi, 4
lea edx, [eax + edx*2]
xor eax, eax
mov al, byte [ecx - 0xa]
lea edx, [eax + edx*2]
xor eax, eax
mov al, byte [ecx - 9]
lea edx, [eax + edx*2]
xor eax, eax
mov al, byte [ecx - 8]
lea edx, [eax + edx*2]
xor eax, eax
mov al, byte [ecx - 7]
mov ebx, eax
xor eax, eax
mov al, byte [ebx + edx*2 + 0x47ea50]
mov edx, eax
sar edx, 3
and dl, 1
mov byte [esi - 5], dl
mov edx, eax
sar edx, 2
and dl, 1
mov byte [esi - 4], dl
mov edx, eax
sar edx, 1
and dl, 1
and al, 1
mov byte [esi - 3], dl
mov byte [esi - 2], al
cmp ecx, 0x4842c1
jl 0x4189ab
xor eax, eax
mov bl, byte [eax + 0x48438c]
xor ecx, ecx
mov cl, byte [eax + 0x47ec50]
mov dl, byte [ecx + 0x4842cb]
xor dl, bl
mov byte [eax + 0x48434c], dl
inc eax
cmp eax, 0x20
jl 0x418a19
mov edx, dword [esp + 0x10]
sub ebp, 0x30
mov ecx, 8
mov esi, 0x48430c
mov edi, 0x48438c
add edx, 0x30
cmp ebp, 0xffffffd0
mov dword [esp + 0x10], edx
rep movsd dword es:[edi], dword [esi]
jg 0x41895f
xor eax, eax
mov dl, byte [eax + 0x48434c]
xor ecx, ecx
mov cl, byte [eax + 0x48438c]
mov byte [eax + 0x48438c], dl
mov byte [eax + 0x48434c], cl
inc eax
cmp eax, 0x20
jl 0x418a65
mov ecx, 8
mov esi, 0x48434c
mov edi, 0x4843ac
xor eax, eax
rep movsd dword es:[edi], dword [esi]
inc eax
lea ecx, [eax + 0x20]
cmp ecx, 0x40
jl 0x418a98
mov eax, dword [esp + 0x18]
mov ecx, 0x47e968
sub ecx, eax
mov esi, 0x40
xor edx, edx
mov dl, byte [ecx + eax]
inc eax
dec esi
mov dl, byte [edx + 0x48438b]
mov byte [eax - 1], dl
jne 0x418ab1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x418d20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 8
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x418d31
pop esi
pop ebx
ret
Function at 0x419150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
or byte [ebp - 8], 0xff
push ebx
push esi
push edi
mov esi, pe_nt_image_headers32
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp - 4], edi
mov byte [ebp - 0x14], 0xa7
mov byte [ebp - 0x13], 0x92
mov byte [ebp - 0x12], 0x98
mov byte [ebp - 0x11], 0xbb
mov byte [ebp - 0x10], 0x23
mov byte [ebp - 0xf], 0xcb
mov byte [ebp - 0xe], 0x88
mov byte [ebp - 0xd], 0x29
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 9
mov byte [ebp - 0xa], 0x5e
mov byte [ebp - 9], 0x70
mov byte [ebp - 7], 0x6a
mov byte [ebp - 6], 0xcf
mov byte [ebp - 5], 0x1b
jne 0x419249
cmp dword [ebp + 0x14], edi
je 0x419249
xor eax, eax
inc eax
sub eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
push 0x10
pop ebx
lea ecx, [edi + eax]
mov eax, edi
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x14]
mov edx, dword [ebp + 0xc]
add edx, ecx
imul eax, edx
xor edx, edx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, esi
mov al, byte [edx + eax]
mov byte [ecx], al
jl 0x4191be
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, ecx
mov ebx, 0x80
cdq
idiv ebx
mov al, byte [edx + 0x47ec70]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x4191f0
push 0x10
pop ebx
push ebx
call fcn.0042b7b4
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp + 8], ecx
je 0x419249
xor eax, eax
mov dl, byte [eax + 0x47ec90]
xor dl, byte [ebp + eax - 0x14]
mov byte [ecx + eax], dl
inc eax
cmp eax, ebx
jb 0x41921d
push edi
push esi
push edi
push ebx
push ebx
push ecx
push 6
call fcn.004198e4
test eax, eax
je 0x419250
push dword [ebp + 8]
call fcn.0042b0b7
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push esi
call fcn.0042b7b4
test eax, eax
pop ecx
mov dword [ebp + 0x14], eax
je 0x419249
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push edi
push 2
call fcn.00419870
test eax, eax
je 0x419274
xor bl, bl
jmp 0x41928c
push edi
push esi
push edi
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 8]
push 5
call fcn.004197cd
test eax, eax
jne 0x419270
mov bl, 1
push dword [ebp + 8]
call fcn.0042b0b7
push dword [ebp + 0x14]
call fcn.0042b0b7
pop ecx
mov al, bl
pop ecx
jmp 0x41924b
Function at 0x4192a2
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, pe_nt_image_headers32
xor ecx, ecx
cmp dword [ebp + 0xc], esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0x14], 0xe2
mov byte [ebp - 0x13], 0x36
mov byte [ebp - 0x12], 0x1d
mov byte [ebp - 0x11], 0xcd
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x4e
mov byte [ebp - 0xe], 0xf9
mov byte [ebp - 0xd], 0x3a
mov byte [ebp - 0xc], 0x50
mov byte [ebp - 0xb], 0x86
mov byte [ebp - 0xa], 0xde
mov byte [ebp - 9], 0x84
mov byte [ebp - 8], 0x8b
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x83
mov byte [ebp - 5], 0x5c
jne 0x41938d
cmp dword [ebp + 0x14], ecx
je 0x41938d
mov edi, dword [ebp + 8]
mov eax, ecx
push 0x10
cdq
pop ebx
idiv ebx
movzx eax, byte [ebp + edx - 0x14]
imul eax, ecx
xor edx, edx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
mov byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x41930a
xor ecx, ecx
mov eax, ecx
mov ebx, 0x80
cdq
idiv ebx
mov al, byte [edx + 0x47ecf0]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x41932f
push 0x10
pop ebx
push ebx
call fcn.0042b7b4
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp + 0x14], ecx
je 0x41938d
xor eax, eax
mov dl, byte [eax + 0x47ed10]
xor dl, byte [ebp + eax - 0x14]
mov byte [ecx + eax], dl
inc eax
cmp eax, ebx
jb 0x41935c
inc eax
cmp eax, ebx
jb 0x41935a
push edi
push esi
push edi
push ebx
push ebx
push ecx
push 5
call fcn.004198e4
test eax, eax
je 0x419394
push dword [ebp + 0x14]
call fcn.0042b0b7
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push esi
call fcn.0042b7b4
test eax, eax
pop ecx
mov dword [ebp + 0xc], eax
je 0x41938d
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push edi
push 3
call fcn.00419870
test eax, eax
je 0x4193b8
xor bl, bl
jmp 0x4193d0
push edi
push esi
push edi
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 0x14]
push 6
call fcn.004197cd
test eax, eax
jne 0x4193b4
mov bl, 1
push dword [ebp + 0x14]
call fcn.0042b0b7
push dword [ebp + 0xc]
call fcn.0042b0b7
pop ecx
mov al, bl
pop ecx
jmp 0x41938f
Function at 0x4197cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ebp + 0x20]
push ebx
push edi
push 8
pop ebx
xor edx, edx
mov ecx, ebx
div ecx
test edx, edx
mov edi, eax
je 0x4197f1
mov eax, 0x1000e
jmp 0x41986a
cmp dword [ebp + 8], 5
jb 0x419819
cmp dword [ebp + 8], 6
ja 0x419819
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004199a5
add esp, 0xc
mov dword [ebp + 0x10], 0x41995a
test edi, edi
je 0x419868
push esi
mov esi, dword [ebp + 0x18]
sub esi, dword [ebp + 0x1c]
mov dword [ebp + 0x20], edi
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
mov ecx, edi
sub ecx, eax
mov dword [ebp + 8], ebx
mov dl, byte [esi + eax]
xor dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
dec dword [ebp + 8]
jne 0x419834
push edi
lea eax, [ebp - 0x400]
push edi
push eax
call dword [ebp + 0x10]
push ebx
push edi
push dword [ebp + 0x18]
call fcn.0042cf30
add dword [ebp + 0x1c], ebx
add esp, 0x18
sub esi, ebx
add edi, ebx
dec dword [ebp + 0x20]
jne 0x41982a
pop esi
xor eax, eax
pop edi
pop ebx
leave
ret 0x20

Function at 0x41a222
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push dword [ebp + 0xc]
and dword [ebp - 0x44], 0
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x58]
push dword [ebp + 8]
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
push eax
mov dword [ebp - 0x4c], 0x10325476
call fcn.00419a49
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x10]
call fcn.00419ae7
add esp, 0x14
leave
ret 0xc

Function at 0x41ac34
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push dword [ebp + 0xc]
and dword [ebp - 0x48], 0
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x58]
push dword [ebp + 8]
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
push eax
mov dword [ebp - 0x4c], 0x10325476
call fcn.0041ab11
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x10]
call fcn.0041abb1
add esp, 0x14
leave
ret 0xc

Function at 0x41daf8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
shr esi, 2
je 0x41db2b
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov edx, eax
shl edx, 8
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor eax, edx
mov edx, eax
shr edx, 0x10
shl eax, 0x10
or edx, eax
mov dword [ecx], edx
add ecx, 4
dec esi
jne 0x41db06
pop esi
ret

Function at 0x41db2d
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 0x60
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0042d270
push dword [ebp + 0xc]
and dword [ebp - 0x48], 0
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x60]
push dword [ebp + 8]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
push eax
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
call fcn.0041d9a8
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x10]
call fcn.0041da5e
add esp, 0x20
leave
ret 0xc
Function at 0x4352c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4352e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042e396
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x435303
test byte [esp + 8], 2
je 0x435303
call fcn.0042e409
mov dword [eax], 0xd
call fcn.0042e412
mov dword [eax], 5
jmp 0x4352dc
xor eax, eax
ret

Function at 0x44484d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x444885
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00448243
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044821b
jmp 0x444891
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x44664f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x446691
call fcn.004571ba
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x446691
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x446688
xor eax, eax
jmp 0x446699
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044669f
pop edi
pop esi
pop ebx
ret 4
Function at 0x449cc8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x449cf8
push edi
call ebx
push eax
call fcn.0044a22f
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x449d22
test byte [ebp - 4], 1
je 0x449d22
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x449d22
push edi
call ebx
push eax
call fcn.0044a22f
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x449dc8
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00449c15
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x449d54
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00449c15
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x449d6a
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00449c15
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x449d94
push 0
call ebx
push eax
call fcn.0044a22f
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x449db2
push eax
call ebx
push eax
call fcn.0044a22f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x449dc6
push eax
call ebx
push eax
call fcn.0044a22f
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x449def
test byte [ebp - 4], 1
jne 0x449def
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x449def
push edi
call ebx
push eax
call fcn.0044a22f
pop edi
pop ebx
leave
ret 8

Function at 0x454a70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4626fb
call fcn.0042d37c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044a653
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x47f244]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], 0x4688b8
call fcn.00447f25
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00447f25
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x454b0c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x462723
call fcn.0042d37c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044a653
mov eax, dword [0x47f244]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x4688b8
mov ecx, 0x486350
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00454596
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00447f25
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0041ef37
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00447ed5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00447d9c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10