joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cab0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push 8
push 1
push 0
push 0x51d924
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x43cb07
push eax
push 1
push eax
push 0x51d924
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x43cb07
lea edi, [eax + 1]
jmp 0x43cc47
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [0x56fa9c]
push 0x56fa08
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x43cb2f
lea edi, [eax + 2]
jmp 0x43cc47
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43cb51
lea edi, [eax + 3]
jmp 0x43cc47
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cb60
push 0
sub ecx, esi
push ecx
push edx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x43cb82
lea edi, [eax + 4]
jmp 0x43cc47
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cb87
sub ecx, edx
lea edx, [ebx - 1]
add edx, ecx
mov cl, byte [edx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x43cba6
movsx eax, cl
add eax, 0xffffffd0
jmp 0x43cbba
lea eax, [ecx - 0x61]
cmp al, 5
jbe 0x43cbb4
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x43cbbf
movsx eax, cl
add eax, 0xffffffc9
cmp eax, 0xffffffff
jne 0x43cbc5
mov byte [edx], 0
dec edx
jmp 0x43cb95
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cbd0
push 0
lea eax, [ebp - 0x10]
sub ecx, edx
push eax
push ebx
mov dword [ebp - 0x10], ecx
call fcn.0043b6d0
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 0
push 0x51d924
push dword [ebp - 0xc]
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
movups xmm0, xmmword [0x51d910]
neg eax
sbb edi, edi
mov al, byte [0x51d920]
neg edi
mov byte [ebp - 0x14], al
dec edi
add esi, 0xffffffff
movups xmmword [ebp - 0x24], xmm0
js 0x43cc47
movsx ecx, byte [ebx + esi]
mov eax, ecx
and ecx, 0xf
sar eax, 4
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
mov byte [ebx + esi*2], al
movzx eax, byte [ebp + ecx - 0x24]
mov byte [ebx + esi*2 + 1], al
sub esi, 1
jns 0x43cc22
mov eax, dword [ebp - 8]
test eax, eax
je 0x43cc55
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43cc65
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43dce0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
add eax, 0xfffffdff
xor edi, edi
cmp eax, 7
ja case.0x43dcf5.515
jmp dword [eax*4 + 0x43dd54]
mov edi, 1
jmp case.0x43dcf5.515
mov edi, 2
jmp case.0x43dcf5.515
mov edi, 4
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
shr eax, 0xf
mov esi, edi
or esi, 1
and al, 1
push 2
cmove esi, edi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 2
test al, 1
push 4
cmove edi, esi
call ebx
movzx ecx, ax
mov eax, edi
shr ecx, 0xf
or eax, 4
test cl, 1
cmove eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4401e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov ecx, 0xb64288
mov dword [ebp - 0x2c], eax
movzx eax, ax
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], 0
call fcn.004281b0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x44022b
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x44022d
xor eax, eax
mov dword [ebp - 0x1c], 0x46000000
test eax, eax
jne 0x44024c
test byte [ebx + 0x1e], 0x10
mov ecx, 0x86c40000
mov edx, 0x86cc0000
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
cmp byte [ebp + 0x1c], 0
je 0x44031b
test byte [ebx + 0x1e], 8
je 0x440272
mov ecx, dword [ebx + 0x24]
cmp ecx, 2
je 0x440269
cmp ecx, 3
jne 0x440272
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x24]
cmp ecx, 2
je 0x44027f
cmp ecx, 3
jne 0x440298
test eax, eax
jne 0x440298
push 0
push dword [ebx]
mov eax, esi
mov esi, edi
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
or eax, 0xffffffff
jmp 0x4402b3
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x18], 0
jne 0x4402ad
or eax, 0xffffffff
jmp 0x4402b3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
push dword [ebp - 0x1c]
mov dword [ebx + 0x24], eax
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [ebp - 0x18]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push edi
push esi
mov ecx, ebx
call fcn.0043f490
cmp dword [ebx + 0x24], 0xffffffff
movzx esi, word [ebx + 0x14]
movzx edi, word [ebx + 0x16]
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x24], esi
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x20], edi
jne 0x440307
movzx eax, word [ebx + 0xa]
mov ecx, 0xb64288
push eax
call fcn.0042f630
mov eax, dword [eax + 0x5c]
jmp 0x440309
xor eax, eax
push 0
push eax
push dword [ebx]
mov ecx, 0xb64288
call fcn.0042e5a0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440364
push edi
push esi
push eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebx]
mov ecx, 0xb64288
call fcn.0042aca0
push eax
push 0x80
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 0xb64288
push eax
call fcn.00428130
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
movzx eax, word [ebx + 0x1e]
mov edi, dword [ebp + 0x10]
and eax, 0x20
mov esi, dword [ebp + 0xc]
or eax, 2
add eax, eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
push esi
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov word [ebx + 0x14], ax
xor ecx, ebp
mov eax, dword [ebp + 0x18]
mov word [ebx + 0x12], di
pop edi
mov word [ebx + 0x10], si
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 0x2c]
pop esi
mov word [ebx + 0xc], ax
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x18
Function at 0x443eb0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0xac]
mov byte [esi + 0xb0], 0
test ecx, ecx
je 0x443ed3
call fcn.00443eb0
mov dword [esi + 0xac], 0
push 0
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x443f2d
push edi
nop dword [eax]
mov eax, dword [esi + 0xc0]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x443f13
mov ecx, edi
call fcn.0043d0d0
push 0xac
push edi
call fcn.00481502
add esp, 8
mov ecx, dword [esi + 0xbc]
lea eax, [ecx - 1]
test ecx, ecx
jle 0x443f2c
mov ecx, eax
mov dword [esi + 0xbc], eax
test ecx, ecx
jg 0x443ef0
pop edi
cmp dword [0xb657a0], esi
jne 0x443f3f
mov dword [0xb657a0], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop esi
ret

Function at 0x445c80
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
push ebx
push 0x51dca8
push 0x104
push eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x254], ebx
call fcn.00407090
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x250], edi
cmp edi, 0xffffffff
je 0x445e1b
push esi
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x248], 0x10
je 0x445e04
mov ecx, 0x51d650
lea eax, [ebp - 0x21c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x445d28
test dl, dl
je 0x445d24
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x445d28
add eax, 2
add ecx, 2
test dl, dl
jne 0x445d08
xor eax, eax
jmp 0x445d2d
sbb eax, eax
or eax, 1
test eax, eax
je 0x445e04
mov eax, 0x51dcb0
lea ecx, [ebp - 0x21c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x445d60
test dl, dl
je 0x445d5c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x445d60
add ecx, 2
add eax, 2
test dl, dl
jne 0x445d40
xor eax, eax
jmp 0x445d65
sbb eax, eax
or eax, 1
test eax, eax
je 0x445e04
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x51d310
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407090
mov eax, dword [ebp - 0x24c]
xor esi, esi
lea ebx, [eax + 0xb44]
add esp, 0x14
cmp dword [ebx], esi
jle 0x445dd5
xor edi, edi
mov eax, dword [eax + 0xb48]
lea ecx, [ebp - 0x108]
add eax, edi
push ecx
push eax
call fcn.00484da1
add esp, 8
test eax, eax
je 0x445dcf
mov eax, dword [ebp - 0x24c]
inc esi
add edi, 0x104
cmp esi, dword [ebx]
jl 0x445da2
mov edi, dword [ebp - 0x250]
mov eax, dword [ebx]
cmp esi, eax
jne 0x445dec
push 1
push eax
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
call fcn.0042d300
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x108]
push eax
call fcn.00445c80
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x445cf0
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
Function at 0x445e40
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push ebx
push str._s.
push 0x104
push eax
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x468], ebx
call fcn.00446690
add esp, 0x10
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x464], edi
cmp edi, 0xffffffff
je 0x445fe9
push esi
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x45c], 0x10
je 0x445fd2
mov ecx, 0x51dcc4
lea eax, [ebp - 0x430]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445eee
test dx, dx
je 0x445eea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445eee
add eax, 4
add ecx, 4
test dx, dx
jne 0x445ec8
xor eax, eax
jmp 0x445ef3
sbb eax, eax
or eax, 1
test eax, eax
je 0x445fd2
mov eax, 0x51dcc8
lea ecx, [ebp - 0x430]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x445f2c
test dx, dx
je 0x445f28
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x445f2c
add ecx, 4
add eax, 4
test dx, dx
jne 0x445f06
xor eax, eax
jmp 0x445f31
sbb eax, eax
or eax, 1
test eax, eax
je 0x445fd2
lea eax, [ebp - 0x430]
push eax
push ebx
push 0x51dcd0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00446690
mov eax, dword [ebp - 0x460]
xor esi, esi
lea ebx, [eax + 0x1670]
add esp, 0x14
cmp dword [ebx], esi
jle 0x445fa3
xor edi, edi
nop
mov eax, dword [eax + 0x1674]
lea ecx, [ebp - 0x20c]
add eax, edi
push ecx
push eax
call fcn.00491cc0
add esp, 8
test eax, eax
je 0x445f9d
mov eax, dword [ebp - 0x460]
inc esi
add edi, 0x208
cmp esi, dword [ebx]
jl 0x445f70
mov edi, dword [ebp - 0x464]
mov eax, dword [ebx]
cmp esi, eax
jne 0x445fba
push 1
push eax
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00446010
mov ecx, dword [ebp - 0x460]
lea eax, [ebp - 0x20c]
push eax
call fcn.00445e40
mov ebx, dword [ebp - 0x468]
lea eax, [ebp - 0x45c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x445eb0
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
Function at 0x4461c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0xc78], edi
cmp byte [edi], 0
jne 0x4461f5
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x104], 0
jne 0x446211
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
je 0x44622b
mov dword [edi + 0xb44], 0
mov dword [edi + 0xb30], 0
push ebx
push esi
mov esi, dword [edi + 0xb44]
lea ecx, [edi + 0xb44]
push 1
push esi
push edi
mov dword [ebp - 0xc80], esi
call fcn.0042d300
push edi
mov ecx, edi
call fcn.00445c80
cmp esi, dword [edi + 0xb44]
jge 0x446406
imul ebx, esi, 0x104
mov dword [ebp - 0xc74], ebx
nop dword [eax + eax]
push 0xffffffffffffffff
lea eax, [edi + 0x104]
push eax
lea eax, [ebp - 0xb30]
push 0xa28
push eax
call fcn.0048dea4
add esp, 0x10
lea esi, [ebp - 0xb30]
cmp byte [ebp - 0xb30], 0
je 0x4463e1
movsx eax, byte [edi + 0xb2c]
push eax
push esi
call fcn.00482550
mov ebx, eax
add esp, 8
mov dword [ebp - 0xc84], ebx
test ebx, ebx
je 0x4462c0
mov byte [ebx], 0
mov eax, dword [edi + 0xb48]
push esi
mov esi, dword [ebp - 0xc74]
add eax, esi
push eax
push 0x51d310
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407090
add esp, 0x14
lea eax, [ebp - 0xc70]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc7c], eax
cmp eax, 0xffffffff
je 0x4463c3
lea ebx, [edi + 0xb30]
lea eax, [ebp - 0xc44]
push eax
mov eax, dword [edi + 0xb48]
add eax, esi
push eax
push 0x51d310
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407090
xor esi, esi
add esp, 0x14
cmp dword [ebx], esi
jle 0x446376
xor edi, edi
mov eax, dword [ebp - 0xc78]
lea ecx, [ebp - 0x108]
push ecx
mov eax, dword [eax + 0xb34]
add eax, edi
push eax
call fcn.00484da1
add esp, 8
test eax, eax
je 0x446370
inc esi
add edi, 0x104
cmp esi, dword [ebx]
jl 0x446343
mov edi, dword [ebp - 0xc78]
mov eax, dword [ebx]
cmp esi, eax
jne 0x446396
test byte [ebp - 0xc70], 0x10
jne 0x446396
push 1
push eax
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
call fcn.0042d300
lea eax, [ebp - 0xc70]
push eax
push dword [ebp - 0xc7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, dword [ebp - 0xc74]
test eax, eax
jne 0x446312
mov eax, dword [ebp - 0xc7c]
mov ebx, dword [ebp - 0xc84]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x4463db
cmp byte [ebx + 1], 0
lea esi, [ebx + 1]
jne 0x4462a0
mov ebx, dword [ebp - 0xc74]
mov eax, dword [ebp - 0xc80]
add ebx, 0x104
inc eax
mov dword [ebp - 0xc74], ebx
mov dword [ebp - 0xc80], eax
cmp eax, dword [edi + 0xb44]
jl 0x446270
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0xb30]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
Function at 0x446420
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18c0
call fcn.00481770
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x18b4], edi
cmp word [edi], 0
jne 0x44645a
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
cmp word [edi + 0x208], 0
jne 0x446477
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
je 0x446491
mov dword [edi + 0x1670], 0
mov dword [edi + 0x165c], 0
push ebx
push esi
mov esi, dword [edi + 0x1670]
lea ecx, [edi + 0x1670]
push 1
push esi
push edi
mov dword [ebp - 0x18bc], esi
call fcn.00446010
push edi
mov ecx, edi
call fcn.00445e40
cmp esi, dword [edi + 0x1670]
jge 0x446675
imul ebx, esi, 0x208
mov dword [ebp - 0x18b0], ebx
nop
push 0xffffffffffffffff
lea eax, [edi + 0x208]
push eax
lea eax, [ebp - 0x165c]
push 0xa28
push eax
call fcn.00491c39
add esp, 0x10
lea esi, [ebp - 0x165c]
cmp word [ebp - 0x165c], 0
je 0x446650
movzx eax, word [edi + 0x1658]
push eax
push esi
call fcn.004835a9
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18c0], ebx
test ebx, ebx
je 0x446523
xor eax, eax
mov word [ebx], ax
mov eax, dword [edi + 0x1674]
push esi
mov esi, dword [ebp - 0x18b0]
add eax, esi
push eax
push 0x51dcd0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00446690
add esp, 0x14
lea eax, [ebp - 0x18ac]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18b8], eax
cmp eax, 0xffffffff
je 0x446631
lea ebx, [edi + 0x165c]
nop word [eax + eax]
lea eax, [ebp - 0x1880]
push eax
mov eax, dword [edi + 0x1674]
add eax, esi
push eax
push 0x51dcd0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00446690
xor esi, esi
add esp, 0x14
cmp dword [ebx], esi
jle 0x4465e4
xor edi, edi
mov eax, dword [ebp - 0x18b4]
lea ecx, [ebp - 0x20c]
push ecx
mov eax, dword [eax + 0x1660]
add eax, edi
push eax
call fcn.00491cc0
add esp, 8
test eax, eax
je 0x4465de
inc esi
add edi, 0x208
cmp esi, dword [ebx]
jl 0x4465b1
mov edi, dword [ebp - 0x18b4]
mov eax, dword [ebx]
cmp esi, eax
jne 0x446604
test byte [ebp - 0x18ac], 0x10
jne 0x446604
push 1
push eax
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00446010
lea eax, [ebp - 0x18ac]
push eax
push dword [ebp - 0x18b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x18b0]
test eax, eax
jne 0x446580
mov eax, dword [ebp - 0x18b8]
mov ebx, dword [ebp - 0x18c0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x44664a
cmp word [ebx + 2], 0
lea esi, [ebx + 2]
jne 0x446501
mov ebx, dword [ebp - 0x18b0]
mov eax, dword [ebp - 0x18bc]
add ebx, 0x208
inc eax
mov dword [ebp - 0x18b0], ebx
mov dword [ebp - 0x18bc], eax
cmp eax, dword [edi + 0x1670]
jl 0x4464d0
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x165c]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00481761
mov esp, ebp
pop ebp
ret 4
Function at 0x446830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
push 0xe
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4469c8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4469c8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x4469c8
movaps xmm0, xmmword [0x51dcf0]
lea edx, [ecx + 6]
push ebx
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x88], edx
movups xmmword [ebp - 0x9c], xmm0
test ebx, ebx
js 0x4468df
movzx edi, word [ecx + 4]
xor eax, eax
test edi, edi
je 0x4468da
add edx, 6
movzx ecx, word [edx]
cmp ecx, dword [ebp + ebx*4 - 0x9c]
jne 0x4468c6
mov dword [ebp + esi*4 - 0x84], eax
inc esi
inc eax
add edx, 0xe
cmp eax, edi
jl 0x4468b2
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
dec ebx
test esi, esi
je 0x4468a1
test esi, esi
jle 0x446959
xor ebx, ebx
mov edi, edx
mov edx, dword [ebp + 0x10]
xor ecx, ecx
movzx eax, byte [edi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [ebp + ecx*4 - 0x44], eax
je 0x44690f
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x44690f
inc ecx
add edi, 0xe
cmp ecx, esi
jl 0x4468f0
cmp ecx, esi
jne 0x44693c
xor edx, edx
xor edi, edi
nop word [eax + eax]
lea ecx, [edx*4]
mov eax, dword [ebp + ecx - 0x44]
cmp eax, dword [ebp + edi - 0x44]
jge 0x446935
mov ebx, edx
mov edi, ecx
inc edx
mov ecx, ebx
cmp edx, esi
jl 0x446920
mov eax, dword [ebp + ecx*4 - 0x84]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x88]
movzx eax, word [eax + ecx*2 + 0xc]
jmp 0x446969
mov eax, dword [ebp + 0x10]
push 0
push eax
push eax
push 1
push ecx
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
push 3
movzx eax, ax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
pop ebx
test esi, esi
je 0x4469c8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4469c8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4469c8
push 0
push 0
push 0
push 0x30000
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00481761
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447460
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0
push 3
push 0
push 3
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44748e
mov eax, 3
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call fcn.0048deaf
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4474bf
push edi
lea esi, [eax + 3]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4475a5
cmp esi, dword [ebp - 4]
jne 0x4475a5
push ebx
mov byte [esi + ebx], 0
call fcn.0043b7b0
push str._License_
push ebx
call fcn.00482680
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447507
mov esi, 4
jmp 0x4475aa
cmp byte [esi + 9], 0x3d
jne 0x4474fd
push 0x104
push str.DeskSoft_License
push str._Product_
push ebx
mov byte [esi + 9], 0
call fcn.0043c350
add esp, 0x10
test al, al
je 0x4474fd
push 0x104
push 0xb66538
push str._Version_
push ebx
call fcn.0043c350
add esp, 0x10
test al, al
je 0x4474fd
push 0x104
push 0xb66640
push str._ExpDate_
push ebx
call fcn.0043c350
add esp, 0x10
test al, al
je 0x4474fd
lea eax, [esi + 0xa]
push eax
push ebx
call fcn.0043cab0
neg eax
push str.DesktopPlant
sbb esi, esi
push str.DeskSoft_License
and esi, 2
call fcn.00482680
add esp, 0x10
test eax, eax
je 0x4475aa
push str.DesktopPlant
push 0x104
push str.DeskSoft_License
call fcn.0048dd93
add esp, 0xc
jmp 0x4475aa
mov esi, 3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00484ef8
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x449750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x44975e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x44981d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
sub edi, 1
jne 0x449776
pop edi
test esi, esi
je 0x44983b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51deb8]
sub esi, 1
jne 0x449821
not eax
pop esi
pop ebp
ret