joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a390
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4ecee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
lea ebp, [edi + 0x60]
push ebp
call fcn.004d34d5
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push 0
mov ecx, ebp
mov dword [esp + 0x3c], 0
call fcn.004d3b90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42a457
mov eax, dword [0x74e3a4]
mov dword [esp + 0xc], eax
push 0
mov ecx, ebp
mov byte [esp + 0x24], 1
call fcn.004d3b90
push eax
lea ecx, [esp + 0x10]
push 0x749794
push ecx
call fcn.004cd19e
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, edi
push 0x30
push 0x548690
push edx
call fcn.004d1709
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004d3760
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], esi
call fcn.004d3760
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x10]
push 1
push 0
push 0
push ecx
mov ebp, eax
call fcn.004437d0
xor ecx, ecx
add eax, ebp
adc edx, ecx
mov dword [edi + 0x68], eax
push esi
mov dword [edi + 0x6c], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 9
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edx, edx
mov esi, eax
mov dword [eax], edx
mov dword [eax + 4], edx
push edx
push 9
mov byte [eax + 8], dl
mov byte [esi], 4
mov ecx, dword [esp + 0x18]
mov dword [esi + 5], ebp
mov dword [esi + 1], ecx
mov edx, dword [edi + 0x744]
mov ecx, dword [edi + 0x748]
push esi
push edx
call fcn.00415950
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004d3760
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x42b390
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42b409
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
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 0x42b401
mov ecx, dword [esi]
push ebp
push edi
push 0
mov ebp, dword [ecx - 8]
mov ecx, esi
call fcn.004d3b90
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
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]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret
Function at 0x42f4a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42f53d
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x42f4d5
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.004d3d42
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0xb
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov edx, dword [ecx + 0x264]
push edx
call fcn.0042f710
push ebp
call fcn.004d3d6b
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x42fc90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ax, word [esp + 0x18]
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esi + 0x14], ax
mov al, byte [esi + 5]
test al, al
je 0x42fcbb
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb4
ret 0x18
call sub.MSVFW32.dll_Ordinal_2
shr eax, 0x10
cmp eax, 0x10a
jae 0x42fcd9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb4
ret 0x18
call sub.AVIFIL32.dll_AVIFileInit
mov ecx, dword [esp + 0xc8]
xor ebp, ebp
push ebp
lea ebx, [esi + 0x18]
push 0x1001
push ecx
push ebx
mov byte [esi + 4], 1
call sub.AVIFIL32.dll_AVIFileOpenA
test eax, eax
je 0x42fd0e
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb4
ret 0x18
mov ecx, 0x23
xor eax, eax
lea edi, [esp + 0x38]
mov edx, dword [esp + 0xd4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x58], ebp
mov ebp, eax
push ecx
imul ebp, ecx
push eax
push 0
lea eax, [esp + 0x78]
push 0
shl ebp, 2
push eax
mov dword [esp + 0x4c], 0x73646976
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edx
mov dword [esp + 0x74], ebp
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
lea edx, [esi + 0x1c]
push ecx
push edx
push eax
call sub.AVIFIL32.dll_AVIFileCreateStreamA
test eax, eax
je 0x42fd95
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb4
ret 0x18
xor edi, edi
xor ebx, ebx
mov ecx, dword [esp + 0xd8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x42fe36
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 4
cmp edi, ecx
jae 0x42fe36
mov edx, dword [esp + 0xd4]
add eax, ebx
push edx
push eax
mov ecx, esi
call fcn.0042ff90
test al, al
jne 0x42fdd3
inc edi
add ebx, 0x10
jmp 0x42fd99
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
mov ebx, dword [esp + 0xd0]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x30]
mov cx, word [esi + 0x14]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x20], eax
mov word [esp + 0x1e], cx
lea eax, [edx*4 + 0x28]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x20], 0x28
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x2c], 1
mov dword [esp + 0x34], ebp
call sub.AVIFIL32.dll_AVIStreamSetFormat
test eax, eax
je 0x42fe45
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb4
ret 0x18
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov byte [esi + 5], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xb4
ret 0x18
Function at 0x43a7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
lea edx, [eax + 0x50]
lea ecx, [eax + 8]
push edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
xor eax, eax
fld qword [ecx]
fadd qword [edx]
add eax, 8
add ecx, 8
sub edx, 8
cmp eax, 0x20
fsub qword [esp + eax + 0x48]
fstp qword [esp + eax + 0x50]
fld qword [ecx - 8]
fsub qword [edx + 8]
fadd qword [esp + eax + 0x78]
fstp qword [esp + eax + 0x80]
jle 0x43a802
mov eax, dword [0x74db70]
mov ecx, dword [0x74db74]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x14], ecx
push 5
mov eax, ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
lea edi, [esp + 0x60]
call fcn.0043a9f0
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [esp + 0x44], edx
mov esi, 0x74db70
cmp esi, 0x74dd00
jge 0x43a9bd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add esi, 8
fstp qword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
push 5
mov ecx, eax
push edi
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.0043a9f0
fst qword [esp + 0x58]
fld qword [esp + 0x38]
fmul st(1)
add esp, 0x10
fcomp qword [0x5160d0]
fnstsw ax
test ah, 0x41
je 0x43a9ab
fstp st(0)
sub esi, 8
mov ebx, 2
fld qword [esp + 0x38]
fadd qword [esp + 0x10]
push 5
push edi
fmul qword [0x5160c8]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0043a9f0
fld st(0)
fmul qword [esp + 0x58]
add esp, 0x10
fcomp qword [0x5160d0]
fnstsw ax
test ah, 0x41
je 0x43a924
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x43a938
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
dec ebx
jne 0x43a8d4
fld qword [esp + 0x38]
fsub qword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, 8
fmul qword [esp + 0x48]
fld qword [esp + 0x28]
fsub qword [esp + 0x48]
mov dword [esp + 0x44], eax
inc edi
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x80]
fdivp st(1)
fsubr qword [esp + 0x10]
fst qword [esp + 0x28]
fld st(0)
fstp qword [eax - 8]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x34], eax
jne 0x43a98e
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
fstp qword [esp + 0x10]
push 5
push edi
push ecx
push edx
call fcn.0043a9f0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, 0xa
jl 0x43a86f
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xa
fstp st(0)
jge 0x43a9e3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov edx, 0xa
mov esi, dword [ecx + eax]
mov dword [eax], esi
mov esi, dword [ecx + eax + 4]
mov dword [eax + 4], esi
add eax, 8
dec edx
jne 0x43a9d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x455b6e
mov dl, byte [ecx + eax]
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
xor dl, 0x15
sub dl, 0x41
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x455b3f
pop esi
ret
Function at 0x456490
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4564c0
push esi
call fcn.0045a330
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4564b9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x456543
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x45652f
mov eax, dword [esi + 8]
test eax, eax
je 0x4564e4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45652b
cmp eax, 2
je 0x45652f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4564d7
cmp eax, 3
je 0x45650a
cmp eax, 1
jne 0x4564d7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4564d7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4564d7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00456570
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x456563
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00456570
add esp, 4
pop esi
ret

Function at 0x4874b0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp byte [esi + 2], 1
je 0x4874c8
mov eax, 0xfffffffc
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0x10305
mov dword [esi + 8], str.xvid_1.3.5
call fcn.004873d0
mov dword [esi + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x10], ecx
pop esi
add esp, 0x24
ret
Function at 0x4cb0f0
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.004449b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4cb1bb
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 0x4cb1bb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4cb16e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4cb179
or bh, 8
and edi, 0x8000000
je 0x4cb194
mov eax, dword [0x7d045c]
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 0x4cb1bb
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 0x4cb590
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 0x4cb5bb
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 0x4cb5df
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 0x4cb5fa
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 0x4cf294
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 0x4cf2b6
cmp dword [edi + 0x3c], 0
jne 0x4cf2b6
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004e4c48
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.004cf2e3
pop edi
pop esi
pop ebx
ret 8

Function at 0x4d0926
Capabilities:
Get graphical window text

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

Function at 0x4d096e
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x764a50
mov ecx, edi
call fcn.004d38e9
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4d09c1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4d09d4
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004d3c07
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004d3bdf
jmp 0x4d09d4
mov ecx, esi
call fcn.004d2bd1
test eax, eax
je 0x4d09d4
push edi
mov ecx, eax
call fcn.004d0926
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4d23cc
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 0x4d240e
call fcn.004e4c48
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d240e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d2405
xor eax, eax
jmp 0x4d2416
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d241c
pop edi
pop esi
pop ebx
ret 4
Function at 0x4d919b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4ee2f0
call fcn.00445088
push ecx
push ecx
push esi
push 0x10
call fcn.004d3d42
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4d91e8
mov ecx, esi
call fcn.004d4b0e
mov eax, dword [0x74e3a4]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.004d38e9
jmp 0x4d91ea
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x541198
push eax
mov dword [ebp - 0x10], esi
call fcn.00444490
pop esi

Function at 0x4e58a6
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.004e4c48
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4e58e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e58e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4e58e7
xor eax, eax
jmp 0x4e5965
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004d3d42
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4e591f
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 0x4e5909
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004e5a56
push ebx
mov edi, eax
call fcn.004d3d6b
test edi, edi
pop ecx
je 0x4e5961
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.004e581f
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004e596a
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4e6c6f
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 0x4e6c9d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e6cbb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e6bd5
jmp 0x4e6cbb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e6cbb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e6bd5
test edi, edi
mov eax, edi
jne 0x4e6ca5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40d900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40c015
lea edi, [esi - 0xb015]
push edi
or ebp, 0xffffffff
jmp 0x40d922
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d918
mov eax, 1
add ebx, ebx
jne 0x40d93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d930
jne 0x40d94c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d930
xor ecx, ecx
sub eax, 3
jb 0x40d960
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d9d2
mov ebp, eax
add ebx, ebx
jne 0x40d96b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d978
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d99c
inc ecx
add ebx, ebx
jne 0x40d988
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d97d
jne 0x40d999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d97d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d9bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d9ad
jmp 0x40d91e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d9bc
add edi, ecx
jmp 0x40d91e
pop esi
mov edi, esi
mov ecx, 0x89
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d9da
cmp byte [edi], 2
jne 0x40d9da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40d9df
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40da4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40da0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd06c]
or eax, eax
je 0x40da48
mov dword [ebx], eax
add ebx, 4
jmp 0x40da29
call dword [esi + 0xd068]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40da7f
cmp al, 0xef
ja 0x40da72
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40da54
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40da61
mov ebp, dword [esi + 0xd070]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xdada]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40dacb
sub esp, 0xffffff80
jmp 0x4014b0