joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464bf0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x464c5a
mov eax, ebx
call fcn.00466fdc
test al, al
jne 0x464c5a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404f8c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x464c47
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x464c67
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ef0
jmp 0x464c67
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ef0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x466100
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46616e
mov eax, esi
call fcn.0044ec84
test al, al
je 0x46616e
mov eax, dword [ebx + 0x84]
call fcn.0044e8e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46616e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x466162
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044e8e4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00446740
jmp 0x46616e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00465f3c
pop esi
pop ebx
ret
Function at 0x46eb84
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040531c
xor eax, eax
push ebp
push 0x46ec61
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, 0x80000000
sete al
test al, al
je 0x46ec3e
mov eax, 0x104
call fcn.00409f28
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
push 0
call sub.kernel32.dll_SetLastError
push 0
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00405094
push dword [ebp - 0x10]
push 0x46ec78
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405230
mov eax, dword [ebp - 0xc]
call fcn.0040532c
push eax
call sub.kernel32.dll_CreateDirectoryA
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x46ec2d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x46ec2f
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.0046eb2c
mov eax, esi
call fcn.00409f74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ec68
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404ec0
lea eax, [ebp - 4]
call fcn.00404e9c
ret

Function at 0x46ec7c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404e9c
push esp
push esi
mov eax, dword [0x47787c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, 0x80000000
sete al
test al, al
je 0x46eccf
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409f14
mov eax, dword [esp]
call fcn.0046eb2c
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x46ecd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
xor ebx, ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040531c
mov eax, dword [ebp - 8]
call fcn.0040531c
mov eax, dword [ebp - 0xc]
call fcn.0040531c
xor eax, eax
push ebp
push 0x46eee3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404f34
lea edx, [ebp - 0x14]
mov eax, dword [0x4777a8]
call fcn.0046ddf8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, 0x46eef4
call fcn.004069e0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, 0x46ef04
call fcn.004069e0
mov eax, dword [ebp - 0x10]
call fcn.0040532c
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0x10]
call fcn.00409b3c
mov eax, dword [ebp - 0x130]
call fcn.0040532c
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, 0x80000000
sete al
test al, al
je 0x46ee8d
lea eax, [ebp - 0x129]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x129]
mov ecx, 0x105
call fcn.004057f4
cmp dword [ebp - 8], 0
je 0x46ee38
push dword [ebp - 0x20]
push 0x46ef18
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 8]
call fcn.0040580c
push dword [ebp - 0x134]
push 0x46ef18
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0xc]
call fcn.0040580c
push dword [ebp - 0x138]
push 0x46ef20
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.004058a8
jmp 0x46ee66
push dword [ebp - 0x20]
push 0x46ef18
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0xc]
call fcn.0040580c
push dword [ebp - 0x13c]
push 0x46ef20
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004058a8
push 0
mov eax, dword [ebp - 0x20]
call fcn.0040581c
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov eax, dword [ebp - 0x24]
call fcn.0046eb2c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
call fcn.00405124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eeea
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.004056bc
lea eax, [ebp - 0x130]
call fcn.00404e9c
lea eax, [ebp - 0x20]
call fcn.004056a4
lea eax, [ebp - 0x1c]
call fcn.0040699c
lea eax, [ebp - 0x18]
call fcn.0040699c
lea eax, [ebp - 0x14]
call fcn.0040699c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404ec0
ret
Function at 0x46ef2c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040531c
lea eax, [ebp - 0x168]
mov edx, dword [0x4080d4]
call fcn.00405a04
xor eax, eax
push ebp
push 0x46f157
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.004091a4
cmp dword [ebp - 0x16c], 0
je 0x46f11b
mov eax, dword [ebp - 4]
call fcn.00409954
test al, al
je 0x46f11b
lea eax, [ebp - 8]
mov ecx, 0x46f170
mov edx, dword [ebp - 4]
call fcn.004051b4
lea ecx, [ebp - 0x168]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.00409a24
mov esi, eax
test esi, esi
jne 0x46f106
test dword [ebp - 0x158], 0x10
jle 0x46f093
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0x154]
call fcn.004091a4
mov eax, dword [ebp - 0x170]
mov edx, 0x46f17c
call fcn.004052c4
je 0x46f0f1
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x154]
call fcn.004091a4
mov eax, dword [ebp - 0x174]
mov edx, 0x46f188
call fcn.004052c4
je 0x46f0f1
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.004051b4
mov eax, dword [ebp - 0x178]
mov edx, 0x10
call fcn.00409978
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.004051b4
mov eax, dword [ebp - 0x17c]
call fcn.0046ef2c
jmp 0x46f0f1
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.004051b4
mov eax, dword [ebp - 0x180]
xor edx, edx
call fcn.00409978
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.004051b4
mov eax, dword [ebp - 0x188]
call fcn.0040532c
mov edx, eax
lea eax, [ebp - 0x184]
call fcn.00405094
mov eax, dword [ebp - 0x184]
call fcn.0040532c
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x168]
call fcn.00409a74
mov esi, eax
test esi, esi
je 0x46eff0
lea eax, [ebp - 0x168]
call fcn.00409a98
mov eax, dword [ebp - 4]
call fcn.00409cbc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f15e
lea eax, [ebp - 0x188]
mov edx, 8
call fcn.00404ec0
lea eax, [ebp - 0x168]
mov edx, dword [0x4080d4]
call fcn.00405ad4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ec0
ret
Function at 0x46f18c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040531c
mov eax, dword [ebp - 8]
call fcn.0040531c
mov eax, dword [ebp - 0xc]
call fcn.0040531c
xor eax, eax
push ebp
push 0x46f364
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, 0x80000000
sete al
test al, al
je 0x46f349
lea eax, [ebp - 0x121]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x121]
mov ecx, 0x105
call fcn.0040510c
cmp dword [ebp - 0x10], 0
je 0x46f23c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x46f225
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x46f23c
lea eax, [ebp - 0x10]
mov edx, 0x46f37c
call fcn.00405168
lea eax, [ebp - 0x226]
xor ecx, ecx
mov edx, 0x105
call fcn.00403848
push 0x105
lea eax, [ebp - 0x226]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x226]
mov ecx, 0x105
call fcn.0040510c
cmp dword [ebp - 0x18], 0
je 0x46f29b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46f284
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
je 0x46f29b
lea eax, [ebp - 0x18]
mov edx, 0x46f37c
call fcn.00405168
lea eax, [ebp - 0x18]
mov edx, 0x46f388
call fcn.00405168
cmp dword [ebp - 8], 0
je 0x46f2c6
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x46f37c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405230
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x46f398
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405230
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x421b24]
call fcn.00421bdc
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x46f3a8
mov edx, 0x46f3b4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, 0x46f3d0
mov edx, 0x46f3b4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
push 0x46f3e4
mov ecx, 0x46f3f0
mov edx, 0x46f3b4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
mov eax, ebx
call fcn.00404070
mov eax, dword [ebp - 0x1c]
call fcn.0046eb2c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.00404ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f36b
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404ec0
ret
Function at 0x438c84
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edx
sub ecx, ecx
call fcn.00438cbc
sub ebx, 1
xor dword [eax], edx
mov ebx, ecx
inc eax
sub ecx, 0x63c97667
or ebx, ebx
cmp eax, edi
jne fcn.00438c84
sub esp, 4
mov dword [esp], 0x48810b68
pop ecx
inc ecx
inc ecx
ret

Function at 0x61b3bf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ecx
push ebx
push edx
push esi
push edi
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
mov edx, esi
cmp byte [esi], 0
je 0x61b3de
inc esi
jmp 0x61b3d6
inc esi
sub esi, edx
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
add ebx, dword [ebp + 8]
xor edx, edx
push esi
mov edi, dword [ebx]
add edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
cld
repe cmpsb byte [esi], byte es:[edi]
jne 0x61b40c
pop esi
jmp 0x61b418
pop esi
add ebx, 4
inc edx
cmp edx, dword [esi + 0x18]
jb 0x61b3f8
jmp 0x61b43a
sub ebx, dword [esi + 0x20]
sub ebx, dword [ebp + 8]
shr ebx, 1
add ebx, dword [esi + 0x24]
add ebx, dword [ebp + 8]
movzx eax, word [ebx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop edx
pop ebx
pop ecx
leave
ret 8
Function at 0x422310
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax + 0x20], al
inc dword [eax]
add al, 0
add byte [esi], al
pushal
mov esi, section.sect_1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x42233d
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422344
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422333
mov eax, 0
add ebx, ebx
jne 0x422356
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42234b
jne 0x422367
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42234b
xor ecx, ecx
sub eax, 3
jb 0x42237b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4223ed
mov ebp, eax
add ebx, ebx
jne 0x422386
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4223b7
inc ecx
add ebx, ebx
jne 0x4223a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422398
jne 0x4223b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422398
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4223d7
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4223c8
jmp 0x422339
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4223d7
add edi, ecx
jmp 0x422339
pop esi
mov edi, esi
mov ecx, 0x2ae
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4223f5
cmp byte [edi], 4
jne 0x4223f5
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4223fa
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422469
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22e04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22e68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422427
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22e6c]
or eax, eax
je 0x422463
mov dword [ebx], eax
add ebx, 4
jmp 0x422444
call dword [esi + 0x22e70]
popal
jmp 0x40608b
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x40d340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40d362
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d358
mov eax, 1
add ebx, ebx
jne 0x40d37b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d370
jne 0x40d38c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d370
xor ecx, ecx
sub eax, 3
jb 0x40d3a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d412
mov ebp, eax
add ebx, ebx
jne 0x40d3ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d3b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d3dc
inc ecx
add ebx, ebx
jne 0x40d3c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d3bd
jne 0x40d3d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d3bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d3fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d3ed
jmp 0x40d35e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d3fc
add edi, ecx
jmp 0x40d35e
pop esi
mov edi, esi
mov ecx, 0x24
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d41a
cmp byte [edi], 2
jne 0x40d41a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40d41f
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d497
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xda20]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xda5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d44c
mov ecx, edi
jns 0x40d47b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xda60]
or eax, eax
je 0x40d491
mov dword [ebx], eax
add ebx, 4
jmp 0x40d469
call dword [esi + 0xda70]
mov ebp, dword [esi + 0xda64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d4cb
sub esp, 0xffffff80
jmp 0x401590
Function at 0x1057000
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x1057006
pop ebp
mov edx, ebp
sub ebp, 0x402bc6
sub edx, dword [ebp + 0x403461]
sub edx, 6
mov dword [ebp + 0x403465], edx
cmp dword [ebp + 0x403469], 0
jne 0x10573ea
mov dword [ebp + 0x403469], 1
mov ecx, 0x788
lea esi, [ebp + 0x402c18]
mov al, byte [ebp + 0x403460]
mov bl, byte [esi]
xor al, bl
mov byte [esi], al
test dword [eax + 0x34], esp
inc eax
add byte [edx - 0x773ccde2], cl
push es
mov byte [ebp + 0x403460], bl
inc esi
loop 0x1057043
push es
pop esi
test al, 0x6c
insd dword es:[edi], dx
sbb dword [esi], ebx
sahf
sub edi, esp
rcl dword [ebx + 0x52e76c93], cl
push ebx
popal
and dword [ecx], esp
stosb byte es:[edi], al
outsd dx, dword [esi]
cmp dword [ecx - 0x1e], ebp
push 0x63
push ecx
adc dword [ecx], edx
jnp 0x10570f7
loop 0x10570dc
arpl word [ecx + 0x11], dx
adc dword [ebx + 0x7f], edi
pop ss
pop ss
pop es
pop es
pop es
push esi
cmp al, 0x3c
ret
jo 0x1057044
add eax, 0xe3d2338e
mov dword [0x7ff450a3], eax
retf 0x1a2b
insb byte es:[edi], dx
pop esi
push ds
push ds
sbb eax, 0xee6b0e7
out 0xe, al
loop 0x10570b0
loope 0x10570b2
mov edi, 0xb0e6b8e0
loopne 0x1057143
mov eax, 0x6be0b0e6
jecxz 0x10570c4
fcomp dword [eax + 0x47a61398]
jbe 0x1057118
cwde
adc esp, dword [esi + 0x36367647]
pop esi
pop esi
pop esi
push ds
push ds
push ds
dec edi
sbb esi, esp
jae 0x1057070
mov al, 0xf0
invalid
jns 0x1057104
hlt
fst dword [ebx + 0x53]
push ebx
push ebx
fmul dword [ebp + 0x28]
sbb al, 0x5c
pop esp
xlatb
push edx
mov bh, 0x86
mov dh, 0xed
cmp eax, 0x7ab83349
mov ebx, 0xab704353
xor edi, dword [eax + 0x4353bb7a]
jo 0x10570cb
and byte [ebp + 0xd0d4d7c], dl
push cs
mov ebx, 0xaaaaeade
sub dword [edi], edx
pop ss
arpl word [ecx], ax
mov al, ah
rol byte [ebx - 0x56], 0xa2
jae 0x10570d3
adc dword [edi], ebp
sub al, 0x91
hlt
int 0xab
and byte [esi], bh
call dword [eax + ebx]
wait
pushal
popal
adc eax, 0x63619a19
pop ss
add dword [edx + 0x2e0e7a79], eax
invalid
inc ebx
jae 0x10573eb
arpl word [esi], bp
sbb al, 0x5c
pop esp
jb 0xd51f217
or al, 0x5f
xor eax, 0x8a5fca35
mov ebx, 0xe570fbfb
xor byte [esp + esi*8 + 0x17fa7ff4], 0x26
cmpsw word gs:[esi], word es:[edi]
push 0x4e
push edx
xor esp, dword [ebx - 0x60]
cmp dl, dl
mov al, byte [0x2ca0a0a0]
shl byte [eax + 0x2ca0a0a0], cl
in al, 0xb4
mov ebx, 0x2cd2f6ba
jb 0x1057418
aaa
das
movsb byte es:[edi], byte [esi]
ljmp 0xd086
Function at 0x402060
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [0x56e1d4]
mov eax, 1
cmp ecx, eax
je 0x4020b0
lea ecx, [esp]
mov dword [0x56e1d4], eax
push ecx
push 0
push eax
push 0x4020c0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4020a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ecx
ret
mov dword [0x56e1d4], 0
xor eax, eax
pop ecx
ret
Function at 0x402da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 4], 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 4]
push eax
push ecx
push str.DownProgName
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
pop ecx
ret

Function at 0x402de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x402e56
lea eax, [esp + 8]
push str.TwInternalDownload
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x402e56
mov eax, 1
add esp, 0x210
ret
xor eax, eax
cmp word [esp + 8], ax
sete al
add esp, 0x210
ret

Function at 0x402e70
Capabilities:
Set registry value

Disassembly:
push str.TwInternalDownload
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push str.TwInternalDownload
push 1
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
ret