joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10118a71
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.101189ed
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10118be0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10118be0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10118b95
jg 0x10118acd
test eax, eax
je 0x10118b8b
push 1
push 0x1000
call fcn.1010af59
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10118af0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10118b82
push 0x8000
push ebx
call fcn.1011891e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10118b19
jg 0x10118b14
cmp ecx, 0x1000
jb 0x10118b19
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1010c7dd
add esp, 0x10
cmp eax, 0xffffffff
je 0x10118b5e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10118b14
jl 0x10118b45
test ecx, ecx
jne 0x10118b06
push dword [ebp - 0xc]
push ebx
call fcn.1011891e
push esi
call fcn.101072ea
add esp, 0xc
xor ebx, ebx
jmp 0x10118bee
cmp byte [edi + 0x24], 0
je 0x10118b75
cmp dword [edi + 0x20], 5
jne 0x10118b75
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10118b80
mov ebx, dword [edi + 0x18]
jmp 0x10118b82
xor ebx, ebx
push esi
call fcn.101072ea
pop ecx
jmp 0x10118bee
test ecx, ecx
jg 0x10118b57
jl 0x10118b95
test eax, eax
jae 0x10118b57
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1010e60c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10118bb5
cmp byte [edi + 0x1c], 0
je 0x10118b57
jmp 0x10118be6
push ebx
call fcn.101163db
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10118b57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10118bee
cmp byte [edi + 0x1c], 0
je 0x10118beb
mov ebx, dword [edi + 0x18]
jmp 0x10118bee
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1010e60c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1011a2b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1011a2dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1011a2dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4014e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410020]
jne 0x4014ef
repz ret
jmp fcn.00401efc

Function at 0x403875
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4107c8]
je 0x403890
inc edi
cmp edi, 0x17
jb 0x403881
cmp edi, 0x17
jae 0x403a10
push ebp
push 3
call fcn.00406bd1
cmp eax, 1
pop ecx
je 0x4039dc
push 3
call fcn.00406bd1
test eax, eax
pop ecx
jne 0x4038c4
cmp dword [0x41001c], 1
je 0x4039dc
cmp ebx, 0xfc
je 0x403a0f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x411158
push ebp
call fcn.004048b6
add esp, 0xc
test eax, eax
je 0x4038fa
push esi
push esi
push esi
push esi
push esi
call fcn.004031bc
add esp, 0x14
push 0x104
mov esi, 0x411171
push esi
push 0
mov byte [0x411275], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40393e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004048b6
add esp, 0xc
test eax, eax
je 0x40393e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004031bc
add esp, 0x14
push esi
call fcn.00404920
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403983
push esi
call fcn.00404920
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41146c
push 0x40d89c
sub ecx, eax
push ecx
push eax
call fcn.00405fa6
add esp, 0x14
test eax, eax
je 0x403983
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004031bc
add esp, 0x14
jmp 0x403985
xor esi, esi
push 0x40d898
push ebx
push ebp
call fcn.00405ee0
add esp, 0xc
test eax, eax
je 0x4039a5
push esi
push esi
push esi
push esi
push esi
call fcn.004031bc
add esp, 0x14
push dword [edi*8 + 0x4107cc]
push ebx
push ebp
call fcn.00405ee0
add esp, 0xc
test eax, eax
je 0x4039c7
push esi
push esi
push esi
push esi
push esi
call fcn.004031bc
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00406a14
add esp, 0xc
jmp 0x403a0f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x403a0f
cmp ebp, 0xffffffff
je 0x403a0f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4107cc]
push dword [esi]
call fcn.00404920
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x406a14
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402c23
xor ebx, ebx
cmp dword [0x41185c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x406aea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x406bca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x406bca
push eax
call fcn.00402bb5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41185c], eax
call esi
push eax
call fcn.00402bb5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411860], eax
call esi
push eax
call fcn.00402bb5
mov dword [0x411864], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403602
test eax, eax
pop ecx
pop ecx
je 0x406ab8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004031bc
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x406aea
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402bb5
cmp eax, ebx
pop ecx
mov dword [0x41186c], eax
je 0x406aea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402bb5
pop ecx
mov dword [0x411868], eax
mov eax, dword [0x411868]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x406b6f
cmp dword [0x41186c], ecx
je 0x406b6f
push eax
call fcn.00402c2c
push dword [0x41186c]
mov esi, eax
call fcn.00402c2c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x406b6f
cmp edi, ebx
je 0x406b6f
call esi
cmp eax, ebx
je 0x406b3c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406b3c
test byte [ebp - 0x18], 1
jne 0x406b6f
lea eax, [ebp - 0x10]
push eax
call fcn.00403639
test eax, eax
pop ecx
je 0x406b57
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004031bc
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x406b66
or dword [ebp + 0x10], 0x200000
jmp 0x406baa
or dword [ebp + 0x10], 0x40000
jmp 0x406baa
mov eax, dword [0x411860]
cmp eax, dword [ebp - 8]
je 0x406baa
push eax
call fcn.00402c2c
cmp eax, ebx
pop ecx
je 0x406baa
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x406baa
mov eax, dword [0x411864]
cmp eax, dword [ebp - 8]
je 0x406baa
push eax
call fcn.00402c2c
cmp eax, ebx
pop ecx
je 0x406baa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41185c]
call fcn.00402c2c
cmp eax, ebx
pop ecx
je 0x406bca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406bcc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4081f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x410020]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x470], ecx
mov word [ebp - 0x468], 0
push 0x206
push 0
lea eax, [ebp - 0x466]
push eax
call fcn.004010a0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x408234
cmp dword [ebp + 0xc], 1
jbe 0x408246
push 4
mov ecx, dword [ebp - 0x470]
call fcn.00408190
jmp 0x4083b3
push 0x104
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x408276
push 0x102
mov ecx, dword [ebp - 0x470]
call fcn.00408190
jmp 0x4083b3
cmp dword [ebp + 0xc], 0
jne 0x408292
push 0x40ec2c
lea ecx, [ebp - 0x468]
push ecx
call fcn.0040111a
add esp, 8
jmp 0x4082a6
push str._system32drivers_
lea edx, [ebp - 0x468]
push edx
call fcn.0040111a
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x468]
push ecx
call fcn.0040111a
add esp, 8
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x40830f
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x468]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40830f
push 0x104
mov ecx, dword [ebp - 0x470]
call fcn.00408190
jmp 0x4083b3
cmp dword [ebp + 0xc], 0
jne 0x4083ae
push str..inf
lea eax, [ebp - 0x468]
push eax
call fcn.00401080
add esp, 8
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
je 0x408347
mov ecx, dword [ebp - 0x46c]
mov word [ecx], 0
push 0x40ecb4
lea edx, [ebp - 0x468]
push edx
call fcn.0040111a
add esp, 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0x4083ae
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4083ae
push 0x104
mov ecx, dword [ebp - 0x470]
call fcn.00408190
jmp 0x4083b3
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004014e5
mov esp, ebp
pop ebp
ret 8
Function at 0x40a3b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a3e1
push 0x501
mov ecx, dword [ebp - 0xc]
call fcn.0040a0c0
jmp 0x40a441
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a405
push 0x502
mov ecx, dword [ebp - 0xc]
call fcn.0040a0c0
jmp 0x40a441
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x40a42b
push 0x503
mov ecx, dword [ebp - 0xc]
call fcn.0040a0c0
jmp 0x40a441
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a450
Capabilities:
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
push 0x10
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0x18], 0x7dd
mov word [ebp - 0x16], 3
mov word [ebp - 0x12], 0x16
mov word [ebp - 0x10], 3
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0040a3b0
test eax, eax
jne 0x40a4b2
xor eax, eax
jmp 0x40a55c
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40a500
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40a4f1
push 0x504
mov ecx, dword [ebp - 0x28]
call fcn.0040a0c0
jmp 0x40a55c
push 0x103
mov ecx, dword [ebp - 0x28]
call fcn.0040a0c0
jmp 0x40a55c
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40a529
push 0x106
mov ecx, dword [ebp - 0x28]
call fcn.0040a0c0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x40a546
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28]
xor eax, eax
cmp dword [edx + 4], 0
sete al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a5c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40a5dc
or eax, 0xffffffff
jmp 0x40a600
push 0
lea eax, [ebp - 8]
push eax
push 0x210
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40a5fe
or eax, 0xffffffff
jmp 0x40a600
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e004]
jne 0x401010
repz ret
jmp fcn.004018d1

Function at 0x40a075
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404384
and dword [ebp - 4], 0
cmp dword [0x4307f4], 0
mov ebx, eax
jne 0x40a126
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a1d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a1d7
push eax
call fcn.00404312
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4307f4], eax
call esi
push eax
call fcn.00404312
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4307f8], eax
call esi
push eax
call fcn.00404312
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4307fc], eax
call esi
push eax
call fcn.00404312
pop ecx
mov dword [0x430804], eax
test eax, eax
je 0x40a126
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404312
pop ecx
mov dword [0x430800], eax
mov eax, dword [0x430800]
cmp eax, ebx
je 0x40a17e
cmp dword [0x430804], ebx
je 0x40a17e
push eax
call fcn.0040438d
push dword [0x430804]
mov esi, eax
call fcn.0040438d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a17e
test edi, edi
je 0x40a17e
call esi
test eax, eax
je 0x40a175
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a175
test byte [ebp - 0xc], 1
jne 0x40a17e
or dword [ebp + 0x10], 0x200000
jmp 0x40a1b7
mov eax, dword [0x4307f8]
cmp eax, ebx
je 0x40a1b7
push eax
call fcn.0040438d
pop ecx
test eax, eax
je 0x40a1b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a1b7
mov eax, dword [0x4307fc]
cmp eax, ebx
je 0x40a1b7
push eax
call fcn.0040438d
pop ecx
test eax, eax
je 0x40a1b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4307f4]
call fcn.0040438d
pop ecx
test eax, eax
je 0x40a1d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a1d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425534
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x42e004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x19f
jne 0x425558
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x425583
push esi
and dword [ebp - 0x808], 0
lea esi, [ebp - 0x808]
call fcn.00425529
mov al, byte [ebp - 0x808]
xor byte [ebx + edi], al
inc edi
cmp edi, dword [ebp + 8]
jl 0x425561
pop esi
cmp dword [ebp + 8], 0x2d
pop edi
jne 0x4255b6
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push str.tojidagaresijodujenut
push 0
call dword [sym.imp.ADVAPI32.dll_GetServiceKeyNameW]
or dword [0x43e76c], 0xffffffff
mov dword [0x43e768], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
leave
ret
Function at 0x425070
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42509d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42509d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x1d2a3124
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x3960ab8
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403dcb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403e02
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x403dfe
jmp 0x403df0
cmp esi, eax
jae 0x403e02
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403df0
cmp esi, eax
jb 0x403e09
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40dc30
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esi + 0x6b7c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x566b80
push 0
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x6b7c]
push 0x566e30
push 1
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x6b7c]
push 0x566b84
push 2
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x6b7c]
push 0x566b88
push 3
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x6b7c]
push 0x566b8c
push 4
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x6b7c]
push 0x566b94
push 5
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x6b7c]
push str.Default1
push 6
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x6b7c]
push str.Default2
push 7
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x6b7c]
push str.Default3
push 8
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x6b7c]
push str.Default4
push 9
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x6b7c]
push str.Default5
push 0xa
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x6b7c]
push str.Default6
push 0xb
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x6b7c]
push str.Default7
push 0xc
push 0x14a
push eax
call edi
push str.Default8
mov ecx, dword [esi + 0x6b7c]
push 0xd
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x6b7c]
push 0
push 0
push 0x14e
push edx
mov dword [esi + 0x1c0], 0
call edi
mov eax, dword [esi + 0x77b8]
push 0x566b80
push 0
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x77b8]
push 0x566e30
push 1
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x77b8]
push 0x566b84
push 2
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x77b8]
push 0x566b88
push 3
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x77b8]
push 0x566b8c
push 4
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x77b8]
push 0x566b94
push 5
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x77b8]
push str.Default1
push 6
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x77b8]
push str.Default2
push 7
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x77b8]
push str.Default3
push 8
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x77b8]
push str.Default4
push 9
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x77b8]
push str.Default5
push 0xa
push 0x14a
push ecx
call edi
push str.Default6
push 0xb
push 0x14a
mov edx, dword [esi + 0x77b8]
push edx
call edi
mov eax, dword [esi + 0x77b8]
push str.Default7
push 0xc
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x77b8]
push str.Default8
push 0xd
push 0x14a
push ecx
call edi
pop edi
ret
Function at 0x4110d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041aea8
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 0x41110d
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.00410d11
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 0x41116b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x41118f
cmp dword [edi + 0x74], 0
jne 0x41118f
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041aea8
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 [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041112c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x417564
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4175ab
call fcn.0041aea8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4175ab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4175c7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00417064
mov esi, eax
test edi, edi
je 0x4175c5
test ebx, ebx
je 0x4175c5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41b6db
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x535c2f
call fcn.00515e00
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41b700
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41b752
call fcn.00419903
push eax
lea ecx, [ebp - 0x10]
call fcn.00401880
mov ecx, dword [esi + 0x6c]
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.005163de
push eax
call fcn.00403e60
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401900
mov eax, esi
call fcn.00515ed8
ret 8