joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c2b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x43c321
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x43c358
cmp dword [esp + 4], 0
je 0x43c33f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x43c36b
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x450a68]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x450a68], esi
jne 0x43c300
mov byte [0x450a64], 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x43c34f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x43c3ac
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x43c343
mov edi, dword [esp]
jmp 0x43c34f
mov edi, dword [esi]
jmp 0x43c34e
mov edi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.0043c3e0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x446584
mov dword [esp + 8], 0x446548
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str.description___is_deprecated__use_DisplayOutOfRangeImpossibleNotEnoughInvalidTooShortTooLongBadFormat__NonexhaustiveEmptyInvalidDigitPosOverflowNegOverflowZeroMissingNulTerminator
mov dword [esp + 0x14], 0
call fcn.0043acf0
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x446548
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str.description___is_deprecated__use_DisplayOutOfRangeImpossibleNotEnoughInvalidTooShortTooLongBadFormat__NonexhaustiveEmptyInvalidDigitPosOverflowNegOverflowZeroMissingNulTerminator
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0043c410
int3
Function at 0x40194c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 4
mov eax, 0x465077
call fcn.0044a210
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x479a68
mov esi, eax
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [ebp - 0x10]
mov ebx, eax
call fcn.004036bb
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
add esi, 0xb4
push eax
mov ecx, esi
call fcn.00403de1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402ddf
push ebx
push dword [esi]
call fcn.00403665
pop ecx
pop ecx
call fcn.0044a2e8
ret 4

Function at 0x403665
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x80
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
push ebx
push esi
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4036b5
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], edi
push esi
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x405898
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 5
mov esi, ecx
push 0x4ba
push esi
mov dword [ebp - 4], esi
call fcn.00417c80
push 6
push 0x4bb
push esi
call fcn.00417c80
push 7
push 0x4bc
push esi
call fcn.00417c80
push 0x4b0
mov ecx, esi
call fcn.0042606e
mov ebx, eax
test ebx, ebx
je 0x40597c
push edi
push 0xa
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.0041c002
push dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edi, 0x143
push edi
push dword [ebx + 0x20]
call esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402ddf
push 0xb
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0041c002
push dword [eax]
push 0
push edi
push dword [ebx + 0x20]
call esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402ddf
push 0xc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0041c002
push dword [eax]
push 0
push edi
push dword [ebx + 0x20]
call esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402ddf
push 0xd
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0041c002
push dword [eax]
push 0
push edi
push dword [ebx + 0x20]
call esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402ddf
mov esi, dword [ebp - 4]
pop edi
mov ecx, esi
call fcn.0041913d
pop esi
pop ebx
leave
ret
Function at 0x407fdb
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408013
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x408044
push 2
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x408046
xor esi, esi
inc esi
jmp 0x408046
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x408036
push 2
pop esi
jmp 0x408046
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
mov eax, esi
pop esi
ret
Function at 0x4119a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4921d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x43], 0x20
mov byte [ebp - 0x42], 8
mov byte [ebp - 0x41], 0x28
mov byte [ebp - 0x40], 2
mov byte [ebp - 0x3f], 0x22
mov byte [ebp - 0x3e], 0xa
mov byte [ebp - 0x3d], 0x2a
mov byte [ebp - 0x3c], 0x30
mov byte [ebp - 0x3b], 0x10
mov byte [ebp - 0x3a], 0x38
mov byte [ebp - 0x39], 0x18
mov byte [ebp - 0x38], 0x32
mov byte [ebp - 0x37], 0x12
mov byte [ebp - 0x36], 0x3a
mov byte [ebp - 0x35], 0x1a
mov byte [ebp - 0x34], 0xc
mov byte [ebp - 0x33], 0x2c
mov byte [ebp - 0x32], 4
mov byte [ebp - 0x31], 0x24
mov byte [ebp - 0x30], 0xe
mov byte [ebp - 0x2f], 0x2e
mov byte [ebp - 0x2e], 6
mov byte [ebp - 0x2d], 0x26
mov byte [ebp - 0x2c], 0x3c
mov byte [ebp - 0x2b], 0x1c
mov byte [ebp - 0x2a], 0x34
mov byte [ebp - 0x29], 0x14
mov byte [ebp - 0x28], 0x3e
mov byte [ebp - 0x27], 0x1e
mov byte [ebp - 0x26], 0x36
mov byte [ebp - 0x25], 0x16
mov byte [ebp - 0x24], 3
mov byte [ebp - 0x23], 0x23
mov byte [ebp - 0x22], 0xb
mov byte [ebp - 0x21], 0x2b
mov byte [ebp - 0x20], 1
mov byte [ebp - 0x1f], 0x21
mov byte [ebp - 0x1e], 9
mov byte [ebp - 0x1d], 0x29
mov byte [ebp - 0x1c], 0x33
mov byte [ebp - 0x1b], 0x13
mov byte [ebp - 0x1a], 0x3b
mov byte [ebp - 0x19], 0x1b
mov byte [ebp - 0x18], 0x31
mov byte [ebp - 0x17], 0x11
mov byte [ebp - 0x16], 0x39
mov byte [ebp - 0x15], 0x19
mov byte [ebp - 0x14], 0xf
mov byte [ebp - 0x13], 0x2f
mov byte [ebp - 0x12], 7
mov byte [ebp - 0x11], 0x27
mov byte [ebp - 0x10], 0xd
mov byte [ebp - 0xf], 0x2d
mov byte [ebp - 0xe], 5
mov byte [ebp - 0xd], 0x25
mov byte [ebp - 0xc], 0x3f
mov byte [ebp - 0xb], 0x1f
mov byte [ebp - 0xa], 0x37
mov byte [ebp - 9], 0x17
mov byte [ebp - 8], 0x3d
mov byte [ebp - 7], 0x1d
mov byte [ebp - 6], 0x35
mov byte [ebp - 5], 0x15
call fcn.0040b904
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr al, 2
and edx, 7
and ecx, 7
lea edx, [ebp + edx - 0x44]
cmp byte [edx + ecx*8], al
sbb eax, eax
and eax, 0xff
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + 2], al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446969
leave
ret 0x10
Function at 0x412f6c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46747f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push edi
mov eax, dword [0x4921d8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x18], 0
je 0x4130aa
lea ecx, [esp + 0x14]
call fcn.004033fa
and dword [esp + 0x48], 0
cmp dword [edi + 0x14], 0x18
jge 0x412fcd
lea eax, [esp + 0x14]
call fcn.0041550d
push 0x18
lea ebx, [esp + 0x18]
call fcn.004131c0
mov edi, ebx
mov eax, dword [edi + 0xc]
imul eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
imul ecx, eax
add ecx, 0x28
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x28
mov ebx, eax
push 0
push ebx
call fcn.00446ab0
mov dword [ebx], 0x28
mov eax, dword [edi + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 1
mov ax, word [edi + 0x14]
mov word [ebx + 0xe], ax
mov eax, dword [edi + 0xc]
imul eax, dword [edi + 0x14]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
imul eax, dword [edi + 0x10]
add esp, 0xc
shl eax, 2
push eax
push dword [edi + 0x18]
add ebx, 0x28
push ebx
call fcn.00446b30
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413090
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0x10]
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x41308a
and dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esp + 0x10], 0
je 0x4130a1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x14]
call fcn.00403360
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413d3d
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x413d55
call fcn.00447433
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x413d62
call fcn.00447433
push edi
push esi
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
mov ebx, esi
call fcn.00413dda
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x413dd3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x413dc7
push edi
mov eax, esi
call fcn.00413e27
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00403b18
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], edi
sete bl
jmp 0x413dca
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x419227
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4663e4
call fcn.0044a210
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.DlgEffectBase::CProcessTask.0
mov dword [esi + 0x20], edi
mov byte [ebp - 4], 1
mov eax, dword [0x4985f8]
inc dword [0x4985f8]
or dword [esi + 0x1c], 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], edi
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov dword [ebp - 0x10], eax
je 0x419286
cmp ecx, edi
je 0x419286
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x10]
push edi
push edi
push esi
push 0x41930e
push edi
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
mov eax, esi
call fcn.0044a2e8
ret 4

Function at 0x419e58
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], 0xf
mov ebx, ecx
jne 0x419f12
cmp dword [ebx + 0xe4], edi
jne 0x419faf
push 0x18
call fcn.0041f395
cmp eax, edi
pop ecx
je 0x419e9a
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [esp + 0xc], eax
jmp 0x419e9e
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
xor esi, esi
cmp dword [ebx + 0xe0], edi
jle 0x419edb
cmp esi, edi
jl 0x419ec0
mov ecx, esi
mov eax, ebx
call fcn.0041b67f
jmp 0x419ec2
xor eax, eax
add eax, 0x24
push eax
mov eax, dword [esp + 0x10]
add eax, 4
call fcn.00409e75
inc esi
cmp esi, dword [ebx + 0xe0]
jl 0x419eb1
push edi
push edi
push dword [esp + 0x14]
push 0x41a6bd
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [ebx + 0xe4], eax
jne 0x419faf
mov esi, dword [esp + 0xc]
add esi, 4
call fcn.0040a5f9
push dword [esp + 0xc]
call fcn.0041f3c0
pop ecx
cmp dword [ebp + 8], 0x8030
jne 0x419f65
xor esi, esi
cmp dword [ebx + 0xe0], edi
jle 0x419f52
cmp esi, edi
jl 0x419f34
mov ecx, esi
mov eax, ebx
call fcn.0041b67f
jmp 0x419f36
xor eax, eax
mov ecx, dword [eax + 0x24]
cmp ecx, dword [ebp + 0xc]
je 0x419f49
inc esi
cmp esi, dword [ebx + 0xe0]
jl 0x419f25
jmp 0x419f52
push dword [ebp + 0x10]
push eax
call fcn.004195ed
push 1
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 0x11228899
jmp 0x419fbf
cmp dword [ebp + 8], 0x201
jne 0x419faf
push ecx
push ecx
movsx ecx, word [ebp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movsx ecx, cx
mov dword [esp + 0x14], esp
mov dword [eax + 4], ecx
call fcn.0041b5cb
cmp eax, edi
je 0x419faf
cmp dword [eax + 0x24], edi
je 0x419faf
movzx esi, word [eax + 0x24]
call fcn.00418e8c
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b288
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41bc00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467b4a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4921d8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 1
mov ecx, esi
call fcn.00422885
xor eax, eax
inc eax
mov ecx, esi
call fcn.0041bfe7
push 2
mov dword [esi + 0x90], eax
pop eax
mov ecx, esi
call fcn.0041bfe7
mov ecx, eax
push 0x64
pop eax
sub eax, ecx
imul eax, eax, 0xff
cdq
push 0x64
pop ecx
idiv ecx
mov byte [esp + 0x17], 0xff
lea ebx, [esi + 0x94]
lea edi, [esi + 0x188]
mov byte [esp + 0x16], al
mov byte [esp + 0x15], al
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
lea eax, [esi + 0x1b0]
mov dword [esp + 0x14], eax
call fcn.0041550d
mov eax, dword [esi + 0x98]
mov ebx, dword [ebx]
mov dword [esp + 0x18], vtable.DlgEffectShadow::CFillShadowImage.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
and dword [esp + 0x58], 0
mov edi, dword [esp + 0x14]
push 0
lea ebx, [esp + 0x1c]
call fcn.0040383b
or dword [esp + 0x58], 0xffffffff
mov ecx, dword [esi + 0x90]
xor edi, edi
inc edi
push edi
push 0
lea eax, [esp + 0x2c]
push eax
call fcn.00417d18
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x14]
push 0
mov ebx, eax
call fcn.0040383b
lea esi, [esp + 0x30]
call fcn.0040e14d
mov eax, dword [ebp + 8]
push 1
push 0
push dword [eax + 0xc4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c5a6
Capabilities:
Set current directory

Disassembly:
push 4
mov eax, 0x466deb
call fcn.0044a210
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041c531
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, dword [eax]
mov eax, dword [0x4985ec]
cmp dword [eax - 0xc], edi
je 0x41c5d7
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
push edi
push ebx
push 4
push edi
push edi
push 1
mov ecx, esi
call fcn.00427bad
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402ddf
lea edi, [esi + 0x30c]
push edi
mov dword [esi], vtable.DlgOpenImage.0
call fcn.00415fb4
mov dword [edi], vtable.DlgOpenImage::CWndThumb.0
mov dword [edi + 0x54], vtable.DlgOpenImage::CWndThumb.1.0
lea edi, [esi + 0x3f0]
mov ecx, edi
call fcn.004033fa
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00429b17
add eax, 0x34
or dword [eax], 0x800040
mov ecx, esi
call fcn.00429b17
mov dword [eax + 0x48], 0xdac
mov dword [esi + 0x3ec], edi
mov eax, esi
call fcn.0044a2e8
ret 4
Function at 0x424207
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x424240
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042040b
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004202c6
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x425898
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x47a1c0
mov ecx, edi
call fcn.00403cec
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x4258eb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4258fe
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0042040b
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004202c6
jmp 0x4258fe
mov ecx, esi
call fcn.0042606e
test eax, eax
je 0x4258fe
push edi
mov ecx, eax
call fcn.00424207
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x425ee5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x425f28
call fcn.0043692b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x425f28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425f43
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00425a9f
test ebx, ebx
mov esi, eax
je 0x425f41
test edi, edi
je 0x425f41
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42637b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x465077
call fcn.0044a210
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4263a0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4263ec
call fcn.0043259d
push eax
lea ecx, [ebp - 0x10]
call fcn.00402df9
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042bbfd
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402ddf
mov eax, esi
call fcn.0044a2e8
ret 8
Function at 0x434ddd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0043692b
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x434e14
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004349ff
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x434e6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x434e8c
cmp dword [edi + 0x54], 0
jne 0x434e8c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0043692b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00434e33
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x43d99f
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 0x43d9cd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43d9eb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043d909
jmp 0x43d9eb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43d9eb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043d909
test edi, edi
mov eax, edi
jne 0x43d9d5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x497400]
test ecx, ecx
je 0x43daae
jmp 0x43d99e
ret 8

Function at 0x446969
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4921d8]
jne 0x446973
repz ret
jmp fcn.0044cc8f
Function at 0x458a72
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044c676
xor ebx, ebx
cmp dword [0x498230], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x458b47
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x458ab2
xor eax, eax
jmp 0x458c0b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x458aab
push eax
call fcn.0044c613
mov dword [esp], 0x477d14
push edi
mov dword [0x498230], eax
call esi
push eax
call fcn.0044c613
mov dword [esp], 0x477d00
push edi
mov dword [0x498234], eax
call esi
push eax
call fcn.0044c613
mov dword [0x498238], eax
lea eax, [ebp - 8]
push eax
call fcn.0044a81a
test eax, eax
pop ecx
pop ecx
je 0x458b15
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00447313
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x458b47
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044c613
cmp eax, ebx
pop ecx
mov dword [0x498240], eax
je 0x458b47
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044c613
pop ecx
mov dword [0x49823c], eax
mov eax, dword [0x49823c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x458bc0
cmp dword [0x498240], esi
je 0x458bc0
push eax
call fcn.0044c67f
pop ecx
call eax
cmp eax, ebx
je 0x458b8d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x498240]
call fcn.0044c67f
pop ecx
call eax
test eax, eax
je 0x458b8d
test byte [ebp - 0x18], 1
jne 0x458bc0
lea eax, [ebp - 0xc]
push eax
call fcn.0044a851
test eax, eax
pop ecx
je 0x458ba8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00447313
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x458bb7
or dword [ebp + 0x10], 0x200000
jmp 0x458bf1
or dword [ebp + 0x10], 0x40000
jmp 0x458bf1
mov eax, dword [0x498234]
cmp eax, esi
je 0x458bf1
push eax
call fcn.0044c67f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x458bf1
mov eax, dword [0x498238]
cmp eax, esi
je 0x458bf1
push dword [ebp - 4]
push eax
call fcn.0044c67f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x498230]
call fcn.0044c67f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret