joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d10
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov dword [ebp - 0x21c], 0x42c54c
mov dword [ebp - 0x474], 0x42c054
mov dword [ebp - 0x368], 0x42c050
mov byte [ebp - 0x361], 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x413d55
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004094c0
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x470]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea edx, [ebp - 0x360]
push edx
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x413d91
xor al, al
jmp 0x413f07
lea ecx, [ebp - 0x334]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
mov ecx, dword [ebp - 0x360]
and ecx, 0x10
je 0x413e4e
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x413dc5
jmp 0x413ee2
mov eax, dword [ebp - 0x474]
push eax
lea ecx, [ebp - 0x334]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x413df5
mov edx, dword [ebp - 0x368]
push edx
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x413dfa
jmp 0x413ee2
lea ecx, [ebp - 0x334]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
movzx ecx, byte [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x470]
push ecx
call fcn.00413d10
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x413e49
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x413f07
jmp 0x413ee2
lea ecx, [ebp - 0x334]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0041a3a0
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x470]
push eax
call fcn.00413ca0
add esp, 8
test eax, eax
setne cl
mov byte [ebp - 0x361], cl
movzx edx, byte [ebp - 0x361]
test edx, edx
jne 0x413eaf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x413f07
mov ecx, dword [ebp - 0x360]
and ecx, 1
je 0x413edd
mov edx, dword [ebp - 0x360]
xor edx, 1
mov dword [ebp - 0x478], edx
mov eax, dword [ebp - 0x478]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.0040e680
lea edx, [ebp - 0x360]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413d91
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x414f20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x42c290
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x414f56
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x414f56
jmp 0x414f62
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.NetSetup_DENKI_s
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x415920
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41593d
xor al, al
jmp 0x415966
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x415964
mov edx, dword [ebp - 4]
xor edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
jmp 0x415966
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x416e80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.00416fb0
movzx eax, al
test eax, eax
jne 0x416e97
jmp case.default.0x416f27
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push 0x42c89c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416ebd
jmp case.default.0x416f27
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x42c8d8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x416f11
cmp dword [ebp - 4], 4
jne 0x416f08
cmp dword [ebp - 0x1c], 1
jne 0x416eff
mov dword [ebp - 0x10], 1
jmp 0x416f06
mov dword [ebp - 0x10], 2
jmp 0x416f0f
mov dword [ebp - 0x10], 0
jmp 0x416f18
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
ja case.default.0x416f27
mov ecx, dword [ebp - 0x20]
jmp dword [ecx*4 + 0x416fa0]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.default.0x416f27
lea eax, [ebp - 0x18]
push eax
push 2
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416f59
jmp case.default.0x416f27
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push 0x42c8d8
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x416f3a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.00416fb0
movzx eax, al
test eax, eax
jne 0x416e97
jmp case.default.0x416f27
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push 0x42c89c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416ebd
jmp case.default.0x416f27
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x42c8d8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x416f11
cmp dword [ebp - 4], 4
jne 0x416f08
cmp dword [ebp - 0x1c], 1
jne 0x416eff
mov dword [ebp - 0x10], 1
jmp 0x416f06
mov dword [ebp - 0x10], 2
jmp 0x416f0f
mov dword [ebp - 0x10], 0
jmp 0x416f18
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
ja case.default.0x416f27
mov ecx, dword [ebp - 0x20]
jmp dword [ecx*4 + 0x416fa0]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.default.0x416f27
lea eax, [ebp - 0x18]
push eax
push 2
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416f59
jmp case.default.0x416f27
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push 0x42c8d8
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x417a70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp - 0x21c]
mov dword [eax + 0x32c], 0
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [str.LastSelectedDir]
push edx
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call dword [sym.imp.DENKIPM.dll_Ordinal_1022]
movzx eax, al
test eax, eax
je 0x417b2b
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call dword [sym.imp.DENKIPM.dll_Ordinal_1019]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x417b0e
mov edx, dword [ebp - 0x218]
and edx, 0x10
jne 0x417b29
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1223]
jmp 0x417b46
push 0x104
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1223]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x42f694]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x328], edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
mov dword [edx + 0x68], eax
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x210]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x21c]
mov dword [eax + 0x70], 0x88186c
mov ecx, dword [ebp - 0x21c]
add ecx, 0x3c
push ecx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417bd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp - 0x21c]
mov dword [eax + 0x32c], 1
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [str.LastSelectedDir]
push edx
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call dword [sym.imp.DENKIPM.dll_Ordinal_1022]
movzx eax, al
test eax, eax
je 0x417c8b
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call dword [sym.imp.DENKIPM.dll_Ordinal_1019]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x417c6e
mov edx, dword [ebp - 0x218]
and edx, 0x10
jne 0x417c89
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1223]
jmp 0x417ca6
push 0x104
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1223]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x42f694]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x328], edx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x108]
mov dword [edx + 0x68], eax
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x210]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x21c]
mov dword [eax + 0x70], 0x88086e
mov ecx, dword [ebp - 0x21c]
add ecx, 0x3c
push ecx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x419ca2
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
add ecx, 4
call dword [sym.imp.DENKIPM.dll_Ordinal_1586]
jmp 0x419cbe
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esp, ebp
pop ebp
ret
Function at 0x419d40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x419d56
jmp 0x419dae
push 0x42c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x419d73
jmp 0x419dae
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x419d93
push 0
push 0x1f4
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x419dae
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x419e10
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
add ecx, 4
call dword [sym.imp.DENKIPM.dll_Ordinal_1587]
sub eax, 0xc8
mov ecx, dword [ebp - 0xdc]
mov dword [ecx + 0x108], eax
mov edx, dword [ebp - 0xdc]
push edx
push 0x419fa0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
push ecx
push 0x8c
mov edx, dword [0x42f694]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0xd8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1276]
mov dword [ebp - 0xd4], eax
push 0xc8
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0xd4]
push ecx
push 0x32
mov edx, dword [ebp - 0xdc]
add edx, 0xd
push edx
push 0
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x2400
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0xd
push ecx
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x407
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xcc], eax
push 0xc8
lea ecx, [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xd4]
push eax
push 0xc8
mov ecx, dword [ebp - 0xdc]
add ecx, 0x3f
push ecx
push 0
push 0
lea edx, [ebp - 0xc8]
push edx
push 0x2400
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0xdc]
add eax, 0x3f
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 4], 0
je 0x419f87
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0xd0]
mov esp, ebp
pop ebp
ret
Function at 0x41d1e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
push 2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x18], eax
push 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret

Function at 0x4200b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x14]
push eax
push 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x420138
cmp dword [ebp - 8], 1
jne 0x420136
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x420136
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x42010a
jmp 0x4200e9
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x420155
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4228c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0x3ed
mov dword [ebp - 0x10], 0x3ef
mov dword [ebp - 0xc], 0x3f1
mov dword [ebp - 8], 0x40a
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x42290c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp + ecx*4 - 0x1c], 0
je 0x422944
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + edx*4 - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x422942
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x422903
call dword [sym.imp.DENKIPM.dll_Ordinal_1174]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.DENKIPM.dll_Ordinal_1075]
push str.8.00
lea ecx, [ebp - 0x20]
call dword [sym.imp.DENKIPM.dll_Ordinal_1077]
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.DENKIPM.dll_Ordinal_1244]
movzx eax, al
test eax, eax
je 0x4229c0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.DENKIPM.dll_Ordinal_1086]
movzx eax, al
test eax, eax
je 0x4229c0
push 0x40a
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4229c0
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x20]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
lea ecx, [ebp - 0x24]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
mov esp, ebp
pop ebp
ret 4
Function at 0x423410
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x570
cmp dword [ebp + 8], 0
je 0x423429
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x423430
xor al, al
jmp 0x423605
cmp dword [ebp + 0xc], 0
je 0x42343c
cmp dword [ebp + 0x10], 1
jge 0x423443
xor al, al
jmp 0x423605
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x35c], 0
lea ecx, [ebp - 0x358]
mov dword [ebp - 4], ecx
jmp 0x423476
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x42348b
mov edx, dword [ebp - 4]
mov dword [ebp - 0x35c], edx
jmp 0x423469
mov eax, dword [ebp - 0x35c]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x4234ae
mov edx, dword [ebp - 4]
mov byte [edx], 0x5c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42c54c
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 1
lea edx, [ebp - 0x250]
push edx
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0xffffffff
jne 0x423506
mov al, 1
jmp 0x423605
mov byte [ebp - 5], 1
push 0x42c054
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x423536
push 0x42c050
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42353b
jmp 0x4235d1
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x570]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [str.SEARCH.lst]
push eax
lea ecx, [ebp - 0x570]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x570]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4235b7
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebp - 5], 0
jmp 0x4235d1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.00423410
add esp, 0xc
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
test eax, eax
je 0x4235f5
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42350a
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4241c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0x3ed
mov dword [ebp - 0x10], 0x3ef
mov dword [ebp - 0xc], 0x3f1
mov dword [ebp - 8], 0x40a
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
jmp 0x42420c
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ebp + ecx*4 - 0x1c], 0
je 0x424244
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + edx*4 - 0x1c]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x424242
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x424203
push 0x40a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x424277
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4