joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4619a8
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00461b3f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x461b17
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x461b17
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x461acc
jg 0x461a04
test eax, eax
je 0x461ac2
push 1
push 0x1000
call fcn.00453280
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x461a27
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x461ab9
push 0x8000
push ebx
call fcn.00448997
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x461a50
jg 0x461a4b
cmp ecx, 0x1000
jb 0x461a50
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0045b429
add esp, 0x10
cmp eax, 0xffffffff
je 0x461a95
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x461a4b
jl 0x461a7c
test ecx, ecx
jne 0x461a3d
push dword [ebp - 0xc]
push ebx
call fcn.00448997
push esi
call fcn.0045152b
add esp, 0xc
xor ebx, ebx
jmp 0x461b25
cmp byte [edi + 0x24], 0
je 0x461aac
cmp dword [edi + 0x20], 5
jne 0x461aac
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x461ab7
mov ebx, dword [edi + 0x18]
jmp 0x461ab9
xor ebx, ebx
push esi
call fcn.0045152b
pop ecx
jmp 0x461b25
test ecx, ecx
jg 0x461a8e
jl 0x461acc
test eax, eax
jae 0x461a8e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045888f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x461aec
cmp byte [edi + 0x1c], 0
je 0x461a8e
jmp 0x461b1d
push ebx
call fcn.0045a502
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x461a8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x461b25
cmp byte [edi + 0x1c], 0
je 0x461b22
mov ebx, dword [edi + 0x18]
jmp 0x461b25
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0045888f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d8ee
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x4515f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b000]
push edi
or ebp, 0xffffffff
jmp 0x451612
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x451619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x451608
mov eax, 1
add ebx, ebx
jne 0x45162b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x451620
jne 0x45163c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x451620
xor ecx, ecx
sub eax, 3
jb 0x451650
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4516c2
mov ebp, eax
add ebx, ebx
jne 0x45165b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x451668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45168c
inc ecx
add ebx, ebx
jne 0x451678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45166d
jne 0x451689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45166d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4516ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45169d
jmp 0x45160e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4516ac
add edi, ecx
jmp 0x45160e
pop esi
mov edi, esi
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4516ca
cmp byte [edi], 0x32
jne 0x4516ca
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 0x4516cf
lea edi, [esi + 0x4f000]
mov eax, dword [edi]
or eax, eax
je 0x451747
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51a80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51abc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4516fc
mov ecx, edi
jns 0x45172b
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 + 0x51ac0]
or eax, eax
je 0x451741
mov dword [ebx], eax
add ebx, 4
jmp 0x451719
call dword [esi + 0x51ad0]
mov ebp, dword [esi + 0x51ac4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x45177b
sub esp, 0xffffff80
jmp 0x401094
Function at 0x401464
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040268c
test esi, esi
jne 0x40149a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00402778
jmp 0x4014b8
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00401378
mov edi, eax
test esi, esi
je 0x4014b8
cmp dword [ebx], 0
je 0x4014b8
dec esi
jmp 0x4014a1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x401bd0
Capabilities:
Clear file content

Disassembly:
movzx edx, word [eax + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x401bee
push dword [eax]
call sub.KERNEL32.DLL_SetEndOfFile
dec eax
je 0x401bf8
jmp fcn.004012ec
mov eax, 0x67
jmp fcn.004012dc
ret

Function at 0x402648
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004011d8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x40b02c], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x402610
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x403694
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push ebx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov eax, 0xffffffff
mov ecx, edi
shr ecx, 2
jecxz 0x4036eb
mov edx, dword [esi]
mov bl, al
xor bl, dl
shr eax, 8
xor eax, dword [ebx*4 + 0x40b694]
mov bl, al
xor bl, dh
shr eax, 8
xor eax, dword [ebx*4 + 0x40b694]
shr edx, 0x10
mov bl, al
xor bl, dl
shr eax, 8
xor eax, dword [ebx*4 + 0x40b694]
mov bl, al
xor bl, dh
shr eax, 8
xor eax, dword [ebx*4 + 0x40b694]
add esi, 4
loop 0x4036a9
mov ecx, edi
and ecx, 3
jecxz 0x403703
mov bl, al
xor bl, byte [esi]
shr eax, 8
inc esi
xor eax, dword [ebx*4 + 0x40b694]
loop 0x4036f2
xor eax, 0xffffffff
pop ebx
pop edi
pop esi
ret
Function at 0x403744
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x403866
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40ba94]
mov ecx, dword [eax + 0x3c]
add ecx, dword [0x40ba94]
mov eax, dword [ecx + 0x78]
xor edx, edx
push edx
push eax
mov eax, dword [0x40ba94]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov esi, eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [0x40ba94]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, ebx
shl eax, 2
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov eax, dword [eax]
xor edx, edx
push edx
push eax
mov eax, dword [0x40ba94]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, edi
call fcn.00402878
mov eax, dword [ebp - 0xc]
call fcn.0040292c
mov edx, eax
mov eax, edi
call fcn.00403694
cmp eax, dword [ebp - 4]
jne 0x40383d
mov eax, ebx
add eax, eax
add eax, dword [esi + 0x24]
xor edx, edx
push edx
push eax
mov eax, dword [0x40ba94]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ax, word [eax]
and ax, 0xffff
movzx eax, ax
shl eax, 2
add eax, dword [esi + 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [0x40ba94]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov eax, dword [eax]
add eax, dword [0x40ba94]
mov dword [ebp - 8], eax
inc ebx
cmp dword [ebp - 8], 0
jne 0x40384d
cmp ebx, dword [esi + 0x18]
jne 0x403791
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40386d
lea eax, [ebp - 0xc]
call fcn.0040268c
ret
Function at 0x4038f4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
cmp dword [0x4090ac], 0x270
jl 0x4039c5
cmp dword [0x4090ac], 0x271
jne 0x40391b
mov eax, 0x1105
call fcn.004038b0
mov ecx, 0xe3
mov eax, 0x40baa0
mov edx, dword [eax]
and edx, 0x80000000
mov ebx, dword [eax + 4]
and ebx, 0x7fffffff
or edx, ebx
mov ebx, edx
shr ebx, 1
xor ebx, dword [eax + 0x634]
and edx, 1
xor ebx, dword [edx*4 + 0x4090b0]
mov dword [eax], ebx
add eax, 4
dec ecx
jne 0x403925
mov ecx, 0x18c
mov eax, 0x40be2c
mov edx, dword [eax]
and edx, 0x80000000
mov ebx, dword [eax + 4]
and ebx, 0x7fffffff
or edx, ebx
mov ebx, edx
shr ebx, 1
xor ebx, dword [eax - 0x38c]
and edx, 1
xor ebx, dword [edx*4 + 0x4090b0]
mov dword [eax], ebx
add eax, 4
dec ecx
jne 0x40395e
mov edx, dword [0x40c45c]
and edx, 0x80000000
mov eax, dword [0x40baa0]
and eax, 0x7fffffff
or edx, eax
mov eax, edx
shr eax, 1
xor eax, dword [0x40c0d0]
and edx, 1
xor eax, dword [edx*4 + 0x4090b0]
mov dword [0x40c45c], eax
xor eax, eax
mov dword [0x4090ac], eax
mov eax, dword [0x4090ac]
mov edx, dword [eax*4 + 0x40baa0]
inc dword [0x4090ac]
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor edx, eax
mov eax, edx
shl eax, 0xf
and eax, 0xefc60000
xor edx, eax
mov eax, edx
shr eax, 0x12
xor edx, eax
mov eax, edx
pop ebx
ret

Function at 0x403f44
Capabilities:
Move file

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
xor ecx, ecx
mov cl, byte [ebx]
mov edx, esp
lea eax, [ebx + 1]
call fcn.00401318
xor eax, eax
mov al, byte [ebx]
mov byte [esp + eax], 0
xor ecx, ecx
mov cl, byte [esi]
lea edx, [esp + 0x100]
lea eax, [esi + 1]
call fcn.00401318
xor eax, eax
mov al, byte [esi]
mov byte [esp + eax + 0x100], 0
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x40452c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x404634
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x1c
call fcn.004019d0
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x40a704]
cmp byte [edx + 8], 0
je 0x4045b2
mov edx, dword [0x40a6fc]
cmp dword [edx], 2
jne 0x4045b2
mov edx, dword [ebp - 0x24]
add dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x1c], edx
test al, al
je 0x404616
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00402778
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x404616
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00402b24
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00402b24
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00402878
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00403cf4
inc esi
dec ebx
jne 0x4045cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40463b
lea eax, [ebp - 0x2c]
call fcn.0040268c
lea eax, [ebp - 0xc]
call fcn.0040268c
ret

Function at 0x4046c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov al, byte [ebp + 8]
dec al
je 0x4046e3
dec al
je 0x4046ea
dec al
je 0x4046f1
dec al
je 0x4046f8
jmp 0x4046ff
mov ebx, 1
jmp 0x404701
mov ebx, 2
jmp 0x404701
mov ebx, 4
jmp 0x404701
mov ebx, 3
jmp 0x404701
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
push 0
mov eax, edi
call fcn.00402b24
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x404a6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x404b37
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
lea eax, [ebp - 0x10]
call fcn.0040268c
mov si, word [ebp - 2]
dec esi
test si, si
jbe 0x404ac4
mov bx, 1
movzx eax, di
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
xor ax, bx
add di, ax
inc edi
inc ebx
dec si
jne 0x404aad
movzx eax, di
mov edx, dword [ebp - 8]
movzx esi, byte [edx + eax]
xor si, word [ebp - 2]
test si, si
jbe 0x404b11
mov bx, 1
movzx eax, di
movzx edx, bx
add eax, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax]
movzx eax, bx
movzx ecx, word [ebp - 2]
add eax, ecx
add eax, 4
xor edx, eax
lea eax, [ebp - 0x14]
call fcn.00402868
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00402934
inc ebx
dec si
jne 0x404adb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004026e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b3e
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004026b0
ret

Function at 0x404bac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x404bc2
shr ecx, 2
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x404bbb
mov eax, esp
xor esi, esi
xor ecx, ecx
movzx ebx, cx
movzx ebx, byte [eax + ebx]
lea edi, [esi + 1]
xor bx, di
add cx, bx
inc ecx
inc esi
movzx ebx, cx
lea edi, [edx + 1]
cmp ebx, edi
jne 0x404bc8
mov eax, esi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4070d8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, 0x40c7d0
xor eax, eax
push ebp
push 0x4071e5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov ecx, dword [0x40c7d4]
mov dl, 1
mov eax, dword [0x405438]
call fcn.004054ac
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00405614
jmp 0x4071a3
cmp byte [0x40a660], 0
jne 0x4071b2
lea esi, [ebx + 1]
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x407090]
call fcn.004033e4
add esp, 4
push esi
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4070b4]
call fcn.004033e4
add esp, 4
mov dl, 1
mov eax, dword [0x40539c]
call fcn.004057bc
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [eax + ebx*4], esi
mov eax, dword [ebp - 8]
mov edx, esi
mov eax, dword [edi]
call fcn.00405668
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + ebx*4]
mov dword [edx + eax*4 + 8], ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4]
push eax
push 0x406f74
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
inc ebx
mov eax, dword [edi]
call fcn.00405634
test eax, eax
jne 0x407119
mov dl, 1
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4071ec
lea eax, [ebp - 8]
mov edx, dword [0x4070b4]
call fcn.004033f0
lea eax, [ebp - 4]
mov edx, dword [0x407090]
call fcn.004033f0
ret

Function at 0x40741c
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00402b14
xor eax, eax
push ebp
push 0x407517
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x407530
call fcn.00402c64
mov ebx, eax
test bx, bx
jbe 0x40748e
lea eax, [ebp - 0xc]
push eax
movzx esi, bx
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00402b80
mov ecx, esi
lea eax, [ebp - 4]
mov edx, 1
call fcn.00402bc0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00402724
xor eax, eax
push ebp
push 0x4074c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00402b24
push eax
mov eax, dword [ebp - 0xc]
call fcn.00402b24
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4074d4
test bl, bl
je 0x4074e7
mov eax, dword [ebp - 8]
mov edx, 0x40753c
call fcn.004026e0
jmp 0x4074f4
mov eax, dword [ebp - 8]
mov edx, 0x407558
call fcn.004026e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40751e
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004026b0
lea eax, [ebp - 4]
call fcn.0040268c
ret
Function at 0x407574
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00402b14
xor eax, eax
push ebp
push 0x407616
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004019d0
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004019d0
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00402b24
push eax
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x4075f4
mov eax, ebx
mov edx, 0x40762c
call fcn.004026e0
jmp 0x407600
mov eax, ebx
mov edx, 0x407648
call fcn.004026e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40761d
lea eax, [ebp - 4]
call fcn.0040268c
ret
Function at 0x401284
Capabilities:
Accept command line arguments

Disassembly:
push ebp
add esp, 0xffffffb4
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [esp + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [0x402c40], edi
push 0
push 0x186a0
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x402c28], eax
push 0x7f00
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x402c20], eax
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x402c24], eax
xor eax, eax
push eax
push 0x4013f4
push eax
push 0xc8
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ecx, dword [0x402c00]
cmp ecx, esi
je 0x401346
call dword [0x402c00]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401346
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40132d
add esp, ebp
pop ebp
ret
Function at 0x4068fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40691f
xor eax, eax
test eax, eax
je 0x406932
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406932
xor ecx, ecx
jmp 0x406935
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a58
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a8f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a69
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406ac0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406aa2
pop edi
not eax
pop esi
ret 0xc

Function at 0x58e70f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421636
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x426a58]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], 0x4239c0
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x42c1d8]
push 0
push 2
push esi
push 0x42c1d8
mov dword [ebp - 4], 0
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax], cx
lea esi, [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov eax, dword [0x42c1d8]
push ecx
push 2
push esi
push 0x42c1d8
mov byte [ebp - 4], 2
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0x80000000
mov dword [edi + 0x38], ecx
mov dword [edi + 0x2c], 0xc
mov dword [edi + 0x30], 7
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x3c], ecx
lea ecx, [edi + 0x40]
mov dword [edi + 0x28], 0x4239a0
lea eax, [ecx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0x102
mov dword [ecx], 0x42c1dc
mov dword [ecx + 8], 0x102
mov word [eax], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret