joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475290
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4752be
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4752dc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004751f6
jmp 0x4752dc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4752dc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004751f6
test edi, edi
mov eax, edi
jne 0x4752c6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426e23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [0x42a484]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x42a480]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [0x42a484]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [0x42a47c]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x401db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426e53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [0x42a488]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x42a480]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [0x42a484]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [0x42a47c]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x401eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426eb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [0x42a484]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x42a490]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [0x42a484]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [0x42a47c]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x404300
Capabilities:
Get file version info

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x28]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x40431d
pop edi
pop esi
add esp, 0x1c
ret
push ebx
lea eax, [esi + 2]
push ebp
push eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x42aedc
push ebp
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov esi, eax
and eax, 0xffff
mov dword [esp + 0x1c], eax
mov ecx, edi
shr ecx, 0x10
mov eax, 0x51eb851f
mul ecx
mov ebx, edx
shr ebx, 5
mov eax, ebx
imul eax, eax, 0x64
sub ecx, eax
push ebp
shr esi, 0x10
mov dword [esp + 0x28], ecx
and edi, 0xffff
call sub.MFC71.DLL_operator_delete
imul esi, esi, 0x64
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add esi, ebp
lea ecx, [esi + esi*4]
lea eax, [ebx + ecx*2]
imul eax, eax, 0x64
add eax, edx
imul eax, eax, 0x64
add esp, 4
pop ebp
pop ebx
add eax, edi
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x404a10
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x42726c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x434110]
push ebx
xor ebx, ebx
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x10], ebx
call dword [0x42a590]
push 0xf0000020
push 1
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xe0], 1
mov dword [esp + 0x28], 0x10
call dword [0x42a010]
test eax, eax
je 0x404b34
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [0x42a014]
test eax, eax
je 0x404b2d
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 8]
push ebx
push eax
push ecx
push edx
call dword [0x42a018]
test eax, eax
je 0x404b26
mov edx, dword [esp + 8]
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
push 2
push edx
call dword [0x42a01c]
test eax, eax
je 0x404b1f
push edi
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
xor esi, esi
lea esp, [esp]
movzx ecx, byte [esp + esi + 0x44]
xor eax, eax
push ecx
mov dword [esp + 0x21], eax
lea edx, [esp + 0x20]
mov dword [esp + 0x25], eax
push str._02x
push edx
mov byte [esp + 0x28], bl
mov byte [esp + 0x31], al
call edi
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
call dword [0x42a490]
inc esi
cmp esi, 0x10
jl 0x404ae0
pop edi
jmp 0x404b43
push str.Error_getting_hash_param
jmp 0x404b39
push str.Error_hashing_data
jmp 0x404b39
push str.Error_creating_hash
jmp 0x404b39
push str.Error_acquiring_context
lea ecx, [esp + 0x28]
call dword [0x42a58c]
mov ecx, dword [esp + 8]
push ecx
call dword [0x42a020]
mov edx, dword [esp + 0xc]
push ebx
push edx
call dword [0x42a024]
mov esi, dword [esp + 0xd4]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call dword [0x42a484]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 1
mov byte [esp + 0xcc], bl
call dword [0x42a47c]
mov ecx, dword [esp + 0xc4]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xbc]
pop ebx
call fcn.00425e4e
add esp, 0xc8
ret

Function at 0x404bb0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fread]
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
push eax
push 1
lea ecx, [esp + 0x13]
push 1
push ecx
mov byte [esp + 0x1b], 0
call ebx
add esp, 0x10
test eax, eax
je 0x404c01
push esi
mov esi, dword [esp + 0x18]
lea esp, [esp]
mov al, byte [esp + 0xf]
cmp al, 0xa
je 0x404c00
mov byte [esi], al
mov edx, dword [edi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
inc esi
call ebx
add esp, 0x10
test eax, eax
jne 0x404be0
pop esi
pop edi
pop ebx
pop ecx
ret
Function at 0x404c60
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4272a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push 0x42af8c
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ebx, dword [esp + 0x28]
push 0
push ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x404d1b
push edi
push esi
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404d11
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x42aedc
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404d11
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._d._d._d._d
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x18
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
mov esi, dword [esp + 0x24]
lea edx, [esp + 8]
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x405f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427399
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 8], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0x14], 0
jne 0x405fbb
xor eax, eax
jmp 0x405fc9
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405fc0
sub eax, esi
mov ecx, dword [edi]
push eax
mov eax, dword [ecx - 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x406010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4273b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 8], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edx, dword [esp + 0x20]
test edx, edx
mov esi, dword [esi]
mov ebp, dword [esi - 0xc]
mov dword [esp + 0x14], 0
jne 0x406060
xor eax, eax
jmp 0x406070
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406066
sub eax, edi
pop edi
push ebp
push esi
push eax
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x408cb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x427659
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push eax
push 0x42b4c4
push 0x80000002
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
call dword [section..rdata]
mov ecx, dword [esp]
test ecx, ecx
je 0x408d6a
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 0xc]
push esi
mov esi, dword [0x42a004]
inc edx
push edx
push eax
push 1
push 0
push str.path
push ecx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 4]
inc ecx
push ecx
push eax
push 1
push 0
push str.pathroot
push edx
call esi
push str.QQSpeed_Launch.exe
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00405f70
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 0xc]
add esp, 0xc
inc edx
push edx
push eax
mov eax, dword [esp + 0xc]
push 1
push 0
push str.install
push eax
call esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 4]
pop esi
push ecx
call dword [0x42a00c]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x409bf0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x427898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [0x434110]
push 4
push 0
push 0x42b7c8
mov dword [esp + 0x150], eax
call sub.MFC71.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x409cf4
lea eax, [esp + 4]
push eax
push 5
push 0
call dword [0x42a704]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [0x42a700]
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call dword [0x42a6fc]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xc]
call dword [0x42a488]
push 0x42b7bc
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x15c], 0
call fcn.00401eb0
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x150], 2
call dword [0x42a47c]
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x409cc4
lea eax, [esp + 0x28]
push eax
call fcn.00404670
add esp, 4
test al, al
jne 0x409cdf
push 0
push 0
push 0x42b778
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 0x24]
mov dword [esp + 0x150], 0xffffffff
call dword [0x42a47c]
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x144]
call fcn.00425e4e
add esp, 0x154
ret
Function at 0x40bea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x427a81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x434110]
mov ecx, dword [esp + 0x6c]
push ebx
push esi
mov dword [esp + 0x5c], eax
push edi
mov edi, dword [esp + 0x74]
sub ecx, edi
mov eax, 0x78787879
imul ecx
mov ecx, dword [esp + 0x7c]
sar edx, 5
mov ebx, edx
sub ecx, edi
shr ebx, 0x1f
add ebx, edx
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ebx, ebx
mov eax, ecx
mov esi, ebx
je 0x40bf0b
mov edi, edi
cdq
idiv esi
mov eax, esi
test edx, edx
mov esi, edx
jne 0x40bf00
cmp eax, ecx
jge 0x40c04a
test eax, eax
jle 0x40c04a
push ebp
mov esi, ebx
mov ebp, eax
imul esi, esi, 0x44
imul ebp, ebp, 0x44
mov dword [esp + 0x7c], esi
add ebp, edi
mov dword [esp + 0x10], eax
jmp 0x40bf36
mov esi, dword [esp + 0x7c]
push ebp
lea ecx, [esp + 0x24]
mov edi, ebp
call fcn.00406fe0
mov ecx, dword [esp + 0x80]
lea eax, [esi + ebp]
cmp eax, ecx
mov dword [esp + 0x70], 0
jne 0x40bf5e
lea eax, [esp + 0x78]
jmp 0x40bf66
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp esi, ebp
je 0x40bfe3
lea esp, [esp]
push esi
mov ecx, edi
call dword [0x42a598]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x20]
push ecx
lea ecx, [edi + 0x20]
mov dword [edi + 0x1c], eax
call dword [0x42a598]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x3c], edx
mov al, byte [esi + 0x40]
mov byte [edi + 0x40], al
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov edi, esi
jge 0x40bfc8
mov ecx, dword [esp + 0x7c]
add ecx, esi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
jmp 0x40bfdd
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x78]
imul edx, edx, 0x44
add edx, eax
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
mov esi, dword [eax]
cmp esi, ebp
jne 0x40bf70
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [0x42a598]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x40]
mov dword [edi + 0x1c], ecx
push edx
lea ecx, [edi + 0x20]
call dword [0x42a598]
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x3c], eax
mov cl, byte [esp + 0x60]
mov byte [edi + 0x40], cl
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 1
call dword [0x42a47c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call dword [0x42a47c]
mov eax, dword [esp + 0x10]
sub ebp, 0x44
dec eax
mov dword [esp + 0x10], eax
jne 0x40bf32
pop ebp
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x58]
pop ebx
call fcn.00425e4e
add esp, 0x64
ret
Function at 0x40d940
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x427be2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
lea esi, [ebx + ebx + 2]
cmp esi, ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ebx
jge 0x40d9eb
lea esp, [esp]
mov eax, esi
imul eax, eax, 0x1c
sub esp, 0x1c
lea ebp, [eax + edi]
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call dword [0x42a484]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebp
mov byte [esp + 0x5c], 1
call dword [0x42a484]
mov byte [esp + 0x58], 0
call dword [esp + 0x88]
add esp, 0x38
test al, al
je 0x40d9c4
dec esi
mov eax, esi
imul eax, eax, 0x1c
mov ecx, ebx
imul ecx, ecx, 0x1c
add eax, edi
add ecx, edi
push eax
call dword [0x42a598]
mov eax, dword [esp + 0x30]
mov ebx, esi
lea esi, [esi + esi + 2]
cmp esi, eax
jl 0x40d980
mov ebp, eax
cmp esi, ebp
jne 0x40da07
mov ecx, ebp
imul ebx, ebx, 0x1c
imul ecx, ecx, 0x1c
lea eax, [ecx + edi - 0x1c]
add ebx, edi
push eax
mov ecx, ebx
call dword [0x42a598]
lea ebx, [ebp - 1]
mov edx, dword [esp + 0x50]
push edx
sub esp, 0x1c
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call dword [0x42a484]
mov ecx, dword [esp + 0x4c]
push ecx
push ebx
push edi
call fcn.0040b990
add esp, 0x2c
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 0xffffffff
call dword [0x42a47c]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x410b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427f23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x434110]
push ebp
push esi
push edi
mov esi, ecx
push 0x42af0c
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
call dword [0x42a488]
mov edi, dword [esi + 0x210]
mov ebp, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x38], 1
xor edx, edx
test edi, edi
je 0x410bce
mov eax, dword [esi + 0x214]
sub eax, edi
sar eax, 5
cmp ecx, eax
jae 0x410bce
mov eax, dword [esi + 0x210]
cmp dword [edx + eax + 0x1c], ebp
je 0x410bb8
inc ecx
add edx, 0x20
jmp 0x410b93
mov esi, dword [esi + 0x210]
shl ecx, 5
add ecx, esi
push ecx
lea ecx, [esp + 0x14]
call dword [0x42a598]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [0x42a484]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call dword [0x42a47c]
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebp
call fcn.00425e4e
add esp, 0x30
ret 8
Function at 0x417ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42862e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call dword [0x42a484]
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x18], 0
call fcn.00415440
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00415440
add edi, 0x40
push edi
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 2
call dword [0x42a484]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41eb90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41ebbd
xor eax, eax
jmp 0x41ec9a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41ebda
xor eax, eax
jmp 0x41ec9a
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41ec07
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
xor eax, eax
jmp 0x41ec9a
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0041ef00
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41ec24
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x41ec2b
mov dword [ebp - 0x1c], 0x42af8c
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call dword [0x42a58c]
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], 0
je 0x41ec63
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0041eca0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41ec8a
cmp dword [ebp - 8], 0
je 0x41ec8a
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0041ee50
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41ef00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41f03b
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41f035
push str.VarFileInfoTranslation
push 0x434578
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x434578
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41eff3
cmp dword [ebp - 0x10], 4
jne 0x41eff3
push 4
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0xc]
push edx
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xc]
and eax, 0xff0000
shr eax, 0x10
push eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xff000000
shr ecx, 0x18
push ecx
mov edx, dword [ebp - 0xc]
and edx, 0xff
push edx
mov eax, dword [ebp - 0xc]
and eax, 0xff00
shr eax, 8
push eax
push str.StringFileInfo_02X_02X_02X_02XFileVersion
push 0x434578
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x18
jmp 0x41f010
call dword [0x42a0d8]
movzx ecx, ax
push ecx
push str.StringFileInfo_04X04B0FileVersion
push 0x434578
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x434578
mov ecx, dword [ebp - 4]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41f033
mov byte [ebp - 0x11], 0
jmp 0x41f039
mov byte [ebp - 0x11], 0
jmp 0x41f03f
mov byte [ebp - 0x11], 0
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x41f0a2
cmp dword [ebp - 0x10], 0x100
jae 0x41f063
mov eax, dword [ebp - 0x18]
push eax
push 0x434578
call sub.MSVCR71.dll_strcpy
add esp, 8
jmp 0x41f081
push 0xfa
mov ecx, dword [ebp - 0x18]
push ecx
push 0x434578
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov byte [0x434672], 0
cmp dword [ebp - 4], 0
je 0x41f094
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov dword [ebp - 4], 0
mov eax, 0x434578
jmp 0x41f0be
cmp dword [ebp - 4], 0
je 0x41f0b5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov dword [ebp - 4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 4