joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c742
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
call fcn.0042e166
mov dword [ebp - 0x234], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00499dd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.drivers
lea eax, [ebp - 0x214]
push eax
call esi
lea ecx, [ebp - 0x214]
call fcn.0045c358
push ebx
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c7f2
push eax
lea eax, [ebp - 0x214]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x45c883
push edi
lea ecx, [ebp - 0x214]
call fcn.0042d679
test eax, eax
jne 0x45c881
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x214]
push eax
push edi
call esi
test eax, eax
jne 0x45c881
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0045c332
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
pop ecx
pop ecx
jae 0x45c843
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x45c86e
push ebx
lea eax, [ebp - 0x214]
push eax
push edi
call esi
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 8
jmp 0x45c871
push 9
pop edi
push ebx
push 1
lea esi, [ebp - 0x230]
call fcn.00403ead
jmp 0x45c883
xor edi, edi
push dword [ebp - 0x234]
call fcn.0042e1a6
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049795f
leave
ret
Function at 0x45cdc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c8
mov eax, 0x4b4c1d
call fcn.004991ba
mov eax, dword [ebp + 8]
mov edi, ecx
mov esi, edi
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2cc], eax
call fcn.0045cfe9
push 0x4ea2c8
lea eax, [ebp - 0x98]
call fcn.00460c42
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4ea350]
cmp word [eax], bx
jne 0x45ceff
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x98]
push eax
call fcn.00460ebe
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x45ce67
push str.Error_opening_file
mov eax, edi
call fcn.0045d82b
mov bl, al
lea ecx, [ebp - 0x98]
call fcn.00460c62
mov al, bl
call fcn.0049923d
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x45ce7c
push ebx
push str.File_is_empty
jmp 0x45ce49
cmp esi, 0x400000
jbe 0x45ce8c
push ebx
push str.File_too_large
jmp 0x45ce49
push esi
mov dword [ebp - 0x2cc], ebx
call fcn.004a40c3
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x45cee4
push edi
call fcn.004a4fea
mov esi, dword [ebp - 0x2d4]
pop ecx
call fcn.0045cfe9
push ebx
push str.Could_not_read_file
mov eax, esi
jmp 0x45ce4b
push esi
push edi
push dword [ebp - 0x2d4]
call fcn.0045cd35
push edi
mov bl, al
call fcn.004a4fea
pop ecx
jmp 0x45ce52
push eax
lea eax, [ebp - 0x98]
call fcn.00460c73
cmp byte [0x4e9717], bl
je 0x45cf1b
mov esi, dword [0x4ef24c]
jmp 0x45cf29
push dword [ebp - 0x98]
call fcn.0047da55
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x45cf38
push ebx
push str.Error_opening_zip_file
jmp 0x45ce49
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c8]
push eax
push esi
lea edx, [ebp - 0x2d0]
call fcn.0047daab
pop ecx
pop ecx
test eax, eax
je 0x45cf62
push ebx
push str.Could_not_find_ziped_file
jmp 0x45ce49
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2cc], eax
cmp eax, ebx
je 0x45ce74
cmp eax, 0x400000
ja 0x45ce84
push eax
call fcn.004a40c3
pop ecx
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
mov eax, esi
call fcn.0047db7d
add esp, 0xc
cmp eax, ebx
je 0x45cfd1
cmp eax, 0x600
je 0x45cfd1
push edi
call fcn.004a4fea
pop ecx
cmp byte [0x4e9717], bl
jne 0x45cfc0
call fcn.0047dbaf
mov eax, dword [ebp - 0x2d4]
push ebx
push str.Could_not_unzip_file
jmp 0x45ce4b
cmp byte [0x4e9717], bl
jne 0x45cfde
call fcn.0047dbaf
push dword [ebp - 0x2cc]
jmp 0x45cee5
Function at 0x45edb7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x694], ebx
je 0x45ee23
cmp dword [ebp + 8], 0x100
jne 0x45ee12
cmp word [ebp + 0xc], 0xd
jne 0x45ee12
cmp byte [edi + 0x69a], bl
jne 0x45edf5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45ee12
cmp byte [edi + 0x69b], bl
je 0x45ee12
push esi
mov esi, dword [edi + 0x5c]
cmp esi, ebx
je 0x45ee0d
push 1
push ebx
push ebx
push ebx
push edi
mov ecx, str.return
call fcn.0046506b
xor eax, eax
pop esi
jmp 0x45ee26
mov eax, dword [edi + 0x694]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x461609
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x46161f
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x46162b
or edi, 2
push 1
call esi
test ax, ax
jge 0x461637
or edi, 1
push 0x10
call esi
test ax, ax
jge 0x461643
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x46164f
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x4620e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x2dc], edi
jle 0x462127
mov eax, dword [esi + 0x2d8]
lea edx, [ebp + 0xf]
push edx
push dword [ebp + 0x10]
mov byte [ebp + 0xf], 0
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
call dword [eax]
cmp byte [ebp + 0xf], 0
jne 0x462195
inc edi
cmp edi, dword [esi + 0x2dc]
jl 0x4620fc
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x4621fa
sub eax, 4
je 0x462199
dec eax
dec eax
jne 0x4621f1
cmp dword [esi + 0xe4], eax
je 0x4621f1
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push ebx
stosw word es:[edi], ax
call fcn.004a55a7
pop ecx
mov ecx, dword [esi + 0xe4]
push sendto
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x46660c
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x4621f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x4621f3
mov edx, dword [esi + 0xe8]
test edx, edx
je 0x4621f1
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], edx
mov word [ebp - 0x10], bx
mov dword [ebp - 0x14], eax
call fcn.00461609
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, 9
jne 0x4621f1
cmp dword [esi + 0xe8], 0
je 0x462257
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x462257
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x462257
mov ecx, dword [esi + 0xe8]
mov eax, dword [ecx]
push str.RichEdit
call dword [eax + 0x10]
push eax
call fcn.004a5cd6
pop ecx
pop ecx
test eax, eax
je 0x462257
mov eax, dword [esi + 0xe8]
cmp byte [eax + 0x699], 0
jne 0x4621f1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
call fcn.00464d59
jmp 0x462195
Function at 0x46491f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
je 0x46495e
mov ecx, dword [esi + 0x84]
cmp eax, ecx
je 0x46495e
cmp ebx, dword [esi + 0xe8]
je 0x46495e
cmp byte [esi + 0xe0], 0
jne 0x46495e
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xe8]
cmp ebx, eax
je 0x464a3d
test eax, eax
je 0x4649c1
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor edi, edi
push edi
push edi
push edi
push dword [esi + 0xe8]
mov ecx, str.killfocus
call fcn.0046506b
mov dword [esi + 0xe8], edi
test ebx, ebx
je 0x464a3d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
cmp eax, esi
jne 0x464a3d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xdc]
test al, al
je 0x464a3d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x464a3d
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esi + 0xe8], ebx
mov dword [esp + 0x10], 0x15
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
xor eax, eax
push eax
push eax
push eax
push dword [esi + 0xe8]
mov ecx, str.setfocus
call fcn.0046506b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46d9f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, str.selected
push esi
mov si, word [eax]
cmp si, word [edx]
jne 0x46da21
test si, si
je 0x46da1d
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x46da21
add eax, 4
add edx, 4
test si, si
jne 0x46d9fb
xor eax, eax
jmp 0x46da26
sbb eax, eax
sbb eax, 0xffffffff
pop esi
test eax, eax
jne 0x46da3d
add ecx, 0x658
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x1c]
ret 8
jmp fcn.00473750
Function at 0x476686
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebx + 0x10], esi
call fcn.00476838
mov ecx, dword [ebx + 0x10]
mov esi, dword [esi + 0x6f0]
mov eax, dword [ecx + 0x668]
or esi, 0x40000080
mov dword [ebp + 8], esi
test al, 1
je 0x4766c5
or esi, 1
jmp 0x4766cc
test al, 2
je 0x4766cf
or esi, 2
mov dword [ebp + 8], esi
cmp byte [ecx + 0x6e1], 0
je 0x4766de
or esi, 0x20
mov dword [ebp + 8], esi
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push dword [ebp + 8]
push dword [eax + 0x84]
push ebx
call fcn.0045d880
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x664]
cmp eax, 0xffffffff
je 0x476720
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
call fcn.00465763
cmp eax, edi
jne 0x47672f
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
call fcn.0046534e
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push edi
push dword [eax + 0x6dc]
push 0xc5
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e1], 0
je 0x476772
movzx eax, word [eax + 0x6e4]
push edi
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x98]
call fcn.00460c62
push edi
push edi
push 0xb9
push dword [ebx + 4]
call esi
push edi
push 3
push 0xd3
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xe8]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp byte [eax + 0x6e0], 1
push edi
sete cl
push ecx
push 0xcf
push dword [ebx + 4]
call esi
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e2], 0
push dword [ebx + 4]
je 0x47681b
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jne 0x476817
xor eax, eax
inc eax
push eax
push edi
jmp 0x476823
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [ebx + 4]
call esi
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4
Function at 0x476d2f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp dword [edi + 0x10], ebx
je 0x476db1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.004a3360
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x476db1
push esi
push dword [ebp - 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x10]
push dword [ebp - 8]
add eax, 0x1e4
call fcn.00460e3d
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
push 1
push ebx
push ebx
push ebx
push ecx
call dword [eax + 0x24]
mov ecx, str.textchanged
mov esi, eax
call fcn.0046506b
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp byte [eax + 0x14d], bl
je 0x476db1
push dword [edi + 0x10]
call fcn.004734de
xor eax, eax
lea esp, [ebp - 0x10]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049795f
leave
ret

Function at 0x4772ea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.00472a69
mov eax, dword [ebx + 0x6d8]
test eax, eax
je 0x477370
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00476838
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x477343
mov eax, dword [ebx + 0x6d8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x477370
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0x54
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x6d8]
push dword [esp + 0x20]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x477379
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00472e4e
mov eax, dword [esi + 0x6d8]
test eax, eax
je 0x4773f7
lea ecx, [esp + 8]
push ecx
push eax
call fcn.00476838
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4773ca
mov eax, dword [esi + 0x6d8]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4773f7
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x54
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov eax, dword [esi + 0x6d8]
push dword [esp + 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x477ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0x14
mov ebx, ecx
jne 0x477bd9
mov eax, dword [ebx]
call dword [eax + 0xe8]
test al, al
je 0x477bd9
mov eax, dword [ebx + 0xc98]
test eax, eax
je 0x477bd2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.00477d8c
cmp dword [edi], 0xe
jne 0x477c8b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe8]
test al, al
je 0x477c8b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov esi, eax
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebx + 0xc98], esi
jne 0x477c4c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [ebx]
mov edi, dword [0x4ef250]
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [eax + 0x84]
push esi
push edi
push 0x1911
push eax
push esi
push esi
push esi
push esi
push 0x50000000
push esi
push str.SysDateTimePick32
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0xc98], eax
lea eax, [ebx + 0xc88]
push eax
push esi
push 0x1002
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x40
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.00466eaf
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x477dfc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc98], 0
push esi
push edi
je 0x477e7b
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00477c9a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp eax, ecx
jl 0x477e66
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x20]
cmp ecx, edx
jl 0x477e66
push 0
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x477e7b
push 0
push dword [ebx + 0xc98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebx
call fcn.00477d8c
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47bf75
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x47bf82
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x47c034
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4c8d70]
inc ecx
sub edi, 8
dec esi
jne 0x47bf99
pop ebx
test edi, edi
je 0x47c04d
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4c8d70]
inc ecx
dec edi
jne 0x47c038
pop esi
not eax
pop edi
ret

Function at 0x47c738
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x47c768
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47c763
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x47c790
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x47c779
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0049a300
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x48c599
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
and dword [eax + 0x6e8], 0
cmp dword [ebx + 4], 0
push esi
push edi
jne 0x48c60e
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.0048c67e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push dword [eax + 0x84]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0045d880
mov ecx, dword [ebx + 0x10]
push dword [ecx + 0x664]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00465929
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
mov eax, dword [eax]
cmp word [eax], 0
lea ecx, [ebp - 0x98]
sete byte [ebp + 0xb]
call fcn.00460c62
cmp byte [ebp + 0xb], 0
mov esi, 0x6d8
je 0x48c649
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4

Function at 0x48ca2e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.00472a69
mov eax, dword [ebx + 0x6f0]
test eax, eax
je 0x48cab3
lea ecx, [esp + 0x10]
push ecx
call fcn.0048c67e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x48ca86
mov eax, dword [ebx + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48cab3
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0x54
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x6f0]
push dword [esp + 0x20]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x48cabc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00472e4e
mov eax, dword [esi + 0x6f0]
test eax, eax
je 0x48cb39
lea ecx, [esp + 8]
push ecx
call fcn.0048c67e
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x48cb0c
mov eax, dword [esi + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48cb39
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x54
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov eax, dword [esi + 0x6f0]
push dword [esp + 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov esp, ebp
pop ebp
ret 0xc