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

Disassembly:
mov eax, 4
call fcn.004855d0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x30]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x558c69
mov ecx, dword [esp + 0x2c]
nop dword [eax]
test esi, esi
je 0x558c69
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x558c50
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
bswap ecx
mov dword [esp + 0x20], ecx
cmp esi, 0x10
jb 0x558ce1
nop dword [eax + eax]
mov edi, esi
shr edi, 4
add ecx, edi
mov dword [esp + 0x20], ecx
cmp ecx, edi
jae 0x558c97
sub edi, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
push edx
push dword [esp + 0x28]
push edi
push ebx
push ebp
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
mov eax, ecx
bswap eax
mov dword [edx + 0xc], eax
test ecx, ecx
jne 0x558ccf
mov ecx, 0xc
nop
dec ecx
add byte [ecx + edx], 1
jne 0x558ccb
test ecx, ecx
jne 0x558cc0
mov ecx, dword [esp + 0x20]
shl edi, 4
sub esi, edi
add ebx, edi
add ebp, edi
cmp esi, 0x10
jae 0x558c80
mov edi, dword [esp + 0x10]
test esi, esi
je 0x558d42
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push edx
push dword [esp + 0x28]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
add eax, 1
bswap eax
mov dword [edx + 0xc], eax
jne 0x558d21
mov ecx, 0xc
dec ecx
add byte [ecx + edx], 1
jne 0x558d21
test ecx, ecx
jne 0x558d16
mov eax, dword [esp + 0x2c]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x558d30
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x559fd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.004855d0
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [esi + 0x160]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x14], ebx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x55a07b
mov eax, dword [esp + 0x18]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x55a199
mov dword [esp + 0xc], edi
push ebp
mov ebp, dword [esp + 0x1c]
cmp edi, 0x10
jb 0x55a0f3
mov ebx, ebp
lea ecx, [esi + 0xf]
mov eax, edi
sub ebx, esi
shr eax, 4
mov dword [esp + 0x20], eax
nop dword [eax]
lea eax, [ebx + ecx]
cmp esi, eax
ja 0x55a0c2
cmp ecx, ebp
jb 0x55a0c2
mov ecx, esi
mov edx, 0x10
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x55a0b2
jmp 0x55a0d0
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x20]
add esp, 8
lea ecx, [esi + 0xf]
add ebp, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [esp + 0x20], 1
jne 0x55a0a0
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x55a172
xor edx, edx
test edi, edi
je 0x55a168
cmp edi, 0x20
jb 0x55a14b
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x55a114
cmp ecx, ebp
jae 0x55a14b
mov ecx, edi
mov ebx, ebp
and ecx, 0xffffffe0
mov eax, esi
sub ebx, esi
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebx - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edx + ebp + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x55a120
cmp edx, edi
jae 0x55a164
sub ebp, esi
lea ecx, [edx + esi]
sub edi, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x55a156
mov ebx, dword [esp + 0x18]
lea eax, [esi + 0x60]
push eax
push esi
call ebx
add esp, 8
mov eax, dword [esp + 0x10]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call ebx
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
pop ebp
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x567620
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x567632
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.0051fc90
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x5676f5
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x567686
test esi, esi
jle 0x5676d4
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x567670
jmp 0x5676d4
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x5676aa
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.004d7c10
add esp, 0xc
test esi, esi
jle 0x5676d4
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x5676c0
push esi
push ebp
push ebp
push edi
call fcn.0052a7d0
add esp, 0x10
pop ebx
test eax, eax
jne 0x5676f5
push esi
push ebp
call fcn.004012d0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x568700
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x5687cc
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x568721
cmp al, 0x6b
jne 0x5687cc
inc ecx
cmp al, 0x6b
jne 0x56878e
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x568742
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x568742
cmp dl, 0xbb
jne 0x56876b
inc eax
cmp eax, esi
jl 0x568730
sub esi, eax
test eax, eax
jne 0x568791
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00521470
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00521470
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5687ba
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00521470
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.004d4c70
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00521470
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x56ea40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
cmovge ebp, edi
cmovge edi, edx
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x56ea69
mov eax, ebx
jmp 0x56ea73
push eax
push ebx
call fcn.005194d0
add esp, 8
test eax, eax
jne 0x56ea7b
pop edi
pop ebp
pop ebx
ret
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x56ea9a
push esi
mov ecx, dword [edi]
mov edx, dword [ebp]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebx]
xor esi, dword [edx + eax*4]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp + 4]
jl 0x56ea83
pop esi
cmp eax, dword [edi + 4]
jge 0x56eab0
nop
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x56eaa0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
test ecx, ecx
jle 0x56ead3
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x56ead0
dec ecx
test ecx, ecx
jg 0x56eac2
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x570f50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.004855d0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0x1048
push 0x5f6348
push esi
call fcn.004d4c70
mov ebx, dword [esp + 0x30]
mov edi, 0x48
add esp, 0xc
mov eax, ebx
cmp dword [esp + 0x20], edi
cmovle edi, dword [esp + 0x20]
add edi, ebx
xor ebp, ebp
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x570f90
mov dword [esp + 0x10], 0
xor edi, edi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004125c0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x570fe0
xor edi, edi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004125c0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x571007
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x571320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.004855d0
mov eax, dword [0x62b370]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x54]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x14], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x5714e5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x48], eax
test esi, esi
jne 0x571475
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.004125c0
mov ebx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x571410
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x5714cc
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00484636
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00484636
add esp, 0x2c
ret
Function at 0x5729b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.004855d0
mov eax, dword [0x62b370]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x54]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x14], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x572b75
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x48], eax
test esi, esi
jne 0x572b05
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.00413000
mov ebx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x572aa0
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x572b5c
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00484636
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00484636
add esp, 0x2c
ret
Function at 0x586e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x586eac
mov eax, dword [ebp - 4]
jmp 0x586eaf
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x587f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042a2a0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x587f52
cmp dword [ebp - 8], 0xea
je 0x587f52
mov eax, dword [ebp - 8]
jmp 0x587f97
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042d090
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00587ec0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x587f86
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 1
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0042d0c0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x58a2b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7ad4
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e8], ecx
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x28
call fcn.0042f120
movzx eax, al
test eax, eax
je 0x58a3b0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004d7c10
add esp, 0xc
lea ecx, [ebp - 0x4e4]
call fcn.004ba281
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.004bad94
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004276b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
push ecx
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x28
call fcn.004277d0
lea ecx, [ebp - 0x290]
call fcn.00427780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e4]
call fcn.00442f10
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x58
call fcn.0042f120
movzx edx, al
test edx, edx
je 0x58a42a
push 0x602fb0
lea ecx, [ebp - 0x248]
call fcn.004276b0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebp - 0x4f0]
push edx
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x58
call fcn.004277d0
lea ecx, [ebp - 0x2a8]
call fcn.00427780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00427660
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x70
call fcn.0042f120
movzx eax, al
test eax, eax
je 0x58a4a4
push 0x602fc8
lea ecx, [ebp - 0x260]
call fcn.004276b0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4f4]
push eax
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x70
call fcn.004277d0
lea ecx, [ebp - 0x2c0]
call fcn.00427780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00427660
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x40
call fcn.0042f120
movzx ecx, al
test ecx, ecx
je 0x58a521
lea edx, [ebp - 0x278]
push edx
call fcn.00429480
mov ecx, eax
call fcn.004b21cc
mov dword [ebp - 4], 4
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x4f8], eax
mov edx, dword [ebp - 0x4f8]
push edx
mov ecx, dword [ebp - 0x4e8]
add ecx, 0x40
call fcn.004277d0
lea ecx, [ebp - 0x2d8]
call fcn.00427780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00427660
cmp dword [ebp + 8], 0
je 0x58a558
mov eax, dword [ebp - 0x4e8]
mov byte [eax], 1
lea ecx, [ebp - 0x4fc]
push ecx
push 0
mov edx, dword [ebp - 0x4e8]
push edx
push 0x58a290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x4e8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret 4
Function at 0x58bb30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x58bbe1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 1]
test edx, edx
je 0x58bbe1
mov ecx, dword [ebp - 4]
call fcn.0058a140
mov dword [ebp - 8], 0
mov eax, 1
test eax, eax
je 0x58bba3
cmp dword [ebp - 8], 0x14
jl 0x58bb80
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 3]
test edx, edx
jne 0x58bb80
jmp 0x58bba3
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x58bb8d
jmp 0x58bba3
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x58bb64
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 2]
test ecx, ecx
jne 0x58bbe1
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x58bbf7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x590eb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], ecx
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.004d7c10
add esp, 0xc
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004d7c10
add esp, 0xc
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x420]
mov ecx, dword [edx + 0x24]
call fcn.004315f0
jmp 0x590f3c
push 0
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x424]
call fcn.00434e60
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x420]
mov ecx, dword [edx + 0x24]
call fcn.00430bf0
push eax
lea ecx, [ebp - 0x424]
call fcn.00430ae0
movzx eax, al
test eax, eax
je 0x5910d3
lea ecx, [ebp - 0x424]
call fcn.00430ac0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
add edx, 0xc
push edx
call fcn.004d915b
add esp, 4
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jle 0x5910ce
mov eax, dword [ebp - 0x41c]
add eax, 0xc
push eax
push 0x606564
lea ecx, [ebp - 0x414]
push ecx
call fcn.00430670
add esp, 0xc
mov ecx, dword [ebp - 0x420]
add ecx, 0x8c
call fcn.004275c0
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0x606594
lea eax, [ebp - 0x414]
push eax
push 0x606584
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x6065a8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004d93a0
add esp, 8
test eax, eax
je 0x59103e
lea edx, [ebp - 0x20c]
push edx
call fcn.004ddedc
add esp, 4
mov byte [ebp - 0x415], al
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x42c]
mov al, byte [ebp - 0x415]
mov byte [edx], al
mov ecx, dword [ebp - 0x41c]
add ecx, 0xc
push ecx
push 0x60659c
lea edx, [ebp - 0x414]
push edx
call fcn.00430670
add esp, 0xc
mov ecx, dword [ebp - 0x420]
add ecx, 0x8c
call fcn.004275c0
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea ecx, [ebp - 0x414]
push ecx
push 0x6065b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x6065d4
lea edx, [ebp - 0x20c]
push edx
call fcn.004d93a0
add esp, 8
test eax, eax
je 0x5910ce
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x430], ecx
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x430]
push eax
call fcn.004d95d7
add esp, 8
jmp 0x590f28
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret