joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4058d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dfcd
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x5beff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c4], ecx
mov ecx, dword [ebp - 0x4c4]
call fcn.0040a4e8
push 0x3ef
mov ecx, dword [ebp - 0x4c4]
call fcn.004142cd
mov dword [ebp - 0x4c8], eax
push str.Your_DUNE_3_license_must_be_activated._n_nThis_is_only_required_once._The_easiest_way_is_to_choose_Online_Activation__which_requires_only_a_single_click._No_personal_information_is_transmitted_in_the_process.
mov ecx, dword [ebp - 0x4c8]
call fcn.004146ef
push 3
mov ecx, dword [ebp - 0x4c4]
call fcn.004142cd
mov dword [ebp - 0x4c8], eax
push 0
mov ecx, dword [ebp - 0x4c8]
call fcn.00414741
push 0x3ea
mov ecx, dword [ebp - 0x4c4]
call fcn.004142cd
mov dword [ebp - 0x4c8], eax
push 0
mov ecx, dword [ebp - 0x4c8]
call fcn.00414741
push 0x3ef
mov ecx, dword [ebp - 0x4c4]
call fcn.004142cd
mov dword [ebp - 0x4c8], eax
push 0
mov ecx, dword [ebp - 0x4c8]
call fcn.00414741
push 0x3f0
mov ecx, dword [ebp - 0x4c4]
call fcn.004142cd
mov dword [ebp - 0x4c8], eax
push 0
mov ecx, dword [ebp - 0x4c8]
call fcn.00414741
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4d0], 0
lea eax, [ebp - 0x4cc]
push eax
push 0x20019
push 0
push str.SoftwareSynapse_AudioDUNE_3_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405a67
mov dword [ebp - 0x4d0], 0x104
lea ecx, [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x4c0]
push edx
lea eax, [ebp - 0x4dc]
push eax
push 0
push str.Serial
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405a5a
push 0x3ee
mov ecx, dword [ebp - 0x4c4]
call fcn.004142cd
mov dword [ebp - 0x4c8], eax
lea edx, [ebp - 0x4c0]
push edx
mov ecx, dword [ebp - 0x4c8]
call fcn.004146ef
mov eax, dword [ebp - 0x4cc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ecx + 0xac]
push edx
mov ecx, dword [ebp - 0x4c4]
call fcn.00406200
push 0
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax + 0xac]
push ecx
mov ecx, dword [ebp - 0x4c4]
call fcn.00406200
push 0x128
call fcn.00404ce0
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4d4], 0
je 0x405ad5
mov edx, dword [ebp - 0x4c4]
push edx
mov ecx, dword [ebp - 0x4d4]
call fcn.00408350
mov dword [ebp - 0x4d8], eax
jmp 0x405adf
mov dword [ebp - 0x4d8], 0
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ebp - 0x4e0]
mov dword [ecx + 0xa8], edx
push 0
push 0x82
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax + 0xa8]
mov edx, dword [ebp - 0x4c4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xa8]
mov edx, dword [eax + 0x164]
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00540453
mov esp, ebp
pop ebp
ret
Function at 0x406eb0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e20b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5beff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x48]
mov dword [ebp - 0x22c], 0
push 0x56dde0
push edi
call fcn.004063e0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [esi + 0x3c]
add esp, 8
push 0
push eax
push 0
push 0
push 0x16
push dword [esi + 0x38]
call ebx
test eax, eax
jne 0x406fed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x406fed
push eax
push edi
lea eax, [ebp - 0x210]
push str._s:_Error__d_encountered.
push eax
call fcn.004063e0
add esp, 0x10
mov dword [ebp - 0x218], 0
xor eax, eax
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
lea edx, [ecx + 2]
mov word [ebp - 0x228], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406f80
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00407940
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
lea eax, [ebp - 0x228]
mov dword [esi + 4], 1
cmp ecx, eax
je 0x406fd7
cmp dword [ebp - 0x214], 8
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.00407940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004065d0
xor al, al
jmp 0x40705d
mov eax, dword [ebp - 0x22c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040ac56
add esp, 4
mov edi, eax
lea eax, [ebp - 0x22c]
push 0
push eax
push edi
push 0
push 0x16
push dword [esi + 0x38]
call ebx
test eax, eax
je 0x407050
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407030
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x264]
call fcn.00407940
mov bl, 1
jmp 0x407052
xor bl, bl
push edi
call fcn.0040ac51
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00540453
mov esp, ebp
pop ebp
ret
Function at 0x407320
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e2cb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5beff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x3c]
inc eax
push eax
call fcn.0040ac56
mov ecx, dword [esi + 0x3c]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.00542260
lea ebx, [esi + 0x48]
push 0x56deb0
push ebx
call fcn.004063e0
add esp, 0x18
push 0
push dword [esi + 0x3c]
push edi
push dword [esi + 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40745d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea eax, [ebp - 0x210]
push str._s:_Error__d_encountered.
push eax
call fcn.004063e0
add esp, 0x10
mov dword [ebp - 0x218], 0
xor eax, eax
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
lea edx, [ecx + 2]
mov word [ebp - 0x228], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4073e7
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00407940
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
lea eax, [ebp - 0x228]
mov dword [esi + 4], 1
cmp ecx, eax
je 0x40743e
cmp dword [ebp - 0x214], 8
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.00407940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004065d0
push edi
call fcn.0040ac51
add esp, 4
xor al, al
jmp 0x40745f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00540453
mov esp, ebp
pop ebp
ret
Function at 0x407480
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5beff4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push edi
mov edi, ecx
mov dword [ebp - 0x208], esi
xorps xmm0, xmm0
mov dword [ebp - 0x244], 0
push str.WinHttpCrackURL
mov dword [ebp - 0x23c], 0
lea ebx, [edi + 0x48]
movlpd qword [ebp - 0x230], xmm0
push ebx
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
movlpd qword [ebp - 0x214], xmm0
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0x100
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 0x240], 0xffffffff
call fcn.004063e0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407522
push 0
push 0
sub ecx, edx
push ecx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x407692
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040ac56
mov edx, dword [ebp - 0x208]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x20c], eax
mov word [eax + esi*2], cx
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x208], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407580
sub ecx, dword [ebp - 0x208]
push esi
push dword [ebp - 0x20c]
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x248]
push eax
push 0
push esi
push dword [ebp - 0x20c]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x407692
push 0x56dd34
push ebx
call fcn.004063e0
add esp, 8
lea eax, [ebp - 0x204]
push 0
push dword [ebp - 0x230]
push eax
push dword [edi + 0x30]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [edi + 0x34], eax
test eax, eax
je 0x407692
xor esi, esi
mov eax, 0x800000
cmp dword [ebp - 0x23c], 2
push 0x56dd54
push ebx
cmove esi, eax
call fcn.004063e0
add esp, 8
push esi
push 0
push 0
push 0
push dword [ebp - 0x21c]
push 0x56dd7c
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [edi + 0x38], eax
test eax, eax
je 0x407692
push 0x56dd84
push ebx
call fcn.004063e0
add esp, 8
push 0
push 0x17e4000
push 0x4067c0
push dword [edi + 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
test eax, eax
jne 0x407692
push 0x56ddb8
push ebx
call fcn.004063e0
add esp, 8
push edi
push 0
push 0
push 0
push 0
push 0
push dword [edi + 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x407692
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00540453
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.004070c0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00540453
mov esp, ebp
pop ebp
ret 4
Function at 0x407f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x5beff4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4c0], 0
push eax
push 0x20019
push 0
push str.SoftwareSynapse_AudioDUNE_3_
push SysReAllocStringLen
mov dword [ebp - 0x4b8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407f9b
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4bc], 0x104
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4c0]
push eax
push 0
push 0x56e2f4
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407f8f
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00540453
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00540453
mov esp, ebp
pop ebp
ret

Function at 0x409cf5
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 esi, esi
call fcn.0040b027
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409d2c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00409d4b
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 0x40f2e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40f32a
call fcn.0040b027
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f32a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40f346
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041774d
mov ebx, eax
test edi, edi
je 0x40f344
test esi, esi
je 0x40f344
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40fd62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40fe20
cmp dword [esi + 0x20], 0
je 0x40fe20
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40fe20
cmp dword [ebp + 8], 0
je 0x40fe20
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0040b027
push 0x5700f8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40fdf1
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40fe20
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0041de08
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x40fe11
test edi, edi
je 0x40fe11
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40fe1c
mov ecx, esi
call fcn.0040fb04
mov eax, ebx
jmp 0x40fe22
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4143c1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55ea88
call fcn.0054049b
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4143e7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x414447
call fcn.00409840
push eax
lea ecx, [ebp - 0x10]
call fcn.00408745
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x56c970]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00547a7e
push eax
call fcn.00404e90
add esp, 0x14
test esi, esi
je 0x41443a
push esi
call fcn.0054530b
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402990
mov eax, ebx
call fcn.00540464
ret 8

Function at 0x416500
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x416553
push esi
push dword [ebp + 8]
call fcn.004166e9
mov edi, eax
test edi, edi
je 0x41654e
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41654e
mov eax, dword [ebp - 8]
jmp 0x416565
mov eax, dword [ebp + 0x10]
jmp 0x416565
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x42052d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x420583
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42055c
call fcn.0040bc57
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x420571
call fcn.0040bc57
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x420583
call fcn.0040bc57
call fcn.0040b027
cmp dword [eax + 0x3c], 0
je 0x420598
push edi
mov ecx, ebx
call fcn.0041fc5d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042076a
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4205c1
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4205cd
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4253c2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.00414307
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.004255db
cmp esi, 3
je 0x425400
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x425449
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x425423
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00409430
jmp 0x425434
push 0xff
mov ecx, esi
call fcn.00408d46
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00409453
jmp 0x42546d
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42546d
push dword [esi]
push dword [ebp - 4]
call fcn.0041afb2
pop edi
pop esi
leave
ret 0xc

Function at 0x425532
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004255db
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42557a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409430
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00409453
jmp 0x425585
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041afb2
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x44c4c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x44c4e2
call fcn.0040b027
mov esi, dword [eax + 0xc]
push 0x57a464
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44c538
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44c538
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44c517
xor esi, esi
jmp 0x44c52d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044c541
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x44c53a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4df6dc
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x567366
call fcn.005404cf
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409941
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x56f638
call fcn.004156d0
cmp eax, 0xffffffff
jne 0x4df7b6
push 0
push 0x57a420
lea ecx, [ebp - 0x4d0]
call fcn.004156d0
cmp eax, 0xffffffff
jne 0x4df7b6
push 0
push 0x57076c
lea ecx, [ebp - 0x4d0]
call fcn.004156d0
cmp eax, 0xffffffff
jne 0x4df7b6
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409941
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4df785
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x56c970]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00402990
jmp 0x4df7ef
lea eax, [ebp - 0x218]
push eax
call fcn.0054530b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00406250
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00402990
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4df7dc
mov edi, dword [ebp - 0x4cc]
jmp 0x4df7ef
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x56c970]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00402990
mov eax, edi
call fcn.00540479
ret
Function at 0x4f9265
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00550586
pop ecx
test eax, eax
jne 0x4f92a7
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00416ab6
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f926d
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4f045e5e
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x54115654
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x8f3370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x8f338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x91c074
push ecx
mov edi, eax
call fcn.00907198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8f33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0090702e
push esi
call fcn.00906fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret