joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bd248
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.005df960
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.005bc1ac
test al, al
jne 0x5bd2a9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x721164]
mov dl, 1
mov eax, dword [0x5bad08]
call fcn.005cafd8
call fcn.005de9c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005bbf88
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5bd8a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5bd9d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005bc24c
xor eax, eax
push ebp
push 0x5bd9ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bc7fc
test al, al
je 0x5bd98f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005bd788
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.005dfa10
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x5bd98f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.005df960
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bc1ac
test al, al
je 0x5bd98b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.005df960
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.005dfa80
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005bd788
pop ecx
inc edi
dec ebx
jne 0x5bd933
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd9b2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.005bc24c
ret
Function at 0x5bd9e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bdc2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005bc24c
xor eax, eax
push ebp
push 0x5bdc04
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bc7fc
test al, al
je 0x5bdbe8
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.005dfa10
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x5bdbe8
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.005df960
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bc1ac
test al, al
je 0x5bdbdc
mov eax, dword [ebp - 4]
call fcn.005df960
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.005dfa80
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bd2f8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5bdbdc
xor eax, eax
push ebp
push 0x5bdbd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.005bc24c
xor eax, eax
push ebp
push 0x5bdbb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005df960
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.005dfa80
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bc250
mov eax, dword [ebp - 4]
call fcn.005df960
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.005dfa80
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005bd2f8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5bdb94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005bd8a8
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005bd9e0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdb9b
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x5bda6b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdc0b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.005bc24c
ret
Function at 0x5c59f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x5c5a99
test eax, edx
je 0x5c5a9c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x5c5a19
push edx
mov edx, eax
mov eax, esp
call fcn.005dfaf0
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x5c5a2f
push eax
lea eax, [esp + 8]
call fcn.005dfaf0
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x5c5a3e
movzx eax, word [eax]
sub eax, ecx
jmp 0x5c5a65
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x5c5a7f
add ecx, 4
js 0x5c5a56
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x5c5a7c
push eax
mov eax, ecx
mov edx, 2
call fcn.005df0dc
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x5c5a63
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x5c5a65
xor eax, eax
ret
test eax, eax
je 0x5c5aac
test edx, edx
jne 0x5c5a00
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.005df960
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5c6d2e
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x5c6d4f
cmp ebx, 3
je 0x5c6d4f
cmp ebx, 0x7b
je 0x5c6d4f
mov eax, esi
call fcn.005c6cd0
test al, al
jne 0x5c6d53
xor eax, eax
jmp 0x5c6d55
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.005df960
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5c6d71
test al, 0x10
jne 0x5c6d75
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x5ca490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x5ca4c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.005dfa10
jmp 0x5ca4d2
mov eax, ebx
mov edx, esi
call fcn.005df8d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5ca4dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x5ca4fe
movzx eax, word [esp]
jmp 0x5ca500
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5cac90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x5cadb5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.005caaa0
mov esi, eax
mov eax, dword [0x7213c4]
cmp byte [eax], 0
je 0x5cad5d
mov eax, dword [0x7213cc]
call fcn.005dd7c0
call fcn.005dd414
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5cac68]
call fcn.005e1168
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x5cadd0
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x5cad99
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x721228]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x7216d0]
call fcn.005e125c
push eax
call fcn.006844f4
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call fcn.0068450c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cadbc
lea eax, [ebp - 4]
mov edx, dword [0x5cac68]
call fcn.005e1174
ret

Function at 0x5cbf7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5cc052
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.005df928
lea eax, [ebp - 4]
call fcn.005e02d8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.005df960
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x5cc03c
mov eax, ebx
call fcn.005dd224
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5cc035
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.005df960
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x5cc01f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5cc064
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x5cc01f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cc03c
mov eax, dword [ebp - 0x10]
call fcn.005dd240
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cc059
lea eax, [ebp - 4]
call fcn.005df8c4
ret
Function at 0x5dee50
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x723ed4], 0
je 0x5deeb1
cmp word [0x7241b0], 0xd7b2
jne 0x5dee79
cmp dword [0x7241b8], 0
jbe 0x5dee79
mov eax, 0x7241ac
call dword [0x7241c8]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x5deedc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x719760], 0
jne 0x5deecd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call fcn.00684506
pop edx
ret

Function at 0x5df03c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x719730], 0
je 0x5df062
mov edx, esi
mov eax, ebx
call dword [0x719730]
jmp 0x5df071
mov eax, 8
call fcn.005dd224
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x723ed5], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x5df004
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x602ea0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x602ea6
ret

Function at 0x6204ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x620659
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x62063a
mov dl, 1
mov eax, dword [0x5a3464]
call fcn.005af34c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.005df8d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.006843ce
dec eax
test eax, eax
jl 0x620629
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00646644
test al, al
je 0x62061c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x620668
lea eax, [ebp - 0x394]
call fcn.005c7594
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x62061c
xor eax, eax
push ebp
push 0x620615
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x6206d8
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x6205fe
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.005dfad4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x6205fe
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.005dfad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62061c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x62051f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.005af288
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620660
lea eax, [ebp - 0x3a0]
call fcn.005df8c4
ret

Function at 0x6211b8
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x726b80]
cmp byte [eax + 0xad], 0
jne 0x62122a
cmp dword [0x726b98], 0
jne 0x6211ea
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x71ab60]
push eax
push 3
call fcn.00684608
mov dword [0x726b98], eax
cmp dword [0x726b94], 0
jne 0x621205
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x726b94], eax
cmp dword [0x726b9c], 0
jne 0x62122a
push esp
push 0
push 0
mov eax, dword [0x71ac68]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x726b9c], eax
pop edx
ret
Function at 0x66432c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x6643c6.0
jmp dword [ecx*4 + 0x66435f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x664391
sub dl, 8
je 0x6643a0
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x663fd4
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66402c
jmp case.0x6643c6.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x6643c6.0
movzx ecx, byte [ecx + 0x6643cd]
jmp dword [ecx*4 + 0x6643de]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x6640d8
jmp case.0x6643c6.0
cmp dl, 3
jne 0x66440b
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x664130
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x6640ec
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x664174
jmp case.0x6643c6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x664436
sub dl, 8
je 0x664442
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x6641a0
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66420c
jmp case.0x6643c6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x664461
sub dl, 8
je 0x66446d
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x6642c8
jmp case.0x6643c6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x6642f0
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x66450f
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.006634d8
test eax, eax
je 0x66450f
mov eax, ebx
call fcn.00664518
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x6644a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x664518
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x664549
dec al
je 0x664584
dec al
je 0x6645c9
dec al
je 0x664632
jmp 0x6646bc
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6646bc
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x664559
jmp 0x6646bc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6646bc
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x664594
jmp 0x6646bc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6646bc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x6645f8
xor ebp, ebp
jmp 0x664608
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x664611
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6645d9
jmp 0x6646bc
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6646bc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x66468b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call 0x66158c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x664646
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40459f
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x4bdc8c
call fcn.00435efe
mov ebx, ecx
push 0
call fcn.00404fdd
push 1
mov ecx, ebx
call fcn.00405532
lea eax, [ebp - 0x1c]
push 0x198
push eax
call fcn.0040395a
pop ecx
pop ecx
push dword [eax]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x1c]
call fcn.00435fda
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
lea ecx, [ebp - 0xa4]
call fcn.00403bc6
and dword [ebp - 4], 0
lea esi, [ebx + 0x280]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x1d4]
lea eax, [ebx + 0x1e0]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00403d56
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x94], 0
je 0x4046ad
cmp dword [ebp - 0xa0], 0
mov byte [ebx + 0x29b], 1
jne 0x40469d
push str.GoodZip
lea ecx, [ebp - 0xa4]
call fcn.0040e6d3
push 0x10
push dword [ebp - 0xa4]
push dword [ebp - 0x98]
jmp 0x4046d7
test edi, edi
jne 0x4046e4
mov byte [ebx + 0x29b], 1
cmp dword [ebp - 0x70], edi
je 0x4046e0
cmp dword [ebp - 0x7c], edi
jne 0x4046cf
push str.GoodZip
lea ecx, [ebp - 0x80]
call fcn.0040e6d3
push 0
push dword [ebp - 0x80]
push dword [ebp - 0x74]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test edi, edi
je 0x4046fd
cmp byte [ebx + 0x136], 0
jne 0x4046fd
mov ecx, ebx
mov byte [ebx + 0x135], 1
call fcn.004053ed
jmp 0x404708
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x80]
call fcn.00402c26
lea ecx, [ebp - 0xa4]
call fcn.00402c26
mov al, 1
call fcn.00435ec7
ret