joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e4cc
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0xc
push ebx
push 0x12e8
call fcn.00401000
mov ebx, eax
test ebx, ebx
je 0x40e62b
push ebp
push esi
push edi
push 0
push 0x445f80
lea edi, [ebx + 0x208]
push ebx
lea esi, [edi + 0xfa0]
call fcn.0040b4bf
push ebx
call fcn.00402610
mov ebp, eax
push 0x43865c
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x40e628
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [edi + 0xfa0]
test byte [eax], 0x10
je 0x40e605
add eax, 0x2c
cmp byte [eax], 0x2e
mov dword [esp + 0x10], eax
je 0x40e605
push eax
push str._sMessageBox.htm
push ebp
call esi
add esp, 0xc
push ebx
call fcn.00404046
test eax, eax
jne 0x40e605
push dword [esp + 0x10]
and dword [esp + 0x18], eax
push str._sInputReqSong.htm
push ebp
call esi
add esp, 0xc
push dword [esp + 0x10]
push ebx
call fcn.0040e347
test eax, eax
jne 0x40e5a9
push ebp
push 0x439450
push edi
call esi
add esp, 0xc
push 0
push edi
push dword [esp + 0x28]
call fcn.0040258f
mov dword [esp + 0x14], 1
push dword [esp + 0x10]
push str._sInputReply.htm
push ebp
call esi
add esp, 0xc
push dword [esp + 0x10]
push ebx
call fcn.0040e347
test eax, eax
jne 0x40e5e2
push ebp
push 0x439450
push edi
call esi
add esp, 0xc
push 0
push edi
push dword [esp + 0x28]
call fcn.0040258f
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0
jne 0x40e605
push dword [esp + 0x10]
push str._sMessageBox.htm
push ebp
call esi
add esp, 0xc
push 3
push 0x4387fc
push ebx
call fcn.004031a8
lea eax, [edi + 0xfa0]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e52f
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
push ebx
call fcn.00401019
pop ebx
add esp, 0xc
ret 4

Function at 0x40e6b8
Capabilities:
Extract resource via kernel32 functions
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x18
push esi
call fcn.004024d6
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40e704
lea eax, [esi + 8]
push eax
push 0x4394c8
push 0
push dword [ebp + 0xc]
call fcn.00401547
push eax
call fcn.00403066
mov dword [esi + 0x10], eax
test eax, eax
je 0x40e6ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 4], eax
test eax, eax
jne 0x40e727
push 2
pop eax
jmp 0x40e729
cmp eax, 1
jne 0x40e72e
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40e6ff
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
jmp 0x40e6fb
Function at 0x40e852
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [ebp + 0xc], 0
push esi
push edi
jne 0x40e882
or dword [eax + 0x1c], 0xffffffff
and dword [eax + 0x10], 0
lea ecx, [eax + 0x28]
mov dword [eax + 0x14], ecx
lea ecx, [eax + 0x9028]
mov dword [eax + 0x18], ecx
xor eax, eax
pop edi
pop esi
leave
ret 8
cmp dword [ebp + 0xc], 1
je 0x40e890
mov ecx, dword [eax + 0x14]
cmp ecx, dword [eax + 0x18]
jb 0x40e87a
mov ecx, dword [eax + 0x14]
sub ecx, eax
sub ecx, 0x28
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x28]
mov dword [eax + 0x14], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
push ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cld
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 4]
jcxz 0x40e8d9
xor ebx, ebx
lodsb al, byte [esi]
mov bl, al
xor bl, dl
shr edx, 8
xor edx, dword [edi + ebx*4]
loop 0x40e8ca
mov eax, edx
mov esi, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
pop ebx
cmp eax, 1
jne 0x40e912
push dword [esi + 0x10]
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, 0xffffffff
jne 0x40e905
push 8
pop eax
jmp 0x40e87c
cmp dword [esi + 0x10], eax
je 0x40e87a
push 9
jmp 0x40e8ff
cmp eax, 2
jne 0x40e87a
push dword [esi + 8]
push dword [esi + 0x10]
call fcn.00401373
mov edi, eax
test edi, edi
je 0x40e943
push edi
push dword [ebp + 0xc]
push dword [esi + 4]
call fcn.00402c5c
add dword [esi + 4], edi
mov eax, dword [esi + 0xc]
add dword [eax], edi
sub dword [esi + 8], edi
cmp dword [esi + 0x10], edi
jmp 0x40e908

Function at 0x40f249
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x24], eax
mov dword [esi + 4], edi
mov dword [esi], ebx
cmp eax, 1
jne 0x40f2aa
push 0x5c
push edi
call fcn.004018fd
cmp eax, 0xffffffff
je 0x40f29e
add eax, edi
cmp byte [eax + 1], bl
jne 0x40f29e
push edi
mov byte [eax], bl
call fcn.004040bc
cmp eax, 1
je 0x40f299
cmp eax, 2
je 0x40f2bc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40f2bc
or dword [esi], 0xffffffff
jmp 0x40f2bc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [esi], eax
jmp 0x40f2bc
cmp eax, 2
jne 0x40f2bc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov dword [eax], ebx
mov dword [esi + 0xc], eax
push ebx
push esi
call fcn.0040e852
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [esi]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x411030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor ebx, ebx
cmp byte [0x445ffc], bl
jne 0x411157
push esi
push edi
push 0xa
push str.MaxFtpConnQty
mov esi, str.Config
push esi
call fcn.004010aa
push dword [0x443a80]
mov dword [0x443a8c], eax
push str.FtpCtrlPortNo
push esi
call fcn.004010aa
push dword [0x443a84]
mov dword [0x443a80], eax
push str.FtpStartDataPortNo
push esi
call fcn.004010aa
mov ecx, dword [0x443a8c]
push 0x927c0
mov dword [0x446004], eax
mov dword [0x443a84], eax
push str.FtpConnTimeoutStr
lea eax, [eax + ecx - 1]
push esi
mov dword [0x446000], eax
call fcn.004010aa
push 0x445fe0
mov dword [0x443a88], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x4109ea
push ebx
push ebx
mov dword [0x445ff8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, str.FindMp3_3.40
push edi
lea eax, [ebp - 0x54]
push str._s_FtpCtrl
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push dword [0x443a80]
push 2
push dword [ebp + 8]
call fcn.00418371
mov eax, dword [0x443a84]
cmp eax, dword [0x446000]
mov ebx, eax
jg 0x41114f
jmp 0x411122
mov eax, dword [0x443a84]
mov ecx, ebx
sub ecx, eax
inc ecx
push ecx
push edi
lea eax, [ebp - 0x54]
push str._s_FtpData_d
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x54]
push eax
push ebx
push 2
push dword [ebp + 8]
call fcn.00418371
inc ebx
cmp ebx, dword [0x446000]
jle 0x41111d
inc byte [0x445ffc]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x411a69
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push 0x30c
call fcn.00401000
mov ebx, eax
test ebx, ebx
je 0x411af3
push esi
push edi
push dword [ebp + 8]
lea esi, [ebx + 0x104]
push esi
lea edi, [esi + 0x104]
call fcn.00418fff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00402642
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str._d_02d_02d._s
push edi
call fcn.00402642
dec eax
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
and dword [ebp + 8], 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x411aea
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x1e
jl 0x411acb
jmp 0x411af1
mov dword [ebp - 4], 1
pop edi
pop esi
push ebx
call fcn.00401019
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x10
Function at 0x412668
Capabilities:
Read .ini file

Disassembly:
push esi
push 0x208
call fcn.00401000
mov esi, eax
test esi, esi
je 0x412734
push ebx
push ebp
push edi
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call edi
push esi
call fcn.00402cde
push str.FINDMP3.ATT
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 3
push str.FolderAttr
mov ebx, str.Config
push ebx
call ebp
mov dword [esp + 0x18], eax
jmp 0x412713
push str.FINDMP3.ATT
push esi
call fcn.00402610
push eax
call edi
push esi
push 0
push str.FolderAttr
push ebx
call ebp
test al, 2
je 0x4126dd
or dword [esp + 0x18], 3
test al, 4
je 0x4126e6
and dword [esp + 0x18], 0xfffffffc
test al, 0x10
je 0x4126ef
or dword [esp + 0x18], 0x18
test al, 0x20
je 0x4126f8
and dword [esp + 0x18], 0xffffffe7
test al, al
jns 0x412704
or dword [esp + 0x18], 0xc0
test eax, 0x100
je 0x412713
and dword [esp + 0x18], 0xffffff3f
push esi
call fcn.00402610
push esi
mov byte [eax], 0
call fcn.00402d0c
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4126bb
pop edi
pop ebp
pop ebx
push esi
call fcn.00401019
mov eax, dword [esp + 0xc]
pop esi
ret 8
Function at 0x4155bd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push 0xcf80
call fcn.00401000
mov ebx, eax
test ebx, ebx
je 0x415734
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebx + 0x104]
push 0x43a72c
push ebx
lea edi, [esi + 0x104]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 8]
mov byte [edi], 0
push dword [ebp + 0x14]
call fcn.00404b34
mov dword [ebp + 0x18], eax
test eax, eax
je 0x415732
push 0xcc74
lea eax, [edi + 0x104]
push eax
push dword [ebp + 0x18]
call fcn.00404bb9
push 3
push str.FindMp3FileListVer__d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
lea eax, [edi + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41572a
jmp 0x41570e
lea eax, [edi + 0x104]
cmp byte [eax], 0x5c
je 0x4156f7
push ebx
push 0x443008
push eax
call fcn.0040173a
add esp, 0xc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00402610
mov byte [eax], 0
cmp byte [esi], 0
je 0x4156f7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4156f7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov byte [ebp + 0xb], 0
call fcn.00404046
test eax, eax
je 0x41570e
push 0x43a640
push ebx
call fcn.0041559d
push 0x43a628
push ebx
mov dword [ebp + 0xc], eax
call fcn.0041559d
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x14], eax
jne 0x4156ea
test eax, eax
jne 0x4156f0
push esi
lea eax, [ebp - 4]
push eax
mov byte [ebp + 0xb], 1
call fcn.004048c4
cmp dword [ebp + 0x14], 0
je 0x4156f7
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp + 0xb], 0
je 0x41570e
push 1
lea eax, [edi + 0x104]
push eax
push dword [ebp + 0x10]
call fcn.0040476d
push 0xcc74
lea eax, [edi + 0x104]
push eax
push dword [ebp + 0x18]
call fcn.00404bb9
test eax, eax
jne 0x415660
push dword [ebp + 0x18]
call fcn.00404b9e
pop edi
pop esi
push ebx
call fcn.00401019
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x14
Function at 0x4157eb
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
push 0x30c
mov byte [ebp - 1], 0
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.00401000
mov edi, eax
cmp edi, esi
je 0x415938
push ebx
push dword [ebp + 0x10]
lea ebx, [edi + 0x208]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 0x1c], esi
je 0x415847
push dword [ebp + 0x10]
call fcn.00404046
test eax, eax
je 0x415847
push 0x43a75c
push edi
call fcn.004025d5
mov byte [ebp - 1], 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll__lcreat]
mov esi, eax
cmp esi, 0xffffffff
je 0x4158ed
push 3
push str.FindMp3FileListVer__d
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
push ebx
push esi
call fcn.0040476d
cmp dword [ebp + 0x20], 0
je 0x415895
cmp byte [ebp - 1], 0
je 0x415895
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004155bd
mov dword [ebp - 8], eax
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.00405257
push dword [ebp + 0x1c]
lea eax, [ebp - 0x10]
push eax
push 0x4445b4
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
neg eax
sbb eax, eax
and eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414ff3
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.004049a9
push dword [ebp + 0x14]
call fcn.00402610
push esi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll__lclose]
cmp byte [ebp - 1], 0
je 0x415937
cmp dword [ebp - 0xc], 0
je 0x415930
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.00404046
test eax, eax
je 0x415926
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41591f
cmp byte [0x446036], 0
jne 0x415937
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call esi
test eax, eax
je 0x41590e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x415937
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ebx
push edi
call fcn.00401019
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 0x1c
Function at 0x415d17
Capabilities:
Delete file
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
push 0x43a760
lea eax, [ebp - 8]
push eax
shr ebx, 2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x43
test bl, 1
je 0x415d6e
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x415d5f
cmp eax, 5
jne 0x415d6e
inc dword [ebp - 0xc]
cmp byte [ebp - 1], 0
jne 0x415d6e
mov al, byte [ebp - 8]
mov byte [ebp - 1], al
sar ebx, 1
inc byte [ebp - 8]
cmp byte [ebp - 8], 0x5a
jle 0x415d46
cmp dword [ebp - 0xc], esi
jne 0x415d8e
push esi
push 0x43a8b0
push dword [ebp + 8]
call fcn.0040258f
jmp 0x415ddd
push 0x410
call fcn.00401000
mov ebx, eax
cmp ebx, esi
je 0x415ddd
push edi
lea edi, [ebx + 0x104]
lea esi, [edi + 0x104]
push 0x43a760
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0xc], 1
mov al, byte [ebp - 1]
mov byte [esi], al
jne 0x415de3
push 1
push 0x43a850
push dword [ebp + 8]
call fcn.0040258f
cmp eax, 1
je 0x415e01
push ebx
call fcn.00401019
pop edi
pop esi
pop ebx
leave
ret 4
push 0
push 0x415be1
push dword [ebp + 8]
push 9
push dword [0x445f50]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov byte [esi], al
test al, al
je 0x415dd6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x415db7
push 0x11
push 0x82
push edi
push 0x43a810
push dword [ebp + 8]
call fcn.00406ab6
cmp eax, 1
jne 0x415dd6
push 0x104
push ebx
push dword [0x445f50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push ebx
call fcn.00402610
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4445d9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
call fcn.00404046
test eax, eax
je 0x415ea2
push edi
lea eax, [esi + 0x104]
push 0x43a7d4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 3
lea eax, [esi + 0x104]
push eax
push dword [ebp + 8]
call fcn.0040258f
cmp eax, 2
je 0x415dd6
cmp eax, 6
jne 0x415e19
lea eax, [ebp - 0x18]
push eax
push 0x415b50
push dword [ebp + 8]
mov dword [ebp - 0x18], ebx
push 0xc
push dword [0x445f50]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x4445b4
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 0
test eax, eax
jne 0x415ee8
push 0x43a79c
push dword [ebp + 8]
call fcn.0040258f
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x415dab
push 0x43a77c
push dword [ebp + 8]
call fcn.0040258f
jmp 0x415dab

Function at 0x417218
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push 0x416cf5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4
Function at 0x418347
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
je 0x41836d
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 8]
push 0x4182cd
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4

Function at 0x418bc4
Capabilities:
Create thread

Disassembly:
push ecx
push 0x44608c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp]
push eax
xor eax, eax
push eax
push eax
push 0x4189fe
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x418d59
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call fcn.00402cde
push str.FINDMP3_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esp + 0xc], 0
je 0x418d89
push esi
call fcn.0040434a
pop esi
ret 8
Function at 0x4196b3
Capabilities:
Create process on windows

Disassembly:
push dword [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00402610
push esi
mov byte [eax], 0
push dword [0x446428]
call fcn.0040491d
test eax, eax
jne 0x4196f9
push esi
push 0x446428
call fcn.004048c4
push 1
push 0x445f80
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x419db5
Capabilities:
Create thread

Disassembly:
push ecx
xor edx, edx
cmp byte [eax + 0x21], dl
jne 0x419dec
mov ecx, dword [eax + 4]
cmp ecx, 7
je 0x419dca
cmp ecx, 8
jle 0x419dec
cmp byte [eax + 0x20], dl
jne 0x419dec
lea ecx, [esp]
push ecx
push edx
push eax
push 0x419814
push edx
push edx
mov byte [eax + 0x22], dl
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x419dee
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4463fc]
push esi
mov dword [ebp - 4], 1
mov esi, eax
test eax, eax
je 0x419e2b
push dword [ebp + 0x10]
lea eax, [esi + 0x15b]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x419e25
cmp byte [ebp + 0x1c], al
je 0x419e95
cmp dword [esi + 4], 4
jne 0x419e95
mov esi, dword [esi]
test esi, esi
jne 0x419e06
push 0x410
call fcn.00401000
mov dword [ebp + 0x1c], eax
test eax, eax
je 0x419f9e
push ebx
mov ebx, 0x368
push ebx
call fcn.00401000
mov esi, eax
test esi, esi
je 0x419f95
push edi
push ebx
push esi
call fcn.004024d6
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x25]
push eax
call ebx
push dword [ebp + 0x10]
lea edi, [esi + 0x15b]
push edi
call ebx
cmp dword [ebp + 0x14], 0
je 0x419eaa
push dword [ebp + 0x14]
lea eax, [esi + 0x45]
push eax
mov byte [esi + 0x23], 1
mov byte [esi + 0x24], 1
call ebx
jmp 0x419f37
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x419e9e
mov dword [eax], esi
mov eax, esi
call fcn.00419db5
jmp 0x419f9e
push 1
push str.ContinueDownloadFg
push str.Config
call fcn.004010aa
mov byte [esi + 0x23], al
mov eax, dword [ebp + 0x1c]
lea ebx, [esi + 0x45]
mov ecx, edi
mov byte [esi + 0x24], 0
call fcn.004195d0
mov edi, dword [ebp + 0x1c]
push edi
push ebx
call fcn.004196fc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
je 0x419f37
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
push ebx
push str._s_n
add edi, 0x208
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x43b318
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 3
push edi
push dword [ebp + 8]
call fcn.0040258f
mov edi, eax
cmp edi, 6
jne 0x419f29
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp edi, 2
jne 0x419f32
and dword [ebp - 4], 0
cmp edi, 6
jne 0x419f8e
mov eax, dword [0x4463fc]
xor edi, edi
cmp eax, edi
jne 0x419f4c
mov dword [0x4463fc], esi
jmp 0x419f52
mov eax, dword [eax]
cmp dword [eax], edi
jne 0x419f4a
mov dword [eax], esi
cmp dword [ebp + 0x14], edi
jne 0x419f69
lea eax, [esi + 0x25]
push eax
mov edi, 0x446400
call fcn.0041956e
xor edi, edi
jmp 0x419f83
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x419814
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x419f94
mov dword [eax], esi
jmp 0x419f94
push esi
call fcn.00401019
pop edi
push dword [ebp + 0x1c]
call fcn.00401019
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18
Function at 0x41b11d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 0x50
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x28
lea eax, [ebp - 0x50]
push eax
call fcn.004018cc
cmp eax, 0xffffffff
je 0x41b150
mov byte [ebp + eax - 0x50], 0
lea eax, [ebp - 0x50]
push eax
call fcn.00402d69
cmp dword [0x446164], 0
jne 0x41b16a
push 0x43b560
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x41b190
cmp byte [0x4461b4], 0
je 0x41b190
push 0x4461b4
push 0x43b554
lea eax, [ebp - 0x50]
push eax
call fcn.004019bf
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
leave
ret 4

Function at 0x41d14c
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp byte [0x4460fe], bl
jne 0x41d223
push esi
mov esi, dword [0x446400]
cmp esi, ebx
je 0x41d222
push edi
mov eax, dword [esi + 0x14]
cmp eax, ebx
jne 0x41d17c
cmp byte [esi + 0x10], bl
je 0x41d217
cmp byte [esi + 0x10], bl
jne 0x41d199
dec eax
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x41d217
mov eax, dword [esi + 8]
cmp eax, ebx
jle 0x41d199
cmp dword [esi + 0xc], eax
je 0x41d217
mov edi, dword [0x4463fc]
mov byte [esi + 0x10], bl
mov dword [esi + 4], ebx
jmp 0x41d213
cmp byte [edi + 0x21], bl
jne 0x41d211
cmp byte [edi + 0x20], bl
jne 0x41d211
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x41d1cb
cmp eax, 8
jle 0x41d211
cmp eax, 0x191
je 0x41d211
cmp eax, 0x194
je 0x41d211
lea eax, [edi + 0x25]
push eax
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41d211
mov eax, dword [esi + 4]
cmp eax, 1
jge 0x41d211
inc eax
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
lea eax, [esp + 0xc]
push eax
push ebx
push edi
push 0x419814
push ebx
push ebx
mov dword [esi + 0x14], 3
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
cmp edi, ebx
jne 0x41d1a7
mov esi, dword [esi]
cmp esi, ebx
jne 0x41d16c
pop edi
pop esi
pop ebx
pop ecx
ret