joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4192c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458568
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esi], eax
mov dword [esi + 4], 0
call fcn.0044a503
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], ecx
mov eax, 1
mov dword [esi + 0x2c], 0
lea ecx, [esp + 0x38]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.0044a78e
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x28
Function at 0x4197c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4585e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
lea eax, [esp + 0x10]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi]
lea edx, [esp + 0x10]
push 2
push edx
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CRgn.0
push 0
push 0
push 0
push 0
mov dword [esp + 0x38], 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0xc]
call fcn.0044e5c7
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [edi]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRgn]
cmp eax, 2
jl 0x419871
cmp eax, 3
jg 0x419871
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
jmp 0x419890
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetRectRgn]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4198a1
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
jmp 0x4198a4
mov eax, dword [edi + 0x38]
pop edi
pop esi
test eax, eax
lea eax, [esp]
je 0x4198d8
mov edx, dword [esp + 4]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x4198cc
push 4
xor ecx, ecx
push eax
mov eax, dword [edx + 4]
push ecx
push eax
jmp 0x4198f9
mov ecx, dword [edx + 4]
push 4
push eax
mov eax, ecx
push ecx
push eax
jmp 0x4198f9
mov edx, dword [esp + 4]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x4198ee
xor ecx, ecx
jmp 0x4198f1
mov ecx, dword [edx + 4]
push 2
push eax
push ecx
mov ecx, dword [edx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp], vtable.CGdiObject.0
lea ecx, [esp]
mov dword [esp + 0x20], 1
call fcn.0044e61e
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x41e770
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x32c
add ecx, 0x2df50
lea eax, [esp + 0x98]
push ebx
push ebp
mov ebp, dword [esp + 0x338]
push esi
push edi
lea ebx, [ebp + 0x6c]
lea esi, [ebp + 0x40]
push ebx
push esi
push ecx
push str._s_s__s.hdt
push eax
call fcn.004335a0
lea ecx, [esp + 0xbc]
push ecx
call fcn.0040f240
add esp, 0x18
test al, al
je 0x41e97f
push 0x180
lea edx, [esp + 0xac]
push 0x8102
push edx
call fcn.0043f1f5
mov edi, eax
push edi
mov dword [esp + 0x20], edi
call fcn.004447c9
add esp, 0x10
test eax, eax
jne 0x41e8d1
mov ecx, 0x25
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push 4
lea eax, [esp + 0x18]
push str.HDT0
push eax
call fcn.00433640
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0xe1a]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x8c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov bl, byte [eax]
mov edx, eax
test bl, bl
je 0x41e87a
cmp ecx, 0x1e
jge 0x41e87a
inc ecx
add eax, 0xc
cmp byte [edx], 0
je 0x41e884
cmp ecx, 0x1e
jl 0x41e869
xor eax, eax
mov dword [esp + 0x64], ecx
test ecx, ecx
jle 0x41e8b4
lea ecx, [ebp + 0x101b]
mov dl, byte [ecx - 0x201]
add ecx, 0xc
mov byte [esp + eax + 0x68], dl
mov dl, byte [ecx - 0xc]
mov byte [esp + eax + 0x88], dl
mov edx, dword [esp + 0x64]
inc eax
cmp eax, edx
jl 0x41e894
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0x94
push eax
push ecx
call fcn.0043db5f
mov edi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x41e8ef
lea edx, [esp + 0x14]
push 0x94
push edx
push edi
call fcn.004400e7
add esp, 0xc
cmp eax, 0x94
jne 0x41e97f
lea eax, [esp + 0x14]
push 0x4726b0
push eax
call fcn.004339a0
add esp, 8
test eax, eax
je 0x41e97f
push 2
push 0
push edi
call fcn.00434682
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x1b8]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x41e950
lea ecx, [eax + eax*2]
lea esi, [ebp + 0xe1a]
shl ecx, 2
shr ecx, 2
lea edi, [esp + 0x1bc]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x1ac]
push 0x190
push edx
push esi
call fcn.0043db5f
push esi
call fcn.0043b12e
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32c
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x32c
ret 4
Function at 0x41ef90
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x458de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x472c58]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 8]
call fcn.0044a917
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call fcn.0044a503
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.0044abe1
push str._PORTABLE
lea ecx, [esp + 8]
call fcn.00444cef
cmp eax, 0xffffffff
je 0x41f002
mov byte [esi + 0x2e3ae], 1
push str._SAFE
lea ecx, [esp + 8]
call fcn.00444cef
cmp eax, 0xffffffff
je 0x41f01c
mov byte [esi + 0x2e3af], 1
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0044a78e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044a78e
mov ecx, dword [esp + 0xc]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x420500
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458f76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 0x34]
mov eax, dword [ebp + 0x194]
add eax, 0x118
push eax
push str._s.hdt
push ecx
call fcn.004335a0
mov edx, dword [0x472c58]
add esp, 0xc
mov dword [esp + 0xc], edx
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], ebx
call fcn.0042b7ba
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.0042b87d
test eax, eax
setne al
cmp al, bl
jne 0x4205bf
lea ecx, [esp + 0x18]
call fcn.0042b833
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], bl
call fcn.0042b7f7
lea ecx, [esp + 0xc]
mov dword [esp + 0x140], 0xffffffff
call fcn.0044a78e
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
add esp, 0x13c
ret
push esi
push edi
mov dword [ebp + 0x238], ebx
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x20]
call fcn.0042ba9d
test eax, eax
lea ecx, [esp + 0x20]
setne byte [esp + 0x13]
call fcn.0042ba64
test eax, eax
jne 0x420704
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042bb6c
mov edi, dword [eax]
mov eax, dword [ebp + 0x238]
mov edx, eax
or ecx, 0xffffffff
shl edx, 6
add edx, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + edx*4 + 0x23c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.0044a78e
mov eax, dword [ebp + 0x238]
push 0x8002
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [ebp + ecx*4 + 0x23c]
push edx
call fcn.0043f1f5
lea ecx, [ebp + 0x19c]
push 0x94
push ecx
push eax
mov dword [ebp + 0x234], eax
call fcn.004400e7
add esp, 0x14
cmp eax, 0x94
jne 0x4206f5
lea esi, [ebp + 0x1c0]
lea edx, [ebp + 0x1a0]
push esi
push edx
lea eax, [esp + 0x1c]
push str._s__s_n:__s_
push eax
call fcn.00445030
mov eax, dword [ebp + 0x190]
add esp, 0x10
add eax, 0x6c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4206c4
cmp cl, bl
je 0x4206c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4206c4
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4206a0
xor eax, eax
jmp 0x4206c9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4206d7
mov eax, dword [ebp + 0x238]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x170]
push ecx
push ebx
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp + 0x238]
mov eax, dword [ebp + 0x234]
push eax
call fcn.0043b12e
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x4205cb
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x170]
push ebx
push ecx
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebp
call fcn.00420770
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], bl
call fcn.0042b7f7
lea ecx, [esp + 0x14]
mov dword [esp + 0x148], 0xffffffff
call fcn.0044a78e
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x420770
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x204
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x134]
push 0
push 0
push 0x1009
push eax
call esi
mov ecx, dword [ebx + 0x170]
push 0
push 0
push 0x147
push ecx
call esi
mov edx, eax
push 0x8002
shl edx, 6
add edx, eax
lea eax, [ebx + edx*4 + 0x23c]
push eax
call fcn.0043f1f5
lea ecx, [ebx + 0x19c]
push 0x94
push ecx
push eax
mov dword [ebx + 0x234], eax
call fcn.004400e7
add esp, 0x14
cmp eax, 0x94
je 0x4207fe
mov edx, dword [ebx + 0x234]
push edx
call fcn.0043b12e
add esp, 4
mov ecx, ebx
call fcn.004209d0
pop esi
pop ebx
add esp, 0x204
ret
push ebp
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [ebx + 0x22c4]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1ec]
test eax, eax
jle 0x4208f3
mov al, byte [ebx + ebp + 0x1f0]
test al, al
je 0x4208e4
mov ecx, dword [ebx + 0x190]
and eax, 0xff
mov edx, dword [ecx + 0xe14]
push edx
push eax
call fcn.0040c750
mov dword [esp + 0x18], eax
lea edi, [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov dl, byte [ebx + ebp + 0x1f0]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
push eax
mov cl, byte [ebx + ebp + 0x210]
mov dword [ebx + edx*4 + 0x22c4], ecx
xor ecx, ecx
mov cl, byte [ebx + ebp + 0x1f0]
lea edx, [esp + 0x120]
push ecx
push str.__02X___s
push edx
call fcn.004335a0
add esp, 0x18
lea eax, [esp + 0x114]
lea esi, [ebx + 0x118]
push 0
push 0
push 0
push 0
push eax
push ebp
push 3
mov ecx, esi
call fcn.004453c6
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, esi
call fcn.00445448
mov eax, dword [ebx + 0x1ec]
inc ebp
cmp ebp, eax
jl 0x42081f
mov edx, dword [ebx + 0x234]
push edx
call fcn.004447c9
mov ecx, eax
mov eax, 0x51eb851f
sub ecx, 0x94
add esp, 4
mul ecx
shr edx, 7
pop edi
mov dword [ebx + 0x22bc], edx
lea eax, [edx + edx*4]
pop ebp
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0x22c0]
shl esi, 4
test eax, eax
je 0x420938
push eax
call fcn.0044777e
add esp, 4
mov eax, dword [ebx + 0x22bc]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
call fcn.00447755
add esp, 4
mov dword [ebx + 0x22c0], eax
test eax, eax
je 0x42096b
push esi
push eax
mov eax, dword [ebx + 0x234]
push eax
call fcn.004400e7
add esp, 0xc
mov ecx, ebx
call fcn.004209d0
pop esi
pop ebx
add esp, 0x204
ret
Function at 0x421e70
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.uxtheme.dll
mov dword [esi + 0x20], 0
mov dword [esi], 0x45de38
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x20], eax
je 0x421efd
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsAppThemed
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
push str.IsThemeActive
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.OpenThemeData
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x20]
push str.CloseThemeData
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
push str.GetThemeBackgroundContentRect
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.DrawThemeBackground
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x20]
push str.GetThemeColor
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x4231aa
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 0
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423218
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x423218
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0xffffff37
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.0044ae14
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x42320f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x43bd81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x475180
cmp edx, dword [eax]
je 0x43bda3
add eax, 8
inc ecx
cmp eax, 0x475210
jl 0x43bd94
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x475180]
jne 0x43bed1
mov eax, dword [0x4782d0]
cmp eax, 1
je 0x43beab
test eax, eax
jne 0x43bdd4
cmp dword [0x473fb4], 1
je 0x43beab
cmp edx, 0xfc
je 0x43bed1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43be0b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00439520
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004382d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43be4e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004382d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4628c4
push edi
call fcn.00433640
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00439520
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00439530
lea eax, [ebp - 0xa0]
push 0x470ba8
push eax
call fcn.00439530
push dword [esi + 0x475184]
lea eax, [ebp - 0xa0]
push eax
call fcn.00439530
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043f9ee
add esp, 0x2c
pop edi
jmp 0x43bed1
lea eax, [ebp + 8]
lea esi, [esi + 0x475184]
push 0
push eax
push dword [esi]
call fcn.004382d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x444120
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.004334c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4441eb
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 0x4441eb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44419e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4441a9
or bh, 8
and edi, 0x8000000
je 0x4441c4
mov eax, dword [0x479a9c]
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 0x4441eb
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 0x4445c0
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 0x4445eb
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 0x44460f
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 0x44462a
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 0x4486ae
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4486e6
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.0044abc1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044ab99
jmp 0x4486f2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x449e1f
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 0x449e61
call fcn.00451ba3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x449e61
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x449e58
xor eax, eax
jmp 0x449e69
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00449e6f
pop edi
pop esi
pop ebx
ret 4

Function at 0x44eff0
Capabilities:
Set registry value

Disassembly:
mov eax, 0x45a59c
call fcn.00434a48
push ecx
push ecx
push esi
push 0x10
call fcn.00447755
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x44f03d
mov ecx, esi
call fcn.0044cdce
mov eax, dword [0x472c58]
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.0044a917
jmp 0x44f03f
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x46a020
push eax
mov dword [ebp - 0x10], esi
call fcn.00434a67
pop esi

Function at 0x452a29
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 0x452a57
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x452a75
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045298f
jmp 0x452a75
mov eax, dword [esi + 0x14]
test eax, eax
je 0x452a75
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045298f
test edi, edi
mov eax, edi
jne 0x452a5f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x452fa5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x453055
mov ecx, 0x478260
call fcn.00452b16
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x453033
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x453011
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x453011
push ebx
push edi
push eax
call fcn.0044d324
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.0044a917
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc