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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00483980
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.0041eeaf
test eax, eax
pop ecx
je 0x475e0c
xor eax, eax
jmp 0x475f56
cmp dword [0x49c9e4], 0xffffffff
jne 0x475e29
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb eax, eax
neg eax
mov dword [0x49c9e4], eax
push 0x14
lea eax, [ebp - 0x2c]
push esi
push eax
call sub.NSCRT.dll_memset
mov eax, dword [0x49c9e4]
add esp, 0xc
cmp eax, esi
je 0x475e53
push esi
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x49c9e4]
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 0x475e83
mov dword [ebp - 4], esi
jmp 0x475f3c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], esi
jle 0x475f2d
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.0041e797
add esp, 0xc
cmp eax, esi
mov dword [ebp - 8], eax
jge 0x475ec5
mov dword [ebp - 4], esi
cmp dword [0x49c9e4], esi
je 0x475f0d
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 8], esi
jle 0x475f24
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 0x475f05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x475f05
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
add dword [ebp - 0x14], eax
jmp 0x475f24
cmp eax, esi
jle 0x475f24
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x475f24
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
jne 0x475e8a
cmp dword [ebp - 0xc], esi
pop ebx
je 0x475f3c
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], esi
je 0x475f4a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.0041e9c2
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
leave
ret
Function at 0x476027
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 0x476057
xor eax, eax
jmp 0x4760a4
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 0x4760a9
cmp dword [ebp - 4], esi
je 0x4760a9
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push edi
push 0x1f
call fcn.004700a7
test eax, eax
je 0x4760bd
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.004700a7
test eax, eax
jne 0x476097
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
jne 0x47605d
jmp 0x47609a
Function at 0x4768c3
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 0x4768ee
xor eax, eax
jmp 0x47698f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push esi
push 0x4883b0
push dword [ebp - 4]
mov dword [ebp - 8], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47691b
mov word [ebp - 0x418], si
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x418], si
je 0x47698d
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 0x476aa6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
mov esi, 0x4a09c0
push esi
push 1
push str.IsFirstInst
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x476b4a
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x200
lea eax, [ebp - 0x200]
push eax
mov ebx, 0x486d4c
push ebx
push str.config_extlist
push 0x486c04
call edi
cmp byte [ebp - 0x200], 0
jne 0x476b41
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 0x476b45
push 0xffffffffffffffff
push 0x48ac38
push 0xffffffffffffffff
lea eax, [ebp - 0x200]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x476b45
xor eax, eax
jmp 0x476b48
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x478538
Capabilities:
Decompress data using quicklz
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2204
call fcn.00483980
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 [0x49bd00], ecx
setne cl
cmp eax, ecx
je 0x478584
xor eax, eax
jmp 0x4786c0
push esi
mov edi, 0x4a09c0
push edi
push 0
push str.RegDataLen
mov esi, str.WinampReg
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x4785b7
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.00410b37
add esp, 0x10
test eax, eax
jne 0x4785e2
mov eax, 0x8000ffff
jmp 0x4786bf
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 0x4785d8
cmp eax, 2
je 0x478614
xor eax, eax
jmp 0x4786bf
push 0x200
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x2204]
push 2
push eax
call fcn.00410b37
add esp, 0x10
test eax, eax
je 0x4785d8
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 0x4785d8
cmp eax, 2
jne 0x47860d
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2204]
push 4
push eax
call fcn.00410b37
add esp, 0x10
test eax, eax
je 0x4785d8
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x41c]
jne 0x47860d
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2204]
push 3
push eax
call fcn.00410b37
add esp, 0x10
test eax, eax
je 0x4785d8
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 0x4786c4
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 0x478765
lea eax, [edi + 0xc]
cmp word [eax], 0
je 0x478765
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x4786fb
cmp cx, 0x40
je 0x478703
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x4786f2
cmp word [eax], 0x40
jne 0x478712
push eax
call esi
cmp word [eax], 0
jne 0x478765
mov edi, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push edi
jmp 0x478721
mov edi, eax
push eax
call esi
test eax, eax
jne 0x47871e
push 0x80
lea eax, [ebp - 0x100]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
je 0x478765
push 0x10
lea eax, [ebp - 0x100]
push eax
push 0
push 0
push 0x7ed
call fcn.00472111
add esp, 0xc
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x478767
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x478a5e
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 0x478b36
dec eax
je 0x478aff
sub eax, 8
je 0x478ad8
dec eax
je 0x478aa1
sub eax, 3
jne 0x478bb6
mov eax, dword [ebp + 0xc]
dec eax
jne 0x478bb6
push dword [ebp + 0x10]
call fcn.00478846
jmp 0x478bb6
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x478bb6
push eax
push eax
push 0xf2
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
je 0x478acc
or dword [esi + 0x420], 0x20
jmp 0x478bb6
and dword [esi + 0x420], 0xffffffdf
jmp 0x478bb6
cmp dword [ebp + 0xc], 0x300
jne 0x478bb6
push 0x104
add esi, 0x214
push esi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x478bb6
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x478bb6
push eax
push eax
push 0xf2
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
je 0x478b2a
or dword [esi + 0x420], 0x10
jmp 0x478bb6
and dword [esi + 0x420], 0xffffffef
jmp 0x478bb6
cmp dword [ebp + 0xc], 0x300
jne 0x478bb6
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 0x478bb4
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ecx, ecx
cmp word [esi + 0xc], cx
setne cl
cmp eax, ecx
je 0x478bb4
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 0x478ccf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00483980
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 [0x49bd00], 0
stosb byte es:[edi], al
je 0x478d16
mov dword [esi + 0x420], 0x21
push ebx
mov ebx, 0x4a09c0
push ebx
push 0
push str.RegDataLen
mov edi, str.WinampReg
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x478d49
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.00410b37
push edi
lea eax, [esi + 0x214]
push eax
lea eax, [ebp - 0x2004]
push 2
push eax
call fcn.00410b37
push 4
lea eax, [esi + 0x41c]
push eax
lea eax, [ebp - 0x2004]
push 4
push eax
call fcn.00410b37
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push 3
push eax
call fcn.00410b37
add esp, 0x40
cmp dword [ebp - 4], 0
pop ebx
je 0x478db3
or dword [esi + 0x420], 0x10
cmp dword [esi + 8], 0
je 0x478dc0
mov ecx, esi
call fcn.0047876b
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x478de5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x202c
call fcn.00483980
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, 0x4a09c0
mov ebx, str.WinampReg
je 0x478f1b
push edi
push edx
push str.RegDataLen
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x478e55
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.00410bb0
add esp, 0x10
test eax, eax
jne 0x478e77
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.00410bb0
add esp, 0x10
test eax, eax
jne 0x478eaa
mov dword [ebp - 4], 0x8000ffff
push 4
lea eax, [esi + 0x41c]
push eax
lea eax, [ebp - 0x202c]
push 4
push eax
call fcn.00410bb0
add esp, 0x10
test eax, eax
jne 0x478ecf
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.00410bb0
add esp, 0x10
test eax, eax
jne 0x478f04
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 [0x49bd00], eax
jmp 0x478f21
mov dword [0x49bd00], edx
cmp dword [0x49bd00], 0
mov eax, 0x489a60
jne 0x478f34
mov eax, 0x489a88
push edi
push eax
push str.newverchk2
push dword [0x4b0620]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x202c]
push eax
call fcn.00410c44
mov esi, eax
push esi
push 0x486dfc
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 0x478fae
call fcn.0047876b
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x479fed
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2200
call fcn.00483980
push ebx
mov ebx, ecx
call fcn.0041b787
test eax, eax
je 0x47a00f
cmp dword [0x49bd00], 0
jne 0x47a016
xor eax, eax
jmp 0x47a0b1
lea eax, [ebp - 0x2200]
mov ecx, 0x2000
mov byte [eax], 0
inc eax
dec ecx
jne 0x47a021
push esi
push edi
mov edi, 0x4a09c0
push edi
push 0
push str.RegDataLen
mov esi, str.WinampReg
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x47a07d
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 0x47a07d
push 0x200
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x2200]
push 1
push eax
call fcn.00410b37
add esp, 0x10
lea edi, [ebx + 8]
push edi
push 0
push dword [ebp + 8]
call fcn.004733b5
mov ebx, eax
lea eax, [ebp - 0x2200]
push ebx
push eax
call fcn.004110fc
mov esi, eax
neg esi
sbb esi, esi
and dword [edi], 0
push ebx
inc esi
call fcn.00472f93
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x47a175
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 0x47a1a3
mov dword [esi], ecx
mov dword [esi + 4], edx
pop edi
leave
ret
Function at 0x47a781
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 0x48f8cc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x158]
push eax
call fcn.00406279
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 0x47b725
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.0047aba0
lea ecx, [ebx + 0x58]
call fcn.0047a850
test eax, eax
jne 0x47b7a1
mov ecx, dword [0x4ac3c8]
sub esp, 0x10
mov edi, esp
mov esi, 0x4948f0
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.00402fa8
test eax, eax
je 0x47b807
push 1
push 0
push 0x12c
mov ecx, eax
call fcn.00475aa3
test eax, eax
je 0x47b807
push eax
lea ecx, [ebx + 0x58]
call fcn.0047a847
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x47b813
push ebx
call fcn.0047afaf
push 0x64
push dword [ebx + 0x4c]
mov ecx, ebx
push eax
mov dword [ebx + 0x48], eax
call fcn.0047aba0
lea ecx, [ebx + 0x58]
call fcn.0047a850
test eax, eax
je 0x47b845
mov ecx, dword [0x4ac3c8]
sub esp, 0x10
mov edi, esp
mov esi, 0x4948f0
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.00402fa8
lea esi, [ebx + 0x58]
mov ecx, esi
mov edi, eax
call fcn.0047a850
push eax
push 0
push 0x136
mov ecx, edi
call fcn.00475aa3
push 0
mov ecx, esi
call fcn.0047a847
jmp 0x47b845
push 0x10
pop eax
mov ecx, 0x1006
push 0
jmp 0x47b836
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
push fcn.0047afaf
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebx + 0x30], eax
jne 0x47b845
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.0047aba0
mov eax, dword [ebx + 0x48]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x47e58b
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1080
call fcn.00483980
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
jne 0x47e5af
mov eax, 0x105
jmp 0x47e67e
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.00402fc5
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 0x47e61c
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x1c]
push eax
jmp 0x47e63c
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 [0x4aefc8]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
cmp eax, edi
je 0x47e669
push eax
push dword [0x4aefc8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
push 0x47dfc3
push edi
push ebx
push dword [0x4aefc4]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop ebx
pop edi
pop esi
leave
ret 0x1c