joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ea52c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x14]
test ebx, ebx
jle 0x5ea548
cmp ebx, 0x38
jle 0x5ea55e
mov ecx, 0x5ea72c
mov dl, 1
mov eax, dword [0x41c8fc]
call fcn.00429b38
call fcn.004097e4
mov eax, dword [ebp - 4]
call fcn.005ea790
mov dword [ebp - 0xc], esi
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 0x12
mov eax, dword [ebp - 4]
add eax, 0x1010
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + edx]
mov eax, dword [ebp - 8]
add eax, 2
cdq
idiv ebx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edx]
shl eax, 8
add ecx, eax
mov eax, dword [ebp - 8]
inc eax
cdq
idiv ebx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edx]
shl eax, 0x10
add ecx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movzx eax, byte [eax + edx]
shl eax, 0x18
add ecx, eax
mov eax, dword [ebp - 0x18]
xor dword [eax], ecx
mov eax, dword [ebp - 8]
add eax, 4
cdq
idiv ebx
mov dword [ebp - 8], edx
add dword [ebp - 0x18], 4
dec esi
jne 0x5ea57e
cmp dword [ebp + 8], 0
jne 0x5ea606
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 8
call fcn.00407794
mov eax, dword [ebp - 4]
add eax, 8
xor ecx, ecx
mov edx, 8
call fcn.00407794
jmp 0x5ea62a
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov eax, esi
mov ecx, 8
call fcn.00406c30
mov edx, dword [ebp - 4]
add edx, 8
mov eax, esi
mov ecx, 8
call fcn.00406c30
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00407794
mov esi, 9
mov ebx, dword [ebp - 4]
add ebx, 0x1010
mov ecx, edi
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005ea7bc
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl edx, 8
add eax, edx
movzx edx, byte [edi + 1]
shl edx, 0x10
add eax, edx
movzx edx, byte [edi]
shl edx, 0x18
add eax, edx
mov dword [ebx], eax
movzx eax, byte [edi + 7]
movzx edx, byte [edi + 6]
shl edx, 8
add eax, edx
movzx edx, byte [edi + 5]
shl edx, 0x10
add eax, edx
movzx edx, byte [edi + 4]
shl edx, 0x18
add eax, edx
mov dword [ebx + 4], eax
add ebx, 8
dec esi
jne 0x5ea646
mov dword [ebp - 8], 4
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov esi, 0x80
mov eax, dword [ebp - 0x1c]
mov ebx, eax
mov ecx, edi
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005ea7bc
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl edx, 8
add eax, edx
movzx edx, byte [edi + 1]
shl edx, 0x10
add eax, edx
movzx edx, byte [edi]
shl edx, 0x18
add eax, edx
mov dword [ebx], eax
movzx eax, byte [edi + 7]
movzx edx, byte [edi + 6]
shl edx, 8
add eax, edx
movzx edx, byte [edi + 5]
shl edx, 0x10
add eax, edx
movzx edx, byte [edi + 4]
shl edx, 0x18
add eax, edx
mov dword [ebx + 4], eax
add ebx, 8
dec esi
jne 0x5ea6b4
add dword [ebp - 0x1c], 0x400
dec dword [ebp - 8]
jne 0x5ea6aa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5ea790
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
mov ebx, eax
lea edx, [ebx + 0x10]
mov eax, 0x622418
mov ecx, 0x1000
call fcn.00406c30
lea edx, [ebx + 0x1010]
mov eax, 0x6223d0
mov ecx, 0x48
call fcn.00406c30
pop ebx
ret
Function at 0x5ead08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
sub edi, 1
jno 0x5ead26
call fcn.00407fc0
test edi, edi
jl 0x5ead6f
inc edi
xor esi, esi
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x10]
lea edx, [ebx + 8]
mov eax, ebx
call fcn.005ea7bc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
xor al, byte [ebp - 0x10]
mov edx, dword [ebp - 8]
mov byte [edx + esi], al
lea edx, [ebx + 8]
lea eax, [ebx + 9]
mov ecx, 7
call fcn.00406c30
movzx eax, byte [ebp - 0x11]
mov byte [ebx + 0xf], al
inc esi
dec edi
jne 0x5ead2d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5eb620
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
mov esi, edx
imul ebx, dword [eax], 0x8088405
inc ebx
mov dword [eax], ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, esi
xor edx, edx
call fcn.0040badc
mov eax, edx
xor edx, edx
pop esi
pop ebx
ret

Function at 0x5ec0a0
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x5ece7c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040a1cc
xor eax, eax
push ebp
push 0x5ed090
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x5ed061
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5ed023
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48df48]
call fcn.004b0b44
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.005ecda8
test al, al
je 0x5ed00f
xor edx, edx
push ebp
push 0x5ed005
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x5ed0ac
call fcn.0040aec8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005ebc58
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x5ecf2e
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
mov esi, eax
test esi, esi
je 0x5ecf3f
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b038
push 0xff00
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48df48]
call fcn.004b0b44
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x5ed0dc
call fcn.0040aec8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005ebc58
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.005ecdac
test al, al
je 0x5ecfd3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
call fcn.005eb75c
test al, al
jne 0x5ecfc4
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.004082a4
mov eax, dword [ebp - 4]
call fcn.0040ac5c
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov edx, 0x5ed110
mov eax, dword [ebp - 0xc]
call fcn.005ebc58
jmp 0x5ecffb
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.004082a4
mov eax, dword [ebp - 8]
call fcn.0040ac5c
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov edx, 0x5ed15c
mov eax, dword [ebp - 0xc]
call fcn.005ebc58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed00f
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.005ebc58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ed02d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed068
cmp dword [ebp - 0x10], 0
je 0x5ed04d
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.004082a4
cmp dword [ebp - 0x14], 0
je 0x5ed060
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.004082a4
ret
Function at 0x5f0a38
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5f0a66
mov eax, ebx
call fcn.005f14f4
cmp dword [ebx + 0x40], 0
je 0x5f0a5f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5f0ad7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5f0ac9
cmp dword [ebx + 8], 0
je 0x5f0a88
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5f0a9a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5f0ac9
cmp dword [ebx + 8], 0
je 0x5f0a7b
cmp eax, 3
je 0x5f0aad
dec eax
jne 0x5f0a7b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5f0a7b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5f0a7b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5f0af5
cmp dword [ebx + 0x14], 0xcc
je 0x5f0af5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005f0b00
pop ebx
ret

Function at 0x6050c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x62ac78], 0
jne 0x6050d7
call fcn.0060507c
mov eax, edi
dec eax
test eax, eax
jl 0x6050ff
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x62a878]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6050e1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x607df4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x607e8e.0
jmp dword [ecx*4 + 0x607e27]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x607e59
sub dl, 8
je 0x607e68
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607ac0
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607b14
jmp case.0x607e8e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x607e8e.0
movzx ecx, byte [ecx + 0x607e95]
jmp dword [ecx*4 + 0x607ea6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607bb4
jmp case.0x607e8e.0
cmp dl, 3
jne 0x607ed3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607c0c
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607bc8
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607c50
jmp case.0x607e8e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x607efe
sub dl, 8
je 0x607f0a
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607c7c
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607ce0
jmp case.0x607e8e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x607f29
sub dl, 8
je 0x607f35
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607d90
jmp case.0x607e8e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x607db8
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x607fd7
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 - 4]
mov eax, ebx
call fcn.00607008
test eax, eax
je 0x607fd7
mov eax, ebx
call fcn.00607fe0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
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 - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x607f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x607fe0
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 0x608011
dec al
je 0x60804c
dec al
je 0x608089
dec al
je 0x6080f2
jmp 0x60817c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x60817c
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 0x608021
jmp 0x60817c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x60817c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x60805c
jmp 0x60817c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x60817c
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 0x6080b8
xor ebp, ebp
jmp 0x6080c8
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 0x6080d1
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 0x608099
jmp 0x60817c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x60817c
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 0x60814b
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 fcn.00605108
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 0x608106
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x610160
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6102ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x6102e4
call fcn.0040a4c8
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x6243c4]
mov eax, dword [eax]
call fcn.005dabec
mov eax, dword [ebp - 0x14]
call fcn.0040ac5c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jbe 0x6102a7
mov eax, ebx
call fcn.00406a6c
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x6243c4]
mov eax, dword [eax]
call fcn.005dabec
mov eax, dword [ebp - 0x18]
call fcn.0040ac5c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x6102a0
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x610328
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6102a0
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
push edi
shr ebx, 0x10
movzx eax, bx
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x610338
call fcn.0042502c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
and eax, 2
cmp eax, 2
jne 0x6102a0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x61035c
call fcn.0042502c
mov edx, dword [ebp - 0x3c]
mov eax, edi
call fcn.0040a4c8
mov eax, esi
call fcn.00406a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6102d1
lea eax, [ebp - 0x3c]
call fcn.0040a0e8
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040a148
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x16aaa460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x16aaa860]
xor edx, dword [ebx*4 + 0x16aaac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x16aaa460]
add ecx, 4
xor edx, dword [eax*4 + 0x16aab060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x16aaa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x16aaac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x16aaa460]
add ecx, 4
xor eax, dword [edx*4 + 0x16aab060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x16aaa860]
xor edx, dword [ebx*4 + 0x16aaac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x16aaa460]
xor edx, dword [eax*4 + 0x16aab060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x16aaa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x16aaac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x16aaa460]
xor eax, dword [edx*4 + 0x16aab060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x16aaa860]
xor edx, dword [ebx*4 + 0x16aaac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x16aaa460]
xor edx, dword [eax*4 + 0x16aab060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x16aaa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x16aaac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x16aaa460]
and edx, 0xff
xor eax, dword [edx*4 + 0x16aab060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x16aaa860]
xor edx, dword [ebx*4 + 0x16aaac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x16aaa460]
add ecx, 4
xor edx, dword [eax*4 + 0x16aab060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x16aaa860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x16aaac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x16aaa460]
and edx, 0xff
xor eax, dword [edx*4 + 0x16aab060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x16aaa860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x16aaac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x16aaa460]
and eax, 0xff
xor edi, dword [eax*4 + 0x16aab060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x16aaa460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x401720
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x45701c]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
push 0xfffffffffffffffa
push dword [0x459794]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
push 0x6b
push edi
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x402120
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 6
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], str.ProgressWindow
call esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esp + 8]
push eax
push dword [0x459794]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 8]
sub edx, esi
push 0
push edi
push 0
push 0
push eax
push edx
push ecx
push esi
push 0xce0000
push str.Setup___Ninja_Browser
push str.ProgressWindow
push 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
lea ecx, [esp + 0x48]
push 4
push ecx
push 3
push eax
mov dword [0x459798], eax
mov dword [esp + 0x58], 1
call esi
push 5
push dword [0x459798]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x459794]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x459798]
lea ecx, [esp + 0x48]
push 4
push ecx
push 3
push eax
mov dword [0x459794], eax
mov dword [esp + 0x58], 0
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.00413245
mov esp, ebp
pop ebp
ret
Function at 0x401880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x45701c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
push 0xfffffffffffffffa
push dword [0x459794]
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
push 0x6b
push edi
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 0x402490
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 6
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], str.FinishWindow
call esi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esp + 0x10]
push eax
push dword [0x459794]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub edx, esi
push ebx
push edi
push 0
push 0
push eax
push edx
push ecx
push esi
push 0xce0000
push str.Setup___Ninja_Browser
push str.FinishWindow
push 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
lea ecx, [esp + 0x50]
push 4
push ecx
push 3
push eax
mov dword [0x45978c], eax
mov dword [esp + 0x60], 1
call esi
push 5
push dword [0x45978c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x459794]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x45978c]
lea ecx, [esp + 0x50]
push 4
push ecx
push 3
push eax
mov dword [0x459794], eax
mov dword [esp + 0x60], 0
call esi
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
pop ebx
xor ecx, esp
call fcn.00413245
mov esp, ebp
pop ebp
ret