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

Disassembly:
push 0xffffffffffffffff
push 0x66c490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.005df060
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.005df060
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
push ecx
push eax
lea eax, [esp + 0x50]
mov ecx, esi
push eax
mov byte [esp + 0x48], 1
call fcn.005dfd00
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], edx
call fcn.005df090
push ebp
lea eax, [esp + 0x4c]
push edi
push eax
mov ecx, esi
call fcn.005dfd00
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], edx
call fcn.005df090
fld dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov byte [esp + 0x3c], 0
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, esi
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
fld dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 0xc], edx
call fcn.005df090
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.005df090
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14

Function at 0x5dfef0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x66c4c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005e4470
mov eax, dword [0x6e8700]
lea ebx, [esi + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [ebx], eax
mov ecx, dword [0x6e8700]
lea ebp, [esi + 0x18]
mov dword [ebp], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov edx, dword [0x6e8700]
lea ecx, [esi + 0x2c]
mov dword [ecx], edx
push 0x732780
mov byte [esp + 0x2c], 3
mov dword [esi], 0x6b5018
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], 0x64ffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], edi
call fcn.0062899d
push 0x732770
mov ecx, ebx
call fcn.0062899d
push 0x732768
mov ecx, ebp
call fcn.0062899d
lea eax, [esp + 0x14]
push eax
call fcn.00465fb1
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi], 0x6b4f48
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x5e1030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66c75c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005e4470
mov eax, dword [0x6e8700]
lea ebx, [esi + 0x14]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [ebx], eax
mov ecx, dword [0x6e8700]
lea ebp, [esi + 0x18]
mov dword [ebp], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov edx, dword [0x6e8700]
lea ecx, [esi + 0x2c]
mov dword [ecx], edx
push 0x732780
mov byte [esp + 0x30], 3
mov dword [esi], 0x6b51c8
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], 0x64ffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], edi
call fcn.0062899d
push 0x732770
mov ecx, ebx
call fcn.0062899d
push 0x732768
mov ecx, ebp
call fcn.0062899d
lea eax, [esp + 0x14]
push eax
call fcn.00465fb1
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x38]
mov dword [esp + 0x2c], 4
mov ecx, ebx
call fcn.005e4100
mov eax, 2
mov edx, dword [ebx]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x34]
push edi
mov dword [esi + 0x80], eax
push eax
lea eax, [esp + 0x1c]
mov ecx, 1
push eax
mov byte [esp + 0x38], 5
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], 9
mov dword [esi + 0x94], edi
mov dword [esi + 0xa0], edi
mov dword [esi], 0x6b50f8
mov dword [esi + 0x28], 0xb46464
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push 0x50000000
mov ecx, ebx
call dword [edx + 0xbc]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x5e4910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66cbe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov dword [esp + 8], 0x6b5688
lea eax, [esp + 8]
mov dword [esp + 0x14], 0
push eax
call fcn.00492530
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x30]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x5e9500
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 0x5e952a
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 0x5ea370
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x66d97f
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 0x5ea3da
cmp byte [ebx], 0
je 0x5ea3da
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 0x5ea3de
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00499a80
jmp 0x5ea4ef
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 0x5ea427
test ebx, ebx
je 0x5ea410
cmp byte [ebx], 0
je 0x5ea410
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.00499a80
jmp 0x5ea4ef
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 1
cmp eax, 1
je 0x5ea47c
cmp eax, 2
je 0x5ea47c
cmp eax, 4
jne 0x5ea475
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 0x6e5c34
push eax
call fcn.0049a7c0
add esp, 0xc
jmp 0x5ea4b9
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x5ea4b0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push edx
call fcn.00499fd0
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.00499f60
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5ea4b9
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
call fcn.00499c60
test ebx, ebx
je 0x5ea4c9
cmp byte [ebx], 0
je 0x5ea4c9
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.00499b80
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 0
call fcn.00499a60
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 0x5f3500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66e208
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.004abd90
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x3c]
fld dword [0x675254]
fld dword [esp + 0x14]
add eax, 0x68
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 0x5f35af
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 0x5f35ca
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 0x5f35e3
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 0x5f35fc
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 0x5f36d4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00407810
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.004abc30
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 0x5f36bc
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.004aed70
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 0x5f3688
mov ecx, esi
call fcn.005f36f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00499a60
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x60ca10
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x66f5bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x6e8700]
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 [0x6e8700]
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], 0x6b7218
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.0062899d
push 0x72fc78
mov ecx, ebx
call fcn.0062899d
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 0x61a3e0
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.00466c40
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x61a4ab
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 0x61a4ab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x61a45e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x61a469
or bh, 8
and edi, 0x8000000
je 0x61a484
mov eax, dword [0x75acbc]
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 0x61a4ab
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 0x61a880
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 0x61a8ab
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 0x61a8cf
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 0x61a8ea
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 0x61d560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x61d580
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046a092
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x61d5a3
test byte [esp + 8], 2
je 0x61d5a3
call fcn.0046a105
mov dword [eax], 0xd
call fcn.0046a10e
mov dword [eax], 5
jmp 0x61d57c
xor eax, eax
ret
Function at 0x625732
Capabilities:
Get graphical window text

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

Function at 0x62577a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x744a68
mov ecx, edi
call fcn.0062899d
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x6257cd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x6257e0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00628cbb
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00628c93
jmp 0x6257e0
mov ecx, esi
call fcn.00627c78
test eax, eax
je 0x6257e0
push edi
mov ecx, eax
call fcn.00625732
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x627402
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 0x627444
call fcn.00642d98
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x627444
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x62743b
xor eax, eax
jmp 0x62744c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00627452
pop edi
pop esi
pop ebx
ret 4

Function at 0x62a894
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00642d98
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 0x62a8c5
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.0062a8d8
pop edi
pop esi
pop ebx
ret 8

Function at 0x63094c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x65c398
call fcn.00468394
push ecx
push ecx
push esi
push 0x10
call fcn.006247b3
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x630999
mov ecx, esi
call fcn.00629a44
mov eax, dword [0x6e8700]
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], 0x680048
mov dword [esi + 8], eax
call fcn.0062899d
jmp 0x63099b
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x6ca078
push eax
mov dword [ebp - 0x10], esi
call fcn.00468418
pop esi
Function at 0x6411fe
Capabilities:
Create http request

Disassembly:
mov eax, 0x65a6ac
call fcn.00468394
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x67ab4c
jne 0x641236
call fcn.00642d98
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x64125b
push eax
push dword [esi + 4]
call fcn.00642469
jmp 0x641267
push esi
push eax
mov ecx, 0x744a70
call fcn.00641278
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x6415bc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x65a733
call fcn.00468394
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0062bc95
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x6e8700]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], 0x67ab64
call fcn.0062899d
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0062899d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x641658
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x65a75b
call fcn.00468394
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0062bc95
mov eax, dword [0x6e8700]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x67ab64
mov ecx, 0x744a70
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00641278
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0062899d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0045c637
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0062894d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00628814
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10