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

Disassembly:
sub esp, 0x110
lea eax, [esp]
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea edx, [esp + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.MicrosoftWindowsCurrentVersionRun
push ecx
call esi
lea edx, [esp + 0x10]
push 0x104
push edx
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x435c43
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x4a43e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 8], eax
pop edi
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 4]
pop esi
test eax, eax
sete al
add esp, 0x110
ret

Function at 0x435c70
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push str.MicrosoftWindowsCurrentVersionRun
push edx
call esi
mov esi, eax
test esi, esi
jne 0x435cc3
mov eax, dword [esp + 8]
push 0x4a43e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
test esi, esi
pop edi
pop esi
sete al
add esp, 8
ret

Function at 0x439a10
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x4ab648
jmp 0x439a10
push esi
mov esi, ecx
push str.uxtheme.dll
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x439a7a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsThemeActive
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CloseThemeData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push str.GetThemeBackgroundContentRect
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x43be40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x304
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 + 0x238]
push eax
call fcn.0045679b
lea ecx, [ebx + 0x19c]
push 0x94
push ecx
push eax
mov dword [ebx + 0x230], eax
call fcn.004541d9
add esp, 0x14
cmp eax, 0x94
je 0x43bece
mov edx, dword [ebx + 0x230]
push edx
call fcn.00452965
add esp, 4
mov ecx, ebx
call fcn.0043c100
pop esi
pop ebx
add esp, 0x304
ret
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [ebx + 0x22c0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1ec]
test eax, eax
jle 0x43c02c
mov eax, 0xfffffe10
push ebp
sub eax, ebx
lea ebp, [ebx + 0x1f0]
mov dword [esp + 0x10], eax
cmp byte [ebp], 0
je 0x43c019
lea esi, [ebx + 0x1a0]
push str.INTEL
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf43
push 0x4a7574
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf43
cmp byte [ebp], 0xe1
jne 0x43bf43
lea edx, [esp + 0x14]
mov edi, 0x4a7568
jmp 0x43bf82
push 0x4a8408
push esi
call fcn.0044aef0
add esp, 8
test eax, eax
je 0x43bf66
cmp byte [ebp], 0xe7
jne 0x43bf66
lea edx, [esp + 0x14]
mov edi, str.SSD_Life_Left
jmp 0x43bf82
xor edx, edx
lea ecx, [esp + 0x214]
mov dl, byte [ebp]
push ecx
push edx
call fcn.004166f0
add esp, 8
lea edx, [esp + 0x14]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov al, byte [ebp]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea esi, [ecx + ebp]
lea ecx, [esp + 0x14]
push ecx
mov dl, byte [esi + ebx + 0x210]
mov dword [ebx + eax*4 + 0x22c0], edx
xor edx, edx
mov dl, byte [ebp]
lea eax, [esp + 0x118]
push edx
push str.__02X___s
push eax
call fcn.00449ffa
add esp, 0x10
lea ecx, [esp + 0x114]
lea edi, [ebx + 0x118]
push 0
push 0
push 0
push 0
push ecx
push esi
push 3
mov ecx, edi
call fcn.0046a95d
xor edx, edx
mov ecx, edi
mov dl, byte [ebp]
push edx
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.0046a9df
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x1ec]
inc ebp
lea ecx, [eax + ebp]
cmp ecx, edx
jl 0x43befe
pop ebp
mov edx, dword [ebx + 0x230]
push edx
call fcn.00469abf
mov ecx, eax
mov eax, 0x51eb851f
sub ecx, 0x94
add esp, 4
mul ecx
shr edx, 7
mov dword [ebx + 0x22b8], edx
pop edi
lea eax, [edx + edx*4]
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0x22bc]
shl esi, 4
test eax, eax
je 0x43c070
push eax
call fcn.00470912
add esp, 4
mov eax, dword [ebx + 0x22b8]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
call fcn.004708e9
add esp, 4
mov dword [ebx + 0x22bc], eax
test eax, eax
je 0x43c0a3
push esi
push eax
mov eax, dword [ebx + 0x230]
push eax
call fcn.004541d9
add esp, 0xc
mov ecx, ebx
call fcn.0043c100
pop esi
pop ebx
add esp, 0x304
ret
Function at 0x43fa60
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 0x43fad8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43fad8
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0xffffff37
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.0047019f
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 0x43facf
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 0x4533c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4aa4b8
cmp edx, dword [eax]
je 0x4533e3
add eax, 8
inc ecx
cmp eax, 0x4aa548
jl 0x4533d4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4aa4b8]
jne 0x453511
mov eax, dword [0x4ad748]
cmp eax, 1
je 0x4534eb
test eax, eax
jne 0x453414
cmp dword [0x4a9c04], 1
je 0x4534eb
cmp edx, 0xfc
je 0x453511
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45344b
lea eax, [ebp - 0x1a4]
push 0x495228
push eax
call fcn.00453e40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00452530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45348e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00452530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x495224
push edi
call fcn.0044adf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x495208
push eax
call fcn.00453e40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00453e50
lea eax, [ebp - 0xa0]
push 0x4a62d8
push eax
call fcn.00453e50
push dword [esi + 0x4aa4bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00453e50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C
push eax
call fcn.00456ac3
add esp, 0x2c
pop edi
jmp 0x453511
lea eax, [ebp + 8]
lea esi, [esi + 0x4aa4bc]
push 0
push eax
push dword [esi]
call fcn.00452530
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 0x45fe10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a141
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], edi
mov dword [esi + 4], vtable.CFont.0
mov dword [esp + 0x1c], edi
mov dword [esi + 0x5c], 0x495dd0
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov ebx, 1
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], bl
call fcn.0046bd11
lea ebp, [esi + 0x14]
mov dword [esi + 0x84], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov ecx, 0xa
xor eax, eax
mov edi, ebp
mov dword [esi], 0x495dcc
mov dword [esi + 0x40], ebx
mov ebx, dword [esp + 0x24]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov byte [esp + 0x1c], 2
cmp ebx, ecx
jne 0x45fea8
mov dword [esi + 0x24], ecx
jmp 0x45fecb
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
inc edi
push edi
call fcn.004708e9
push ebx
push edi
push eax
mov dword [esi + 0x24], eax
call fcn.00462f10
add esp, 0x10
or ecx, 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [ebp], 0x11
mov dword [esi + 0x18], esi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x3c], 0x8000
call edi
push 5
mov dword [esi + 0xc], eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4624e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4a8c20]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
push ecx
lea ecx, [esi + 0x3c]
call fcn.0046df2f
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push edx
call edi
push eax
call fcn.0046d539
mov eax, dword [eax + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0047019f
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x18], 0xffffff96
mov dword [esp + 0x1c], 1
je 0x462563
mov ecx, dword [esi + 0x250]
mov dword [esp + 0x20], ecx
jmp 0x46256b
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esi + 0x24c]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov eax, dword [eax - 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.0046d539
mov ecx, dword [esi + 0x1c]
mov ebx, eax
push ecx
call edi
push eax
call fcn.0046d539
mov edx, dword [eax + 0x1c]
push edx
call edi
push eax
call fcn.0046d539
mov ecx, ebx
mov edi, eax
call fcn.0047019f
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x4e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0047162c
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4

Function at 0x463400
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x48a3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
push 0x100c
push 0x800
call esi
mov ecx, dword [0x4a8c20]
mov dword [esp + 4], ecx
push eax
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00471a5f
push eax
push 0x100c
push 0x800
call esi
mov edx, dword [esp + 4]
lea ecx, [esp + 4]
mov eax, dword [edx - 8]
push eax
call fcn.004719e8
push eax
call fcn.0044a3ed
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
push 0xffffffffffffffff
call fcn.00471a37
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0047162c
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4634b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48a42a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046d118
lea edi, [esi + 0x3c]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.0046d118
mov dword [edi], vtable.CEdit.0
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x78], vtable.CFont.0
push ebp
push ebp
push ebp
push 0x1f
push 0xc
mov dword [esi + 0x80], ebp
lea ecx, [esi + 0x8c]
push 0x270f
mov byte [esp + 0x30], 2
mov dword [esi + 0x84], ebp
mov dword [esi + 0x88], ebp
call fcn.004498df
push ebp
push ebp
push ebp
push 1
push 1
lea ecx, [esi + 0x98]
push 0x64
call fcn.004498df
lea ecx, [esi + 0xa8]
call fcn.00463f60
push 0x4aadf8
lea ecx, [esi + 0x248]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x240], ebp
call fcn.0047169a
mov dword [esi], method.CWnd.virtual_0
mov byte [esp + 0x18], 4
mov dword [esi + 0x88], 2
call fcn.00463400
mov dword [esi + 0xa4], eax
mov eax, dword [0x4adc70]
cmp eax, ebp
je 0x46358d
cmp dword [0x4adc58], ebp
jne 0x463592
call fcn.004632a0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x469490
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 0x4694bb
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 0x4694df
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 0x4694fa
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 0x46df2f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46df67
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.00471a5f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00471a37
jmp 0x46df73
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x46f8dd
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 0x46f91f
call fcn.0048050d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f91f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f916
xor eax, eax
jmp 0x46f927
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f92d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4818a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x481951
mov ecx, 0x4ad6c8
call fcn.00481482
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x48192f
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x48190d
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 0x48190d
push ebx
push edi
push eax
call fcn.0047292f
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.004717b5
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
Function at 0x62a9db
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ecx + 0x8d4], 0
jne 0x62aa3a
mov eax, dword [ecx + 0x874]
mov edx, dword [esp + 4]
sub edx, eax
push ebx
push esi
mov esi, dword [esp + 0x14]
shl edx, 4
push edi
lea edi, [edx + ecx + 4]
mov edx, dword [esp + 0x14]
sub edx, eax
sub esi, eax
shl esi, 4
shl edx, 4
lea edx, [edx + ecx + 4]
lea ebx, [esi + ecx + 4]
mov esi, dword [ecx + 0x850]
mov ecx, dword [ecx + 0x854]
sub ebx, edx
lea eax, [edx + esi*4]
sub edi, edx
mov edx, dword [ebx + eax]
xor edx, dword [eax]
inc esi
mov dword [edi + eax], edx
add eax, 4
cmp esi, ecx
jl 0x62aa27
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x64c3f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x64c5c8
mov ecx, dword [ebp + 0xc]
push 0x10305084
call fcn.00573d29
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x64c416
sub eax, ecx
inc eax
push 0x10474e78
push eax
call fcn.00829dbe
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x64c5c8
mov edx, ebx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x64c43d
push 0x1030d44c
push ebx
call fcn.00829700
pop ecx
pop ecx
test eax, eax
je 0x64c45b
mov byte [eax], 0
push 0x1030d448
push ebx
call fcn.00829700
pop ecx
pop ecx
test eax, eax
je 0x64c46f
mov byte [eax], 0
movzx eax, byte [ebx]
push edi
mov esi, ebx
test al, al
je 0x64c49d
cmp byte [ebx + 1], 0
je 0x64c49d
push eax
call fcn.005533d1
pop ecx
test al, al
je 0x64c49d
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x64c571
cmp al, 0x7c
je 0x64c571
push 0x103074bc
push ebx
call fcn.0057387c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x64c571
cmp byte [ebx], al
je 0x64c4c8
mov eax, ebx
cmp byte [eax], 0x5c
jne 0x64c4c2
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x64c4ba
and dword [ebp + 8], 0
mov dword [ebp - 0x10], 0x1030d43c
mov dword [ebp - 0xc], 0x1030ad24
mov dword [ebp - 8], 0x1030ad58
mov eax, dword [ebp + 8]
mov edi, dword [ebp + eax*4 - 0x10]
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64c4ed
sub eax, esi
mov dword [ebp - 4], eax
cmp byte [ebx], cl
je 0x64c522
mov esi, ebx
mov al, byte [edi]
test al, al
je 0x64c522
movzx ecx, byte [esi]
movzx edx, byte [ecx + 0x10307e10]
movsx eax, al
xor edx, ecx
cmp edx, eax
jne 0x64c51b
dec dword [ebp - 4]
inc edi
inc esi
cmp byte [esi], 0
jne 0x64c4ff
cmp dword [ebp - 4], 0
je 0x64c557
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x64c4e1
mov edi, 0x1030a360
push edi
push ebx
call 0x573a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x64c56f
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64c54a
sub eax, edx
add esi, eax
jmp 0x64c571
mov eax, dword [ebp + 8]
mov eax, dword [ebp + eax*4 - 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x64c561
sub eax, edx
lea esi, [eax + ebx]
jmp 0x64c571
mov esi, ebx
cmp ebx, esi
jae 0x64c595
mov edi, ebx
mov al, byte [edi]
movzx ecx, al
mov cl, byte [ecx + 0x10307e10]
xor cl, al
movzx eax, cl
mov ecx, dword [ebp + 0xc]
push eax
call 0x573b7a
inc edi
cmp edi, esi
jb 0x64c577
xor edi, edi
jmp 0x64c5b7
mov al, byte [esi]
cmp al, 0x2f
je 0x64c5a7
cmp al, 0x5c
je 0x64c5a7
xor edi, edi
jmp 0x64c5ad
inc edi
cmp edi, 1
jg 0x64c5b6
mov ecx, dword [ebp + 0xc]
push eax
call 0x573b7a
inc esi
cmp byte [esi], 0
jne 0x64c599
push ebx
call fcn.0082901b
pop ecx
mov al, 1
pop edi
jmp 0x64c5ca
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x6896f3
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x6897ca
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x3f
pop edi
cmp ebx, 3
movzx edx, byte [esi]
jl 0x689768
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, edi
mov al, byte [eax + 0x103936b0]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, edi
mov al, byte [eax + 0x103936b0]
inc ecx
mov byte [ecx], al
mov eax, edx
shr eax, 6
and eax, edi
mov al, byte [eax + 0x103936b0]
inc ecx
mov byte [ecx], al
inc ecx
and edx, edi
mov al, byte [edx + 0x103936b0]
mov byte [ecx], al
jmp 0x6897b5
shl edx, 0x10
cmp ebx, 2
jne 0x689779
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, edi
mov al, byte [eax + 0x103936b0]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, edi
mov al, byte [eax + 0x103936b0]
inc ecx
mov byte [ecx], al
inc ecx
cmp ebx, 1
jne 0x6897a3
push 0x3d
pop edx
jmp 0x6897af
shr edx, 6
and edx, edi
movzx edx, byte [edx + 0x103936b0]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
add dword [ebp - 4], 4
sub ebx, 3
inc ecx
add esi, 3
test ebx, ebx
jg 0x689712
pop edi
pop esi
mov eax, dword [ebp - 4]
mov byte [ecx], 0
pop ebx
leave
ret 0xc