joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9d000]
push edi
jmp 0x4a321a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3210
mov eax, 1
add ebx, ebx
jne 0x4a3233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a3244
jne 0x4a3263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3263
dec eax
add ebx, ebx
jne 0x4a3250
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3228
add ebx, ebx
jne 0x4a325f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a32b5
xor ecx, ecx
sub eax, 3
jb 0x4a327b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a32ea
sar eax, 1
mov ebp, eax
jmp 0x4a3286
add ebx, ebx
jne 0x4a3286
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3254
inc ecx
add ebx, ebx
jne 0x4a3294
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3254
add ebx, ebx
jne 0x4a32a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a3296
jne 0x4a32b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a3296
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a32d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a32c6
jmp 0x4a3216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a32d4
add edi, ecx
jmp 0x4a3216
pop esi
mov edi, esi
mov ecx, 0x2c5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a32f2
cmp byte [edi], 1
jne 0x4a32f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a32f7
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a336f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa9f74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xaa028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a3324
mov ecx, edi
jns 0x4a3353
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xaa02c]
or eax, eax
je 0x4a3369
mov dword [ebx], eax
add ebx, 4
jmp 0x4a3341
call dword [esi + 0xaa03c]
mov ebp, dword [esi + 0xaa030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a33a3
sub esp, 0xffffff80
jmp 0x403985
Function at 0x7d78c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2ba000]
push edi
or ebp, 0xffffffff
jmp 0x7d78e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7d78e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d78d8
mov eax, 1
add ebx, ebx
jne 0x7d78fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7d790c
jne 0x7d792b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d792b
dec eax
add ebx, ebx
jne 0x7d7918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7d78f0
add ebx, ebx
jne 0x7d7927
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7d797d
xor ecx, ecx
sub eax, 3
jb 0x7d7943
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7d79b2
sar eax, 1
mov ebp, eax
jmp 0x7d794e
add ebx, ebx
jne 0x7d794e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d791c
inc ecx
add ebx, ebx
jne 0x7d795c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d791c
add ebx, ebx
jne 0x7d7969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7d795e
jne 0x7d797a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7d795e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7d799c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7d798e
jmp 0x7d78de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7d799c
add edi, ecx
jmp 0x7d78de
pop esi
mov edi, esi
mov ecx, 0xca26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7d79ba
cmp byte [edi], 0x9b
jne 0x7d79ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7d79bf
lea edi, [esi + 0x3d4000]
mov eax, dword [edi]
or eax, eax
je 0x7d7a37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x40380c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40399c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7d79ec
mov ecx, edi
jns 0x7d7a1b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4039a0]
or eax, eax
je 0x7d7a31
mov dword [ebx], eax
add ebx, 4
jmp 0x7d7a09
call dword [esi + 0x4039b0]
mov ebp, dword [esi + 0x4039a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7d7a6b
sub esp, 0xffffff80
jmp 0x5f79fc
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
mov dword [0x40e39c], 0
push edi
push eax
mov edi, 4
push str.SoftwareMicrosoftWindowsCurrentVersionScreen_Savers
push 0x80000001
mov dword [0x40b078], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4010c4
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea ecx, [esp + 0x10]
push eax
push ecx
push eax
push str.Password_Delay
push edx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x401079
cmp dword [esp + 0xc], edi
jne 0x401079
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push 0x40e39c
push 0
push 0
push str.Password_Delay
push ecx
call esi
mov eax, dword [esp + 8]
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push str.Mouse_Threshold
push eax
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x4010b8
cmp dword [esp + 0xc], edi
jne 0x4010b8
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x40b078
push 0
push 0
push str.Mouse_Threshold
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
add esp, 0xc
ret
Function at 0x401350
Capabilities:
Delete file

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
mov eax, edi
dec eax
je 0x401476
dec eax
je 0x401418
sub eax, 0x7fff
jne 0x4014af
mov eax, dword [0x40e0c4]
lea edx, [esp + 0x20]
push 0
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x30]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x4014af
mov edx, dword [esp + 0x20]
mov eax, dword [0x40e0c4]
push edx
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
call dword [ecx + 0x30]
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x4013ed
cmp eax, 2
je 0x4014af
mov eax, dword [0x40e0c4]
lea edx, [esp + 0x20]
push 0
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x30]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x40139c
jmp 0x4014af
mov eax, dword [0x40e0c8]
push 0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x38]
jmp 0x4014af
mov eax, dword [0x40e0d0]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [0x40e0d0]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x74]
mov eax, dword [0x40e0d0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x40e0c0]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x40e0c4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x40e0cc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x40e0bc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x40e0d8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4014af
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x40e0b8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub edx, eax
push ecx
push edx
push esi
push esi
call fcn.004010d0
add esp, 0x14
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
push esi
call fcn.00401730
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x401730
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword [0x40e378]
sub esp, 8
test eax, eax
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
jne case.0x4017f4.514
mov al, byte [0x40e37c]
test al, al
jne case.0x4017f4.514
cmp esi, 0x10
je 0x401888
cmp esi, 0x8000
je 0x40185e
mov al, byte [0x40e37d]
test al, al
jne case.0x4017f4.514
cmp esi, 0x104
ja 0x4017e1
je case.0x4017f4.513
lea eax, [esi - 0x18]
cmp eax, 0xe8
ja case.0x4017f4.514
xor ecx, ecx
mov cl, byte [eax + 0x4018d0]
jmp dword [ecx*4 + 0x4018bc]
test ebx, ebx
je case.0x4017f4.514
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esp + 0x24]
push edx
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x10
push 0
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x10
test ebx, ebx
jne case.0x4017f4.514
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x4017f4.514
lea eax, [esi - 0x200]
cmp eax, 7
ja case.0x4017f4.514
xor edx, edx
mov dl, byte [eax + 0x4019c8]
jmp dword [edx*4 + 0x4019bc]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x40e36c]
mov eax, dword [esp + 0x10]
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [esp + 0xc]
xor ecx, edx
sub ecx, edx
mov edx, dword [0x40e368]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [0x40b078]
cmp ecx, eax
jbe case.0x4017f4.514
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [0x40e368], edx
mov dword [0x40e36c], eax
jmp case.0x4017f4.514
mov al, byte [0x40e398]
test al, al
jne case.0x4017f4.514
mov eax, dword [0x40e384]
test eax, eax
je 0x4017c0
mov ecx, dword [esp + 0x18]
push ecx
call eax
pop edi
pop esi
pop ebx
add esp, 8
ret 0x10
mov al, byte [0x40e398]
test al, al
jne case.0x4017f4.514
push edi
call fcn.00401f30
add esp, 4
test eax, eax
jne case.0x4017f4.514
push 0x40e368
call dword [sym.imp.USER32.dll_GetCursorPos]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x401e10
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x402110
mov al, byte [0x40e398]
sub esp, 0xc
test al, al
jne 0x4021cd
mov eax, dword [0x40e380]
test eax, eax
je 0x40212e
call fcn.004021e0
lea eax, [esp]
push eax
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4021cd
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.ScreenSaveUsePassword
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4021c2
mov eax, dword [esp + 8]
test eax, eax
je 0x4021c2
push str.PASSWORD.CPL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x40e380], eax
je 0x4021c2
push str.VerifyScreenSavePwd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x40e384], eax
je 0x4021bd
push 1
call fcn.00401710
mov ecx, dword [esp + 4]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret
call fcn.004021e0
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret

Function at 0x402060
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x402093
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
je 0x40208b
cmp al, 0x22
jne 0x402079
inc esi
jmp 0x4020a1
cmp byte [esi], 0x22
jne 0x4020a1
inc esi
jmp 0x4020a1
cmp al, 0x20
jbe 0x4020a1
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
ja 0x402097
mov al, byte [esi]
test al, al
je 0x4020b6
cmp al, 0x20
ja 0x4020b6
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4020a7
lea eax, [esp + 8]
mov dword [esp + 0x34], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [esp + 0x34], 1
je 0x4020db
mov eax, dword [esp + 0x38]
and eax, 0xffff
jmp 0x4020e0
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004014d0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404559
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b4a0
cmp edx, dword [eax]
je 0x40457b
add eax, 8
inc ecx
cmp eax, 0x40b530
jl 0x40456c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b4a0]
jne 0x4046a9
mov eax, dword [0x40e3b8]
cmp eax, 1
je 0x404683
test eax, eax
jne 0x4045ac
cmp dword [0x40b144], 1
je 0x404683
cmp edx, 0xfc
je 0x4046a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4045e3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404626
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40962c
push edi
call fcn.004076e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406960
lea eax, [ebp - 0xa0]
push 0x40960c
push eax
call fcn.00406960
push dword [esi + 0x40b4a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406960
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407648
add esp, 0x2c
pop edi
jmp 0x4046a9
lea eax, [ebp + 8]
lea esi, [esi + 0x40b4a4]
push 0
push eax
push dword [esi]
call fcn.00406de0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x408769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c190
cmp edx, dword [eax]
je 0x40878b
add eax, 8
inc ecx
cmp eax, 0x40c220
jl 0x40877c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c190]
jne 0x4088b9
mov eax, dword [0x40cbb0]
cmp eax, 1
je 0x408893
test eax, eax
jne 0x4087bc
cmp dword [0x40c0e4], 1
je 0x408893
cmp edx, 0xfc
je 0x4088b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4087f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00409490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b45c
push edi
call fcn.00409f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409680
lea eax, [ebp - 0xa0]
push 0x40b43c
push eax
call fcn.00409680
push dword [esi + 0x40c194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00409e75
add esp, 0x2c
pop edi
jmp 0x4088b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40c194]
push 0
push eax
push dword [esi]
call fcn.00409490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x402127
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
xor ebp, ebp
cmp dword [esp + 8], ebp
je 0x402141
push dword [esp + 8]
push 0x402096
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x402194
push esi
mov esi, dword [0x4044a8]
cmp esi, ebp
je 0x402193
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x40218b
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp dword [esi + 0x10], ebp
je 0x40217e
push 3
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push edi
push 0x4044a8
call fcn.0040236d
pop ecx
pop ecx
cmp ebx, ebp
mov esi, ebx
jne 0x40214e
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x401080
Capabilities:
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x228
push ebx
push ebp
push esi
mov esi, dword [esp + 0x238]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
je 0x4010e8
cmp byte [esi], bl
je 0x4010e8
push str.t.tmp
push esi
lea eax, [esp + 0x138]
push str._s_s
push eax
call fcn.004085b0
mov ecx, dword [esp + 0x250]
lea edx, [esp + 0x38]
push ecx
push esi
push str._s_s
push edx
call fcn.004085b0
add esp, 0x20
jmp 0x401119
push str.t.tmp
lea eax, [esp + 0x134]
push 0x4120dc
push eax
call fcn.004085b0
mov ecx, dword [esp + 0x24c]
lea edx, [esp + 0x34]
push ecx
push 0x4120dc
push edx
call fcn.004085b0
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x28]
push 0x4120d8
push ecx
mov ebp, eax
call fcn.0040859d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40120d
lea edx, [esp + 0x20]
push edx
push 0x4120cc
push esi
call fcn.004017a0
add esp, 0xc
test eax, eax
jne 0x4011e9
lea eax, [esp + 0x18]
push eax
push 0x4120c8
push esi
call fcn.004017a0
add esp, 0xc
test eax, eax
jne 0x4011e9
lea ecx, [esp + 0x24]
push ecx
push 0x4120c4
push esi
call fcn.004017a0
add esp, 0xc
test eax, eax
jne 0x4011e9
lea edx, [esp + 0x10]
push edx
push 0x4120bc
push esi
call fcn.004017a0
add esp, 0xc
test eax, eax
jne 0x4011e9
lea eax, [esp + 0x14]
push eax
push 0x412088
push esi
call fcn.004017a0
add esp, 0xc
test eax, eax
jne 0x4011e9
lea ecx, [esp + 0x1c]
push ecx
push 0x412044
push esi
call fcn.004017a0
add esp, 0xc
test eax, eax
jne 0x4011e9
push esi
call fcn.00408527
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret
lea edx, [esp + 0x130]
push 0x412040
push edx
call fcn.0040859d
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x40121a
push esi
call fcn.00408527
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret
push edi
push esi
call fcn.00401290
push esi
call fcn.00408527
push edi
call fcn.00408527
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, ebp
add esp, 0x10
and al, 0xfe
lea ecx, [esp + 0x28]
push eax
push ecx
call esi
lea edx, [esp + 0x28]
push edx
call fcn.004084fd
add esp, 4
test eax, eax
jne 0x40120d
lea eax, [esp + 0x28]
lea ecx, [esp + 0x130]
push eax
push ecx
call fcn.004084cf
add esp, 8
lea edx, [esp + 0x130]
push ebp
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x228
ret
Function at 0x4018c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x40f685
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 0x4102ac
mov eax, dword [esp + 0x284]
mov ecx, dword [esp + 0x280]
push eax
push ecx
push str._s_s
lea edx, [esp + 0x170]
push 0x105
push edx
mov dword [esp + 0x288], 1
call fcn.004020f0
add esp, 0x14
lea eax, [esp + 0x24]
lea ecx, [esp + 0x164]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x401955
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4019d6
test byte [esp + 0x24], 0x10
jne 0x4019bf
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.00408a4a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4019bf
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 8
call fcn.00408a4a
add esp, 4
cmp eax, ebx
je 0x401998
mov dword [eax], esi
mov dword [eax + 4], ebx
jmp 0x40199a
xor eax, eax
cmp edi, ebx
jne 0x4019a4
mov dword [esp + 0x14], eax
mov edi, eax
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4019b2
mov dword [ecx + 4], eax
mov dword [eax + 4], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x401955
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x27c]
cmp edi, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi], 0x4102ac
je 0x401a33
mov ebp, dword [edi]
push 8
call fcn.00408a4a
add esp, 4
cmp eax, ebx
je 0x401a07
mov dword [eax], ebp
mov dword [eax + 4], ebx
jmp 0x401a09
xor eax, eax
cmp dword [esi + 4], ebx
jne 0x401a11
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x401a1e
mov dword [ecx + 4], eax
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], eax
inc ecx
mov dword [esi + 0xc], ecx
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x4019f0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], 1
cmp edi, ebx
mov byte [esp + 0x274], bl
je 0x401a7b
jmp 0x401a4c
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, edi
mov edi, dword [edi + 4]
cmp eax, ecx
mov dword [esp + 0x14], edi
jne 0x401a61
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x1c]
dec edx
cmp eax, ebx
mov dword [esp + 0x1c], edx
je 0x401a77
push eax
call fcn.00408a3f
add esp, 4
cmp edi, ebx
jne 0x401a48
mov ecx, dword [esp + 0x26c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x268
ret