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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45f561
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45f534
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403574
cmp eax, 3
jne 0x45f430
mov eax, ebx
call fcn.0045e204
test al, al
jne 0x45f410
mov byte [ebp - 1], 0
call fcn.004031bc
jmp 0x45f53b
lea edx, [ebp - 0x154]
mov eax, ebx
call fcn.0045df14
mov ecx, dword [ebp - 0x154]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0045f79c
mov byte [ebp - 1], 1
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x154]
mov eax, ebx
call fcn.0042c3a4
lea eax, [ebp - 0x154]
mov edx, 0x45f57c
call fcn.0040357c
mov eax, dword [ebp - 0x154]
call fcn.00403738
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x45f51d
xor eax, eax
push ebp
push 0x45f516
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
call fcn.0045ddd4
test al, al
je 0x45f4eb
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040355c
lea edx, [ebp - 0x158]
mov eax, ebx
call fcn.0042c3a4
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x10]
call fcn.0040357c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0045df14
mov eax, dword [ebp - 0x154]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.0045ee2c
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x45f484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f51d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f53b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f568
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.00403420
lea eax, [ebp - 0x10]
call fcn.00403400
ret
Function at 0x45f820
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45fa07
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x45f893
lea edx, [ebp - 0x154]
mov eax, edi
call fcn.0042c84c
mov eax, dword [ebp - 0x154]
push eax
lea edx, [ebp - 0x158]
mov eax, ebx
call fcn.0042c3a4
mov eax, dword [ebp - 0x158]
pop edx
call fcn.0042c548
test eax, eax
jne 0x45f893
lea edx, [ebp - 4]
mov eax, edi
call fcn.0042c824
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45f9d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x154]
mov eax, ebx
call fcn.0042c3a4
lea eax, [ebp - 0x154]
mov edx, 0x45fa20
call fcn.0040357c
mov eax, dword [ebp - 0x154]
call fcn.00403738
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x45f9bb
xor eax, eax
push ebp
push 0x45f9b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
call fcn.0045ddd4
test al, al
je 0x45f985
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040355c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0042c548
test eax, eax
je 0x45f985
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.0045ef14
test eax, eax
jne 0x45f985
lea edx, [ebp - 0x158]
mov eax, ebx
call fcn.0042c3a4
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x10]
call fcn.0040357c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0045df14
mov eax, dword [ebp - 0x154]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.0045ee2c
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x45f8fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9bb
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9d9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4627f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462975
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e0]
mov edx, 0x20
call fcn.004145c4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e0]
mov edx, 0x20
call fcn.004145e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e4]
mov edx, 0x20
call fcn.004145c4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e4]
mov edx, 0x20
call fcn.004145e4
xor eax, eax
push ebp
push 0x462955
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1010
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x10
push 0x462984
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4628c9
cmp byte [ebp - 0x158], 0
je 0x4628c9
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [0x492014]
push eax
call sub.shell32.dll_ExtractIconA
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x2e0]
call fcn.00462730
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.004765b4
cmp dword [ebp - 4], 0
jne 0x4628ed
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
mov al, 1
call fcn.004765b4
cmp dword [ebp - 4], 0
je 0x46294b
push 0x1000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x46294b
cmp byte [ebp - 0x158], 0
je 0x46294b
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [0x492014]
push eax
call sub.shell32.dll_ExtractIconA
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x2e4]
call fcn.00462730
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46295f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46297c
lea eax, [ebp - 4]
call fcn.00403400
ret

Function at 0x4688b4
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffbc
mov esi, eax
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.0044fa08
lea edx, [esp + 4]
mov ecx, 0x40
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
cmp eax, 0x40
jne 0x46891a
cmp byte [esp + 4], 0x4d
jne 0x46891a
cmp byte [esp + 5], 0x5a
jne 0x46891a
cmp dword [esp + 0x40], 0
je 0x46891a
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.0044fa08
mov edx, esp
mov ecx, 4
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
cmp eax, 4
jne 0x46891a
cmp dword [esp], 0x4550
jne 0x46891a
mov bl, 1
mov eax, ebx
add esp, 0x44
pop edi
pop esi
pop ebx
ret
Function at 0x46a7e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46a8e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 4]
push eax
xor eax, eax
mov al, byte [0x49327b]
mov ecx, dword [eax*4 + 0x491ae8]
mov edx, 0x80000002
xor eax, eax
call fcn.0042dc44
test eax, eax
jne 0x46a869
mov eax, esi
call fcn.00403574
inc eax
push eax
mov eax, esi
call fcn.00403738
push eax
push 1
push 0
mov eax, edi
call fcn.00403738
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46a85e
mov eax, 0x46a8f8
call fcn.00455970
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x46a873
mov eax, 0x46a92c
call fcn.00455970
test bl, bl
je 0x46a8c6
mov eax, esi
call fcn.00403738
push eax
call sub.gdi32.dll_AddFontResourceA
test eax, eax
je 0x46a89a
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageA
jmp 0x46a8c6
lea ecx, [ebp - 0xc]
mov edx, 0x46a958
mov al, 0x33
call fcn.004506dc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042e4f8
mov eax, dword [ebp - 8]
mov edx, dword [0x492c2c]
call fcn.00468cb4
test al, al
je 0x46a877
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a8e8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403420
ret

Function at 0x46d898
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x46d96c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
je 0x46d956
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00451d2c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x46d984
call fcn.00455b70
mov edx, ebx
mov eax, dword [0x4931f8]
call fcn.0040b3e4
mov ebx, eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebx]
call fcn.00403574
mov ecx, 0x14
cdq
idiv ecx
push eax
mov ecx, edi
mov edx, esi
mov al, byte [ebp - 1]
call fcn.0045a540
test al, al
jne 0x46d956
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
jne 0x46d93b
mov eax, 0x46d9b8
call fcn.00455970
jmp 0x46d956
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x46da14
call fcn.00455b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d973
lea eax, [ebp - 0x18]
call fcn.00403400
ret
Function at 0x46f16c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46f2be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x144]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042c3a4
lea eax, [ebp - 0x148]
mov edx, 0x46f2d4
call fcn.0040357c
mov eax, dword [ebp - 0x148]
call fcn.00403738
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46f29d
lea eax, [ebp - 4]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.0040355c
mov eax, dword [ebp - 4]
call fcn.00403574
cmp eax, 9
jl 0x46f282
lea eax, [ebp - 0x148]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x148]
mov edx, 0x46f2e8
call fcn.00406a2c
test eax, eax
jne 0x46f282
mov eax, dword [ebp - 4]
mov al, byte [eax + 5]
add al, 0xd0
sub al, 0xa
jae 0x46f282
mov eax, dword [ebp - 4]
mov al, byte [eax + 6]
add al, 0xd0
sub al, 0xa
jae 0x46f282
mov eax, dword [ebp - 4]
mov al, byte [eax + 7]
add al, 0xd0
sub al, 0xa
jae 0x46f282
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0x2e
jne 0x46f282
lea eax, [ebp - 0x148]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x148]
call fcn.00406d38
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46f1d5
push ebx
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f2c5
lea eax, [ebp - 0x148]
call fcn.00403400
lea eax, [ebp - 4]
call fcn.00403400
ret

Function at 0x46f8a8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, 0x493060
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
cmp dword [esi], 0
je 0x46f916
jmp 0x46f8d4
mov edx, 0x46f924
mov al, 0x41
call fcn.0046f758
test al, al
jne 0x46f8d4
call fcn.00408b80
mov eax, dword [ebx]
call fcn.00406ef0
test al, al
je 0x46f8bf
jmp 0x46f8f6
mov edx, 0x46f938
mov al, 0x40
call fcn.0046f758
test al, al
jne 0x46f8f6
call fcn.00408b80
mov eax, dword [ebx]
call fcn.00403738
push eax
mov eax, dword [esi]
call fcn.00403738
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
je 0x46f8e1
mov eax, esi
call fcn.00403400
pop esi
pop ebx
pop ebp
ret
Function at 0x47174c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0040cbe4
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
call fcn.00471674
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4a
mov eax, dword [0x492f8c]
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
mov eax, esi
call fcn.0042e1d0
cmp ebx, 0x6c840001
jne 0x47179c
call fcn.00408ba0
mov eax, ebx
and eax, 0xffff0000
cmp eax, 0x6c830000
je 0x4717c0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x471870
call fcn.00451b1c
mov word [ebp - 6], bx
xor esi, esi
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call dword [ebp - 4]
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x471818
mov ebx, eax
mov edx, 1
mov ax, word [ebp - 6]
call fcn.004716d0
mov esi, eax
mov eax, esi
sub ax, 2
je 0x471818
dec eax
sub ax, 2
jb 0x47182c
movzx eax, si
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4718a4
call fcn.00451b1c
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x4717cd
mov edx, 2
mov ax, word [ebp - 6]
call fcn.004716d0
movzx ebx, ax
mov edx, 3
mov ax, word [ebp - 6]
call fcn.004716d0
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x471d70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402934
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x800540
mov eax, 0x471e74
mov dword [ebp - 0x34], eax
mov eax, ebx
call fcn.00403738
mov dword [ebp - 0x30], eax
mov eax, esi
call fcn.00403738
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
jne 0x471de7
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x4c7
jne 0x471ddd
call fcn.00408b80
mov eax, 0x471e84
call fcn.00451c18
cmp dword [ebp - 8], 0
jne 0x471df7
mov eax, 0x471e9c
call fcn.00451ac0
xor edx, edx
push ebp
push 0x471e67
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00471b70
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 8]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x471e05
inc eax
jne 0x471e30
mov eax, 0x471ec8
call fcn.00451c18
call fcn.00471b70
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x471e50
mov eax, 0x471eec
call fcn.00451c18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471e6e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x471f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x471fcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x471b60
call fcn.00471fec
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x471fa4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x471fe4
call fcn.00407894
mov edx, dword [ebp - 8]
mov eax, dword [0x492628]
call fcn.0042426c
call fcn.00471b70
call sub.user32.dll_GetFocus
mov edx, dword [0x492628]
cmp eax, dword [edx + 0x20]
jne 0x471f87
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x471f8e
call sub.user32.dll_WaitMessage
jmp 0x471f66
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471fab
mov eax, dword [ebp - 4]
call fcn.00402b58
ret

Function at 0x475dc4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x475dcc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x475f37
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.004521a0
mov edx, dword [ebp - 0x10]
mov eax, 0x493030
call fcn.00403450
mov edx, 0x475f50
lea eax, [ebp - 0x10]
call fcn.00403494
lea eax, [ebp - 0x10]
mov edx, dword [0x493030]
call fcn.0040357c
mov eax, dword [ebp - 0x10]
call fcn.00455970
cmp byte [0x492efc], 0
je 0x475e2f
mov eax, dword [0x493030]
call fcn.00455168
lea edx, [ebp - 0x10]
mov eax, dword [0x493030]
call fcn.0042c3a4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x475f78
call fcn.004035c0
push 0
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x475ec1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.004506dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00406d08
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0042e660
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
mov al, 0x60
call fcn.004506ac
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, 0x406368
call fcn.00408bac
call fcn.0040311c
lea eax, [ebp - 0xc]
mov ecx, 0x475f88
mov edx, dword [ebp - 4]
call fcn.004035c0
mov edx, dword [ebp - 0xc]
mov eax, 0x475fa0
call fcn.00475d6c
lea eax, [ebp - 8]
call fcn.0045658c
cmp dword [ebp - 8], 0
je 0x475f0f
lea eax, [ebp - 0xc]
mov ecx, 0x475fb4
mov edx, dword [ebp - 4]
call fcn.004035c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00475d6c
mov eax, dword [ebp - 0xc]
call fcn.004565f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f3e
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00403420
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403420
ret
Function at 0x47735c
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
push ebp
cmp byte [0x493197], 0
sete byte [0x493278]
cmp dword [0x492fb4], 0
je 0x4773ba
mov eax, dword [0x4931f0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4773ba
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x4931f0]
call fcn.0040b3e4
mov edx, dword [eax]
mov eax, dword [0x492fb4]
call fcn.00406a2c
test eax, eax
jne 0x4773b6
mov eax, esi
call fcn.00477198
mov byte [0x493278], 0
jmp 0x47748f
inc esi
dec edi
jne 0x477387
mov al, byte [0x493198]
sub al, 1
jb 0x4773c7
je 0x4773d0
jmp 0x4773d9
call fcn.0042e264
mov ebp, eax
jmp 0x4773db
call sub.kernel32.dll_GetUserDefaultLangID
mov ebp, eax
jmp 0x4773db
xor ebp, ebp
test bp, bp
je 0x477478
mov eax, dword [0x4931f0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x477427
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x4931f0]
call fcn.0040b3e4
mov ebx, eax
movzx eax, bp
cmp eax, dword [ebx + 0x28]
jne 0x477423
cmp dword [ebx + 0x2c], 0
je 0x47741a
call sub.kernel32.dll_GetACP
cmp eax, dword [ebx + 0x2c]
jne 0x477423
mov eax, esi
call fcn.00477198
jmp 0x47748f
inc esi
dec edi
jne 0x4773f4
mov eax, dword [0x4931f0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x477478
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x4931f0]
call fcn.0040b3e4
mov ebx, eax
mov eax, dword [ebx + 0x28]
and eax, 0x3ff
mov edx, ebp
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x477474
cmp dword [ebx + 0x2c], 0
je 0x47746b
call sub.kernel32.dll_GetACP
cmp eax, dword [ebx + 0x2c]
jne 0x477474
mov eax, esi
call fcn.00477198
jmp 0x47748f
inc esi
dec edi
jne 0x477437
xor eax, eax
call fcn.00477198
cmp byte [0x493197], 2
jne 0x47748f
mov byte [0x493278], 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x477e04
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x4932c1], 1
call fcn.00453af8
test al, al
jne 0x477e46
push 5
mov eax, dword [0x492628]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x492628]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x492c84]
call fcn.00477d10
ret
Function at 0x478b6c
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x478d68
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403634
xor eax, eax
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 8]
call fcn.00403738
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x478c27
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x478c0a
cmp byte [ebp + 0x10], 0
je 0x478bee
test al, 2
jne 0x478c0a
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004303e0
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x478bda
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose
cmp byte [ebp + 0xc], 0
je 0x478d42
lea eax, [ebp - 0x154]
push eax
mov edx, esi
lea eax, [ebp - 0x158]
call fcn.00403494
lea eax, [ebp - 0x158]
mov edx, edi
call fcn.0040357c
lea eax, [ebp - 0x158]
mov edx, 0x478d80
call fcn.0040357c
mov eax, dword [ebp - 0x158]
call fcn.00403738
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x478d42
xor eax, eax
push ebp
push 0x478d3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x154]
call fcn.00476884
test al, al
je 0x478d0c
mov eax, dword [ebp + 0x14]
push eax
mov al, byte [ebp + 0x10]
push eax
mov al, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov edx, edi
lea eax, [ebp - 0x158]
call fcn.00403494
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.0040355c
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
call fcn.0040357c
lea eax, [ebp - 0x158]
mov edx, 0x478d8c
call fcn.0040357c
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.00478b6c
pop ecx
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004303e0
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x478c8e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478d42
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478d6f
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.00403420
lea eax, [ebp - 8]
call fcn.00403400
ret