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

Disassembly:
sub esp, 0x10c
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [esp + 0x11c]
mov ebx, dword [sym.imp.KERNEL32.dll_SearchPathA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x105
push 0
push edi
push 0
call ebx
test eax, eax
jne 0x415f85
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
push ecx
push 0x105
push 0
push edi
push eax
call ebx
test eax, eax
jne 0x415f7b
mov dword [esi + 0x34], eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4
lea edx, [esp + 0x10]
lea ecx, [esi + 4]
push edx
jmp 0x415faa
lea eax, [esp + 0x10]
lea ecx, [esi + 4]
push eax
call fcn.0044286c
lea ecx, [esp + 0x10]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x10]
lea ecx, [esi + 8]
push edx
call fcn.0044286c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret 4

Function at 0x418db0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
add eax, 0xfffffff3
xor edi, edi
cmp eax, 0x1b
mov esi, ecx
ja case.0x418dca.15
xor ecx, ecx
mov cl, byte [eax + 0x418e28]
jmp dword [ecx*4 + 0x418e1c]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
mov dl, ah
test dl, dl
je case.0x418dca.13
mov ecx, esi
call fcn.00417ec0
cmp eax, 1
jle 0x418df6
push 1
mov ecx, esi
call fcn.00417ee0
push 1
mov ecx, esi
call fcn.0041a690
mov edi, 1
mov eax, edi
pop edi
pop esi
ret 4
push 0
mov ecx, esi
call fcn.0041a690
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x418e50
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push edi
mov esi, ecx
push 0x10
xor edi, edi
call ebx
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x418e76
push 0x11
call ebx
xor edx, edx
mov dl, ah
test dl, dl
je 0x418e7b
mov edi, 1
mov ecx, esi
call fcn.00447243
test edi, edi
jne 0x418f1a
mov ecx, esi
call fcn.00417d80
mov ecx, esi
mov ebx, eax
call fcn.00417ec0
mov edi, eax
mov eax, dword [esp + 0x14]
add eax, edi
cmp eax, ebx
jge 0x418eba
push eax
mov ecx, esi
call fcn.00417ee0
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
push ebp
mov ecx, esi
call fcn.00417d40
mov ecx, esi
mov ebp, eax
call fcn.00417e80
mov ecx, dword [esp + 0x18]
sub edi, ebx
mov dword [esp + 0x10], eax
lea eax, [edi + ecx + 1]
lea edi, [ebx - 1]
lea ecx, [eax - 1]
mov eax, ecx
cdq
idiv edi
mov edx, dword [esp + 0x10]
inc eax
lea ebx, [eax + edx]
cmp ebx, ebp
pop ebp
jge 0x418f1a
mov eax, ecx
mov ecx, esi
cdq
idiv edi
inc edx
push edx
call fcn.00417ee0
push ebx
mov ecx, esi
call fcn.00417ea0
mov ecx, esi
call fcn.00419200
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
mov dword [esi + 0x70], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x419950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
call fcn.00417ec0
mov esi, eax
mov ecx, edi
dec esi
call fcn.00417e80
mov ebx, eax
push 0x10
dec ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x419a1e
mov eax, dword [esp + 0x1c]
cmp eax, 1
jl 0x419a1e
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jl 0x419a1e
mov edx, dword [esp + 0x14]
cmp edx, 0x27
jne 0x4199e2
dec eax
cmp esi, eax
jne 0x419a15
lea edx, [ecx - 1]
cmp ebx, edx
je 0x419a1e
cmp esi, eax
jne 0x419a15
dec ecx
cmp ebx, ecx
jge 0x419a15
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push ebp
push ebp
push ebp
push 0x28
call esi
push ebp
push 2
push ebp
push 0x28
call esi
push 1
mov ecx, edi
call fcn.00417ee0
mov ebp, 1
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0xc
cmp edx, 0x25
jne 0x419a15
test esi, esi
jne 0x419a15
test ebx, ebx
je 0x419a1e
jle 0x419a15
push eax
mov ecx, edi
call fcn.00417ee0
push esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0x26
call esi
push 0
push 2
push 0
push 0x26
call esi
mov ebp, 1
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x41a070
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
cmp dword [esp + 0x10], 3
jge 0x41a124
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41a113
mov eax, dword [ebp]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41a10d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x41a10d
mov edi, dword [ebp]
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
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41a102
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41a102
mov dword [esp + 0x14], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x14]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x10]
inc ecx
test esi, esi
mov dword [esp + 0x10], ecx
je 0x41a089
xor eax, eax
cmp esi, 1
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 8
ret 4

Function at 0x41a1b0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov esi, ecx
push 0x10
xor edi, edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x41a1cb
mov edi, 1
mov ecx, esi
call fcn.00447243
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test edi, edi
je 0x41a1e6
push 0
push 0
push 0
push 0x10
call esi
push 0
push 0
push 0
push 9
call esi
push 0
push 2
push 0
push 9
call esi
test edi, edi
je 0x41a208
push 0
push 2
push 0
push 0x10
call esi
pop edi
mov eax, 1
pop esi
ret
Function at 0x41ae10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
lea eax, [esp + 4]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 4]
push 0
lea edx, [esp + 0xc]
push ecx
push edx
push 0x80
push eax
call dword [sym.imp.USER32.dll_ToAscii]
mov ecx, dword [esp + 4]
and ecx, 0xffff
push ecx
call fcn.0042df02
add esp, 4
cmp ax, 0x1b
mov dword [esp + 4], eax
jne 0x41ae74
xor eax, eax
pop esi
add esp, 0x104
ret 4
and eax, 0xffff
push 0
push eax
mov ecx, esi
call fcn.0041ab90
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x104
ret 4
Function at 0x41f140
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x463538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xb
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x41f19b
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x41f1b1
mov eax, dword [edi + 4]
test eax, eax
je 0x41f1b8
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00457552
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.00449e31
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CFont.0
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call fcn.004575e7
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 0x47fb5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.00442751
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 2
push edi
add edx, 2
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.004426e3
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00449e31
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call fcn.0044a7c1
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x420ab0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
lea eax, [esp + 0x10c]
push ebx
push ebp
push esi
push edi
push 0
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp eax, 1
jne 0x420b82
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x224]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Kenwood
mov edx, ecx
mov esi, edi
mov edi, ebx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x485224
call fcn.00401520
test eax, eax
jne 0x420b42
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47fe5c
jmp 0x420c1c
push str.KPG_55D
push ebx
mov ecx, 0x485224
call fcn.00401520
test eax, eax
jne 0x420b78
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47fe5c
jmp 0x420c1c
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x485234
call fcn.00402f30
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x224]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.DATA
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00442751
mov ecx, 0x485234
call fcn.00403320
cmp eax, 1
jne 0x420c41
mov edi, str.DATA_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x420c80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x463880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
push str.KPG_55D
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0x50
call fcn.00442751
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
push str.SOFTWAREKENWOOD_Corporation_
push ecx
mov dword [esp + 0x78], 0
call fcn.004429ec
mov eax, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x47fe68
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x420d46
lea ecx, [esp]
mov byte [esp + 0x68], 0
call fcn.004426e3
lea ecx, [esp + 4]
mov dword [esp + 0x68], 0xffffffff
call fcn.004426e3
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x68], 0
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp]
call fcn.004426e3
lea ecx, [esp + 4]
mov dword [esp + 0x68], 0xffffffff
call fcn.004426e3
mov ecx, dword [esp + 0x60]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x6c
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x463a20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CFont.0
mov eax, dword [esi + 0x6a]
push 0
push eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004575e7
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x28]
lea ecx, [esp + 0x30]
push 0xa
push ecx
mov ecx, esi
mov ebx, eax
call fcn.00422890
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.00422a90
lea eax, [esp + 0x30]
push edi
push eax
mov ecx, esi
call fcn.004228a0
lea ecx, [esp + 0x30]
push 4
push ecx
mov ecx, esi
call fcn.00422890
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
call fcn.0044a7c1
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call fcn.0044a7c1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x424ee9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424f41
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x484ca4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x424f34
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x424f43
xor eax, eax
pop esi
leave
ret 4

Function at 0x42f11c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f13c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004306df
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42f15f
test byte [esp + 8], 2
je 0x42f15f
call fcn.00430752
mov dword [eax], 0xd
call fcn.0043075b
mov dword [eax], 5
jmp 0x42f138
xor eax, eax
ret
Function at 0x43f0c0
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.0042fff0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43f18b
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 0x43f18b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43f13e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43f149
or bh, 8
and edi, 0x8000000
je 0x43f164
mov eax, dword [0x48d4dc]
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 0x43f18b
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 0x43f560
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 0x43f58b
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 0x43f5af
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 0x43f5ca
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 0x443c2e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x443c66
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.00442b8a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00442b62
jmp 0x443c72
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4458b3
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 0x4458f5
call fcn.0045930f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4458f5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4458ec
xor eax, eax
jmp 0x4458fd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00445903
pop edi
pop esi
pop ebx
ret 4

Function at 0x44849d
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 0x4484bf
cmp dword [edi + 0x3c], 0
jne 0x4484bf
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0045930f
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.004484ec
pop edi
pop esi
pop ebx
ret 8

Function at 0x44853a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0045930f
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 0x44856b
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.0044857e
pop edi
pop esi
pop ebx
ret 8
Function at 0x45ae90
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.0045930f
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45aecd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45aecd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x45aed1
xor eax, eax
jmp 0x45af4f
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00442424
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x45af09
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 0x45aef3
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0045b040
push ebx
mov edi, eax
call fcn.0044244d
test edi, edi
pop ecx
je 0x45af4b
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.0045ae09
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0045af54
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x45b6c8
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 0x45b6f6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45b714
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045b62e
jmp 0x45b714
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45b714
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045b62e
test edi, edi
mov eax, edi
jne 0x45b6fe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8