joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4591bc
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x428], eax
xor edi, edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push 9
push edi
push 0x5d8ed8
push reloc.WS2_32.dll_accept
mov esi, edi
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45920f
xor eax, eax
jmp 0x45930e
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4592fb
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4592e1
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.005a8e00
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4592d9
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x45924b
push dword [ebp - 0x418]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x459c52
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x420], eax
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x42c], ecx
push ebx
push eax
mov esi, ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ebx
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push ebx
push 0x5d8ed8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x459da3
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x459d7d
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x459d6f
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.005a8e00
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x459d67
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x459cd9
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x459eaf
xor ebx, ebx
lea eax, [ebp - 0x418]
push eax
push 9
push ebx
push 0x5d8f60
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x459e9c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
jmp 0x459e7c
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x459e6e
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x428], 0x104
push eax
call fcn.005a8e00
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x459e66
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x459dd8
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x459eaf
push dword [ebp - 0x420]
mov ecx, dword [ebp - 0x42c]
call fcn.004591bc
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x45a005
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5d5064
call fcn.00492e9f
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x45a070
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.004022f0
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.005abff2
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00404690
xor ebx, ebx
cmp word [esi], bx
jne 0x45a0aa
mov eax, ebx
jmp 0x45a0b1
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404690
mov esi, str..lnk
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404690
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x45a1bf
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.005a8e00
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005abfd0
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00458267
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.005abff2
pop ecx
test eax, eax
jne 0x45a1ad
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005abfd0
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x45a1bf
xor esi, esi
inc esi
jmp 0x45a1c1
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402230
mov eax, esi
call fcn.00492e49
ret 4
Function at 0x45a1d9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x669844]
test al, al
jne 0x45a272
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45a269
lea eax, [ebp - 0x20c]
push eax
call fcn.005ac375
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
jne 0x45a261
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
je 0x45a269
mov byte [0x669844], bl
jmp 0x45a26f
mov bl, byte [0x669844]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x45af6b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45afd6
lea eax, [ebp - 0x20c]
push 0x6411b8
push eax
call fcn.005abf5f
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0045a280
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x45bc88
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe64
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov word [ebp - 0xe10], ax
lea edi, [ebp - 0xe0e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xe10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ebx, 0x208
lea eax, [ebp - 0x630]
push ebx
xor edi, edi
push edi
push eax
call fcn.005a8e00
push str.UseVestige.ini
push str.Config
push 0x669f80
lea eax, [ebp - 0x630]
push 0x5d900c
push eax
call fcn.0042cdd3
add esp, 0x20
lea eax, [ebp - 0x630]
push eax
push 0xffffffffffffffff
push str.UpDmpLastDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0xe0a]
cmp eax, ecx
je 0x45be99
push ebx
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.005a8e00
push ebx
lea eax, [ebp - 0x428]
push edi
push eax
call fcn.005a8e00
lea eax, [ebp - 0x428]
push 0x669d78
push eax
call fcn.005abfd0
lea eax, [ebp - 0x428]
push str.WnPYCore.exe
push eax
call fcn.005abf5f
lea eax, [ebp - 0x220]
push 0x5d8b4c
push eax
call fcn.005abfd0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.005abf5f
lea eax, [ebp - 0x220]
push str.__UpDmpInfo
push eax
call fcn.005abf5f
add esp, 0x40
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.005abf5f
mov esi, 0x66a188
push esi
call fcn.005abff2
add esp, 0xc
test eax, eax
je 0x45bdd8
lea eax, [ebp - 0x220]
push 0x5d8b7c
push eax
call fcn.005abf5f
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.005abf5f
add esp, 0x10
push 0x44
pop esi
push esi
lea eax, [ebp - 0xe64]
push edi
push eax
call fcn.005a8e00
push 0x10
lea eax, [ebp - 0xe20]
mov dword [ebp - 0xe64], esi
push edi
push eax
call fcn.005a8e00
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xe00]
push 0x5d8b58
push eax
call fcn.0042cdd3
add esp, 0x24
lea eax, [ebp - 0xe20]
push eax
lea eax, [ebp - 0xe64]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
lea eax, [ebp - 0xe00]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45be56
push dword [ebp - 0xe20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xe1c]
call esi
xor eax, eax
lea edi, [ebp - 0x16]
mov word [ebp - 0x18], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0xe0a]
push eax
lea eax, [ebp - 0x18]
push 0x6412f4
push eax
call fcn.0042cdd3
add esp, 0xc
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x18]
push eax
push str.UpDmpLastDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x45c2a8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x45c2c0
xor eax, eax
jmp 0x45c3cf
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x45c2d5
xor eax, eax
jmp 0x45c3ce
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call edi
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x45c30f
push 4
push 0x2000
push dword [ebx + 0x50]
push eax
call edi
mov esi, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x45c3ca
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor eax, eax
push 4
push 0x1000
mov dword [edi + 4], esi
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
push dword [ebx + 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x1000
push dword [ebx + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
mov esi, eax
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
push ecx
push eax
push esi
call fcn.005a8300
mov edx, dword [ebp + 8]
push edi
push ebx
push edx
mov eax, dword [edx + 0x3c]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [edi], eax
mov dword [eax + 0x34], esi
call fcn.0045bfb2
mov eax, esi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x45c390
push eax
push edi
call fcn.0045c113
pop ecx
pop ecx
push edi
call fcn.0045beaa
pop ecx
test eax, eax
je 0x45c3c3
push edi
call fcn.0045c054
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x45c3bf
add eax, esi
je 0x45c3c3
push 0
xor ebx, ebx
inc ebx
push ebx
push esi
call eax
test eax, eax
je 0x45c3c3
mov dword [edi + 0x10], ebx
mov eax, edi
jmp 0x45c3cc
push edi
call fcn.0045c1a6
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d0ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x45d182
lea ecx, [eax + 0x80]
add eax, 0x100
dec edi
mov dword [ebp - 0x14], ecx
shr edi, 3
inc edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
mov edx, ebx
mov ecx, esi
push 8
sub edx, esi
pop edi
mov al, byte [edx + ecx]
mov byte [ecx], al
inc ecx
sub edi, 1
jne 0x45d132
push 8
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.005a8300
push esi
push esi
push dword [ebp - 0x14]
call fcn.0045c3d3
mov edx, dword [ebp - 0x18]
add esp, 0x18
xor ecx, ecx
mov al, byte [edx + ecx]
xor byte [esi + ecx], al
inc ecx
cmp ecx, 8
jl 0x45d15b
push 8
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.005a8300
add esp, 0xc
add ebx, 8
add esi, 8
sub dword [ebp - 0x10], 1
jne 0x45d129
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x45f042
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 0x45f065
or esi, 1
push 1
call edi
test ax, ax
jns 0x45f071
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x45f07d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x45f089
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4605b5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd0]
call fcn.00405c70
mov edi, dword [ebp + 8]
test eax, eax
jle 0x46060b
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call fcn.0045d41e
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x460668
lea ecx, [esi + 0xd0]
inc ebx
call fcn.00405c70
cmp ebx, eax
jl 0x4605d4
sub edi, 0x100
je 0x4606c2
sub edi, 4
je 0x46066c
dec edi
sub edi, 1
jne 0x4606b7
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.005abea3
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_ioctlsocket
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x461765
call dword [eax + 0x10c]
mov esi, eax
test esi, esi
je 0x4606b7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xfc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x4606b9
cmp dword [esi + 0x54], 0
je 0x4606b7
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0045f042
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4606b7
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x46070f
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x46070f
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xe0]
test al, al
je 0x46070f
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
je 0x46070f
mov ecx, dword [esi + 0x54]
call fcn.00471e39
test al, al
jne 0x4606b7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0046110e
jmp 0x460668
Function at 0x460f0b
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]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x460f33
cmp esi, dword [ebx + 0x54]
je 0x460ff5
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x460ff5
cmp dword [ebx + 0x54], 0
push edi
je 0x460f86
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 + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call fcn.00460ce5
mov dword [ebx + 0x54], edi
test esi, esi
je 0x460ff4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x460ff4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x460ff4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe0]
test al, al
je 0x460ff4
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], 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 + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
call fcn.00460ce5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x461dcc
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 0x461dfe
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 0x466c9a
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x5d5a09
call fcn.00492e9f
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00467029
call fcn.0045ee69
push eax
lea ecx, [ebp - 0x94]
call fcn.0045d21b
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0045ee6f
mov ecx, eax
call fcn.0045d963
test al, al
je 0x466db0
push ebx
lea ecx, [ebp - 0x94]
call fcn.0045d44d
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0045d42d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x466d21
push str.Error_opening_file
jmp 0x466e91
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x466e2a
cmp edi, 0x400000
ja 0x466e3b
and dword [ebp - 0x2c8], 0
push edi
call fcn.004929da
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 0x466d99
push ebx
call fcn.004929e3
pop ecx
mov ecx, esi
call fcn.00467029
push 0
push str.Could_not_read_file
jmp 0x466e91
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00466edc
push dword [ebp - 0x2cc]
jmp 0x466ebf
call fcn.0045ee6f
push eax
lea ecx, [ebp - 0x94]
call fcn.0045d430
call fcn.0045ef32
test al, al
je 0x466dd1
call fcn.0045ee75
jmp 0x466de8
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0045d42d
push eax
call fcn.00473c3d
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x466df9
push eax
push str.Error_opening_zip_file
jmp 0x466e91
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0047367e
add esp, 0x14
test eax, eax
je 0x466e20
push 0
push str.Could_not_find_ziped_file
jmp 0x466e91
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x466e33
push 0
push str.File_is_empty
jmp 0x466e91
cmp ebx, 0x400000
jbe 0x466e44
push 0
push 0x5e0130
jmp 0x466e91
push ebx
call fcn.004929da
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00473ffd
add esp, 0x18
test eax, eax
je 0x466e9c
cmp eax, 0x600
je 0x466e9c
push dword [ebp - 0x2c8]
call fcn.004929e3
pop ecx
call fcn.0045ef32
test al, al
jne 0x466e8a
push edi
call fcn.004734d8
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00467051
mov bl, al
jmp 0x466ec7
call fcn.0045ef32
test al, al
jne 0x466eac
push edi
call fcn.004734d8
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00466edc
push edi
mov bl, al
call fcn.004929e3
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0045d356
mov al, bl
call fcn.00492e49
ret 8