joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406250
Capabilities:
Check mutex on windows
Copy file
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x46d2f0]
xor eax, esp
mov dword [esp + 0x418], eax
mov ecx, dword [ebp + 0x10]
mov edx, 0x466958
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
nop word [eax + eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4062a0
test bl, bl
je 0x40629c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4062a0
add eax, 2
add edx, 2
test bl, bl
jne 0x406280
xor eax, eax
jmp 0x4062a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4062c0
sub esp, 8
call fcn.004056f0
add esp, 4
mov ecx, eax
call fcn.00405c90
jmp 0x406459
mov eax, 0x46695c
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4062e5
test dl, dl
je 0x4062e1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4062e5
add ecx, 2
add eax, 2
test dl, dl
jne 0x4062c5
xor eax, eax
jmp 0x4062ea
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4063c4
push str.CP_20230509_Event_Uninstall_001
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40632e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x466960
push str.S_MR
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x406459
push str.Uninstall_Start__n
push 1
call fcn.004030f0
push edi
call fcn.0040a0cf
add esp, 0xc
push 0x3d0
call fcn.004352f7
add esp, 4
mov ecx, eax
call fcn.004065a0
mov esi, eax
call fcn.004056f0
push 0
push 0x250
push 0x2c2
push 0
push 0
push 0
push 0x96c80000
push 0x4669d8
push 0
mov ecx, esi
mov dword [eax + 0x18], 0x406820
mov dword [eax + 0x1c], esi
call fcn.0040bf07
push 5
mov ecx, esi
call fcn.0042f565
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040bdb3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x406459
call fcn.004094a6
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x406459
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00438910
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push 0
push eax
call fcn.00438910
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406406
mov ecx, 8
lea eax, [esp + 0x218]
mov esi, str.paUninstall.exe
rep movsd dword es:[edi], dword [esi]
push 0x104
push eax
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 8
lea ecx, [esp + 0x18]
call fcn.00404370
add esp, 8
mov ecx, dword [esp + 0x424]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004352e6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406ad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, esi
push str.click
call fcn.0040b355
test al, al
je 0x406b9e
mov eax, dword [esi + 0x108]
cmp eax, dword [edi + 0x340]
jne 0x406b0c
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x39c]
jne 0x406b24
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x348]
jne 0x406b3c
pop edi
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]
cmp eax, dword [edi + 0x344]
jne 0x406b8d
mov ecx, dword [edi + 0x33c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1b4]
call fcn.004056f0
push 0
push 0
mov esi, eax
push esi
push 0x405e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0x32
push 0
lea ecx, [edi - 0x20]
mov dword [esi + 0x10], eax
call fcn.0042f565
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
ret 4
cmp eax, dword [edi + 0x3a0]
jne 0x406c48
jmp 0x406c4e
push str.selectchanged
mov ecx, esi
call fcn.0040b355
test al, al
je 0x406c48
mov eax, dword [esi + 0x108]
mov ecx, dword [edi + 0x34c]
push ebx
cmp eax, ecx
jne 0x406bdf
call fcn.0040aa97
mov bl, al
call fcn.004056f0
xor ecx, ecx
test bl, bl
pop ebx
setne cl
pop edi
mov dword [eax], ecx
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x350]
cmp eax, ecx
jne 0x406c04
call fcn.0040aa97
xor ebx, ebx
test al, al
setne bl
call fcn.004056f0
mov dword [eax + 4], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x354]
cmp eax, ecx
jne 0x406c29
call fcn.0040aa97
xor ebx, ebx
test al, al
setne bl
call fcn.004056f0
mov dword [eax + 8], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [edi + 0x358]
cmp eax, ecx
jne 0x406c47
call fcn.0040aa97
xor ebx, ebx
test al, al
setne bl
call fcn.004056f0
mov dword [eax + 0xc], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.00404220
int3

Function at 0x407f34
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 0x407f57
or esi, 1
push 1
call edi
test ax, ax
jns 0x407f63
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x407f6f
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x407f7b
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x409500
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 + 0x1bc]
call fcn.0042f565
mov edi, dword [ebp + 8]
test eax, eax
jle 0x409556
push ebx
lea ecx, [esi + 0x1bc]
mov byte [ebp + 0xb], 0
call fcn.0040b379
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 0x4095b6
lea ecx, [esi + 0x1bc]
inc ebx
call fcn.0042f565
cmp ebx, eax
jl 0x40951f
sub edi, 0x100
je 0x40961c
sub edi, 4
je 0x4095ba
dec edi
sub edi, 1
jne 0x409611
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00441e25
pop ecx
mov ecx, dword [esi + 0x13c]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x40a732
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x409611
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x409613
cmp dword [esi + 0x140], 0
je 0x409611
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 + 0x150]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x154]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00407f34
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x409611
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x409675
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x409675
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x409675
mov ecx, dword [esi + 0x140]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004385dd
pop ecx
pop ecx
test eax, eax
je 0x409675
mov ecx, dword [esi + 0x140]
call fcn.004176ad
test al, al
jne 0x409611
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0040a115
jmp 0x4095b6
Function at 0x409ed0
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 0x409ef7
cmp esi, dword [ebx + 0x140]
je 0x409ef7
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x140]
cmp esi, eax
je 0x409fce
push edi
test eax, eax
je 0x409f56
push 7
pop ecx
xor eax, eax
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 + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x140]
call fcn.00409c28
mov dword [ebx + 0x140], edi
test esi, esi
je 0x409fcd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x409fcd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
test al, al
je 0x409fcd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
test al, al
je 0x409fcd
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x140], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x16
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x100]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x140]
call fcn.00409c28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419187
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4ec], edi
je 0x4191f1
cmp dword [ebp + 8], 0x100
jne 0x4191e0
cmp word [ebp + 0xc], 0xd
jne 0x4191e0
cmp byte [esi + 0x4f2], 0
je 0x4191c7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4191e0
cmp byte [esi + 0x4f3], 0
jne 0x4191e0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4191dc
push edi
push edi
push edi
push str.return
push esi
call fcn.00409c28
xor eax, eax
jmp 0x4191f4
mov eax, dword [esi + 0x4ec]
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 0x419574
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46d2f0]
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 0x41962a
movzx eax, word [esi]
test ax, ax
je 0x41962a
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x4195b4
cmp ax, 0x5c
jne 0x4195b6
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4195a8
cmp edi, esi
je 0x4195fd
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00443c5b
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x41963a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00419574
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00443ec8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00443e97
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.004352e6
mov esp, ebp
pop ebp
ret
call fcn.00435931
int3

Function at 0x419bff
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x419c7b
cmp dword [edi + 4], 0xffffffff
jne 0x419c7b
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x465e64
push esi
call fcn.00443e97
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x419c4d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x419c4d
mov eax, 0x2000000
jmp 0x419c80
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c11a
add esp, 0x10
test eax, eax
jne 0x419c6b
mov eax, dword [ebp - 4]
jmp 0x419c80
push eax
call fcn.0041c822
mov dword [edi], eax
mov eax, dword [0x46ec58]
pop ecx
jmp 0x419c80
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c227
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 0x41c25b
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 0x41c256
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x41c282
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x41c26b
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.00438e40
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 0x41c3f5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41c403
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x41c4c2
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 + 0x455848]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
sub edi, 1
jne 0x41c41b
pop edi
test esi, esi
je 0x41c4de
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x455848]
inc edx
sub esi, 1
jne 0x41c4c6
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x41e7e3
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x453245
call fcn.00435df5
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0041eb72
call fcn.00407d4b
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b1af
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00407d51
mov ecx, eax
call fcn.0040b894
test al, al
je 0x41e8f9
push ebx
lea ecx, [ebp - 0x94]
call fcn.0040b3a5
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea ecx, [ebp - 0x94]
call fcn.0040b73a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x41e86a
push str.Error_opening_file
jmp 0x41e9da
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x41e973
cmp edi, 0x400000
ja 0x41e984
and dword [ebp - 0x2c8], 0
push edi
call fcn.004357e2
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 0x41e8e2
push ebx
call fcn.0043532f
pop ecx
mov ecx, esi
call fcn.0041eb72
push 0
push str.Could_not_read_file
jmp 0x41e9da
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0041ea25
push dword [ebp - 0x2cc]
jmp 0x41ea08
call fcn.00407d51
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b388
call fcn.00407e1d
test al, al
je 0x41e91a
call fcn.00407d57
jmp 0x41e931
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0040b73a
push eax
call fcn.00419c87
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x41e942
push eax
push str.Error_opening_zip_file
jmp 0x41e9da
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.004196c8
add esp, 0x14
test eax, eax
je 0x41e969
push 0
push str.Could_not_find_ziped_file
jmp 0x41e9da
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x41e97c
push 0
push str.File_is_empty
jmp 0x41e9da
cmp ebx, 0x400000
jbe 0x41e98d
push 0
push str.File_too_large
jmp 0x41e9da
push ebx
call fcn.004357e2
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0041a047
add esp, 0x18
test eax, eax
je 0x41e9e5
cmp eax, 0x600
je 0x41e9e5
push dword [ebp - 0x2c8]
call fcn.0043532f
pop ecx
call fcn.00407e1d
test al, al
jne 0x41e9d3
push edi
call fcn.00419522
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0041eb9a
mov bl, al
jmp 0x41ea10
call fcn.00407e1d
test al, al
jne 0x41e9f5
push edi
call fcn.00419522
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0041ea25
push edi
mov bl, al
call fcn.0043532f
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0040b293
mov al, bl
call fcn.00435db0
ret 8
Function at 0x424e06
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 0x424e2a
cmp dword [esi + 8], edi
jge 0x424e22
push esi
call fcn.004230fc
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 0x424e53
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 0x424e36
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x424e70
mov edx, dword [esi]
cmp edx, dword [esi + 4]
jb 0x424e5e
xor eax, eax
jmp 0x424e66
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
mov byte [ebp + ecx + 8], al
inc ecx
cmp ecx, 4
jl 0x424e55
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 0x424ea5
push str.zlib_corrupt
call fcn.00422fb7
add esp, 4
jmp 0x424ee2
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x424eb5
push str.read_past_buffer
jmp 0x424e9b
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x424ecc
push edi
push esi
call fcn.00422fc6
pop ecx
pop ecx
test eax, eax
je 0x424ee2
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00438e40
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 0x432eea
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x46d2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x432f57
cmp dword [esi + 0x10], 0
je 0x432f57
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00435e70
mov ebx, esp
test ebx, ebx
je 0x432f57
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c4
call fcn.0040b331
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00409c28
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004352e6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10012c00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100a184b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10096235
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10012c82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10093ced
mov eax, dword [eax]
push 0x100c3cb0
push eax
call fcn.10085ee4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100964c0
test bl, bl
je 0x10012c82
push 0x100c3cb0
lea ecx, [esp + 0xc]
call fcn.10096850
push 0x100c3cbc
lea ecx, [esp + 0xc]
call fcn.10096850
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x10012cbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100964c0
jmp 0x10012d89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10012d42
lea edx, [esp + 0x7c]
push 0x100c3cb8
push edx
call fcn.10085ee4
add esp, 8
test eax, eax
je 0x10012d42
lea eax, [esp + 0x7c]
push 0x100c3cb4
push eax
call fcn.10085ee4
add esp, 8
test eax, eax
je 0x10012d42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10012cd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100964c0
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10013590
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100135f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc