joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61d710
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x688108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x61d7c0
mov eax, dword [0x7a4610]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0066f5f4
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0066f643
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0066f5a0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x61d7a7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x61d7a7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0066f210
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x6208c0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x688590
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x620a67
mov ecx, dword [0x7a4610]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x6209bc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0061f5e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0066f2fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0066f210
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x79a8e4
call fcn.0066f27e
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0061f9a0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0066f2fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0066f210
lea ecx, [esp + 0xc]
call fcn.0066f6ff
mov ecx, dword [esp + 0xc]
push 0x79b324
push ecx
call fcn.0065bae4
add esp, 8
test eax, eax
je 0x6209e4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x62091d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0066f210
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0066f210
jmp 0x620a6b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00620660
test eax, eax
push 0
je 0x620a4f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0061ed00
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x620a35
cmp eax, 0x64
jg 0x620a23
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x6209c0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x6209c0
cmp eax, 0x64
jge 0x6209bc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x6209c0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0061ed00
mov esi, eax
jmp 0x6209c0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x620a75
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x62a5c0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push esi
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, edi
je 0x62a608
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 8]
push ecx
push 0x62a560
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x62a62c
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call edi
push 1
mov esi, eax
call edi
push eax
push esi
add eax, 0xffffffec
add esi, 0xffffffd8
push eax
lea edx, [esp + 0x14]
push esi
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov ecx, eax
pop edi
pop esi
mov dword [ecx], edx
mov edx, dword [esp + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + 0xc], edx
add esp, 0x10
ret 4
Function at 0x632160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x689038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.0066e318
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
mov dword [esp + 0x30], 0
je 0x6322e9
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x6322e9
test ecx, ecx
jne 0x6321f9
imul eax, ebx
xor esi, esi
test eax, eax
jle 0x6322e9
push 8
call fcn.0066ef51
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0xd8]
mov dword [eax + 4], 0
push eax
call fcn.0066e3d8
mov eax, dword [edi + 0xb4]
inc esi
imul eax, ebx
cmp esi, eax
jl 0x6321c3
jmp 0x6322e9
mov esi, dword [edi + 0xdc]
test ebx, ebx
jne 0x63222a
test esi, esi
je 0x63221f
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x63221b
push eax
call fcn.0066ef7a
add esp, 4
test esi, esi
jne 0x632207
lea ecx, [edi + 0xd8]
jmp 0x6322e4
test esi, esi
je 0x632243
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0066e3d8
test esi, esi
jne 0x63222e
lea ecx, [edi + 0xd8]
call fcn.0066e778
mov ecx, dword [edi + 0xb4]
xor esi, esi
imul ecx, ebx
test ecx, ecx
jle 0x6322c0
push 8
call fcn.0066ef51
mov edx, dword [edi + 0xb4]
add esp, 4
imul edx, dword [ebp + 8]
cmp esi, edx
mov ebx, eax
jge 0x632298
push esi
lea ecx, [esp + 0x10]
call fcn.0066e401
test eax, eax
je 0x632313
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x6322a5
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
lea ecx, [edi + 0xd8]
call fcn.0066e3d8
mov eax, dword [edi + 0xb4]
inc esi
imul eax, dword [ebp + 0xc]
cmp esi, eax
jl 0x63225d
mov esi, dword [esp + 0x10]
test esi, esi
je 0x6322e0
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x6322dc
push eax
call fcn.0066ef7a
add esp, 4
test esi, esi
jne 0x6322c8
lea ecx, [esp + 0xc]
call fcn.0066e778
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0066e357
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0066e357
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x632a60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x689127
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x7a4610]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xac]
lea edx, [esp + 0xc]
push ecx
push 0x79c9f4
push edx
mov dword [esp + 0x30], 1
call fcn.0066bafb
mov eax, dword [0x7a4610]
add esp, 0xc
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0x79c9f0
push edx
mov byte [esp + 0x30], 2
call fcn.0066f4cd
push 0x79c9ec
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 3
push eax
call fcn.0066f459
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [eax]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.00632a00
sub esp, 8
lea eax, [esp + 0x10]
fstp qword [esp]
push edi
push eax
call fcn.0066bafb
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.0066f210
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0066f210
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0066ef85
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0066f210
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0066f210
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x632b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x689150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x76abdc
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x70]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x632cff
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.006763d9
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x632c40
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x632c07
xor eax, eax
jmp 0x632c0a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.006760dd
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x632c29
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x632c7b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.006760dd
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0062f800
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x74]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x74]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00676445
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x76abd0
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.00676445
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x635070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6893e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x76ac2c
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x54]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x48], esi
je 0x6351ef
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.006763d9
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x635130
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x6350f7
xor eax, eax
jmp 0x6350fa
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.006760dd
mov eax, dword [ebx + 0x4c]
cmp dword [eax + 0x10], esi
je 0x635119
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x63516b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.006760dd
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0062f800
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x50]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x50]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00676445
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x76ac20
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.00676445
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x636d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x689757
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x7a4610]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], 1
mov dword [esp + 8], eax
mov eax, dword [esi + 0xb4]
lea ecx, [esp + 0xc]
push eax
push 0x79ca30
push ecx
mov byte [esp + 0x30], 2
call fcn.0066bafb
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0x79ca2c
push eax
call fcn.0066f4cd
push 0x79ca28
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 3
call fcn.0066f459
mov edi, dword [eax]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.00636d10
sub esp, 8
lea ecx, [esp + 0x10]
fstp qword [esp]
push edi
push ecx
call fcn.0066bafb
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.0066f210
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0066f210
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0066ef85
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0066f210
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0066f210
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x636e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x689780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x76acb4
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x74]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x63700f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.006763d9
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x636f50
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x636f17
xor eax, eax
jmp 0x636f1a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.006760dd
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x636f39
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x636f8b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.006760dd
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0062f800
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x70]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x70]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00676445
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x76aca8
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.00676445
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x638be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6899e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [0x7a4610]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], 0x76ace4
call fcn.0066ef85
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.00638c90
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0066f210
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14

Function at 0x641190
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x82ca78]
xor edx, edx
cmp eax, edx
jne 0x6411b6
xor eax, eax
mov byte [eax + 0x82c978], al
inc eax
cmp eax, 0x100
jl 0x64119e
mov dword [0x82ca78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x82c978
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x641247
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x64121a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x6411e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x641250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x6412a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x64128a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x647c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x689f6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00648540
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x76c584
call fcn.0066ef51
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x647cb3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0066ef51
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x647cac
push 0
mov ecx, eax
call fcn.0063ee10
mov dword [esi + 0xc], eax
jmp 0x647cb5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x647cb5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x67007e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x6700a0
cmp dword [edi + 0x3c], 0
jne 0x6700a0
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0067a106
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.006700cd
pop edi
pop esi
pop ebx
ret 8

Function at 0x671778
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6717b0
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.0066f66b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0066f643
jmp 0x6717bc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6730f2
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 0x673134
call fcn.0067a106
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x673134
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x67312b
xor eax, eax
jmp 0x67313c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00673142
pop edi
pop esi
pop ebx
ret 4