joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x425387
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x42545d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4bfcb0]
add ecx, 8
sub edx, 8
dec esi
jne 0x4253a0
pop edi
test edx, edx
je 0x42547a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4bfcb0]
inc ecx
dec edx
jne 0x425461
not eax
pop esi
ret

Function at 0x425c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x425c46
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425c3c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x425c57
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.00498220
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x425c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x425cb3
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425cae
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x425cde
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x425cc5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.00498220
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x425cf3
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x425ced
cmp byte [esi + 8], 0
je 0x425ced
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x425d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x425dd7
cmp byte [esi + 1], 0
je 0x425ddf
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x425df1
cmp byte [esi + 1], 0
je 0x425de5
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x425df9
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x425db1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x425df9
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x425e0b
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.004964e7
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x425e25
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x425f39
jmp 0x425e49
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x425e58
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x425e6f
mov ebx, 0x404
cmp byte [esi], 0
je 0x425e94
cmp byte [esi + 1], 0
je 0x425f39
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x425e97
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x425ec0
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425ebb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x425ee9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x425ed1
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.00498220
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x425f39
lea eax, [ebx - 3]
test eax, eax
jle 0x425f2d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x425f1f
cmp byte [eax + ecx + 1], 0x4b
jne 0x425f1f
cmp byte [eax + ecx + 2], 5
jne 0x425f1f
cmp byte [eax + ecx + 3], 6
je 0x425f25
test eax, eax
jg 0x425f00
jmp 0x425f2d
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x425f39
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x425e40
mov eax, dword [ebp - 0x10]
push eax
call fcn.004964ad
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x426ee6
cmp dword [esi + 4], 0xffffffff
jne 0x426ee6
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x426e80
mov eax, dword [0x4be818]
mov dword [edi], eax
cmp ebx, 1
jne 0x426eb1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, ebx
je 0x426eb1
mov eax, 0x2000000
pop edi
pop ecx
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp + 8]
push edx
push eax
push ecx
mov edi, ebx
call fcn.00425ae0
add esp, 0xc
test eax, eax
jne 0x426ed4
mov eax, dword [ebp + 8]
pop edi
pop ecx
pop ebp
ret 8
call fcn.00425f50
mov dword [esi], eax
mov eax, dword [0x4deb08]
pop edi
pop ecx
pop ebp
ret 8
mov eax, 0x1000000
pop edi
pop ecx
pop ebp
ret 8

Function at 0x42b780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x42b7a4
cmp eax, edi
jge 0x42b79c
call fcn.0042ae60
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor eax, eax
test edi, edi
jle 0x42b7cf
mov ecx, dword [esi + 0xc]
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + eax - 4], dl
shr ecx, 8
mov ebx, edi
inc eax
mov dword [esi + 0xc], ecx
test ebx, ebx
jg 0x42b7b0
mov dword [esi + 8], ebx
cmp eax, 4
jge 0x42b7ee
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x42b7dc
xor ecx, ecx
jmp 0x42b7e4
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
movzx ecx, dl
mov byte [ebp + eax - 4], cl
inc eax
cmp eax, 4
jl 0x42b7d2
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x42b827
mov dword [0x4de744], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x42b843
pop edi
pop esi
mov dword [0x4de744], 0x4c2c0c
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
add edx, ebx
cmp edx, dword [esi + 0x18]
jbe 0x42b85a
mov ecx, ebx
mov edi, esi
call fcn.0042aea0
test eax, eax
je 0x42b81e
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
push ebx
push edi
push eax
call fcn.00498220
mov eax, dword [esi + 0x10]
add edi, ebx
add esp, 0xc
add eax, ebx
mov dword [esi], edi
pop edi
mov dword [esi + 0x10], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
je 0x4328c7
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x4328a6
cmp bx, 0xd
jne 0x4328a6
cmp byte [esi + 0x4da], 0
je 0x432884
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4328a6
cmp byte [esi + 0x4db], 0
jne 0x4328a6
mov edi, dword [esi + 0x40]
test edi, edi
je 0x43289d
push 0
push 0
push 0
push str.return
mov ecx, esi
call fcn.004188b0
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x437620
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b37ab
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4d897c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x10
call fcn.0045c9b6
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp esi, ebx
je 0x4376c1
push 0x28
mov dword [esi + 8], ebx
call fcn.0045c9b6
add esp, 4
cmp eax, ebx
je 0x437698
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov byte [eax + 0x20], 1
mov ecx, dword [esi + 4]
mov byte [ecx + 0x21], 1
jmp 0x4376c3
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.00494c7d
push 0x4d2f60
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.00497cbe
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437830
mov dword [esp + 0x10], 1
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, method.DuiLib::CActiveXFrameWnd.virtual_36
xor ebx, ebx
mov dword [esp + 0x10], 2
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, method.DuiLib::CActiveXCtrl.2.virtual_28
mov dword [esp + 0x10], 0x14
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437970
mov dword [esp + 0x10], 5
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, method.DuiLib::CActiveXFrameWnd.virtual_36
mov dword [esp + 0x10], 0x85
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437b50
mov dword [esp + 0x10], 0x86
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, method.DuiLib::CActiveXFrameWnd.virtual_36
mov dword [esp + 0x10], 0x83
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437b80
mov dword [esp + 0x10], 0x84
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437de0
mov dword [esp + 0x10], 0x112
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437e50
mov dword [esp + 0x10], 0x24
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x10]
mov eax, esi
mov edi, 0x437f80
mov dword [esp + 0x10], 0x18
call fcn.00438010
mov dword [eax], edi
mov dword [eax + 4], ebx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x4d897c]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 8], eax
mov dword [esi + 0x10], eax
push edi
lea eax, [esp + 0x10]
push eax
mov eax, esi
call fcn.00442b50
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x5b1], 0
mov edi, 0x40000080
je 0x4429a8
mov edi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 0x120]
sub edx, ecx
push edx
mov edx, dword [esp + 0x14]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push edi
push 0
push eax
mov eax, esi
call fcn.0041ff10
mov ecx, dword [esi + 0x10]
mov edi, dword [ecx + 0x4a8]
cmp edi, 0xffffffff
je 0x442a13
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test edi, edi
js 0x442a08
cmp edi, dword [eax + 0x32c]
jge 0x442a08
mov ecx, dword [eax + 0x328]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
jmp 0x442a0f
call fcn.00418cb0
mov eax, dword [eax]
test eax, eax
jne 0x442a24
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
call fcn.00418cb0
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
push ebx
push eax
mov eax, dword [esi + 4]
push 0x30
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x5ac]
mov eax, dword [esi + 4]
push 0
push edx
push 0xc5
push eax
call edi
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x5b1], 0
je 0x442a71
movzx ecx, word [eax + 0x5b2]
mov edx, dword [esi + 4]
push 0
push ecx
push 0xcc
push edx
call edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x442aa2
push eax
call fcn.004964ad
add esp, 4
mov edx, dword [esi + 4]
push 0
push 0
push 0xb9
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 3
push 0xd3
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
mov edx, dword [esi + 4]
xor ecx, ecx
cmp al, bl
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
xor ecx, ecx
cmp byte [eax + 0x5b0], bl
push 0
sete cl
push ecx
push 0xcf
push edx
call edi
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x7cc]
or edx, eax
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xac]
pop edi
mov byte [esi + 0x18], bl
pop ebx
xor ecx, esp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 4
Function at 0x442e60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x442ed2
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.004a7b00
mov ebx, esp
test ebx, ebx
je 0x442ed2
mov ecx, dword [edi + 4]
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 0x10]
add esi, 0x1b8
push ebx
or eax, 0xffffffff
call fcn.0041a260
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
push 0
push 0
push str.textchanged
mov ecx, esi
call eax
mov ecx, esi
mov edi, eax
call fcn.004188b0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
Function at 0x455260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
push ebx
mov dword [eax + 0x5b8], 0
cmp dword [edi + 4], 0
push esi
jne 0x45530f
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x9c], edx
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax + 0x120]
sub ebx, edx
push ebx
sub esi, ecx
push esi
push edx
push ecx
push 0
push 0x40000000
push 0
push eax
mov eax, edi
call fcn.0041ff10
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x4a8]
call eax
mov esi, eax
mov eax, ebx
call fcn.00419180
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x90]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
sete bl
cmp eax, edx
je 0x455342
push eax
call fcn.004964ad
add esp, 4
test bl, bl
je 0x455355
mov eax, dword [edi + 0x10]
add eax, 0x5a8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x5a8
push ecx
push 0
push 0x1002
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov byte [edi + 0x18], 1
pop ebx
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 4
Function at 0x45dacd
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0xa0], 5
jne 0x45daf6
cmp dword [ebp + 0xc], ebx
je 0x45daf6
mov ecx, esi
call fcn.0045da18
mov eax, 0x80004005
jmp 0x45dbfb
cmp dword [esi + 0x5c], ebx
jne 0x45db1b
cmp dword [esi + 0xa4], ebx
je 0x45db14
mov eax, dword [esi + 0xa4]
mov edx, dword [eax]
add esi, 0x14
push esi
mov ecx, eax
call dword [edx + 0x14]
xor eax, eax
jmp 0x45dbfb
push edi
cmp byte [esi + 0x70], bl
jne 0x45db2e
cmp byte [esi + 0x7c], bl
jne 0x45db2e
cmp byte [esi + 0x88], bl
je 0x45db98
lea eax, [esi + 0x4c]
cmp dword [eax + 0x14], 8
jb 0x45db39
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45db98
movzx ecx, byte [esi + 0x70]
neg ecx
sbb ecx, ecx
lea eax, [esi + 0x74]
and ecx, eax
push ecx
movzx ecx, byte [esi + 0x7c]
neg ecx
sbb ecx, ecx
lea eax, [esi + 0x80]
and ecx, eax
push ecx
movzx ecx, byte [esi + 0x88]
neg ecx
lea eax, [esi + 0x8c]
sbb ecx, ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x69], bl
je 0x45dbb2
lea eax, [esi + 0x4c]
cmp dword [eax + 0x14], 8
jb 0x45dba8
mov eax, dword [eax]
push dword [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0xa4], ebx
je 0x45dbf8
push dword [esi + 0x9c]
mov ecx, dword [esi + 0xa4]
push dword [esi + 0x98]
mov eax, dword [ecx]
lea edi, [esi + 0x4c]
push edi
call dword [eax + 0x1c]
test al, al
jne 0x45dbe0
mov eax, 0x80004005
jmp 0x45dbfa
push dword [esi + 0x9c]
mov ecx, dword [esi + 0xa4]
push dword [esi + 0x98]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45f767
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x4db4d4], 0
jne 0x45f83f
push 0x4b93a4
call fcn.0046733e
mov dword [esp], 0x4b9380
call fcn.0046733e
mov dword [esp], 0x4b9404
call fcn.0046733e
mov dword [esp], 0x4b9428
call fcn.0046733e
mov dword [esp], 0x4b93dc
call fcn.0046733e
mov dword [esp], 0x4b95c0
call fcn.0046bd7e
mov dword [esp], 0x4b9540
call fcn.0046bd7e
mov dword [esp], 0x4b9560
call fcn.0046bd7e
mov dword [esp], 0x4b9580
call fcn.0046bd7e
mov dword [esp], 0x4b95e0
call fcn.0046bd7e
mov dword [esp], 0x4b9600
call fcn.0046bd7e
mov dword [esp], 0x4b9620
call fcn.0046bd7e
mov dword [esp], 0x4b9500
call fcn.0046bd7e
mov dword [esp], 0x4b9520
call fcn.0046bd7e
mov dword [esp], 0x4b9640
call fcn.0046bd7e
mov dword [esp], 0x4b9660
call fcn.0046bd7e
pop ecx
mov byte [0x4db4d4], 1
jmp 0x46e840
ret
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4df0e0], ecx
inc edx
cmp edx, 0x100
jb 0x46e842
cmp edx, 0x800
jae 0x46e919
lea esp, [esp]
mov eax, dword [edx*4 + 0x4dece0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4df0e0]
inc edx
mov dword [edx*4 + 0x4df0dc], eax
cmp edx, 0x800
jb 0x46e8f0
mov eax, 0x4af4d0
mov dword [0x4df0d4], eax
mov dword [0x4e10e0], eax
mov dword [0x4df0d0], 0x4af3f0
call fcn.0047fdcf
test eax, eax
jne 0x46e945
mov dword [0x4e10e0], 0x4af3f0
ret

Function at 0x461cc9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x461cd7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret