joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421a6b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
call fcn.004214b6
test al, al
je 0x421bf5
cmp dword [0x507b30], 0
jne 0x421bf5
mov eax, dword [0x507b54]
test eax, eax
je 0x421a9f
push dword [0x531f70]
call eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push esi
call edi
mov ebx, dword [0x531f70]
test eax, eax
cmove esi, ebx
cmp esi, ebx
je 0x421b14
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x400
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffffffffffffffde
push dword [0x531f70]
call dword [sym.imp.USER32.dll_GetClassLongW]
push eax
xor ebx, ebx
push ebx
push 0x80
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x421b16
xor ebx, ebx
push esi
call edi
test eax, eax
je 0x421bf2
push dword [0x531f70]
call edi
test eax, eax
je 0x421bf2
push 4
pop edi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 7
push esi
call dword [0x507b48]
push edi
lea eax, [ebp - 4]
push eax
push 0xa
push esi
call dword [0x507b48]
call fcn.0047ae5b
test eax, eax
jne 0x421bc1
mov ecx, dword [0x5332ac]
test ecx, ecx
je 0x421bc1
push dword [0x531f70]
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x2c]
test eax, eax
mov eax, dword [0x5332ac]
push ebx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x421bc1
mov eax, dword [0x5332ac]
push ebx
push dword [0x531f70]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x38]
call fcn.00421601
test al, al
je 0x421bc1
mov eax, dword [0x5332ac]
push dword [0x507b2c]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x421bc1
push ebx
push esi
call fcn.0042166a
pop ecx
pop ecx
mov eax, dword [0x531f70]
cmp esi, eax
je 0x421bf2
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 7
push eax
call dword [0x507b48]
push edi
lea eax, [ebp - 4]
push eax
push 0xa
push dword [0x531f70]
call dword [0x507b48]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4232bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push edi
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x808]
push ebx
push eax
call fcn.0049a3b0
add esp, 0xc
mov dword [ebp - 8], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42338c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 8]
push ebx
push eax
push str.Winamp_EQ_library_file_v1.1
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
call ebx
push str.Winamp_EQ_library_file_v1.1
call esi
push eax
lea eax, [ebp - 0x808]
push str.Winamp_EQ_library_file_v1.1
push eax
call fcn.0049b47b
add esp, 0xc
test eax, eax
jne 0x423384
xor esi, esi
jmp 0x423364
lea eax, [ebp - 0x808]
push eax
push esi
push 0x180
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x10c
lea eax, [ebp - 0x808]
push eax
push edi
call ebx
cmp dword [ebp - 4], 0x10c
je 0x42334e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x423390
Capabilities:
Delete file
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.004990f0
push ebx
push esi
push edi
push 0x1000
xor ebx, ebx
lea eax, [ebp - 0x1808]
push ebx
push eax
call fcn.0049a3b0
push 0x800
lea eax, [ebp - 0x808]
push ebx
push eax
call fcn.0049a3b0
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x18
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 3
push ebx
mov ebx, dword [ebp + 8]
push 1
push SysReAllocStringLen
push ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x423504
push ebx
push str._s.TMP
lea eax, [ebp - 0x1808]
push 0x800
push eax
call fcn.0040adba
add esp, 0x10
lea eax, [ebp - 0x1808]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call esi
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42343c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x423504
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 4]
push 0
push eax
push str.Winamp_EQ_library_file_v1.1
call esi
push eax
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push str.Winamp_EQ_library_file_v1.1
call esi
mov esi, dword [ebp - 8]
push eax
jmp 0x423493
lea eax, [ebp - 0x808]
push eax
push dword [ebp + 0xc]
call fcn.004a194c
pop ecx
pop ecx
test eax, eax
je 0x4234a1
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push 0x10c
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], 0x10c
je 0x423475
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 8]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push str._s.TMP
lea eax, [ebp - 0x1808]
push 0x800
push eax
call fcn.0040adba
add esp, 0x10
lea eax, [ebp - 0x1808]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423e65
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push edi
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0049a3b0
add esp, 0xc
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x423eb2
xor eax, eax
inc eax
jmp 0x423f3a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 4]
push ebx
push eax
push str.Winamp_EQ_library_file_v1.1
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x804]
push eax
push edi
call ebx
push str.Winamp_EQ_library_file_v1.1
call esi
push eax
lea eax, [ebp - 0x804]
push str.Winamp_EQ_library_file_v1.1
push eax
call fcn.0049b47b
add esp, 0xc
test eax, eax
jne 0x423f2f
xor esi, esi
jmp 0x423f0f
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0xc]
call fcn.004a194c
pop ecx
pop ecx
test eax, eax
je 0x423f3e
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x10c
lea eax, [ebp - 0x804]
push eax
push edi
call ebx
cmp dword [ebp - 4], 0x10c
je 0x423efa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x6f9]
lea esi, [ebp - 0x703]
mov ecx, 0x4f7ea8
mov byte [0x4f7c66], al
mov edi, ecx
movzx eax, al
push eax
movzx eax, byte [0x504abb]
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00489109
mov eax, dword [0x531f74]
add esp, 0xc
test eax, eax
je 0x423f8f
push 0
push 0
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x423f39
Function at 0x4244e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push 0x800
xor esi, esi
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0049a3b0
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push 0x80
push 4
push esi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42452d
xor eax, eax
inc eax
jmp 0x42464a
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 4]
push eax
push str.Winamp_EQ_library_file_v1.1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x804]
push eax
push ebx
call edi
push str.Winamp_EQ_library_file_v1.1
call esi
push eax
lea eax, [ebp - 0x804]
push str.Winamp_EQ_library_file_v1.1
push eax
call fcn.0049b47b
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
test eax, eax
je 0x4245c3
xor eax, eax
push eax
push eax
push eax
push ebx
call esi
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push str.Winamp_EQ_library_file_v1.1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Winamp_EQ_library_file_v1.1
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x4245c3
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0xc]
call fcn.004a194c
pop ecx
pop ecx
test eax, eax
je 0x42464e
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push 0x10c
lea eax, [ebp - 0x804]
push eax
push ebx
call edi
cmp dword [ebp - 4], 0x10c
je 0x4245aa
push 2
xor edi, edi
push edi
push edi
push ebx
call esi
push 0x200
push edi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x101
push eax
call fcn.004250fa
mov al, byte [0x4f7c66]
lea edi, [ebp - 0x703]
and dword [ebp - 4], 0
mov esi, 0x4f7ea8
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [ebp - 0x6f9], al
lea eax, [ebp - 4]
push eax
push 0x10c
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
xor edi, edi
push 1
push edi
neg eax
push eax
jmp 0x4245eb
Function at 0x4254b9
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push 0x800
xor esi, esi
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0049a3b0
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push 0x80
push 4
push esi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x425506
xor eax, eax
inc eax
jmp 0x425615
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 4]
push esi
push eax
push str.Winamp_EQ_library_file_v1.1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0x804]
push eax
push ebx
call esi
push str.Winamp_EQ_library_file_v1.1
call edi
push eax
lea eax, [ebp - 0x804]
push str.Winamp_EQ_library_file_v1.1
push eax
call fcn.0049b47b
add esp, 0xc
test eax, eax
je 0x42557b
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push str.Winamp_EQ_library_file_v1.1
call edi
push eax
push str.Winamp_EQ_library_file_v1.1
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor edi, edi
jmp 0x425594
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0xc]
call fcn.004a194c
pop ecx
pop ecx
test eax, eax
je 0x42560b
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x10c
lea eax, [ebp - 0x804]
push eax
push ebx
call esi
cmp dword [ebp - 4], 0x10c
je 0x42557f
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x200
push edi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x101
push eax
call fcn.004250fa
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x703]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x804]
push 0x10c
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [ebp - 0x6f9], 0x1f
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d25c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x505124]
push ebx
mov ebx, dword [ebp + 0x10]
push 0
mov ecx, dword [ebx + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0xc]
mov eax, dword [0x505124]
push 0
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x130b
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x505124], eax
mov ecx, dword [ebx + 0xc]
push 8
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0xc]
mov eax, dword [0x505124]
push 1
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_EnableWindow]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp + 0xc]
je 0x42d2dd
mov ecx, dword [ebx + 0xc]
mov eax, dword [0x505124]
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop ebp
ret 0xc

Function at 0x42d6f9
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
push dword [ebp + 8]
call fcn.0042d0c2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42d858
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d849
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
push esi
push esi
push esi
push 2
push esi
push ebx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 4], eax
test eax, eax
je 0x42d842
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x42d837
mov eax, dword [ebp + 0xc]
mov ecx, edi
push dword [eax]
push esi
push 0
push 0xc8
call fcn.0040ea78
test eax, eax
je 0x42d830
mov eax, dword [ebp + 0xc]
mov ecx, edi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [eax]
push esi
push 0
push 0x190
call fcn.0042908b
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42d806
push str.image_jpeg
mov ecx, edi
call fcn.0042d85f
push eax
call fcn.0049e71a
pop ecx
pop ecx
test eax, eax
jne 0x42d806
push 0x4cd5c8
call fcn.004a1860
pop ecx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x531bfc]
push dword [eax]
push 0
push 0
call fcn.00406ad0
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push esi
push eax
call fcn.0049a510
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov ecx, dword [ebp - 8]
push edi
push 0
push 0x136
call fcn.00406ad0
mov eax, dword [ebp - 0xc]
jmp 0x42d85a
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
push edi
push esi
push 0x136
call fcn.00406ad0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e264
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x4cc548
push dword [ebp + 8]
call fcn.004a33b3
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x42e280
inc eax
jmp 0x42e2a4
push esi
push edi
xor esi, esi
inc esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004a9c59
add esp, 0x10
cmp eax, esi
jne 0x42e29a
xor esi, esi
push edi
call fcn.004a3458
pop ecx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x42faa0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push esi
push edi
mov esi, 0x4f8598
push dword [esi]
call fcn.0042f923
add esi, 8
pop ecx
cmp esi, 0x4f85c8
jl 0x42fab0
push 0x208
lea eax, [ebp - 0x458]
push 0
push eax
call fcn.0049a3b0
push 0x250
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0049a3b0
add esp, 0x18
lea eax, [ebp - 0x458]
push str.GEN_.DLL
push 0x502730
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42fb7d
xor esi, esi
cmp byte [esi*8 + 0x4f859c], 0
jne 0x42fb42
lea eax, [ebp - 0x224]
push eax
push dword [esi*8 + 0x4f8598]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42fb48
inc esi
cmp esi, 6
jl 0x42fb20
cmp esi, 6
jne 0x42fb5c
lea eax, [ebp - 0x224]
push eax
call fcn.0042f923
pop ecx
jmp 0x42fb64
mov byte [esi*8 + 0x4f859c], 1
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42fb1e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
leave
ret

Function at 0x430254
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x2f
pop ecx
push 0x5c
movzx eax, word [edi]
mov esi, edi
pop edx
cmp ax, dx
je 0x430274
cmp ax, cx
jne 0x430282
movzx eax, word [edi + 2]
cmp ax, dx
je 0x4302ab
cmp ax, cx
je 0x4302ab
movzx eax, word [esi]
test ax, ax
je 0x430343
cmp ax, dx
je 0x430343
cmp ax, cx
je 0x430343
inc esi
add esi, 1
jne 0x430282
jmp 0x430347
lea esi, [edi + 4]
test esi, esi
je 0x4302ce
movzx eax, word [esi]
test ax, ax
je 0x430347
cmp ax, dx
je 0x4302ce
cmp ax, cx
je 0x4302ce
inc esi
add esi, 1
jne 0x4302b2
cmp word [esi], bx
je 0x430347
inc esi
add esi, 1
je 0x430347
movzx eax, word [esi]
test ax, ax
je 0x4302f3
cmp ax, dx
je 0x430343
cmp ax, cx
je 0x430343
inc esi
add esi, 1
jne 0x4302d9
jmp 0x430343
cmp word [esi], bx
je 0x430347
push 0x2f
pop edi
movzx eax, word [esi]
cmp ax, dx
je 0x43031d
cmp ax, di
je 0x43031d
test ax, ax
je 0x43031d
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
push 0x5c
pop edx
test esi, esi
jne 0x4302fb
movzx ecx, word [esi]
mov edi, dword [ebp + 8]
mov ebx, ecx
test cx, cx
je 0x43033d
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esi], bx
add esi, 2
push 0x5c
pop edx
push 0
pop ebx
test esi, esi
jne 0x4302f3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4361df
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x50bb50]
sub esp, 0x868
test eax, eax
jne 0x436318
push ebx
push edi
mov ebx, 0x208
lea eax, [ebp - 0x208]
push ebx
xor edi, edi
push edi
push eax
call fcn.0049a3b0
push ebx
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.0049a3b0
add esp, 0x18
lea eax, [ebp - 0x208]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4d200c
push ebx
lea eax, [ebp - 0x208]
push eax
call fcn.0040ad38
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [ebp - 0x410]
push eax
call fcn.0040c4d6
push 0x4d201c
push ebx
lea eax, [ebp - 0x208]
push eax
call fcn.0040ad38
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436314
push esi
mov esi, edi
lea eax, [ebp - 0x83c]
push 0x5f
push eax
call fcn.0049c44e
add eax, 2
push eax
call fcn.004a2eb4
add esp, 0xc
cmp eax, 0x2a
jg 0x4362ae
cmp eax, esi
cmovg esi, eax
lea eax, [ebp - 0x868]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43628a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x18
jl 0x436313
push 0x208
lea eax, [ebp - 0x618]
push edi
push eax
call fcn.0049a3b0
push str..dll
push esi
lea eax, [ebp - 0x410]
push eax
push str._s_d_s
lea eax, [ebp - 0x618]
push 0x104
push eax
call fcn.0040adba
add esp, 0x24
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x4372a1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
test byte [ebp + 0xc], 1
push esi
push edi
jne 0x4372b9
mov eax, 0x80020003
jmp 0x437422
push ebx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
lea edx, [ecx - 1]
cmp edx, 1
ja 0x43741c
mov esi, dword [ebx]
mov eax, ecx
add eax, eax
push 8
pop edi
cmp word [esi + eax*8 - 0x10], di
je 0x4372e3
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4372fe
push 0xb
pop edi
cmp ecx, 2
jb 0x437308
lea eax, [ecx - 2]
add eax, eax
cmp word [esi + eax*8], di
je 0x437308
mov eax, dword [ebp + 0x18]
add ecx, 0xfffffffe
mov dword [eax], ecx
mov eax, 0x80020005
jmp 0x437421
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43731f
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
mov word [esi], di
mov word [esi + 8], ax
mov eax, dword [ebp + 8]
mov ecx, 0x4f8e10
push 0
push 2
push dword [eax + 8]
push dword [eax + 4]
push str.launchurl
push str.application
call fcn.0043c134
cmp eax, 1
jne 0x437418
mov edx, dword [ebx + 8]
lea edi, [ebp - 0x20]
mov eax, dword [ebx]
add edx, edx
push 8
pop ecx
mov eax, dword [eax + edx*8 - 8]
mov dword [ebp + 0xc], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x18], 0x10
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x437418
push 3
push edi
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
jne 0x437418
push eax
push 1
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jne 0x437418
lea eax, [ebp - 0x20]
push str.http
push eax
call fcn.0049e71a
pop ecx
pop ecx
test eax, eax
je 0x4373c9
lea eax, [ebp - 0x20]
push str.https
push eax
call fcn.0049e71a
pop ecx
pop ecx
test eax, eax
jne 0x437418
or edx, 0xffffffff
test esi, esi
je 0x4373d4
mov word [esi + 8], dx
mov ecx, dword [ebx + 8]
cmp ecx, 2
jb 0x4373ff
mov eax, dword [ebx]
add ecx, ecx
cmp word [eax + ecx*8 - 0x18], dx
jne 0x4373ff
xor eax, eax
push eax
push 0x4cb7a8
push eax
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x437418
push edi
call fcn.004a1860
pop ecx
push eax
push dword [0x531f84]
push 0x40cae4
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
xor eax, eax
jmp 0x437421
mov eax, 0x8002000e
pop ebx
pop edi
pop esi
leave
ret 0x14