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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x503900
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0xd5ac]
test eax, eax
je 0x42e3e2
lea ecx, [ebp + 0xd5a8]
call fcn.0044ccf0
lea ecx, [esp + 0xc]
call fcn.00440050
push 0xe062
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0
call fcn.004400c0
lea ecx, [esp + 0x20]
call fcn.004e96a9
mov eax, dword [ebp + 0x1c]
mov byte [esp + 0x74], 1
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004e974b
mov esi, eax
test esi, esi
je 0x42e428
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.004e9760
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
fld qword [0x54b790]
fmul qword [0x50f3b0]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
call fcn.004b0f30
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x44], 0x2bc
call dword [sym.imp.GDI32.dll_GetTextCharset]
mov byte [esp + 0x47], al
mov al, 2
mov byte [esp + 0x48], 4
mov byte [esp + 0x4a], al
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CFont.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], al
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x14]
call fcn.004eaa47
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.004e99b8
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea ecx, [esp + 0x20]
call fcn.004e97c8
lea ecx, [esp + 0x10]
call fcn.004eaa9e
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push 0x18
lea esi, [ebp + 0xd5a8]
push edi
push ecx
mov ecx, esi
call fcn.0044cf80
mov ecx, esi
call fcn.0044d8a0
push 0xffffff
call fcn.0045bf10
add esp, 4
lea edx, [esp + 0x30]
mov ecx, esi
push 0
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
push 1
push 0
call fcn.00454d40
push 0
mov byte [ebp + 0xd724], 0x32
push 1
push 0x3e800000
mov ecx, esi
call fcn.00459d20
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 3
call fcn.004eaa9e
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.004e97de
lea ecx, [esp + 0xc]
mov dword [esp + 0x74], 0xffffffff
call fcn.004e1339
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x430ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x503b06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xb8]
push 0
push eax
mov eax, dword [esp + 0xc4]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xc4], 0
mov dword [ecx], edx
mov edx, dword [esp + 0xd8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xcc]
push ecx
lea ecx, [esp + 0x84]
call fcn.0043c110
mov esi, dword [esp + 0x88]
test esi, esi
jne 0x4310c9
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x74]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CFont.0
mov ecx, dword [edi + 0x1c]
push 0
push 0
mov bl, 2
push 0x31
push ecx
mov byte [esp + 0xbc], bl
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.004eaa32
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push edx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
fld qword [0x54b790]
fmul qword [0x50ec50]
call fcn.004b0f30
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x40], 0x2bc
mov byte [esp + 0x48], 4
mov byte [esp + 0x4a], bl
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.004eaa47
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov edi, eax
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x24]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esi]
push 0xf5dfd6
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.004e9a94
mov eax, dword [esp + 0xc8]
mov edx, dword [esi]
lea ebx, [esp + 0x14]
push 0x110
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [esp + 0xc]
call fcn.004eaa9e
mov dword [esp + 0xc], vtable.CGdiObject.0
mov byte [esp + 0xac], 3
lea ecx, [esp + 0xc]
call fcn.004eaa9e
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0
call fcn.0043c340
lea ecx, [esp + 0xc8]
mov dword [esp + 0xac], 0xffffffff
call fcn.004e1339
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 0x1c
lea eax, [esp + 0x90]
jmp 0x430f6c
Function at 0x432b60
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x503c6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
push 0x104
mov dword [esp + 0x18], 0
call fcn.004e1a0a
add esp, 4
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x432be9
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x432be9
push esi
call fcn.004e1a33
mov esi, dword [esp + 0x30]
add esp, 4
mov ecx, esi
push 0x54ae58
call fcn.004e13a7
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push edi
call fcn.004e1a0a
add esp, 4
mov ebp, eax
push ebp
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x432c35
push ebp
call fcn.004e1a33
push esi
call fcn.004e1a33
mov esi, dword [esp + 0x34]
add esp, 8
mov ecx, esi
push 0x54ae58
call fcn.004e13a7
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x538710
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x432c81
push ebp
call fcn.004e1a33
push esi
call fcn.004e1a33
mov esi, dword [esp + 0x34]
add esp, 8
mov ecx, esi
push 0x54ae58
call fcn.004e13a7
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edx, dword [0x54514c]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edi, 1
mov edx, dword [eax + 0x14]
mov cx, word [eax + 0x14]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x10]
lea eax, [esp + 0x14]
shr edx, 0x10
push ecx
push edx
push str._d._d._d._d
push eax
mov dword [esp + 0x3c], edi
call fcn.004db6ed
push esi
call fcn.004e1a33
push ebp
call fcn.004e1a33
mov esi, dword [esp + 0x4c]
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004e10ae
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], edi
mov byte [esp + 0x24], 0
call fcn.004e1339
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x432d10
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x10]
cmp eax, 1
mov eax, dword [esp + 8]
jne 0x432d5c
test eax, eax
je 0x432d68
cmp eax, 0xa
je 0x432d50
cmp eax, 0x5a
jne 0x432d5c
mov eax, 2
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
mov ecx, dword [esp + 4]
sub ecx, 4
je 0x432da0
dec ecx
je 0x432d71
xor eax, eax
add esp, 0x94
ret
sub eax, 0
je 0x432d94
dec eax
je 0x432d88
sub eax, 2
mov eax, 6
add esp, 0x94
ret
mov eax, 5
add esp, 0x94
ret
mov eax, 4
add esp, 0x94
ret
mov eax, 3
add esp, 0x94
ret
Function at 0x432db0
Capabilities:
Identify system language via api

Disassembly:
push esi
call fcn.00432d10
cmp eax, 2
jge 0x432dc3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
pop esi
ret
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x432ddc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
pop esi
ret
push str.GetUserDefaultUILanguage
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x432dfb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
pop esi
ret
push edi
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, di
pop edi
pop esi
ret

Function at 0x433030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x503ce7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov eax, dword [0x54514c]
xor esi, esi
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
push ecx
push 0x20019
push esi
push edx
push eax
call dword [0x54ae10]
test eax, eax
jne 0x4330f0
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov ebp, dword [0x54ae0c]
push ecx
lea edx, [esp + 0x30]
push eax
push edx
push eax
mov eax, dword [esp + 0x1c]
push edi
push eax
call ebp
test eax, eax
jne 0x4330f0
mov ecx, dword [esp + 0x30]
inc ecx
push ecx
call fcn.004e1a0a
mov esi, eax
add esp, 4
test esi, esi
je 0x4330f0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push esi
push eax
push 0
push edi
push ecx
call ebp
test eax, eax
jne 0x4330f0
mov edx, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x14]
mov byte [esi + edx], al
call fcn.004e14c2
jmp 0x4330fe
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.004e1472
test esi, esi
je 0x43310b
push esi
call fcn.004e1a33
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43311a
push eax
call dword [0x54ae08]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004e10ae
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.004e1339
lea ecx, [esp + 0x38]
mov byte [esp + 0x20], 0
call fcn.004e1339
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4333d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x7a
xor eax, eax
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], 0x94
rep stosd dword es:[edi], eax
mov ecx, 0x24
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], 1
mov dword [esi + 0x22c], 1
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], 1
mov dword [esi + 0x230], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x274], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x433472
cmp dword [esp + 0x10], 5
jb 0x433472
mov eax, 1
pop edi
mov dword [esi + 0x234], eax
pop esi
pop ebx
add esp, 0x94
ret
mov dword [esi + 0x234], ebx
pop edi
pop esi
pop ebx
add esp, 0x94
ret

Function at 0x434680
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4346b7
push edi
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x434580
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
pop esi
add esp, 0x24
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x43472c
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x4346d9
jmp dword [eax*4 + 0x434758]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
pop esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
add esp, 0x24
ret
mov esi, dword [esp + 0x2c]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
add esp, 0x24
ret
Function at 0x434880
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call fcn.00434770
test eax, eax
je 0x4348e2
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4348e2
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x20]
push edx
call fcn.00434680
mov eax, dword [esi + 0x1c]
add esp, 4
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
push eax
call fcn.004e1f6d
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push 3
push eax
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
jmp 0x4348f8
mov esi, dword [esp + 0x34]
push 0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push eax
call fcn.004e1f6d
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
call edi
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 0
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
mov ecx, esi
call fcn.004e54ae
mov edx, dword [esi + 0x1c]
push 0x585
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [0x54b7ec]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43495c
mov ecx, dword [0x54b7ec]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.004e1f6d
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.004e1f6d
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, esi
call fcn.004e5517
push 0
call edi
push eax
push 0
call ebx
push eax
call ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4364f0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x503fa9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebp
push esi
push edi
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], esi
call fcn.004df45d
push 0x54ae58
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 1
call fcn.004e13a7
push 0x5c
lea ecx, [esp + 0x17c]
mov byte [esp + 0x174], 2
call fcn.004db86b
mov ecx, dword [esp + 0x178]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jne 0x4365a3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004e1339
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.004df490
mov dword [esp + 0x170], 0xffffffff
jmp 0x4366e9
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x1c]
call fcn.004df4f0
mov eax, dword [esp + 0x178]
cmp dword [eax - 8], esi
jle 0x43661c
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x4365cd
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
push edx
jmp 0x4365e2
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004df732
push 0x5c
lea ecx, [esp + 0x10]
call fcn.004e173c
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jne 0x436614
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.004df732
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jl 0x4365bb
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebp
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
jle 0x436690
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00436770
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 3
call fcn.004e1472
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 2
call fcn.004e1339
mov edx, dword [esp + 0xc]
push 0
push edx
call edi
test eax, eax
je 0x436687
mov eax, dword [esp + 0xc]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x436638
mov edx, dword [esp + 0x178]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
or edi, 0xffffffff
lea ecx, [esp + 0x14]
push edi
push 0
mov esi, eax
call fcn.004df4f0
mov eax, dword [esp + 0x28]
push esi
cmp eax, 0x10
jne 0x436712
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004e1339
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.004df490
mov dword [esp + 0x170], edi
lea ecx, [esp + 0x178]
call fcn.004e1339
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
add esp, 0x168
ret
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004e1339
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.004df490
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], edi
call fcn.004e1339
mov ecx, dword [esp + 0x168]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x168
ret
Function at 0x438860
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x504260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
call fcn.00438690
add esp, 4
mov ecx, dword [0x54514c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov byte [esp + 0x18], 1
mov ecx, dword [eax - 8]
mov dl, byte [ecx + eax - 1]
mov ecx, 0x538710
cmp dl, 0x5c
jne 0x4388b8
mov ecx, 0x54ae58
push ecx
push eax
lea edx, [esp + 0x10]
push str._s_sshortcut.dll
push edx
call fcn.004db6ed
mov eax, dword [esp + 0x18]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4388ec
push 0xffffffffffffffff
push 0x10
push 0xe043
jmp 0x4389a6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetApplicationDatabase
push eax
call edi
mov ecx, dword [esi + 4]
push str.SetShortCutsLanguage
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push str.SetShortCutsLanguageAndRecreateShortCuts
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.SetProgramUILanguage
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetDocumentDatabase
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 4]
push str.GetSerialNumberSummary
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.GetSerialNumberSummaryEx
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 8]
cmp eax, ebx
pop edi
je 0x43899d
cmp dword [esi + 0x10], ebx
je 0x43899d
cmp dword [esi + 0xc], ebx
je 0x43899d
cmp dword [esi + 0x24], ebx
je 0x43899d
lea ecx, [esp + 8]
mov byte [esp + 0x18], bl
call fcn.004e1339
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e1339
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0x10
push 0xe044
call fcn.004ecd3c
lea ecx, [esp + 8]
mov byte [esp + 0x18], bl
call fcn.004e1339
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e1339
mov ecx, dword [esp + 0x10]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x439ee0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor ebx, ebx
push edi
push ebx
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x439f0e
pop edi
pop esi
mov eax, ebx
mov edx, ebx
pop ebp
pop ebx
add esp, 0xc
ret
push edi
call fcn.004b17b9
mov esi, eax
add esp, 4
test esi, esi
jne 0x439f29
pop edi
pop esi
mov eax, ebx
mov edx, ebx
pop ebp
pop ebx
add esp, 0xc
ret
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x439f4c
push esi
call fcn.004b16d0
add esp, 4
mov eax, ebx
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0x538710
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x439f7a
push esi
call fcn.004b16d0
add esp, 4
mov eax, ebx
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
push esi
mov edx, dword [eax + 0x10]
mov cx, word [eax + 0x10]
shr edx, 0x10
mov word [esp + 0x18], dx
mov edx, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [esp + 0x1a], cx
shr edx, 0x10
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], ax
call fcn.004b16d0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x441ae0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x504d90
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
test ebx, ebx
jne 0x441b1a
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
push edi
mov ecx, ebx
call fcn.0047bf38
push eax
lea ecx, [esp + 0x10]
call fcn.004e13a7
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x50ce10
mov eax, dword [0x54514c]
mov dword [esp + 0x4c], eax
mov ecx, ebx
mov byte [esp + 0x44], 2
call fcn.0047bee3
push eax
lea ecx, [esp + 0x50]
push str.LANG__s
push ecx
call fcn.004db6ed
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.004e18b5
mov edi, dword [esp + 0x4c]
call fcn.004f65e5
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004eaa47
mov edi, dword [esi + 0x40]
test eax, eax
je 0x441bc3
mov edi, dword [esp + 0x14]
mov edx, dword [esi + 0x48]
lea eax, [esp + 0x10]
push 0xffffff
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov edi, eax
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x146
push eax
mov dword [esp + 0x28], 7
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax - 8]
push ecx
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.004de497
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004eaa9e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call fcn.004e1339
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call fcn.004eaa9e
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004e1339
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4