joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00470240
push esi
push edi
push dword [ebp + 8]
xor edi, edi
xor esi, esi
inc edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0041ab88
test eax, eax
pop ecx
je 0x462877
xor eax, eax
jmp 0x4629c1
cmp dword [0x483994], 0xffffffff
jne 0x462894
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb eax, eax
neg eax
mov dword [0x483994], eax
push 0x14
lea eax, [ebp - 0x2c]
push esi
push eax
call sub.NSCRT.dll_memset
mov eax, dword [0x483994]
add esp, 0xc
cmp eax, esi
je 0x4628be
push esi
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x483994]
neg eax
push esi
sbb eax, eax
mov ecx, 0x40000000
and eax, ecx
or eax, 0x80
push eax
push 2
push esi
push esi
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x4628ee
mov dword [ebp - 4], esi
jmp 0x4629a7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], esi
jle 0x462998
xor eax, eax
cmp dword [ebp - 0x10], esi
push 0x800
sete al
mov edi, eax
shl edi, 0xb
lea edi, [ebp + edi - 0x102c]
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.0041a470
add esp, 0xc
cmp eax, esi
mov dword [ebp - 8], eax
jge 0x462930
mov dword [ebp - 4], esi
cmp dword [0x483994], esi
je 0x462978
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 8], esi
jle 0x46298f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 8]
push edi
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x462970
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x462970
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
add dword [ebp - 0x14], eax
jmp 0x46298f
cmp eax, esi
jle 0x46298f
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x46298f
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
jne 0x4628f5
cmp dword [ebp - 0xc], esi
pop ebx
je 0x4629a7
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], esi
je 0x4629b5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.0041a69b
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
leave
ret
Function at 0x462a9c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
xor edi, edi
inc edi
push edi
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x462acc
xor eax, eax
jmp 0x462b19
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push esi
lea eax, [ebp - 4]
push eax
push 0x400
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x462b1e
cmp dword [ebp - 4], esi
je 0x462b1e
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push edi
push 0x1f
call fcn.00432393
test eax, eax
je 0x462b32
mov dword [ebp - 8], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push esi
push esi
push edi
push 0x1f
call fcn.00432393
test eax, eax
jne 0x462b0c
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
jne 0x462ad2
jmp 0x462b0f
Function at 0x463338
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x463363
xor eax, eax
jmp 0x463404
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push esi
push 0x474060
push dword [ebp - 4]
mov dword [ebp - 8], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x463390
mov word [ebp - 0x418], si
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x418], si
je 0x463402
push 0x208
lea eax, [ebp - 0x828]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x418]
push eax
call esi
lea eax, [ebp - 0x828]
push eax
call esi
push 0xffffffffffffffff
lea eax, [ebp - 0x418]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x828]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov esi, eax
dec esi
dec esi
neg esi
sbb esi, esi
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x4634d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
mov esi, 0x487000
push esi
push 1
push str.IsFirstInst
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x463574
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x200
lea eax, [ebp - 0x200]
push eax
mov ebx, 0x472c3d
push ebx
push str.config_extlist
push 0x472b24
call edi
cmp byte [ebp - 0x200], 0
jne 0x46356b
push esi
push 0x200
lea eax, [ebp - 0x200]
push eax
push ebx
push str.WAVer
push str.WinampReg
call edi
cmp byte [ebp - 0x200], 0
je 0x46356f
push 0xffffffffffffffff
push 0x476350
push 0xffffffffffffffff
lea eax, [ebp - 0x200]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x46356f
xor eax, eax
jmp 0x463572
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x464f6c
Capabilities:
Decompress data using quicklz
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2204
call fcn.00470240
xor eax, eax
push ebx
mov ebx, ecx
push edi
mov byte [ebp - 0x2204], 0
mov ecx, 0x7ff
lea edi, [ebp - 0x2203]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x420]
shr eax, 5
xor ecx, ecx
and eax, 1
cmp dword [0x482cd0], ecx
setne cl
cmp eax, ecx
je 0x464fb8
xor eax, eax
jmp 0x4650f4
push esi
mov edi, 0x487000
push edi
push 0
push str.RegDataLen
mov esi, str.WinampReg
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x464feb
push edi
push eax
lea eax, [ebp - 0x2204]
push eax
push str.RegData2
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 0x200
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x2204]
push 1
push eax
call fcn.0040eec4
add esp, 0x10
test eax, eax
jne 0x465016
mov eax, 0x8000ffff
jmp 0x4650f3
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0xffffffffffffffff
lea eax, [ebx + 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 1
mov edi, 0x409
push edi
call esi
test eax, eax
mov dword [ebp - 4], eax
je 0x46500c
cmp eax, 2
je 0x465048
xor eax, eax
jmp 0x4650f3
push 0x200
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x2204]
push 2
push eax
call fcn.0040eec4
add esp, 0x10
test eax, eax
je 0x46500c
push 0xffffffffffffffff
lea eax, [ebx + 0x214]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 1
push edi
call esi
test eax, eax
je 0x46500c
cmp eax, 2
jne 0x465041
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2204]
push 4
push eax
call fcn.0040eec4
add esp, 0x10
test eax, eax
je 0x46500c
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x41c]
jne 0x465041
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2204]
push 3
push eax
call fcn.0040eec4
add esp, 0x10
test eax, eax
je 0x46500c
mov al, byte [ebx + 0x420]
and al, 0x10
sub al, 0x10
neg al
sbb eax, eax
inc eax
xor ecx, ecx
cmp dword [ebp - 4], eax
sete cl
mov eax, ecx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x4650f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov edi, ecx
test dword [edi + 0x420], 1
je 0x465199
lea eax, [edi + 0xc]
cmp word [eax], 0
je 0x465199
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x46512f
cmp cx, 0x40
je 0x465137
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x465126
cmp word [eax], 0x40
jne 0x465146
push eax
call esi
cmp word [eax], 0
jne 0x465199
mov edi, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push edi
jmp 0x465155
mov edi, eax
push eax
call esi
test eax, eax
jne 0x465152
push 0x80
lea eax, [ebp - 0x100]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
je 0x465199
push 0x10
lea eax, [ebp - 0x100]
push eax
push 0
push 0
push 0x7ed
call fcn.0045ede1
add esp, 0xc
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x46519b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x465492
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x3eb
push esi
mov esi, ecx
je 0x46556a
dec eax
je 0x465533
sub eax, 8
je 0x46550c
dec eax
je 0x4654d5
sub eax, 3
jne 0x4655ea
mov eax, dword [ebp + 0xc]
dec eax
jne 0x4655ea
push dword [ebp + 0x10]
call fcn.0046527a
jmp 0x4655ea
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x4655ea
push eax
push eax
push 0xf2
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
je 0x465500
or dword [esi + 0x420], 0x20
jmp 0x4655ea
and dword [esi + 0x420], 0xffffffdf
jmp 0x4655ea
cmp dword [ebp + 0xc], 0x300
jne 0x4655ea
push 0x104
add esi, 0x214
push esi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4655ea
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x4655ea
push eax
push eax
push 0xf2
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
je 0x46555e
or dword [esi + 0x420], 0x10
jmp 0x4655ea
and dword [esi + 0x420], 0xffffffef
jmp 0x4655ea
cmp dword [ebp + 0xc], 0x300
jne 0x4655ea
push ebx
push edi
push 0x104
lea eax, [esi + 0xc]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x3ec
push edi
push dword [esi + 8]
call ebx
test eax, eax
je 0x4655e8
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ecx, ecx
cmp word [esi + 0xc], cx
setne cl
cmp eax, ecx
je 0x4655e8
push ecx
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp word [esi + 0xc], ax
setne al
push eax
push edi
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 8]
call ebx
push eax
push edi
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x465703
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00470240
push esi
push edi
mov esi, ecx
xor eax, eax
mov byte [ebp - 0x2004], 0
mov ecx, 0x7ff
lea edi, [ebp - 0x2003]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esi + 0x420], 1
cmp dword [0x482cd0], 0
stosb byte es:[edi], al
je 0x46574a
mov dword [esi + 0x420], 0x21
push ebx
mov ebx, 0x487000
push ebx
push 0
push str.RegDataLen
mov edi, str.WinampReg
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x46577d
push ebx
push eax
lea eax, [ebp - 0x2004]
push eax
push str.RegData2
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
mov edi, 0x208
push edi
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.0040eec4
push edi
lea eax, [esi + 0x214]
push eax
lea eax, [ebp - 0x2004]
push 2
push eax
call fcn.0040eec4
push 4
lea eax, [esi + 0x41c]
push eax
lea eax, [ebp - 0x2004]
push 4
push eax
call fcn.0040eec4
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push 3
push eax
call fcn.0040eec4
add esp, 0x40
cmp dword [ebp - 4], 0
pop ebx
je 0x4657e7
or dword [esi + 0x420], 0x10
cmp dword [esi + 8], 0
je 0x4657f4
mov ecx, esi
call fcn.0046519f
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x465819
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x202c
call fcn.00470240
push ebx
push esi
push edi
mov esi, ecx
xor edx, edx
xor eax, eax
test byte [esi + 0x420], 1
mov byte [ebp - 0x202c], dl
mov ecx, 0x7ff
lea edi, [ebp - 0x202b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov edi, 0x487000
mov ebx, str.WinampReg
je 0x46594f
push edi
push edx
push str.RegDataLen
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x465889
push edi
push eax
lea eax, [ebp - 0x202c]
push eax
push str.RegData2
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x202c]
push 1
push eax
call fcn.0040ef3d
add esp, 0x10
test eax, eax
jne 0x4658ab
mov dword [ebp - 4], 0x8000ffff
lea eax, [esi + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [esi + 0x214]
push eax
lea eax, [ebp - 0x202c]
push 2
push eax
call fcn.0040ef3d
add esp, 0x10
test eax, eax
jne 0x4658de
mov dword [ebp - 4], 0x8000ffff
push 4
lea eax, [esi + 0x41c]
push eax
lea eax, [ebp - 0x202c]
push 4
push eax
call fcn.0040ef3d
add esp, 0x10
test eax, eax
jne 0x465903
mov dword [ebp - 4], 0x8000ffff
mov eax, dword [esi + 0x420]
and eax, 0x10
sub al, 0x10
neg al
push 4
sbb eax, eax
inc eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x202c]
push 3
push eax
call fcn.0040ef3d
add esp, 0x10
test eax, eax
jne 0x465938
mov dword [ebp - 4], 0x8000ffff
mov eax, dword [esi + 0x420]
and eax, 0x20
sub al, 0x20
neg al
sbb eax, eax
inc eax
mov dword [0x482cd0], eax
jmp 0x465955
mov dword [0x482cd0], edx
cmp dword [0x482cd0], 0
mov eax, 0x475668
jne 0x465968
mov eax, 0x475690
push edi
push eax
push str.newverchk2
push dword [0x496664]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x202c]
push eax
call fcn.0040efd1
mov esi, eax
push esi
push 0x472cec
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.00402528
add esp, 0x14
mov eax, esi
neg eax
push edi
sbb eax, eax
lea ecx, [ebp - 0x2c]
and eax, ecx
push eax
push str.RegDataLen
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
push esi
neg esi
sbb esi, esi
lea eax, [ebp - 0x202c]
and esi, eax
push esi
push str.RegData2
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
pop edi
pop esi
pop ebx
je 0x4659e2
call fcn.0046519f
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x466a2b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2200
call fcn.00470240
push ebx
mov ebx, ecx
call fcn.004176fe
test eax, eax
je 0x466a4d
cmp dword [0x482cd0], 0
jne 0x466a54
xor eax, eax
jmp 0x466aef
lea eax, [ebp - 0x2200]
mov ecx, 0x2000
mov byte [eax], 0
inc eax
dec ecx
jne 0x466a5f
push esi
push edi
mov edi, 0x487000
push edi
push 0
push str.RegDataLen
mov esi, str.WinampReg
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x466abb
push edi
push eax
lea eax, [ebp - 0x2200]
push eax
push str.RegData2
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
je 0x466abb
push 0x200
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x2200]
push 1
push eax
call fcn.0040eec4
add esp, 0x10
lea edi, [ebx + 8]
push edi
push 0
push dword [ebp + 8]
call fcn.0045feda
mov ebx, eax
lea eax, [ebp - 0x2200]
push ebx
push eax
call fcn.0040f489
mov esi, eax
neg esi
sbb esi, esi
and dword [edi], 0
push ebx
inc esi
call fcn.0045fab8
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x466bb3
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [esi]
mov edx, dword [esi + 4]
and dword [ebp - 4], 0
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0x20
sub dword [ebp - 4], 0x61c88647
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0xc]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0x10]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
add ecx, eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x14]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x18]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, ecx
xor eax, edi
add edx, eax
dec dword [ebp - 8]
jne 0x466be1
mov dword [esi], ecx
mov dword [esi + 4], edx
pop edi
leave
ret
Function at 0x46719f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
push esi
push edi
push 0x40
pop ecx
xor eax, eax
mov word [ebp - 0x158], 0x22
lea edi, [ebp - 0x156]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x10
pop ecx
xor eax, eax
mov dword [ebp - 0x54], 0x44
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
push 0x103
lea eax, [ebp - 0x157]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x47a11c
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x158]
push eax
call fcn.00405663
mov eax, dword [ebp + 8]
push dword [eax + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [eax + 4]
movsx eax, byte [eax]
push eax
push str.__BURN_c___s___d
lea eax, [ebp - 0x158]
push eax
call esi
sub ebx, eax
push ebx
lea eax, [ebp - 0x158]
push eax
call esi
lea eax, [ebp + eax - 0x158]
push eax
call fcn.00402528
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x158]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
pop edi
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x4681a8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
push 0x11
xor esi, esi
mov dword [ebx + 0x34], eax
pop eax
push esi
push esi
push eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], esi
call fcn.00467600
lea ecx, [ebx + 0x58]
call fcn.0044e8c3
test eax, eax
jne 0x468224
mov ecx, dword [0x492560]
sub esp, 0x10
mov edi, esp
mov esi, 0x47caa0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00402f98
test eax, eax
je 0x46828a
push 1
push 0
push 0x12c
mov ecx, eax
call fcn.00424a5f
test eax, eax
je 0x46828a
push eax
lea ecx, [ebx + 0x58]
call fcn.0046726b
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x468296
push ebx
call fcn.00467a1f
push 0x64
push dword [ebx + 0x4c]
mov ecx, ebx
push eax
mov dword [ebx + 0x48], eax
call fcn.00467600
lea ecx, [ebx + 0x58]
call fcn.0044e8c3
test eax, eax
je 0x4682c8
mov ecx, dword [0x492560]
sub esp, 0x10
mov edi, esp
mov esi, 0x47caa0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00402f98
lea esi, [ebx + 0x58]
mov ecx, esi
mov edi, eax
call fcn.0044e8c3
push eax
push 0
push 0x136
mov ecx, edi
call fcn.00424a5f
push 0
mov ecx, esi
call fcn.0046726b
jmp 0x4682c8
push 0x10
pop eax
mov ecx, 0x1006
push 0
jmp 0x4682b9
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
push fcn.00467a1f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebx + 0x30], eax
jne 0x4682c8
push 0x10
pop eax
mov ecx, 0x1007
push esi
push ecx
mov dword [ebx + 0x4c], ecx
mov ecx, ebx
push eax
mov dword [ebx + 0x48], eax
call fcn.00467600
mov eax, dword [ebx + 0x48]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x46b72a
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1080
call fcn.00470240
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
jne 0x46b74e
mov eax, 0x105
jmp 0x46b81d
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x14], edi
mov dword [esi + 4], eax
mov dword [esi + 0x78], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xffffff
push eax
push str.wa_06I32X.tmp
lea eax, [ebp - 0x80]
push 0x40
push eax
call fcn.00402fb5
add esp, 0x10
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x60]
push eax
call dword [sym.imp.NSCRT.dll_malloc]
cmp dword [ebp + 0x1c], edi
pop ecx
mov dword [esi + 0x2c], eax
je 0x46b7bb
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x1c]
push eax
jmp 0x46b7db
lea eax, [ebp - 0x1080]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1080]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
push edi
push 0x6c
push 5
push dword [0x495150]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
cmp eax, edi
je 0x46b808
push eax
push dword [0x495150]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
push 0x46b162
push edi
push ebx
push dword [0x49514c]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop ebx
pop edi
pop esi
leave
ret 0x1c