joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4149e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5a674c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0xfe
push esi
push edi
mov esi, ecx
mov edi, 1
jle 0x414a5a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525092
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x414a62
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x108]
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414a08
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414aa0
sub eax, edx
mov edx, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414acd
xor edi, edi
cmp dword [esi + 8], 0
jne 0x414ae0
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00525092
mov esp, ebp
pop ebp
ret 8
Function at 0x414c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543800
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5a674c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x11c], 0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x114], esp
mov ebx, esp
push eax
mov dword [ebp - 0x120], 0xff
call fcn.004021b0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.00414930
mov dword [ebp - 0x118], eax
cmp eax, 1
je 0x414d3f
cmp eax, 2
je 0x414d3f
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004021b0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414e2c
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esi], eax
test eax, eax
je 0x414d91
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004021b0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414e2c
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x110]
push edx
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x118]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
test eax, eax
je 0x414dc3
xor esi, esi
jmp 0x414dc9
mov esi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x414e07
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004021b0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414e2c
lea ecx, [ebp - 0x110]
push ecx
mov ecx, edi
call fcn.004018e0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414e38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525092
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419770
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
push ebx
mov dword [edx], ecx
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [edx + 4], eax
mov ecx, 0xe3779b90
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 4
mov edi, dword [edx]
mov ebx, edi
mov eax, edi
shr ebx, 5
shl eax, 4
xor ebx, eax
add ebx, edi
mov eax, ecx
shr eax, 0xb
and eax, 3
mov eax, dword [esi + eax*4]
add eax, ecx
xor ebx, eax
mov eax, dword [ebp + 8]
sub eax, ebx
add ecx, 0x61c88647
mov ebx, eax
shr ebx, 5
mov edi, eax
shl edi, 4
xor ebx, edi
add ebx, eax
mov dword [edx + 4], eax
mov edi, ecx
and edi, 3
mov edi, dword [esi + edi*4]
add edi, ecx
xor ebx, edi
mov edi, dword [edx]
sub edi, ebx
mov dword [ebp + 8], edi
mov ebx, edi
mov dword [edx], edi
shl edi, 4
shr ebx, 5
xor ebx, edi
add ebx, dword [ebp + 8]
mov edi, ecx
shr edi, 0xb
and edi, 3
mov edi, dword [esi + edi*4]
add edi, ecx
xor ebx, edi
sub eax, ebx
add ecx, 0x61c88647
mov ebx, eax
shr ebx, 5
mov edi, eax
shl edi, 4
xor ebx, edi
add ebx, eax
mov edi, ecx
and edi, 3
mov dword [edx + 4], eax
mov edi, dword [esi + edi*4]
add edi, ecx
xor ebx, edi
mov edi, dword [edx]
sub edi, ebx
mov ebx, edi
mov dword [ebp + 8], edi
mov dword [edx], edi
shl edi, 4
shr ebx, 5
xor ebx, edi
add ebx, dword [ebp + 8]
mov edi, ecx
shr edi, 0xb
and edi, 3
mov edi, dword [esi + edi*4]
add edi, ecx
xor ebx, edi
sub eax, ebx
mov ebx, eax
mov edi, eax
shr ebx, 5
shl edi, 4
xor ebx, edi
add ecx, 0x61c88647
mov dword [edx + 4], eax
add ebx, eax
mov edi, ecx
and edi, 3
mov edi, dword [esi + edi*4]
add edi, ecx
xor ebx, edi
mov edi, dword [edx]
sub edi, ebx
mov dword [ebp + 8], edi
mov dword [edx], edi
mov ebx, edi
shl edi, 4
shr ebx, 5
xor ebx, edi
add ebx, dword [ebp + 8]
mov edi, ecx
shr edi, 0xb
and edi, 3
mov edi, dword [esi + edi*4]
add edi, ecx
xor ebx, edi
sub eax, ebx
mov edi, eax
mov ebx, eax
shr edi, 5
shl ebx, 4
xor edi, ebx
add edi, eax
mov dword [edx + 4], eax
add ecx, 0x61c88647
mov dword [ebp + 8], eax
mov eax, ecx
and eax, 3
mov eax, dword [esi + eax*4]
add eax, ecx
xor edi, eax
sub dword [edx], edi
dec dword [ebp + 0xc]
jne 0x419798
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41e980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41e98e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x41ea6d
mov esi, edx
shr esi, 3
push edi
jmp 0x41e9b0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5595a8]
add ecx, 8
sub edx, 8
dec esi
jne 0x41e9b0
pop edi
test edx, edx
je 0x41ea8a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5595a8]
inc ecx
dec edx
jne 0x41ea71
not eax
pop esi
pop ebp
ret

Function at 0x41efd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x41f010
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f004
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x41f021
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.005265f0
add dword [edi + 0x18], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
Function at 0x41fe10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5a674c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x41fed9
mov al, byte [ecx]
test al, al
je 0x41fed9
push esi
push edi
mov edi, ecx
mov edx, ecx
cmp al, 0x2f
je 0x41fe4a
cmp al, 0x5c
jne 0x41fe4c
mov edi, edx
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x41fe42
mov eax, edi
cmp edi, ecx
je 0x41fe87
mov esi, edi
sub esi, ecx
push esi
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.00527c45
lea ecx, [ebp - 0x108]
push ecx
push ebx
mov byte [ebp + esi - 0x108], 0
call fcn.0041fe10
add esp, 0x14
lea eax, [edi + 1]
lea esi, [ebp - 0x20c]
mov ecx, ebx
sub esi, ebx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x41fe91
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fea0
lea edi, [ebp - 0x20c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41feb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [ebp - 0x20c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00525092
mov esp, ebp
pop ebp
ret
Function at 0x423470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x42347e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x42355d
mov esi, edx
shr esi, 3
push edi
jmp 0x4234a0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x559d50]
add ecx, 8
sub edx, 8
dec esi
jne 0x4234a0
pop edi
test edx, edx
je 0x42357a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x559d50]
inc ecx
dec edx
jne 0x423561
not eax
pop esi
pop ebp
ret
Function at 0x423aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x423ae6
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x20]
jb 0x423acb
pop edi
mov dword [esi + 0xc], 0x30000
xor eax, eax
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 8]
push edi
push edx
add eax, ecx
push eax
call fcn.005265f0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi]
test eax, eax
je 0x423b09
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop esi
pop ebp
ret 8
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x423e60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x64]
push edi
test ecx, ecx
je 0x423eb1
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
cmp eax, edi
jae 0x423ef8
mov edx, dword [ebp + 0xc]
sub edi, eax
cmp edi, edx
jbe 0x423e84
mov edi, edx
mov ebx, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.005265f0
mov eax, dword [esi + 0x58]
add dword [esi + 0x6c], edi
add dword [esi + 0x54], edi
push edi
push ebx
push eax
call fcn.00423470
add esp, 0x18
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x423ef1
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
lea ecx, [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423ef8
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x58]
add dword [esi + 0x54], edi
push edi
push ebx
push eax
call fcn.00423470
add esp, 0xc
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov dword [esi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x424fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x4251eb
cmp dword [esi + 0x6af90], 3
jb 0x425037
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x425077
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x425077
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x42505f
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.004228e0
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x425077
mov edi, eax
cmp edi, 3
jb 0x425164
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.004222c0
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x42511d
cmp eax, 3
jb 0x42511d
mov edx, 1
sub edi, edx
lea ecx, [ecx]
add dword [esi + 0x6af84], edx
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor eax, ebx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
sub edi, edx
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4250c0
add dword [esi + 0x6af84], edx
jmp 0x42518d
add dword [esi + 0x6af84], edi
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + esi + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, 0x7fff
push 1
push esi
xor edi, edi
mov dword [esi + 0x6af7c], ecx
call fcn.00421e40
add esp, 0xc
jmp 0x42518d
mov edx, dword [esi + 0x6af84]
movzx eax, byte [edx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.004222c0
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x4251c9
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x4251a6
lea ecx, [eax + esi + 0x1af70]
jmp 0x4251a8
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00424e00
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4251de
push esi
call fcn.00422ac0
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x424fe3
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x4251fe
lea ecx, [eax + esi + 0x1af70]
jmp 0x425200
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00424e00
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x426a9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004309a6
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x426ad6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004266df
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x426b34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x426b58
cmp dword [edi + 0x74], 0
jne 0x426b58
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004309a6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00426af5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42d16b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42d1b2
call fcn.004309a6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42d1b2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42d1ce
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042cc70
mov esi, eax
test edi, edi
je 0x42d1cc
test ebx, ebx
je 0x42d1cc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42f2c3
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x545d02
call fcn.0052a7a5
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x42f2e8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42f33a
call fcn.00432d0e
push eax
lea ecx, [ebp - 0x10]
call fcn.004012f0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052bf8a
push eax
call fcn.00408fc0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004010d0
mov eax, esi
call fcn.0052a87d
ret 8
Function at 0x433698
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004331ec
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4336e2
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042b2dd
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00425d70
jmp 0x4336ed
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00445c76
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4336f3
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0042eb92
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x433730
call fcn.004331ec
mov dword [esi + 0xc], 1
jmp 0x433735
call fcn.004331ec
cmp dword [esi], 0
je 0x43377e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x433756
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042b2dd
jmp 0x433768
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401430
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00425d70
jmp 0x4337a2
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4337a2
push dword [esi]
push dword [ebp + 8]
call fcn.00445c76
pop esi
pop ebp
ret 0xc

Function at 0x43a7dd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5a674c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x43a825
push 0x55cd30
push 4
push eax
call fcn.0052c464
push eax
call fcn.00408fc0
add esp, 0x10
jmp 0x43a83b
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43a8be
push edi
call fcn.0052a9ed
mov edi, dword [eax]
call fcn.0052a9ed
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005256a3
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0052a9ed
cmp dword [eax], 0
je 0x43a892
call fcn.0052a9ed
push dword [eax]
call fcn.00426ba8
pop ecx
jmp 0x43a899
call fcn.0052a9ed
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x43a8be
cmp dword [ebp - 0x11c], esi
jae 0x43a8be
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x43a8c0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00525092
leave
ret