joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42edd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 8], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x42edf6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add edx, 0xfffffffc
add edx, ebx
mov dword [ebp - 4], edx
nop
lea eax, [edi + ebx]
cmp eax, edx
jae 0x42ee16
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x42ee16
inc eax
cmp eax, edx
jb 0x42ee07
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x42ef00
cmp ecx, 2
jbe 0x42eeba
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x42eeec
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
lea ecx, [edi + 5]
sub ebx, ecx
test esi, esi
je 0x42ee8d
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x42ee88
mov edx, 0x100
shl edx, cl
lea ecx, [edi + 5]
dec edx
xor ebx, edx
sub ebx, ecx
mov edx, dword [ebp - 4]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 8]
add edi, eax
jmp 0x42ee00
shr esi, cl
test esi, esi
je 0x42ee33
cmp esi, 4
ja 0x42eee1
cmp esi, 3
je 0x42eee1
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x42ee33
or esi, 8
shr esi, 1
inc edi
jmp 0x42ee00
mov ebx, dword [ebp - 8]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x42ee00
cmp ecx, 2
jbe 0x42ef15
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434195
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x4341b8
or esi, 2
push 1
call edi
test ax, ax
jns 0x4341c4
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x4341d0
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4341dc
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4375f9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x437634
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x437634
cmp esi, dword [ebx + 0xe8]
je 0x437634
cmp byte [ebx + 0xe0], 0
jne 0x437634
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x43770f
push edi
test eax, eax
je 0x437695
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0xe8]
call fcn.004372ac
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x43770e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x43770e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x43770e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x43770e
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0xe8], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0xe8]
call fcn.004372ac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x439678
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4396aa
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x44b08c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x44b0f8
cmp dword [ebp + 8], 0x100
jne 0x44b0e7
cmp word [ebp + 0xc], 0xd
jne 0x44b0e7
cmp byte [esi + 0x69a], 0
je 0x44b0cc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x44b0e7
cmp byte [esi + 0x69b], 0
jne 0x44b0e7
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x44b0e3
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.004372ac
xor eax, eax
jmp 0x44b0fb
mov eax, dword [esi + 0x694]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x44b4d2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x44b588
movzx eax, word [esi]
test ax, ax
je 0x44b588
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x44b512
cmp ax, 0x5c
jne 0x44b514
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x44b506
cmp edi, esi
je 0x44b55b
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00486f80
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x44b598
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0044b4d2
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00487a27
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004879f6
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00475cda
mov esp, ebp
pop ebp
ret
call fcn.00476429
int3

Function at 0x44bb5d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x44bbd9
cmp dword [edi + 4], 0xffffffff
jne 0x44bbd9
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4b66d4
push esi
call fcn.004879f6
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x44bbab
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x44bbab
mov eax, 0x2000000
jmp 0x44bbde
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044e078
add esp, 0x10
test eax, eax
jne 0x44bbc9
mov eax, dword [ebp - 4]
jmp 0x44bbde
push eax
call fcn.0044e780
mov dword [edi], eax
mov eax, dword [0x4c8bd8]
pop ecx
jmp 0x44bbde
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44e185
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x44e1b9
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44e1b4
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x44e1e0
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x44e1c9
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00478e70
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x44e353
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x44e361
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x44e420
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
sub edi, 1
jne 0x44e379
pop edi
test esi, esi
je 0x44e43c
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6f30]
inc edx
sub esi, 1
jne 0x44e424
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x44f3fe
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x49fcb6
call fcn.00476795
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0044f78d
call fcn.00433e9b
push eax
lea ecx, [ebp - 0x94]
call fcn.00439903
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00433ea1
mov ecx, eax
call fcn.0043a00b
test al, al
je 0x44f514
push ebx
lea ecx, [ebp - 0x94]
call fcn.00439af1
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00439ea9
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x44f485
push str.Error_opening_file
jmp 0x44f5f5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x44f58e
cmp edi, 0x400000
ja 0x44f59f
and dword [ebp - 0x2c8], 0
push edi
call fcn.00476211
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x44f4fd
push ebx
call fcn.0047621a
pop ecx
mov ecx, esi
call fcn.0044f78d
push 0
push str.Could_not_read_file
jmp 0x44f5f5
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0044f640
push dword [ebp - 0x2cc]
jmp 0x44f623
call fcn.00433ea1
push eax
lea ecx, [ebp - 0x94]
call fcn.00439ad4
call fcn.00434062
test al, al
je 0x44f535
call fcn.00433ea7
jmp 0x44f54c
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00439ea9
push eax
call fcn.0044bbe5
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x44f55d
push eax
push str.Error_opening_zip_file
jmp 0x44f5f5
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0044b626
add esp, 0x14
test eax, eax
je 0x44f584
push 0
push str.Could_not_find_ziped_file
jmp 0x44f5f5
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x44f597
push 0
push str.File_is_empty
jmp 0x44f5f5
cmp ebx, 0x400000
jbe 0x44f5a8
push 0
push str.File_too_large
jmp 0x44f5f5
push ebx
call fcn.00476211
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0044bfa5
add esp, 0x18
test eax, eax
je 0x44f600
cmp eax, 0x600
je 0x44f600
push dword [ebp - 0x2c8]
call fcn.0047621a
pop ecx
call fcn.00434062
test al, al
jne 0x44f5ee
push edi
call fcn.0044b480
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0044f7b5
mov bl, al
jmp 0x44f62b
call fcn.00434062
test al, al
jne 0x44f610
push edi
call fcn.0044b480
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0044f640
push edi
mov bl, al
call fcn.0047621a
pop ecx
lea ecx, [ebp - 0x94]
call fcn.004399e8
mov al, bl
call fcn.00476750
ret 8
Function at 0x45e3ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x45e410
cmp dword [esi + 8], edi
jge 0x45e408
push esi
call fcn.0045a868
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x45e439
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x45e41c
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x45e453
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x45e444
xor dl, dl
jmp 0x45e449
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x45e43b
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x45e488
push str.zlib_corrupt
call fcn.0045a791
add esp, 4
jmp 0x45e4c8
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x45e498
push str.read_past_buffer
jmp 0x45e47e
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x45e4b2
push edi
push ecx
push esi
call fcn.00460f66
add esp, 0xc
test eax, eax
je 0x45e4c8
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00478e70
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x468a14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b00b
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x468a90
lea eax, [ebp - 0x14]
push eax
call fcn.00468038
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x468a6c
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x468a90
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00475cda
mov esp, ebp
pop ebp
ret 0xc

Function at 0x468aa1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x468b2b
cmp dword [esi + 0x10], 0
je 0x468b2b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00476810
mov ebx, esp
test ebx, ebx
je 0x468b2b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.00439a78
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.004372ac
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0043406f
test al, al
je 0x468b2b
mov ecx, dword [esi + 0x10]
call fcn.0043af25
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475cda
mov esp, ebp
pop ebp
ret 0x10
Function at 0x469177
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043c58f
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x4691fb
lea eax, [ebp - 0x14]
push eax
call fcn.00468038
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x4691d7
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4691fb
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475cda
mov esp, ebp
pop ebp
ret 0x14

Function at 0x46c16c
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x4a07a5
call fcn.00476795
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], ebx
cmp dword [edi + 4], ebx
jne 0x46c1fe
lea eax, [ebp - 0xa8]
push eax
call fcn.0046bdd9
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00433e7f
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0043930a
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00466958
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.00433a46
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0043a00b
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.004399e8
mov esi, 0x6d8
test bl, bl
je 0x46c239
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00476750
ret 4
Function at 0x46c26f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b00b
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x46c2eb
lea eax, [ebp - 0x14]
push eax
call fcn.0046bdd9
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x46c2c7
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46c2eb
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00475cda
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46c3d6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043c58f
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x46c45a
lea eax, [ebp - 0x14]
push eax
call fcn.0046bdd9
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x46c436
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46c45a
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00442b20
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475cda
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46f357
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x4a095e
call fcn.00476795
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
call fcn.00433e9b
push eax
lea ecx, [ebp - 0x94]
call fcn.00439903
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00433ea1
mov ecx, eax
call fcn.0043a00b
test al, al
je 0x46f445
push ebx
lea ecx, [ebp - 0x94]
call fcn.00439af1
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00439ea9
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46f3e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004399e8
jmp 0x46f526
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x46f3d4
push esi
mov dword [ebp - 0x2c8], edi
call fcn.00476211
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x46f511
push edi
call fcn.0047621a
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004399e8
jmp 0x46f524
call fcn.00433ea1
push eax
lea ecx, [ebp - 0x94]
call fcn.00439ad4
call fcn.00434062
test al, al
je 0x46f466
call fcn.00433ea7
jmp 0x46f47d
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00439ea9
push eax
call fcn.0044bbe5
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x46f3d4
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2cc]
push ebx
call fcn.0044b626
add esp, 0x14
test eax, eax
jne 0x46f3d4
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x46f3d4
push esi
call fcn.00476211
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.0044bfa5
add esp, 0x18
test eax, eax
je 0x46f501
cmp eax, 0x600
je 0x46f501
push edi
call fcn.0047621a
pop ecx
call fcn.00434062
test al, al
jne 0x46f431
push ebx
call fcn.0044b480
jmp 0x46f430
call fcn.00434062
test al, al
jne 0x46f511
push ebx
call fcn.0044b480
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004399e8
test edi, edi
jne 0x46f598
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46f594
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x46f594
push esi
mov dword [ebp - 0x2d0], edi
call fcn.00476211
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2d0]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], esi
je 0x46f590
push edi
call fcn.0047621a
pop ecx
xor edi, edi
test edi, edi
jne 0x46f598
xor eax, eax
jmp 0x46f5b3
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.0046f5bb
push 1
push edi
mov esi, eax
call fcn.00475d23
pop ecx
pop ecx
mov eax, esi
call fcn.00476750
ret 4

Function at 0x48f0b7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048ef36
Function at 0x494451
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00494111