joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x416da8
cmp dword [esi + 0x6af90], 3
jb 0x416c18
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
test ebx, ebx
je 0x416c55
mov eax, dword [esi + 0x6af84]
sub eax, ebx
cmp eax, 0x7efa
ja 0x416c55
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x416c3f
mov dword [esi + 0x6afa0], eax
mov edx, ebx
mov ecx, esi
call fcn.00416870
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, esi
cmp edi, 3
jb 0x416d28
mov edx, dword [esi + 0x6af84]
lea eax, [edi - 3]
sub edx, dword [esi + 0x6af88]
push eax
call fcn.00416060
sub dword [esi + 0x6af90], edi
add esp, 4
mov dword [ebp - 4], eax
cmp edi, dword [esi + 0x6af98]
ja 0x416cef
cmp dword [esi + 0x6af90], 3
jb 0x416cef
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [esi + edx + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x416c93
mov eax, dword [ebp - 4]
jmp 0x416d47
add dword [esi + 0x6af84], edi
xor edi, edi
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [eax + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [ebp - 4]
jmp 0x416d4d
mov eax, dword [esi + 0x6af84]
xor edx, edx
movzx eax, byte [eax + esi + 0x1af70]
push eax
call fcn.00416060
add esp, 4
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x416d88
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x416d65
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x416d67
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00415eb0
mov eax, dword [esi + 0x6af84]
add esp, 8
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x416d9b
mov ecx, esi
call fcn.00416a40
cmp dword [esi + 0x6af90], 0
jne 0x416bc3
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x416dbc
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x416dbe
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00415eb0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417c70
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x417d48
mov eax, dword [esi + 0x3c]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x417ca4
cmp dword [esi + 0x40], ebx
jae 0x417ca4
push eax
call fcn.004c716b
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x417cbc
lea eax, [ebx + ebx]
push eax
call fcn.004c71b1
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push dword [esi + 0x3c]
call fcn.004c9ec0
xor edx, edx
add esp, 0xc
mov dword [ebp + 8], edx
test ebx, ebx
je 0x417d45
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
shr ecx, 8
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, dword [esi + 0x30]
or edi, 2
movzx eax, al
mov eax, dword [eax*4 + 0x52fdb8]
xor eax, ecx
mov ecx, edi
mov dword [esi + 0x30], eax
xor ecx, 1
movzx eax, al
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
shr edx, 8
xor edx, dword [eax*4 + 0x52fdb8]
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp + 8], edx
cmp edx, dword [ebp + 0xc]
jb 0x417cd2
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x417d86
mov edx, dword [esi + 0x24]
mov ebx, dword [ebp + 0xc]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x417d6d
pop edi
mov dword [esi + 0x14], 0x30000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
push ebx
add ecx, edx
push edi
push ecx
call fcn.004c9ec0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x417da8
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x418010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x84]
test edx, edx
je 0x41808a
mov ecx, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp ecx, edi
jae 0x4180ca
mov ebx, dword [ebp + 8]
lea eax, [ecx + edx]
sub edi, ecx
cmp edi, dword [ebp + 0xc]
cmova edi, dword [ebp + 0xc]
push edi
push eax
push ebx
call fcn.004c9ec0
add dword [esi + 0x8c], edi
add esp, 0xc
add dword [esi + 0x74], edi
test ebx, ebx
jne 0x41806e
xor eax, eax
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x78]
mov edx, ebx
push edi
call fcn.00418fb0
add esp, 4
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4180c3
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 4]
push 0
push ecx
push dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4180ca
mov edi, dword [ebp - 4]
add dword [esi + 0x74], edi
test ebx, ebx
jne 0x41806e
xor eax, eax
mov dword [esi + 0x78], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x14], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x418f90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x418f9b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00418fb0
Function at 0x41edd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x41a
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
test eax, eax
je 0x41ee39
lea eax, [ebp - 0x104]
push eax
push str.mailto:_s
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.00407130
add esp, 0x10
lea eax, [ebp - 0x304]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c715a
mov esp, ebp
pop ebp
ret

Function at 0x41f7f0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
push 8
push ecx
mov esi, edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi]
mov edi, eax
cmp ecx, dword [edi + 0x134]
jne 0x41f87b
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebx
push 0xa0
call esi
mov ebx, 0x8000
test bx, ax
je 0x41f85a
push 0xa4
call esi
test bx, ax
je 0x41f85a
push 0xa2
call esi
test bx, ax
je 0x41f85a
mov eax, dword [edi + 0x208]
mov ecx, eax
not ecx
xor ecx, eax
and ecx, 0x10
xor ecx, eax
mov dword [edi + 0x208], ecx
mov ecx, edi
pop ebx
pop edi
pop esi
jmp fcn.0041f5a0
mov ecx, edi
call fcn.0041f150
test eax, eax
je 0x41f87a
push 0
push 1
push 0x471
push dword [edi + 0x108]
call dword [sym.imp.USER32.dll_PostMessageW]
pop ebx
pop edi
pop esi
ret

Function at 0x41fdb0
Capabilities:
Check if file exists
Get file attributes
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
lea eax, [ebp - 0x2f4]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.004ca440
push 0x2b4
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2f0], SysStringLen
push 0
push eax
mov dword [ebp - 0x2f4], 7
lea ebx, [esi + 0x14]
call fcn.004ca440
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41fe3d
push 0x4011
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x41fe3d
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2f4]
push eax
push 0
push 0x104d
mov dword [ebp - 0x2e0], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [ebp - 0x2d4], esi
call ebx
cmp byte [ebp + 8], 0
mov dword [esi + 0xc], eax
je 0x41fe83
push 0x41fc50
push edi
push 0x1030
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c715a
mov esp, ebp
pop ebp
ret
Function at 0x420000
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
push 8
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
mov ebx, 0x41
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [esi + 0x134]
push 0
push 0
push 0xb
push edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 1
lea ecx, [ebx - 7]
lea edx, [ebx + 0x1b]
test dword [ebp - 0x4c], esi
je 0x4200b8
xor eax, eax
mov word [ebp - 0x44], bx
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x42], 0x5c003a
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x420080
cmp eax, 6
jne 0x4200bd
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.0041fd10
test eax, eax
jne 0x4200af
lea ecx, [ebp - 0x44]
call fcn.004299a0
test eax, eax
je 0x4200af
push 0
mov edx, eax
mov dword [eax + 0x10], 0
mov ecx, edi
call fcn.0041fdb0
add esp, 4
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
jmp 0x4200c0
mov eax, dword [ebp - 0x48]
jmp 0x4200c8
mov eax, dword [ebp - 0x48]
mov edx, 0x5c
lea ecx, [edx - 0x22]
inc ebx
add esi, esi
jne 0x420056
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4200e5
push 0x41fc50
push edi
push 0x1030
push edi
call ebx
push 0
push 1
push 0xb
push edi
call ebx
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 8
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
mov esi, eax
push 0
push 0x1004
push dword [esi + 0x134]
call ebx
neg eax
sbb eax, eax
and eax, 2
inc eax
push eax
push 0
push 0x470
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c715a
mov esp, ebp
pop ebp
ret
Function at 0x420150
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 0
lea edx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x420180
push 0x1000
push 8
push dword [0x576b44]
sub edi, edx
mov dword [ebp - 0x50], 0x1000
xor ebx, ebx
sar edi, 1
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4202d7
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 1
push dword [ebp + 8]
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x4202c8
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x4202bf
push edi
push dword [ebp - 0x58]
push dword [esi + 0x14]
call fcn.004cde61
add esp, 0xc
test eax, eax
je 0x4202a5
cmp dword [esi + 4], 1
jne 0x420287
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
test eax, eax
je 0x42023c
movzx ecx, word [eax]
test cx, cx
je 0x42023c
cmp word [eax + 2], 0x3a
jne 0x42023c
xor eax, eax
mov word [ebp - 0x44], cx
mov dword [ebp - 0x42], 0x5c003a
lea ebx, [ebp - 0x44]
mov word [ebp - 0x3e], ax
push dword [ebp - 0x58]
push ebx
call fcn.004ce01a
add esp, 8
test eax, eax
je 0x420284
mov ecx, dword [ebp - 0x5c]
mov edx, ebx
call fcn.0041fd10
test eax, eax
jne 0x42027b
mov ecx, ebx
call fcn.004299a0
test eax, eax
je 0x42027b
mov ecx, dword [ebp - 0x5c]
mov edx, eax
push 0
mov dword [eax + 0x10], 1
call fcn.0041fdb0
add esp, 4
mov ebx, dword [ebp - 0x4c]
inc ebx
mov dword [ebp - 0x4c], ebx
jmp 0x420287
mov ebx, dword [ebp - 0x4c]
push 0x1000
push 0
push esi
call fcn.004ca440
add esp, 0xc
mov dword [ebp - 0x50], 0x1000
mov dword [ebp - 0x54], 1
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x4201f2
push dword [ebp - 0x48]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
push esi
push 0
push dword [0x576b44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c715a
mov esp, ebp
pop ebp
ret
Function at 0x4202f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
push 8
push eax
mov dword [ebp - 0x214], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov edi, dword [eax + 0x134]
push 0xb
push edi
mov dword [ebp - 0x210], 0x102
call ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x5c005c
push eax
push 3
mov ecx, edi
call fcn.00420150
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x20c]
push eax
push 1
call fcn.00420150
add esp, 0x10
add eax, esi
je 0x42038b
push 0x41fc50
push edi
push 0x1030
push edi
call ebx
push 0
push 1
push 0xb
push edi
call ebx
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 8
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
mov esi, eax
push 0
push 0x1004
push dword [esi + 0x134]
call ebx
neg eax
sbb eax, eax
and eax, 2
inc eax
push eax
push 0
push 0x470
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c715a
mov esp, ebp
pop ebp
ret
Function at 0x420540
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2b4
lea eax, [ebp - 0x2c0]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x2c4], esi
call fcn.004ca440
add esp, 0xc
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov edi, dword [ebx + 0x134]
test edi, edi
je 0x420674
push ecx
xor edx, edx
mov ecx, edi
call fcn.00429ee0
add esp, 4
push 0x41fbb0
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x4011
push 0x2b4
mov dword [0x576af0], eax
lea eax, [ebp - 0x2c0]
push eax
push 0x10
push str.Folder
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c8], eax
test ecx, ecx
je 0x4205e8
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x2c8]
push eax
push 1
push 0x1003
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
add ebx, 0x174
cmp dword [ebx], ebx
je 0x420693
mov esi, dword [ebx]
cmp esi, ebx
je 0x420645
nop dword [eax + eax]
lea edx, [esi + 0x14]
mov ecx, edi
call fcn.0041fd10
test eax, eax
jne 0x42063f
lea ecx, [esi + 0x14]
call fcn.004299a0
test eax, eax
je 0x42063f
push 1
mov edx, eax
mov dword [eax + 0x10], 3
mov ecx, edi
call fcn.0041fdb0
add esp, 4
mov esi, dword [esi]
cmp esi, ebx
jne 0x420610
mov esi, dword [ebp - 0x2c4]
lea eax, [ebp - 0x304]
mov dword [ebp - 0x2f4], 3
push eax
push 0
push 0x102b
push edi
mov dword [ebp - 0x2f8], 3
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push esi
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c715a
mov esp, ebp
pop ebp
ret
cmp dword [0x576b4c], 0
mov ecx, esi
jne 0x4206a5
call fcn.00420000
jmp 0x42064b
call fcn.0041ff80
jmp 0x42064b
Function at 0x4212b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x551764]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 8
push ebx
mov esi, edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push ebx
mov dword [ebp - 0x218], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x214]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x58
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.004ca440
add esp, 0xc
mov dword [ebp - 0x240], 0x8a4000
cmp dword [0x576b50], 0x400
mov ecx, 0x4c
mov eax, 0x58
mov dword [ebp - 0x254], 0x104
cmove eax, ecx
mov dword [ebp - 0x25c], 1
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x258], eax
mov eax, dword [0x576b48]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - 0x268], str.All_Files__._
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x270], ebx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x4213b6
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x218]
and dword [eax + 0x208], 0xfffffffb
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c715a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c715a
mov esp, ebp
pop ebp
ret

Function at 0x4224d0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x90]
push dword [eax + 0x7c]
push str.Seeds
call fcn.00427180
cmp dword [esi + 0x19c], 0
mov ebx, dword [esi + 0x90]
je 0x42253d
cmp dword [esi + 0x198], 0
je 0x42253d
mov eax, dword [esi + 0x170]
mov ecx, ebx
push edi
mov edi, dword [esi + 0x19c]
push str.Passwords
mov esi, dword [eax + 0x7c]
call fcn.00427230
push esi
push eax
mov ecx, ebx
call fcn.00427330
push edi
push eax
mov ecx, ebx
call fcn.004273d0
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.00426e90
pop esi
pop ebx
ret
Function at 0x4228e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push edi
push 0x3ff
mov edi, edx
push dword [ebx + 0x10c]
call esi
push 0x404
push dword [ebx + 0x10c]
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 8], eax
test edi, edi
jne 0x422938
test byte [ebx + 0x208], 1
je 0x422938
push 0x548118
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, ebx
call fcn.00422540
jmp 0x4229c3
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push str.Error:_Failed_to_crack_the_password.
push eax
call esi
push 0x52e110
push dword [ebx + 0x12c]
call esi
push 1
push dword [ebx + 0x12c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x19c]
test eax, eax
je 0x422974
push eax
call fcn.004c716b
add esp, 4
mov dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0
mov dword [ebx + 0x19c], 0
mov eax, dword [ebx + 0x1a8]
test eax, eax
je 0x4229a5
push eax
call fcn.004c716b
add esp, 4
mov dword [ebx + 0x1a0], 0
mov dword [ebx + 0x1a4], 0
mov dword [ebx + 0x1a8], 0
mov ecx, ebx
call fcn.004224d0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
call esi
push 5
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push 8
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
push dword [ebx + 0x184]
push dword [ebx + 0x11c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
xor ecx, ecx
mov eax, 5
cmp dword [ebx + 0x3c], 1
push 0x403
push 0x3f0
cmove ecx, eax
push ecx
push 0x42a0f0
push esi
call fcn.0042a130
add esp, 0x18
push 0x404
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x3ff
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call esi
mov eax, dword [ebx + 0x234]
mov ecx, dword [ebp - 4]
push eax
push 0
push 0x1401
push ecx
mov dword [ebx + 0x20c], 0x430e40
mov dword [ebx + 0x210], ebx
mov dword [ebx + 0x214], 0
mov dword [ebx + 0x218], 0x3e8
mov dword [ebx + 0x24c], ecx
mov dword [ebx + 0x234], 0
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx + 0x208], 0xfffffffe
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423620
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push 8
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov edx, dword [ebx + 0x208]
shr edx, 9
not edx
and edx, 1
push edx
push 0x3e8
push esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
cmp dword [0x576b50], 0x600
jb 0x423666
cmp dword [ebx + 0x2a4], 2
je 0x42366f
cmp dword [ebx + 0x2a4], 4
jne 0x4236ab
push 0x40a
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3e9
push dword [ebp - 4]
call esi
push 0
push 1
mov esi, eax
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Decrypt
push 0
push 0x479
push dword [ebx + 0x108]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4236d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x407
push edi
mov esi, eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x42370c
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 4]
mov ebx, 5
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x3e9
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0
push 0x160c
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push 0
push 0x470
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret