joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e80
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, ecx
mov ebx, 0x4dd0c0
lea ecx, [ecx]
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x118]
push str.Data_sWDB
push ecx
call edi
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 8]
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push str.Data_sWDB._04d_02d_02d__02d_02d_02d
push eax
call edi
add esp, 0x30
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
call ebp
call fcn.00408220
test eax, eax
je 0x401f58
mov eax, dword [ebx]
push eax
call fcn.00408250
push eax
lea ecx, [esp + 0x11c]
push str._sData_sWDB
push ecx
call edi
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 8]
add esp, 0x10
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.00408250
push eax
lea eax, [esp + 0x30]
push str._sData_sWDB._04d_02d_02d__02d_02d_02d
push eax
call edi
add esp, 0x28
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
call ebp
add ebx, 4
cmp ebx, 0x4dd0f0
jl 0x401ea0
mov ebx, 0x4dd0c0
lea esp, [esp]
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x118]
push str.CacheWDB_s
push ecx
call edi
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 8]
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push str.CacheWDB_s._04d_02d_02d__02d_02d_02d
push eax
call edi
add esp, 0x30
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
call ebp
call fcn.00408220
test eax, eax
je 0x402028
mov eax, dword [ebx]
push eax
call fcn.00408250
push eax
lea ecx, [esp + 0x11c]
push str._sCacheWDB_s
push ecx
call edi
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 8]
add esp, 0x10
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.00408250
push eax
lea eax, [esp + 0x30]
push str._sCacheWDB_s._04d_02d_02d__02d_02d_02d
push eax
call edi
add esp, 0x28
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
call ebp
add ebx, 4
cmp ebx, 0x4dd0f0
jl 0x401f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x4052c0
Capabilities:
Check mutex on windows
Delete file

Disassembly:
sub esp, 0x148
push ebx
push esi
call fcn.00451b80
push eax
call fcn.0048babd
xor ebx, ebx
add esp, 4
mov byte [0x4e2fec], bl
call fcn.004094c0
mov ecx, dword [0x4e213c]
push 0x104
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x405332
push 0x104
push 0x4e2980
mov edx, str.Blizzard_Repair_Utility
lea ecx, [esp + 0x54]
call fcn.00407ea0
cmp eax, 1
jne 0x405332
push 0x2e
push 0x4e2980
call fcn.0048ba90
add esp, 8
cmp eax, ebx
je 0x405338
mov byte [eax], bl
jmp 0x405338
mov byte [0x4e2980], bl
push 0x4a9d98
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405420
push 0x40
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 5
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4a89c4
mov byte [ecx + 4], bl
call fcn.00401920
lea ecx, [esp + 0x50]
call fcn.00409d30
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x405395
mov eax, dword [eax + 4]
jmp 0x405398
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x12
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4a9d84
mov byte [ecx + 4], bl
call fcn.00401920
lea ecx, [esp + 0x38]
call fcn.00409d30
cmp dword [eax + 0x18], esi
jb 0x4053ce
mov eax, dword [eax + 4]
jmp 0x4053d1
add eax, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x2c], esi
jb 0x4053ec
mov edx, dword [esp + 0x18]
push edx
call fcn.00409f10
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x405487
mov eax, dword [esp + 0x34]
push eax
call fcn.00409f10
add esp, 4
xor eax, eax
pop esi
pop ebx
add esp, 0x148
ret 0x10
mov ecx, dword [esp + 0x154]
xor eax, eax
lea edx, [esp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push edx
mov dword [0x4e213c], ecx
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00404ac0
cmp byte [0x4e2ee8], bl
je 0x40546a
push 0x4e2ee8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x4e2350]
cmp eax, ebx
je 0x405480
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e2350], ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x405a80
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi]
push 0
push ecx
call edi
pop edi
pop esi
ret
Function at 0x407630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0xc]
push eax
push 0x405b50
push ebx
mov dword [esp + 0x30], edi
mov dword [0x4e2130], edi
mov dword [0x4e2134], edi
mov dword [0x4e2128], edi
mov dword [0x4e212c], edi
mov dword [0x4e2a90], edi
mov dword [0x4e2a94], edi
call fcn.00407240
test al, al
mov ecx, dword [esp + 0x10]
jne 0x4076d1
cmp ecx, edi
je 0x4076be
mov edx, dword [esp + 8]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
call fcn.00406940
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00409f10
add esp, 4
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
cmp ecx, edi
je 0x407745
push esi
mov esi, dword [esp + 0x18]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
pop esi
je 0x407721
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.00405fc0
test al, al
jne 0x40771d
lea ecx, [esp + 0xc]
call fcn.00406d70
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x407745
mov edx, dword [esp + 8]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
call fcn.00406940
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00409f10
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x407cd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareBlizzard_EntertainmentWorld_of_Warcraft
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407d4d
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.InstallPath
push eax
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407d4d
mov ecx, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.00444b20
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x10c
ret 8
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10c
ret 8

Function at 0x407d70
Capabilities:
Set current directory

Disassembly:
sub esp, 0x104
cmp byte [0x4e2fec], 0
jne 0x407da2
push 0
push 0
push 3
push 0
push 0
push 0
push str.WoW.exe
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x407dae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x104
ret
push 0x104
lea eax, [esp + 4]
push eax
call fcn.00407cd0
test eax, eax
je 0x407dcf
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x407da2
xor eax, eax
add esp, 0x104
ret
Function at 0x407ea0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
cmp edi, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
je 0x408046
cmp edx, ebx
je 0x408046
cmp dword [ebp + 8], ebx
je 0x408046
lea eax, [ebp - 0x24]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x407f08
push 0x4d4198
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], ebx
call fcn.0048b4c9
push esi
call fcn.00409fd0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x18], ebx
jne 0x407f2b
push 0x4d4198
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], eax
call fcn.0048b4c9
mov eax, dword [ebp - 0x24]
push ebx
push esi
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x407f4c
push 0x4d4198
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], eax
call fcn.0048b4c9
lea edx, [ebp - 0x14]
push edx
push str.ProductName
push ebx
call fcn.00407de0
xor esi, esi
cmp eax, esi
jne 0x407f72
push 0x4d4198
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], esi
call fcn.0048b4c9
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407f98
test dl, dl
je 0x407f94
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407f98
add eax, 2
add ecx, 2
test dl, dl
jne 0x407f78
xor eax, eax
jmp 0x407f9d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x407fb2
push 0x4d4198
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], esi
call fcn.0048b4c9
lea edx, [ebp - 0x14]
push edx
push str.FileVersion
push ebx
call fcn.00407de0
cmp eax, esi
jne 0x407fd6
push 0x4d4198
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], esi
call fcn.0048b4c9
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.00444b20
push ebx
call fcn.00409f40
add esp, 4
cmp esi, 3
jge 0x40802e
push 0x2c
push edi
call fcn.0048bb00
add esp, 8
test eax, eax
mov dword [ebp - 0x14], eax
je 0x408029
mov byte [eax], 0x2e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp byte [eax], 0x20
jne 0x408029
mov cl, byte [eax + 1]
mov byte [eax], cl
add eax, 1
test cl, cl
jne 0x408018
mov eax, dword [ebp - 0x14]
jmp 0x408013
add esi, 1
jmp 0x407ff0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4d4198
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], ebx
call fcn.0048b4c9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x408067
push eax
call fcn.00409f40
add esp, 4
mov eax, 0x40806d
ret
Function at 0x4081a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov esi, dword [esp + 0x10]
jne 0x408200
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x408200
cmp dword [esp + 0x14], 1
jne 0x408200
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi], 0
xor eax, eax
pop esi
pop ecx
ret 0xc

Function at 0x408220
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 6
sbb eax, eax
add eax, 1
add esp, 0x94
ret

Function at 0x408250
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
cmp byte [0x4e2d30], 0
push esi
jne 0x4082d9
lea eax, [esp + 4]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40827d
xor eax, eax
pop esi
add esp, 0x108
ret
mov ecx, dword [esp + 4]
push 0x4e2d30
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, 0x104
lea ecx, [esp + 8]
call fcn.00443f30
push bind
mov edx, str.Program_Files
lea ecx, [esp + 0xc]
call fcn.0044a560
mov esi, eax
test esi, esi
je 0x408273
push 0x104
mov edx, str.VirtualStore_
mov ecx, 0x4e2d30
call fcn.00444b70
push 0x104
mov edx, esi
mov ecx, 0x4e2d30
call fcn.00444b70
mov eax, 0x4e2d30
pop esi
add esp, 0x108
ret
Function at 0x40a040
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, ecx
call edi
cmp ax, 0x412
jne 0x40a062
lea eax, [esi + 0x48]
pop edi
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0x6b6f4b52
pop esi
ret
call edi
cmp ax, 0x809
jne 0x40a07a
lea ecx, [esi + 0x18]
pop edi
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], 0x656e4742
pop esi
ret
call edi
cmp ax, 0xc0a
jne 0x40a092
lea edx, [esi + 0x24]
pop edi
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], 0x65734553
pop esi
ret
call edi
cmp ax, 0x80a
jne 0x40a0aa
lea eax, [esi + 0x30]
pop edi
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0x65734d58
pop esi
ret
call edi
cmp ax, 0x40c
jne 0x40a0c2
lea ecx, [esi + 0x3c]
pop edi
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], 0x66724652
pop esi
ret
call edi
cmp ax, 0x407
jne 0x40a0da
lea edx, [esi + 0xc]
pop edi
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], 0x64654445
pop esi
ret
call edi
cmp ax, 0x419
jne 0x40a0f2
lea eax, [esi + 0x54]
pop edi
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0x72755255
pop esi
ret
call edi
cmp ax, 0x804
jne 0x40a10a
lea ecx, [esi + 0x60]
pop edi
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], 0x7a68434e
pop esi
ret
call edi
cmp ax, 0x404
jne 0x40a122
lea edx, [esi + 0x6c]
pop edi
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], 0x7a685457
pop esi
ret
pop edi
mov dword [esi + 0x78], esi
mov dword [esi + 0x7c], 0x656e5553
pop esi
ret
Function at 0x411210
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a2753
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], edx
mov edi, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
xor ebx, ebx
cmp byte [0x4e2ee8], bl
mov dword [0x4e3000], edi
je 0x4113b6
mov ecx, dword [esp + 0xac]
cmp dword [esp + 0xb0], ebx
mov eax, dword [esp + 0xa8]
mov dword [0x4e2ee0], ecx
setne dl
push ebx
mov ecx, 0x4e31f0
mov dword [0x4e2ed8], ebx
mov dword [0x4e2ee4], eax
mov byte [0x4e2edc], dl
mov byte [0x4e2edd], bl
mov byte [0x4e2edf], bl
mov byte [0x4e2fed], bl
mov byte [0x4e2fee], bl
mov byte [0x4e2fef], bl
call fcn.004259d0
lea ecx, [esp + 0x18]
call fcn.00412bf0
sub esp, 0x10
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0xb4], ebx
call fcn.0040fce0
lea ecx, [esp + 0x54]
call fcn.004123c0
mov esi, eax
push 0xffffffffffffffff
push ebx
push esi
mov ecx, 0x4dd2c8
mov byte [esp + 0xac], 1
call fcn.00401840
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1c]
push ecx
mov ecx, 0x4dd2e4
call fcn.00401840
push 0xffffffffffffffff
push ebx
add esi, 0x38
push esi
mov ecx, 0x4dd300
call fcn.00401840
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], bl
call fcn.0040b7b0
mov edx, dword [0x4dd2dc]
push ebx
push 0x4a8994
push edx
push ebx
mov ecx, 0x4dd2c8
call fcn.00446280
test eax, eax
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamA]
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
je 0x4113d3
push ebx
push 0x40cf20
call ebp
push eax
push 0x7a
push edi
call esi
cmp eax, ebx
jne 0x4113d3
push 1
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4b222c
call fcn.00401a20
lea ecx, [esp + 0x50]
call fcn.0040a4c0
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x41138a
mov eax, dword [eax + 4]
jmp 0x41138d
add eax, 4
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0x40], esi
jb 0x4113ad
mov eax, dword [esp + 0x2c]
push eax
call fcn.00409f10
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0040fdd0
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0xc
mov eax, dword [esp + 0x10]
cmp eax, ebx
push ebx
jne 0x4113eb
push 0x4107b0
call ebp
push eax
push 0x65
push edi
call esi
jmp 0x411411
push ebx
push 0x110
push eax
mov dword [0x4e2a84], 0x4107b0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4e2ffc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x64
call fcn.00444820
cmp byte [0x4e2edd], bl
jne 0x4113ad
cmp byte [0x4e2edf], bl
je 0x41143e
lea ecx, [esp + 0x18]
call fcn.0040fdd0
mov eax, 0xfffffffe
jmp 0x4113b8
cmp byte [0x4e2fef], bl
je 0x4113ad
lea ecx, [esp + 0x18]
call fcn.0040fdd0
or eax, 0xffffffff
jmp 0x4113b8
Function at 0x4117b0
Capabilities:
Get graphical window text
Identify system language via api

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, edx
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x412
jne 0x411898
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
push 0x1f1
mov edx, str..SourceWin32.Repairwinutilities.cpp
mov ecx, ebx
call fcn.0044ddf0
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
push 0x400
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x1fb
mov edx, str..SourceWin32.Repairwinutilities.cpp
mov ecx, edi
call fcn.00449670
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push edx
mov edx, dword [esp + 0x18]
add eax, 2
push eax
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x28
ret

Function at 0x411ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a278d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
push ebx
mov dword [esp + 0x10], 0x400
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x4a8994
mov edi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44c], ebx
mov byte [esi + 4], bl
call fcn.00401920
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x450]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
push edi
mov dword [esp + 0x45c], ebx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411ba9
mov eax, dword [esp + 0xc]
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x450], 1
call fcn.00401840
cmp dword [esp + 0x30], 0x10
jb 0x411ba9
mov eax, dword [esp + 0x1c]
push eax
call fcn.00409f10
add esp, 4
mov ecx, dword [esp + 0x43c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret 4
Function at 0x413370
Capabilities:
Set file attributes

Disassembly:
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x4147c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4a29e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
xor eax, eax
mov dword [esp], eax
push esi
mov esi, ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
push edi
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], 0x30
mov byte [esp + 0x15], 0x31
mov byte [esp + 0x16], 0x32
mov byte [esp + 0x17], 0x33
mov byte [esp + 0x18], 0x34
mov byte [esp + 0x19], 0x35
mov byte [esp + 0x1a], 0x36
mov byte [esp + 0x1b], 0x37
mov byte [esp + 0x1c], 0x38
mov byte [esp + 0x1d], 0x39
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0x42
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], 0x44
mov byte [esp + 0x22], 0x45
mov byte [esp + 0x23], 0x46
mov byte [esi + 4], al
movzx edi, dl
mov dword [esp + 0x2c], eax
mov eax, edi
shr eax, 4
mov cl, byte [esp + eax + 0x14]
mov byte [esp + 0xc], cl
mov edx, dword [esp + 0xc]
push edx
push 1
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.00411a20
and edi, 0xf
mov al, byte [esp + edi + 0x14]
mov byte [esp + 0xc], al
mov ecx, dword [esp + 0xc]
push ecx
push 1
mov ecx, esi
call fcn.00411a20
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret