joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x5ec938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x148]
call fcn.0040f000
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
test eax, eax
je 0x414e67
cmp dword [eax - 0xc], 0
je 0x414e67
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414d2e
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
movzx ecx, word [esi + 0xdc78]
push ecx
lea edx, [ebp - 0x18]
push str._04X
push edx
mov byte [ebp - 4], 1
call fcn.00403bf0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x148]
call fcn.00409a70
push 1
push 0x558bb0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00406390
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406390
push 1
push 0x557b28
lea ecx, [ebp - 0x10]
call fcn.00406390
push 0xa
push str.NO_MESSAGE
lea ecx, [ebp - 0x10]
call fcn.00406390
xor eax, eax
push 0x44
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.0052c850
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
cmp dword [esi - 4], 1
jle 0x414de6
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x28]
push ecx
call edi
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414e41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
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 0x414e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5ec938]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], eax
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x417082
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
mov ebx, 1
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x218], cx
call fcn.0052c850
add esp, 0xc
lea ecx, [ebp - 0x23c]
call fcn.00438f15
mov ecx, dword [0x5c5e84]
lea eax, [ebp - 0x218]
push eax
push ecx
push edi
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
call ebx
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00438fbc
test eax, eax
je 0x41712f
mov edi, edi
mov eax, dword [0x5c5e84]
lea ecx, [ebp - 0x218]
push ecx
inc eax
push eax
push edi
push esi
mov dword [0x5c5e84], eax
call ebx
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00438fbc
test eax, eax
jne 0x417100
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x417140
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417140
mov esi, dword [ebp - 0x21c]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004026f0
inc dword [0x5c5e84]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.00438f47
mov eax, esi
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.0052c2ec
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aeb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5ec938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov dword [ebp - 0x418], eax
mov word [ebp - 0x414], cx
call fcn.0052c850
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0052c850
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0x18
push 0
push 0x17
lea edx, [ebp - 0x20c]
push edx
push 0
call ebx
test eax, eax
jne 0x41af34
push eax
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call ebx
test esi, esi
je 0x41af84
cmp word [esi], 0
je 0x41af84
push esi
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s
lea edx, [ebp - 0x414]
push 0x104
push edx
call fcn.0052d99b
add esp, 0x14
push 1
lea eax, [ebp - 0x414]
push eax
mov ecx, edi
call fcn.00416c10
push esi
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [edi + 0xdd9c]
call fcn.00428060
jmp 0x41af9f
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0052cd4a
add esp, 0xc
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], eax
test esi, esi
je 0x41b04c
xor ebx, ebx
mov dword [ebp - 0x418], esi
jmp 0x41afd3
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x41c]
push edx
lea eax, [ebp - 0x414]
push eax
mov ecx, edi
call fcn.00412540
xor edx, edx
mov eax, ebx
div esi
mov esi, eax
mov eax, dword [edi + 0x130]
add esi, dword [ebp + 0x14]
test eax, eax
je 0x41b034
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41b034
mov ecx, dword [edi + 0x130]
push esi
call fcn.00423c40
mov eax, dword [edi + 0x130]
test eax, eax
je 0x41b024
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
add ebx, dword [ebp - 0x420]
add dword [ebp - 0x41c], 0x824
dec dword [ebp - 0x418]
jne 0x41afd0
push 0
lea edx, [ebp - 0x414]
push edx
push 5
push 2
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41b8d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5463bb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5ec938]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 5
push eax
push ebx
mov edi, ecx
mov dword [ebp - 0x21c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41b9e8
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0052c850
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
lea ecx, [edi + 0x148]
call fcn.00409a70
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 4], 1
mov dword [ebp - 4], 0
jle 0x41b968
mov eax, dword [eax - 0xc]
push eax
mov ecx, esi
call fcn.004021c0
mov esi, dword [esi]
push esi
push str._siupdate.ini
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.0052d99b
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b9ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x5c5e88], 0
je 0x41b9ce
lea ecx, [ebp - 0x218]
push ecx
mov ecx, edi
call fcn.00414330
mov dword [0x5c5e88], 0
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
push eax
push ebx
mov ecx, edi
call fcn.00416930
test eax, eax
je 0x41b9ed
mov eax, 1
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.0052c2ec
mov esp, ebp
pop ebp
ret 8
Function at 0x423050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ecx + 4]
lea eax, [ebp - 4]
push eax
push 2
push 0
push ecx
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4230b0
mov edx, dword [ebp - 4]
push esi
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push eax
push str.APPLICATION_COMPLETED
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4230c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp eax, 0xa0
ja 0x42310c
je 0x423103
sub eax, 0
je 0x4230fa
sub eax, 0x82
je 0x4230f1
sub eax, 0xa
jne 0x42311a
mov dword [ebp + 8], 0x8c
jmp 0x423133
mov dword [ebp + 8], 0x82
jmp 0x423133
mov dword [ebp + 8], 1
jmp 0x423133
mov dword [ebp + 8], 0xa0
jmp 0x423133
cmp eax, 0xaa
je 0x42312c
cmp eax, 0x661
je 0x423123
mov dword [ebp + 8], 0x64
jmp 0x423133
mov dword [ebp + 8], 0x96
jmp 0x423133
mov dword [ebp + 8], 0xaa
mov eax, dword [ecx + 4]
lea ecx, [ebp - 4]
push ecx
push 2
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4231ae
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp + 8]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.APPLICATION_COMPLETED
push eax
call esi
test eax, eax
jne 0x423185
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.REBOOT
push eax
call esi
test eax, eax
je 0x423198
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4257f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push edi
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x425821
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [edi + 0x210]
push edx
lea eax, [ebp - 8]
push eax
push esi
push str.APPLICATION_COMPLETED
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, 4
push ecx
mov dword [ebp - 0x10], 1
mov dword [ebp + 8], ebx
call esi
lea edx, [ebp + 8]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.REBOOT
push edx
mov dword [ebp + 8], ebx
call esi
xor eax, eax
cmp dword [ebp - 0xc], 1
lea ecx, [ebp + 8]
sete al
push ecx
mov ecx, dword [ebp - 4]
lea edx, [edi + 0x218]
push edx
mov dword [ebp + 8], 0x28
mov dword [edi + 0x214], eax
lea eax, [ebp - 8]
push eax
push 0
push str.RESIDENCE
push ecx
call esi
lea edx, [ebp + 8]
push edx
mov edx, dword [ebp - 4]
lea eax, [edi + 0x240]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.REGION
push edx
mov dword [ebp + 8], 0x3c
call esi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [edi + 0x27c]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.NOCPYDLG
push eax
mov dword [ebp + 8], ebx
call esi
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov dword [ebp - 0xc], 0
mov dword [ebp + 8], ebx
push str.LANGUAGE
push ecx
call esi
pop ebx
test eax, eax
je 0x425914
xor esi, esi
jmp 0x425917
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dx, word [ebp - 0xc]
push eax
mov word [edi + 0x280], dx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x425940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4259ce
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42597d
mov dword [ebp + 8], eax
cmp edi, 0xbc2
jne 0x425984
mov dword [ebp + 8], 1
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0
push str.APPLICATION_COMPLETED
push eax
call esi
mov eax, dword [ebp - 4]
push 4
xor ecx, ecx
lea edx, [ebp + 8]
push edx
cmp edi, 0xbc2
push 4
sete cl
push 0
push str.REBOOT
push eax
mov dword [ebp + 8], ecx
call esi
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x426410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x4c], 0
mov eax, dword [ebp + 8]
jne 0x42643e
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ebp
ret 4
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax - 0xc]
push ecx
push 1
add edx, edx
push edx
push eax
call fcn.0052e4df
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop ebp
ret 4

Function at 0x4276e0
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
je 0x427797
mov eax, dword [esi + 0x50]
test eax, eax
je 0x427790
push eax
call fcn.0052e5c6
add esp, 4
cmp dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
je 0x42774d
push 0
lea eax, [ebp - 4]
push eax
push 1
push str.D:_A_OICI_GA___BA__A_OICI_FR___WD__A_OICI_GA___SY_
mov dword [ebp - 4], 0
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x42773f
mov edx, dword [esi + 0x44]
lea ecx, [ebp - 4]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x42774d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esi + 0x34], 0
jg 0x42775f
cmp dword [esi + 0x20], 0
jg 0x42775f
cmp dword [esi + 0xc], 0
jle 0x427766
mov ecx, esi
call fcn.004272c0
cmp dword [ebp + 8], 0
je 0x427790
mov eax, dword [esi + 0x44]
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [esi + 0x4c], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x427860
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5ec938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
xor eax, eax
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x4c], eax
jne 0x427a0c
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.0052c850
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0052c850
push str.uninst.ini
push edi
push str._s_s
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.0052d99b
push str.uninst.ini
push ebx
push str._s_s
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0052d99b
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x50]
add esp, 0x40
test eax, eax
je 0x427911
push eax
call fcn.0052e5c6
add esp, 4
mov dword [edi], 0
push str.w_ccsUNICODE
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0052e6f8
add esp, 0xc
test eax, eax
je 0x42793f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 8
push 2
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x414]
lea ecx, [esi + 0x44]
lea edi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x427960
sub eax, edi
sar eax, 1
push eax
lea edx, [ebp - 0x414]
push edx
call fcn.004026f0
lea eax, [ebp - 0x20c]
lea ecx, [esi + 0x40]
lea edi, [eax + 2]
jmp 0x427990
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x427990
sub eax, edi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004026f0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x61a]
push edx
mov dword [esi + 0x4c], 1
mov word [ebp - 0x61c], cx
call fcn.0052c850
push str._Uninstall_
push 0x55bbd0
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0052d99b
add esp, 0x18
lea edx, [ebp - 0x61c]
mov ecx, esp
mov dword [ebp - 0x620], esp
push edx
call fcn.00404fe0
mov ecx, esi
call fcn.00426410
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 8

Function at 0x433a26
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 0x433a6d
call fcn.0043b907
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x433a6d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x433a89
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00433526
mov esi, eax
test edi, edi
je 0x433a87
test ebx, ebx
je 0x433a87
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x434d55
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54f2e8
call fcn.0052e911
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x434d7a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x434dcc
call fcn.00436219
push eax
lea ecx, [ebp - 0x10]
call fcn.004022a0
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.0052d9fb
push eax
call fcn.00401e40
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401fa0
mov eax, esi
call fcn.0052e9e9
ret 8

Function at 0x4354d6
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.0043517a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x435520
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00431bc9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042fe94
jmp 0x43552b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0044008c
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x435531
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.00434647
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43556e
call fcn.0043517a
mov dword [esi + 0xc], 1
jmp 0x435573
call fcn.0043517a
cmp dword [esi], 0
je 0x4355bc
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x435594
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00431bc9
jmp 0x4355a6
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004024a0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042fe94
jmp 0x4355e0
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4355e0
push dword [esi]
push dword [ebp + 8]
call fcn.0044008c
pop esi
pop ebp
ret 0xc
Function at 0x435fc1
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.0043b907
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x435ffa
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.00435bfe
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 0x436058
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 0x43607c
cmp dword [edi + 0x74], 0
jne 0x43607c
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0043b907
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.00436019
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 0x43c0ae
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5ec938]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x43c0f3
push 0x55e450
push 4
push eax
call fcn.0052cd4a
push eax
call fcn.00401e40
add esp, 0x10
jmp 0x43c109
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43c189
push edi
call fcn.0052eaa2
mov edi, dword [eax]
call fcn.0052eaa2
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0052d9b9
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0052eaa2
cmp dword [eax], 0
je 0x43c15d
call fcn.0052eaa2
push dword [eax]
call fcn.0042ce5c
pop ecx
jmp 0x43c164
call fcn.0052eaa2
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x43c189
cmp dword [ebp - 0x234], esi
jae 0x43c189
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x43c18b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052c2ec
leave
ret