joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x642b74
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
push eax
push 0x153
call fcn.005f2ee2
mov dword [esp + 0x18], 0
lea edi, [esi + 0x74]
mov ecx, edi
mov dword [esi], vtable.CConfirmRemoveUncompletedDlg.0
call fcn.00402500
mov byte [esp + 0x18], 1
mov dword [esi + 0x7c], vtable.CIDMStaticControl.0
mov byte [esp + 0x18], 2
lea eax, [esi + 0x8c]
mov dword [esp + 0x28], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0x18], 3
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0x18], 4
mov ecx, dword [esp + 0x20]
push ecx
push 0x675ea0
push edi
call fcn.00402f70
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esi + 0x78], edx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x434760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642f60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75ac2c]
cmp eax, ebx
jne 0x4347b3
mov eax, 0x75ac30
push ebx
push eax
push str._sGrabber_
lea ecx, [ebp - 0x20]
call fcn.004021b0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4347cc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4348a6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4347e6
lea eax, [ebp - 0x1c]
push 0x5c
add eax, 6
push eax
call fcn.0061ee70
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x4348a6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x434808
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402180
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov ecx, eax
jne 0x434821
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x43482b
lea eax, [ebp - 0x1c]
mov edx, esi
sub edx, eax
sar edx, 1
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x434841
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004aa320
add esp, 8
test eax, eax
jne 0x434885
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x434859
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004aa500
add esp, 8
test eax, eax
jne 0x434885
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov eax, 0x7546
jmp 0x4348e5
push 0x5c
add esi, 2
push esi
call fcn.0061ee70
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
jmp 0x4347f6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4348b0
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x675ea0
lea ecx, [edi + 8]
call fcn.004021b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x4348e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret 4
Function at 0x4362b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6432c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push ebx
push str.LargeButtons
mov edx, dword [0x75abd8]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
cmp dword [esi + 0x30], ebx
je 0x436328
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.bTbChOnDkMd
mov ecx, dword [0x75abd8]
push ecx
call edi
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x436390
dec eax
push eax
lea ecx, [esi + 4]
call fcn.00435be0
add esi, 0x1c
mov edx, dword [eax]
push edx
push 0x675ea0
push esi
call fcn.00402f70
add esp, 0xc
mov esi, dword [esi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x436354
sub eax, edx
je 0x436382
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x436364
sub eax, edx
inc eax
push eax
push esi
push 1
push ebx
push str.ToolbarStyle
mov eax, dword [0x75abd8]
push eax
call edi
jmp 0x4363eb
push str.ToolbarStyle
mov ecx, dword [0x75abd8]
push ecx
jmp 0x4363e5
cmp dword [esi + 0x2c], ebx
je 0x4363da
push 0x67d450
lea ecx, [ebp - 0x18]
call fcn.004030b0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4363b0
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.ToolbarStyle
mov edx, dword [0x75abd8]
push edx
call edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00402570
jmp 0x4363eb
push str.ToolbarStyle
mov eax, dword [0x75abd8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x643436
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [esi], vtable.CCustomToolbars.0
lea ecx, [esi + 4]
call fcn.00435a30
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.00402500
mov byte [ebp - 4], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
push str.ToolbarStyle
mov edx, dword [0x75abd8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4370d0
lea eax, [ebp]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437080
sub eax, edx
je 0x43709d
lea eax, [ebp]
push eax
push 0x675ea0
push edi
call fcn.00402f70
add esp, 0xc
push str.ClassicOld
lea ecx, [ebp]
push ecx
call fcn.0061ee1e
add esp, 8
test eax, eax
je 0x4370d0
push 0x67d450
lea edx, [ebp]
push edx
call fcn.0061ee1e
add esp, 8
test eax, eax
jne 0x4370de
mov dword [esi + 0x2c], 1
jmp 0x4370de
push str.3D_Style
push edi
call fcn.00402f70
add esp, 8
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push str.LargeButtons
mov edx, dword [0x75abd8]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x43710d
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push str.bTbChOnDkMd
mov eax, dword [0x75abd8]
push eax
call edi
test eax, eax
jne 0x437135
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x18], ebx
mov ecx, esi
call fcn.00436490
cmp dword [esi + 0x2c], ebx
jne 0x437172
cmp dword [esi + 0x20], ebx
jne 0x437172
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp edi, dword [esi + 0xc]
jge 0x437172
push str.3D_Style
push edi
lea ecx, [esi + 4]
call fcn.00435be0
push eax
call fcn.00422070
add esp, 8
inc edi
test al, al
je 0x43714b
mov dword [esi + 0x20], edi
mov dword [ebp - 4], 1
jmp 0x43718b
mov dword [ebp - 4], 0xffffffff
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 + 0x104]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x4373d0
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [0x75abb0], 0
push ebx
mov ebx, ecx
je 0x437633
push edi
push str.RtlGetNtVersionNumbers
push 0x67d60c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x437632
push ebp
lea ebp, [ebx + 0x3c]
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call eax
and dword [ebp], 0xfffffff
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x14]
cmp eax, 0xa
jne 0x43743f
test edx, edx
ja 0x437445
cmp ecx, 0x4563
jb 0x437631
jmp 0x437445
jbe 0x437631
mov ecx, 1
mov dword [0x75aa78], ecx
cmp eax, 0xa
jne 0x437464
test edx, edx
ja 0x437466
cmp dword [ebp], 0x4f2e
jae 0x437466
jmp 0x43746c
jbe 0x43746c
mov dword [0x75aa7c], ecx
push esi
push str.uxtheme.dll
call fcn.00447580
mov esi, eax
add esp, 4
test esi, esi
je 0x437630
push 0x31
push esi
call edi
push 0x68
push esi
mov dword [0x75aaa0], eax
call edi
push 0x6a
push esi
mov dword [0x75aa94], eax
call edi
push 0x84
push esi
mov dword [0x75aa9c], eax
call edi
push 0x85
push esi
mov dword [0x75aa84], eax
call edi
push 0x87
push esi
mov dword [0x75aa88], eax
call edi
cmp dword [ebp], 0x47ba
jae 0x4374d4
mov dword [0x75aa8c], eax
jmp 0x4374d9
mov dword [0x75aaac], eax
push 0x89
push esi
call edi
push str.SetWindowCompositionAttribute
push 0x67d5bc
mov dword [0x75aa98], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
push str.SetWindowTheme
push esi
mov dword [0x75aa80], eax
call edi
push str.OpenThemeData
push esi
mov dword [0x75aaa4], eax
call edi
push str.GetThemeColor
push esi
mov dword [0x75aab0], eax
call edi
push str.CloseThemeData
push esi
mov dword [0x75aab4], eax
call edi
cmp dword [0x75aaa0], 0
mov dword [0x75aab8], eax
je 0x437630
call fcn.004371e0
test eax, eax
je 0x437630
cmp dword [0x75aa94], 0
je 0x437630
cmp dword [0x75aa84], 0
je 0x437630
cmp dword [0x75aaa4], 0
je 0x437630
cmp dword [0x75aa88], 0
je 0x437630
cmp dword [0x75aa8c], 0
jne 0x437596
cmp dword [0x75aaac], 0
je 0x437630
cmp dword [0x75aa98], 0
je 0x437630
mov byte [ebx + 0x39], 1
call fcn.004372d0
mov byte [ebx + 0x38], al
mov eax, dword [0x75abd8]
test eax, eax
je 0x43761b
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.bDkMdAllowed
push eax
mov dword [esp + 0x34], 4
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4375f0
cmp dword [esp + 0x10], eax
setne al
mov byte [ebx + 0x34], al
cmp byte [ebx + 0x34], 0
je 0x437617
call dword [0x75aa84]
test al, al
je 0x437610
cmp byte [ebx + 0x38], 0
jne 0x437610
mov eax, 1
mov byte [ebx + 0x35], al
jmp 0x43761b
xor eax, eax
mov byte [ebx + 0x35], al
jmp 0x43761b
mov byte [ebx + 0x35], 0
cmp byte [ebx + 0x35], 0
je 0x437630
push 1
mov ecx, ebx
call fcn.004373a0
call dword [0x75aa94]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x439140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643770
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [edi + 0x30]
cmp dword [eax], 0
jne 0x439180
cmp dword [edi + 0x24], 0
je 0x43919c
push 4
push eax
push 4
push 0
push str.isUseWinDialUp
mov eax, dword [0x75abd8]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
jmp 0x4391a2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [edi + 0x2c]
push ecx
push 4
push 0
push str.mAttempts
mov edx, dword [0x75abd8]
push edx
call esi
push 4
add edi, 0x28
push edi
push 4
push 0
push str.mRedialTime
mov eax, dword [0x75abd8]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a0d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6439a6
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x75ab40], edi
je 0x43a140
push edi
push 0x3e8
push 1
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret 8
cmp byte [ebp + 0xc], 0
je 0x43a188
push 0x100
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x75ab38]
test eax, eax
je 0x43a176
mov eax, dword [0x75beec]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [ebp - 0x114]
push edx
lea ecx, [esi + 0xc8]
call fcn.00404b10
mov eax, dword [esi + 0xa4]
cmp dword [eax], edi
je 0x43a19b
mov eax, dword [eax]
push eax
call dword [0x75ab1c]
mov ecx, dword [esi + 0xa4]
mov dword [ecx], edi
mov dword [esi + 0x84], 0x7567
mov eax, dword [esi + 0x80]
cmp eax, edi
jle 0x43a1fa
cmp eax, dword [esi + 0x78]
jg 0x43a1fa
mov eax, dword [esi + 0x74]
cmp eax, edi
je 0x43a1dc
cmp dword [eax + 0x3c], edi
je 0x43a1dc
cmp dword [eax + 0x30], edi
je 0x43a1dc
push edi
push edi
push edi
push edi
push edi
push 0x439f30
call fcn.005fcc94
push edi
push 0x3e8
push 1
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 4], 0xffffffff
jmp 0x43a122
mov ebx, 1
add dword [esi + 0x78], ebx
mov dword [esi + 0xd8], edi
push ebx
mov ecx, esi
call fcn.00439e70
lea ecx, [ebp - 0x328]
call fcn.00402500
mov byte [ebp - 4], bl
mov eax, dword [esi + 0x7c]
push eax
push str.Redial___ld
lea ecx, [ebp - 0x328]
push ecx
call fcn.00402f70
add esp, 0xc
mov edx, dword [ebp - 0x328]
push edx
lea ecx, [esi + 0xb8]
call fcn.00424430
push 5
mov eax, dword [esi + 0xbc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x3e8
push 2
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
jmp 0x43a122
Function at 0x43c3a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x643e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
push 0x200
mov esi, ecx
mov ecx, dword [esi + 0x310]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43c55c
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005fa8ec
push esi
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fa6c6
mov dword [esp + 0x458], 0
push edi
lea ecx, [esp + 0x2c]
call fcn.005fa9eb
mov ebx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea edx, [eax + 2]
jmp 0x43c450
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c450
sub eax, edx
lea ecx, [esp + 0x10]
push ecx
sar eax, 1
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push ebx
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fa9eb
test edi, edi
je 0x43c53e
cmp dword [esp + 0x460], 0
je 0x43c53e
mov ecx, dword [esi + 0x588]
cmp ecx, dword [esp + 0x10]
je 0x43c53e
mov eax, dword [esi + 0x310]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005fa381
mov edx, dword [esp + 0x10]
sub edx, dword [esi + 0x588]
mov ecx, dword [esi + 0x300]
add dword [esp + 0x20], edx
lea eax, [esp + 0x3c]
push eax
push ecx
call edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.005fa381
mov eax, dword [esp + 0x44]
add eax, 0xfffffffb
cmp dword [esp + 0x20], eax
jle 0x43c500
mov dword [esp + 0x20], eax
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x30c]
call fcn.0040ae40
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x588]
jge 0x43c53e
mov edx, dword [esi + 0x300]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push edx
call edi
mov eax, dword [esi + 0x310]
push 1
push 0
push eax
call edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x588], ecx
mov dword [esp + 0x458], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005fa71a
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x44c
ret 4
Function at 0x43f140
Capabilities:
Get geographical location

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push edi
push ebx
call fcn.00621390
mov dword [esp + 0x10], eax
cdq
mov ebp, eax
push 0
mov eax, ebx
sub eax, ebp
mov ecx, edi
push 0x400
sbb ecx, edx
push ecx
push eax
mov dword [esp + 0x2c], edx
call fcn.006212e0
mov esi, eax
and esi, 0x800003ff
jns 0x43f18e
dec esi
or esi, 0xfffffc00
inc esi
mov eax, esi
shl eax, 0xa
cdq
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
sub ecx, ebp
sbb eax, dword [esp + 0x1c]
push 0
push 0x100000
push eax
push ecx
call fcn.006212e0
mov ebp, eax
and ebp, 0x800003ff
jns 0x43f1c2
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push edi
push ebx
call fcn.006212e0
push 3
lea ecx, [esp + 0x1c]
push ecx
push 0xe
push 0x400
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x43f1f4
mov edx, 0x2c
mov word [esp + 0x18], dx
test edi, edi
jne 0x43f2c8
cmp ebp, 0x3e7
jg 0x43f2c8
test ebp, ebp
jne 0x43f279
cmp esi, 0x3e7
jg 0x43f279
test esi, esi
je 0x43f253
mov eax, dword [0x75c0a0]
push eax
mov eax, dword [esp + 0x14]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [esp + 0x20]
push edx
push esi
jmp 0x43f2fc
mov ecx, dword [0x75c0a4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push ecx
push edx
push str._d___s
push eax
call fcn.00402f70
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [0x75c09c]
mov eax, esi
imul eax, eax, 0x3e8
cdq
push ecx
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push str._d_s_02d___s
push edx
call fcn.00402f70
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [0x75c098]
push eax
mov eax, ebp
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [esp + 0x20]
push edx
push edi
mov eax, dword [esp + 0x30]
push str._d_s_02d___s
push eax
call fcn.00402f70
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x43f410
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6445b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebp + 0x10]
push eax
push str._s_ld
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f70
add esp, 0x10
test bl, 8
je 0x43f4eb
xor ebx, 8
lea ecx, [ebp - 0x1c]
call fcn.00402500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 3
mov esi, dword [ebp + 0xc]
push esi
push esi
mov eax, dword [0x75c56c]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402f70
add esp, 0x10
cmp ebx, 2
jne 0x43f53e
lea ecx, [ebp - 0x20]
call fcn.00402500
mov byte [ebp - 4], 4
push esi
mov edx, dword [0x75c570]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00402f70
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push str._s_r_n_r_n_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f70
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402570
jmp 0x43f553
mov dword [ebp - 0x20], 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x75abd8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43f46f
cmp dword [ebp - 0x24], 1
jne 0x43f46f
mov byte [ebp - 4], al
lea ecx, [ebp - 0x14]
call fcn.00402570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
push ecx
push 0x675ea0
lea edx, [ebp - 0x1c]
push edx
call fcn.00402f70
add esp, 0xc
push 0x41044
push 0x675d88
mov eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.00472580
add esp, 0x10
cmp eax, 6
jne 0x43f5a5
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004b3aa0
add esp, 8
mov dword [ebp - 0x24], 1
push 4
lea edx, [ebp - 0x24]
push edx
push 4
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x75abd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446050
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446060
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x44609a
push edi
jmp 0x446080
mov si, word [edx + eax*2]
xor si, 0x1f
mov edi, 0xff
sub si, di
mov word [edx + eax*2], si
inc eax
cmp eax, ecx
jl 0x446080
pop edi
pop esi
ret
Function at 0x447580
Capabilities:
Get common file path

Disassembly:
sub esp, 0x24c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
mov ebx, dword [esp + 0x254]
push ebp
push ebx
push str.comctl32.dll
call fcn.0062280a
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 8
test eax, eax
je 0x44769d
push ebx
push str.comctl32
call fcn.0062280a
add esp, 8
test eax, eax
je 0x44769d
push ebx
push 0x678488
call fcn.0062280a
add esp, 8
test eax, eax
je 0x44769d
push ebx
push str.shell32
call fcn.0062280a
add esp, 8
test eax, eax
je 0x44769d
push 0x104
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov word [esp + 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x44769d
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447621
sub eax, edx
sar eax, 1
je 0x44769d
cmp word [esp + eax*2 + 6], 0x5c
push esi
push edi
je 0x447657
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x447643
mov edx, dword [0x676978]
mov dword [edi], edx
mov eax, ebx
mov edx, ebx
jmp 0x447660
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447660
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x447674
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
pop edi
pop esi
test eax, eax
jne 0x4476a0
push ebx
call ebp
mov ecx, dword [esp + 0x250]
pop ebp
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0x24c
ret