joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cd5d
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 0x47cd8b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47cda9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ccc3
jmp 0x47cda9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47cda9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ccc3
test edi, edi
mov eax, edi
jne 0x47cd93
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x440130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.tJrdyPER
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x440152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440148
mov eax, 1
add ebx, ebx
jne 0x44016b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440160
jne 0x44017c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440160
xor ecx, ecx
sub eax, 3
jb 0x440190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440202
mov ebp, eax
add ebx, ebx
jne 0x44019b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4401a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4401cc
inc ecx
add ebx, ebx
jne 0x4401b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4401ad
jne 0x4401c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4401ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4401ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4401dd
jmp 0x44014e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4401ec
add edi, ecx
jmp 0x44014e
pop esi
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440254
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4020c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x402b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440209
mov ecx, edi
jns 0x440238
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x402bc]
or eax, eax
je 0x44024e
mov dword [ebx], eax
add ebx, 4
jmp 0x440226
call dword [esi + 0x402b8]
mov ebp, dword [esi + 0x402c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440288
sub esp, 0xffffff80
jmp section.NDltoTPW
Function at 0x408410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4367bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [0x4464d8]
mov dword [esp + 0x24], 1
mov dword [esp + 0xc], eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x2c], 2
call fcn.004228d4
mov ecx, esi
call fcn.00407a00
fld qword [esp + 0x34]
test eax, eax
je 0x40848c
call fcn.00414410
fld qword [esp + 0x34]
and eax, 0xff
mov esi, eax
call fcn.00414410
xor ecx, ecx
mov cl, ah
and ecx, 0xff
jmp 0x4084b4
call fcn.00414410
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov esi, edx
mov ecx, 0x3c
cdq
idiv ecx
mov ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0xa
cdq
idiv ecx
mov eax, 0x66666667
mov ecx, edx
imul esi
sar edx, 2
mov eax, edx
push ecx
shr eax, 0x1f
add edx, eax
mov eax, esi
mov ebp, edx
mov esi, 0xa
cdq
idiv esi
push edi
lea ecx, [esp + 0x1c]
push edx
push ebp
push str._d_d:_d_d
push ecx
call fcn.00414850
add esp, 0x18
lea edx, [esp + 0x14]
lea ecx, [esp + 0x34]
push edx
call fcn.00422bcd
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00422c98
mov esi, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004228d4
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 2
call fcn.00422b5f
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00422b5f
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00422b5f
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x1c
ret 0x10
Function at 0x408fd0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, 0x10
jl 0x408fe8
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [esp + 0x24]
push 0
push 0
push 3
push 0
push 3
add eax, 4
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x409021
push str.SetEaxProperties___faill_from_calling_CreateFile___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov ecx, dword [0x438f90]
mov edx, dword [0x438f94]
mov eax, dword [0x438f98]
mov dword [esp + 8], ecx
mov ecx, dword [0x438f9c]
cmp edi, 0xf
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
ja case.default.0x409059
jmp dword [edi*4 + 0x4090e8]
mov edi, 1
jmp 0x4090b5
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 0x38
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
jmp 0x4090b5
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 4
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
jmp 0x4090b5
mov edi, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4090db
push str.GetEaxProperties___fail_from_calling_DeviceIoControl___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret 0xc
Function at 0x409130
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, 0x10
jl 0x409148
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [esp + 0x24]
push 0
push 0
push 3
push 0
push 3
add eax, 4
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x409181
push str.SetEaxProperties___fail_from_calling_CreateFile___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov ecx, dword [0x438f90]
mov edx, dword [0x438f94]
mov eax, dword [0x438f98]
mov dword [esp + 8], ecx
mov ecx, dword [0x438f9c]
cmp edi, 0xf
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], edi
ja case.default.0x4091b9
jmp dword [edi*4 + 0x409248]
mov edi, 1
jmp 0x409215
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 0x38
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
jmp 0x409215
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 4
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
jmp 0x409215
mov edi, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x40923b
push str.SetEaxProperties___fail_from_calling__DeviceIoControl___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret 0xc
Function at 0x409330
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, 2
jb 0x409348
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [esp + 0x24]
push 0
push 0
push 3
push 0
push 3
add eax, 4
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x409381
push str.GetKaraokProperty___fail_from_caliing_CreateFile___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [0x438fb8]
mov ecx, dword [0x438fb0]
mov edx, dword [0x438fb4]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov ecx, dword [0x438fbc]
mov eax, edi
mov dword [esp + 0xc], edx
sub eax, 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
je 0x4093c2
dec eax
je 0x4093c2
xor edi, edi
jmp 0x4093e5
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 4
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x40940b
push str.GetKaraokProperty___fail_from_calling_DeviceIoControl___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret 0xc

Function at 0x409420
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, 2
jb 0x409438
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [esp + 0x24]
push 0
push 0
push 3
push 0
push 3
add eax, 4
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x409471
push str.SetKaraokProperty___fail_from_calling_CreateFile___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [0x438fb8]
mov ecx, dword [0x438fb0]
mov edx, dword [0x438fb4]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov ecx, dword [0x438fbc]
mov eax, edi
mov dword [esp + 0xc], edx
sub eax, 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], edi
je 0x4094b2
dec eax
je 0x4094b2
xor edi, edi
jmp 0x4094d5
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 4
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4094fb
push str.SetKaraokProperty___fail_from_calling_DeviceIoControl___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret 0xc
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret 0xc
Function at 0x409510
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, 2
jb 0x409526
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x24]
push 0
push 0
push 3
push 0
push 3
add eax, 4
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40955d
push str.GetAvanceEaxProperty___fail_from_caliing_CreateFile___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
mov ecx, dword [0x438fc0]
mov edx, dword [0x438fc4]
mov eax, dword [0x438fc8]
mov dword [esp + 8], ecx
mov ecx, dword [0x438fcc]
mov dword [esp + 0xc], edx
test edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
je 0x409598
xor edi, edi
jmp 0x4095bb
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push 0
push edx
push 4
push eax
lea ecx, [esp + 0x18]
push 0x18
push ecx
push 0x2f0003
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4095df
push str.GetAvanceEaxProperty___fail_from_calling_DeviceIoControl___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret
Function at 0x40ad90
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43687b
push eax
mov dword fs:[0], esp
sub esp, 0x104
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x80
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str._avrack.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
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
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.Repeat
push str.Settings
call esi
lea ecx, [esp + 0x14]
mov dword [ebx + 0x190], eax
push ecx
push 0
push str.Mute
push str.Settings
call esi
lea edx, [esp + 0x14]
mov edi, eax
push edx
push 0
push str.Volume
push str.Settings
call esi
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push 0x96
push str.Position_X
push str.Settings
call esi
lea ecx, [esp + 0x14]
mov dword [ebx + 0x1d8], eax
push ecx
push 0x96
push str.Position_Y
push str.Settings
call esi
lea edx, [esp + 0x14]
mov dword [ebx + 0x1dc], eax
push edx
push 0
push str.Check_Audio_CD
push str.Settings
call esi
mov dword [ebx + 0x250], eax
lea eax, [esp + 0x14]
push eax
push 0x80
lea ecx, [esp + 0x9c]
push ecx
push 0x449140
push str.Skin_File
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x94]
test edx, edx
jne 0x40aec7
mov ecx, 0x449254
call fcn.00422aea
jmp 0x40af02
lea eax, [esp + 0x94]
lea ecx, [esp + 0x10]
push eax
call fcn.00422bcd
push eax
mov ecx, 0x449254
mov dword [esp + 0x120], 0
call fcn.00422c98
lea ecx, [esp + 0x10]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00422b5f
lea esi, [ebx + 0xb8]
push edi
mov ecx, esi
call fcn.00401d40
push ebp
mov ecx, esi
call fcn.00401d00
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret
Function at 0x419134
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x447c90
cmp edx, dword [eax]
je 0x419156
add eax, 8
inc ecx
cmp eax, 0x447d20
jl 0x419147
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x447c90]
jne 0x419284
mov eax, dword [0x44b3a0]
cmp eax, 1
je 0x41925e
test eax, eax
jne 0x419187
cmp dword [0x447464], 1
je 0x41925e
cmp edx, 0xfc
je 0x419284
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4191be
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041a510
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00418880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x419201
lea eax, [ebp - 0x1a4]
push eax
call fcn.00418880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43cc74
push edi
call fcn.0041b660
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041a510
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041a520
lea eax, [ebp - 0xa0]
push 0x43cc54
push eax
call fcn.0041a520
push dword [esi + 0x447c94]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041a520
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041c1c8
add esp, 0x2c
pop edi
jmp 0x419284
lea eax, [ebp + 8]
lea esi, [esi + 0x447c94]
push 0
push eax
push dword [esi]
call fcn.00418880
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x420800
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.00415280
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4208cb
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 0x4208cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42087e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x420889
or bh, 8
and edi, 0x8000000
je 0x4208a4
mov eax, dword [0x44cafc]
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 0x4208cb
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 0x420ca0
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 0x420ccb
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 0x420cef
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 0x420d0a
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 0x425a46
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 0x425a88
call fcn.00431df2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x425a88
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x425a7f
xor eax, eax
jmp 0x425a90
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00425a96
pop edi
pop esi
pop ebx
ret 4

Function at 0x426bb7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00431df2
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 0x426be8
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.00426bfb
pop edi
pop esi
pop ebx
ret 8
Function at 0x426ef8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x436cc4
call fcn.00414ec4
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00431df2
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x426f37
call fcn.00431df2
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x426f45
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x426f53
or eax, 0xffffffff
jmp 0x42703b
mov ecx, esi
call fcn.00426e6e
mov dword [ebp - 0x14], eax
call fcn.00423af4
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x426f8a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x426f8a
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00423aa8
push dword [ebp - 0x14]
call fcn.004235f5
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00426bfb
cmp eax, edi
je 0x426ffd
test byte [esi + 0x24], 0x10
je 0x426fcb
push 4
mov ecx, esi
pop ebx
call fcn.004261cc
test ah, 1
je 0x426fc3
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00425b98
cmp dword [esi + 0x1c], edi
je 0x426ffd
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042633d
jmp 0x426ffd
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x427011
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42702a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42702a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00426ea8
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret