joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ae750
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x5ae77a
xor eax, eax
ret 0x10
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
ret 0x10

Function at 0x5af470
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x62ee2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
mov dword [esp + 0x18], esi
je 0x5af4da
cmp byte [ebx], 0
je 0x5af4da
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push esi
push eax
push esi
push 1
push esi
push esi
push esi
push ebx
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [esp + 0x10]
cmp ebp, esi
jne 0x5af4de
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00489840
jmp 0x5af5f5
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x40], esi
push esi
mov esi, dword [esp + 0x48]
push esi
push ebp
call edi
test eax, eax
je 0x5af527
test ebx, ebx
je 0x5af510
cmp byte [ebx], 0
je 0x5af510
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00489840
jmp 0x5af5f5
lea ecx, [esp + 0x30]
call fcn.004897f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 1
cmp eax, 1
je 0x5af57d
cmp eax, 2
je 0x5af57d
cmp eax, 4
jne 0x5af576
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
push ecx
push 0
push 0
push esi
push ebp
call edi
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
push edx
push 0x68f684
push eax
call fcn.0048a580
add esp, 0xc
jmp 0x5af5bf
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x5af5b6
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push edx
call fcn.00489bd0
lea ecx, [esp + 0x34]
push ecx
push eax
push 0
push 0
push esi
push ebp
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.00489b80
lea ecx, [esp + 0x30]
call fcn.00489940
test eax, eax
je 0x5af5bf
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
call fcn.00489a10
test ebx, ebx
je 0x5af5cf
cmp byte [ebx], 0
je 0x5af5cf
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.004898b0
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 0
call fcn.00489810
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x5b0b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62ef98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004897f0
mov eax, dword [esi + 0x30]
lea ecx, [esp + 4]
push eax
push 0x68f684
push ecx
mov dword [esp + 0x1c], 0
call fcn.0048a580
mov edx, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push edx
push str.BackgroundColor
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov eax, dword [esi + 0x34]
lea ecx, [esp + 4]
push eax
push 0x68f684
push ecx
call fcn.0048a580
mov edx, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push edx
push str.FontColor
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
fld dword [esi + 0x38]
sub esp, 8
lea eax, [esp + 0xc]
fstp qword [esp]
push 0x6e7c90
push eax
call fcn.0048a580
mov ecx, dword [esp + 0x14]
add esp, 0x10
push ecx
push str.HorzScale
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
mov ecx, esi
call fcn.005ae750
fld dword [esi + 0x44]
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push 0x6e7c90
push edx
call fcn.0048a580
mov eax, dword [esp + 0x14]
add esp, 0x10
mov ecx, esi
push eax
push str.CharSpace
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 4]
push ecx
push 0x68f684
push edx
call fcn.0048a580
mov eax, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push eax
push str.bBold
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov ecx, dword [esi + 0x48]
push ecx
push 0x68f684
lea edx, [esp + 0xc]
push edx
call fcn.0048a580
mov eax, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push eax
push str.bItalic
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
fld dword [esi + 0x40]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push 0x6e7c90
push ecx
call fcn.0048a580
mov edx, dword [esp + 0x14]
add esp, 0x10
mov ecx, esi
push edx
push str.FontSize
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov eax, dword [esi + 0x3c]
mov ecx, esi
push eax
push str.FontName
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00489810
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5b0b36
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62ef98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004897f0
mov eax, dword [esi + 0x30]
lea ecx, [esp + 4]
push eax
push 0x68f684
push ecx
mov dword [esp + 0x1c], 0
call fcn.0048a580
mov edx, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push edx
push str.BackgroundColor
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov eax, dword [esi + 0x34]
lea ecx, [esp + 4]
push eax
push 0x68f684
push ecx
call fcn.0048a580
mov edx, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push edx
push str.FontColor
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
fld dword [esi + 0x38]
sub esp, 8
lea eax, [esp + 0xc]
fstp qword [esp]
push 0x6e7c90
push eax
call fcn.0048a580
mov ecx, dword [esp + 0x14]
add esp, 0x10
push ecx
push str.HorzScale
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
mov ecx, esi
call fcn.005ae750
fld dword [esi + 0x44]
sub esp, 8
lea edx, [esp + 0xc]
fstp qword [esp]
push 0x6e7c90
push edx
call fcn.0048a580
mov eax, dword [esp + 0x14]
add esp, 0x10
mov ecx, esi
push eax
push str.CharSpace
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 4]
push ecx
push 0x68f684
push edx
call fcn.0048a580
mov eax, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push eax
push str.bBold
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov ecx, dword [esi + 0x48]
push ecx
push 0x68f684
lea edx, [esp + 0xc]
push edx
call fcn.0048a580
mov eax, dword [esp + 0x10]
add esp, 0xc
mov ecx, esi
push eax
push str.bItalic
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
fld dword [esi + 0x40]
sub esp, 8
lea ecx, [esp + 0xc]
fstp qword [esp]
push 0x6e7c90
push ecx
call fcn.0048a580
mov edx, dword [esp + 0x14]
add esp, 0x10
mov ecx, esi
push edx
push str.FontSize
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
mov eax, dword [esi + 0x3c]
mov ecx, esi
push eax
push str.FontName
push str.SoftwareFoxit_SoftwareFoxit_ReaderTypewrite_Preference
push 0x80000001
call fcn.005ae750
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00489810
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5b6b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004897f0
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x14], edi
call fcn.004897f0
mov eax, dword [0x661e14]
mov dword [esi + 0x30], eax
mov ecx, dword [0x661e14]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5b6c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.00489940
test eax, eax
je 0x5b6c59
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00489810
fld dword [0x635e2c]
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push edi
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x30]
call fcn.00489930
mov ecx, dword [esi + 0x44]
push eax
push edi
call fcn.004a4010
mov dword [esp + 8], eax
fild dword [esp + 8]
fst dword [esp + 8]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x40
je 0x5b6cc1
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x10]
push edi
mov cl, byte [eax]
mov byte [esp + 0xc], cl
mov ecx, dword [esi + 0x44]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
and eax, 0xff
push eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 8], eax
fild dword [esp + 8]
fstp dword [esp + 8]
lea ecx, [esp + 0x30]
call fcn.00489930
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x30]
fild dword [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
fmul dword [esi + 0x20]
fmul dword [0x646e64]
fld dword [esp + 8]
fmul dword [esi + 8]
fmul dword [0x661d1c]
faddp st(1)
fmul dword [esi + 0x1c]
fstp dword [esp + 0xc]
call fcn.00489810
mov ecx, dword [esp + 0x20]
pop edi
fld dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x5b7b80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x62f6b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
fld dword [esp + 0x3c]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x24]
lea eax, [esi + 0x4c]
fadd dword [edi + 0x10]
fstp dword [edi + 0x10]
fld dword [esp + 0x48]
fadd dword [edi + 0x14]
fstp dword [edi + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edx
call fcn.0049bb30
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x30]
fld dword [0x635e2c]
fld dword [esp + 0x14]
add eax, 0x64
mov dword [esp + 8], 0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
fcomp dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
fnstsw ax
mov dword [esp + 0x30], edx
test ah, 1
je 0x5b7c2f
fld dword [esp + 0x24]
fsub dword [esp + 0x14]
fstp dword [esp + 8]
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x5b7c4a
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
fstp dword [esp + 8]
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x5b7c63
fstp st(0)
fld dword [esp + 0x30]
fsub dword [esp + 0x20]
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x5b7c7c
fstp st(0)
fld dword [esp + 0x2c]
fsub dword [esp + 0x1c]
fld dword [esp + 8]
fadd dword [edi + 0x10]
fstp dword [edi + 0x10]
fadd dword [edi + 0x14]
fstp dword [edi + 0x14]
fld dword [esi + 0x38]
fld dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
fst dword [esi + 0x14]
fld st(1)
test eax, eax
fstp dword [esi + 0x18]
fstp dword [esp + 8]
fstp dword [esp + 0xc]
je 0x5b7d54
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00429110
fld dword [esi + 0xc]
fadd dword [esi + 8]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x44]
push ecx
push edx
push ecx
mov ecx, edi
fchs
fstp dword [esp]
push 0
mov dword [esp + 0x4c], 0
call fcn.0049b9e0
fld dword [esi + 0x34]
fld dword [esp + 0x44]
fsub st(1)
mov eax, dword [esi + 0x3c]
fstp dword [esp + 0x44]
fstp st(0)
fld dword [esi + 0x38]
fld dword [esp + 0x48]
fsub st(1)
fstp dword [esp + 0x48]
mov edi, dword [eax + 0x14]
test edi, edi
fstp st(0)
je 0x5b7d3c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, edi
mov edi, dword [edi]
push ecx
push edx
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.0049ec20
fld dword [esp + 8]
fadd dword [esp + 0x44]
test edi, edi
fstp dword [esp + 8]
fld dword [esp + 0xc]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc]
jne 0x5b7d08
mov ecx, esi
call fcn.005b7d70
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00489810
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5d0440
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x6307fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x6925a8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x18]
mov dword [edi], eax
mov edx, dword [0x6925a8]
lea ebx, [esi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x120], ecx
mov dword [ebx], edx
mov eax, 1
mov dword [esi + 0x10], ecx
mov byte [esp + 0x120], al
mov dword [esi + 8], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esi + 0x20], 0x96
mov dword [esi + 0x24], 0x4b
mov dword [esi], 0x662dcc
mov dword [esi + 0x14], 0x3ff00000
mov dword [esi + 0xc], 0xffff
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call fcn.005eb1d3
push 0x6e506c
mov ecx, ebx
call fcn.005eb1d3
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x5d5990
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x630ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0xc]
call fcn.004897f0
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
call fcn.004897f0
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call fcn.004897f0
mov eax, dword [0x662f6c]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x28], eax
mov ecx, dword [0x662f6c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi], 0x663104
mov dword [esi + 0x34], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x5dcf40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00461180
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x5dd00b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x5dd00b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x5dcfbe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x5dcfc9
or bh, 8
and edi, 0x8000000
je 0x5dcfe4
mov eax, dword [0x70071c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x5dd00b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dd3e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5dd40b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x5dd42f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x5dd44a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x5e00d9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5e00f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00464602
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5e011c
test byte [esp + 8], 2
je 0x5e011c
call fcn.00464675
mov dword [eax], 0xd
call fcn.0046467e
mov dword [eax], 5
jmp 0x5e00f5
xor eax, eax
ret
Function at 0x5e7f68
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5e7fa0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005eb4f1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005eb4c9
jmp 0x5e7fac
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5e7fb0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x6ea968
mov ecx, edi
call fcn.005eb1d3
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x5e8003
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x5e8016
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.005eb4f1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.005eb4c9
jmp 0x5e8016
mov ecx, esi
call fcn.005ea4ae
test eax, eax
je 0x5e8016
push edi
mov ecx, eax
call fcn.005e7f68
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x5e9c3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5e9c7f
call fcn.00606265
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5e9c7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5e9c76
xor eax, eax
jmp 0x5e9c87
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005e9c8d
pop edi
pop esi
pop ebx
ret 4

Function at 0x5ed0b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00606265
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5ed0e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005ed0f8
pop edi
pop esi
pop ebx
ret 8

Function at 0x5f314b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x61f4f4
call fcn.0046290c
push ecx
push ecx
push esi
push 0x10
call fcn.005e6fe9
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x5f3198
mov ecx, esi
call fcn.005ec27a
mov eax, dword [0x6925a8]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.005eb1d3
jmp 0x5f319a
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x675970
push eax
mov dword [ebp - 0x10], esi
call fcn.00462988
pop esi