joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4677ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x467814
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00467d9d
jmp 0x4678e3
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x467836
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x467838
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x4678d7
jg 0x467855
test esi, esi
je 0x4678d7
test ecx, ecx
jl 0x4678a2
jg 0x46785f
test eax, eax
je 0x4678a2
cmp ebx, ecx
jg 0x467873
jl 0x467869
cmp esi, eax
jae 0x467873
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00524f90
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x4678a9
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x4678d7
jg 0x4678b3
test esi, esi
je 0x4678d7
cmp dword [edi + 0x4c], 0
je 0x4678d7
mov ecx, edi
call fcn.00468109
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0052d138
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x467b1a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x467b40
xor eax, eax
jmp 0x467c02
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x467b69
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x467b69
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x467c02
cmp dword [esi + 0x4c], 0
je 0x467c00
mov ecx, esi
call fcn.00468109
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x467b95
push dword [esi + 0x4c]
push eax
call fcn.0046707e
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x467c00
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x467c00
cmp eax, 1
jle 0x467bcf
cmp eax, 3
jne 0x467c00
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x467b87
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x467bf2
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.0052c2f4
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x467c00
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x467c02
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522ca8
leave
ret 4

Function at 0x468157
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4681d9
cmp byte [esi + 0x3d], 0
je 0x4681d9
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4681ab
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4681af
sub eax, 1
je 0x4681b3
dec eax
sub eax, 1
je 0x4681d9
xor al, al
jmp 0x4681db
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4681d0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0052c2f4
add esp, 0x10
cmp edi, eax
jne 0x4681ab
cmp byte [esi + 0x3d], 0
sete al
jmp 0x4681db
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00522ca8
leave
ret
Function at 0x4698c7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
je 0x4698df
xor eax, eax
jmp 0x46998b
lea ecx, [esi + 0x30]
call fcn.0046eb0f
test eax, eax
jne 0x469988
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.0046ea94
pop ecx
test eax, eax
jne 0x469988
push ecx
lea ecx, [esi + 0x18]
call fcn.0046ea94
pop ecx
test eax, eax
jne 0x469988
push ecx
lea ecx, [esi + 0x1c]
call fcn.0046ea94
pop ecx
test eax, eax
jne 0x469988
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.0046eaca
pop ecx
test eax, eax
jne 0x469988
push ebx
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x469953
call fcn.0046ea62
test eax, eax
jne 0x469988
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.0052d8f1
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x46997d
call fcn.0046ea62
test eax, eax
jne 0x469988
mov dword [esi], 1
jmp 0x4698d8
push 0xc
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46c05c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
or esi, 0x100
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr edx, 4
xor edx, ecx
add edi, dword [eax + edx*4]
cmp esi, 0x10000
jb 0x46c06e
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46c0a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x46c0b9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46c18b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x46c1c6
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x46c1a3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x46c1ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x46c211
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
sub ebx, 1
jne 0x46c1df
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
push 8
pop edi
mov dword [esi + 0x3bcd4], ecx
lea ebx, [esi + 0x20c]
mov dword [esi + 0x3bcd0], ecx
mov edx, ecx
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1e8], ecx
mov dword [esi + 0x1bc], ecx
mov dword [esi + 0x1c8], 0x20
mov dword [esi + 0x1f0], 1
mov dword [esi + 0x1e4], 4
mov dword [esi + 0x1f4], ecx
mov dword [ebp - 8], edi
mov ecx, edx
mov dword [ebp - 4], edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x46dd33
mov dword [ebx], ecx
inc edx
add ebx, 4
push 8
pop edi
cmp edx, 0x100
jb 0x46dd2e
xor ebx, ebx
lea eax, [esi + 0x19c]
mov dword [esi + 0x118], ebx
lea ecx, [ebp - 0x3c]
mov dword [esi + 0x148], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x198], eax
call fcn.0046bc66
mov edx, ecx
mov ecx, esi
call fcn.0046bd97
push 2
pop edi
mov word [esi + 0x306a0], 0x100
mov ebx, edi
mov ecx, ebx
xor edx, edx
sar ecx, 1
inc edx
dec ecx
shl edx, cl
mov dword [ebp - 4], edx
test edx, edx
je 0x46de04
push edx
lea eax, [esi + 0x306a0]
add eax, edi
push ebx
push eax
call fcn.00524e30
add esp, 0xc
add edi, dword [ebp - 4]
inc ebx
cmp ebx, 0x16
jl 0x46dddd
mov edi, dword [ebp - 8]
push 4
mov ecx, edi
xor edx, edx
pop ebx
imul ecx, ecx
mov eax, 0x10000
add edx, edx
jmp 0x46de23
shr ecx, 1
inc edx
cmp ecx, eax
jae 0x46de20
sub ebx, 1
jne 0x46de14
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [esi + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x46de0d
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd10], ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46ed95
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0xe
pop ecx
mov esi, dword [esi + 0x16]
mov edi, ebx
add esi, dword [eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 1]
call fcn.00464e3b
push dword [ebx + 0x10]
mov dword [ebx + 1], eax
push dword [ebx + 0xc]
call fcn.00464da9
push dword [ebx + 0x18]
mov dword [ebx + 0xc], eax
push dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
call fcn.00464da9
push dword [ebx + 0x27]
mov dword [ebx + 0x14], eax
push dword [ebx + 0x23]
mov dword [ebx + 0x18], edx
call fcn.00464da9
push dword [ebx + 0x2f]
mov dword [ebx + 0x23], eax
push dword [ebx + 0x2b]
mov dword [ebx + 0x27], edx
call fcn.00464da9
mov ecx, dword [ebx + 6]
add esp, 0x20
mov dword [ebx + 0x2b], eax
mov dword [ebx + 0x2f], edx
test ecx, ecx
je 0x46ee15
call fcn.00464e3b
mov dword [ebx + 6], eax
mov ecx, dword [ebx + 0x1d]
test ecx, ecx
je 0x46ee24
call fcn.00464e3b
mov dword [ebx + 0x1d], eax
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x46ee33
call fcn.00464e3b
mov dword [ebx + 0x34], eax
mov edi, dword [ebp + 0x10]
push 0
pop eax
mov dword [esp + 0xc], eax
add dword [edi], 0x38
adc dword [edi + 4], eax
cmp byte [ebx], 0xd
jne 0x46ee4b
mov byte [ebx + 5], al
cmp byte [ebx + 0xa], 0xd
jne 0x46ee54
mov byte [ebx + 0x1c], al
cmp byte [ebx + 0x21], 0xd
jne 0x46ee5f
mov byte [ebx + 0x33], al
jmp 0x46ee66
mov al, byte [ebx + 0x33]
mov dword [esp + 0xc], eax
movzx eax, byte [ebx + 0x1c]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0xc]
movzx eax, al
cdq
add esi, eax
mov eax, dword [ebx + 1]
adc ecx, edx
cdq
add esi, eax
mov eax, dword [ebp + 8]
adc ecx, edx
add esi, dword [ebx + 0x14]
adc ecx, dword [ebx + 0x18]
add esi, dword [edi]
adc ecx, dword [edi + 4]
add esi, dword [ebx + 0x2b]
adc ecx, dword [ebx + 0x2f]
cmp dword [eax + 0x1e], ecx
jg 0x46eea8
jl 0x46eea3
cmp dword [eax + 0x1a], esi
jae 0x46eea8
push 0xfffffffffffffff6
pop eax
jmp 0x46eeaa
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x475883
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov eax, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push esi
push edi
test eax, eax
je 0x475968
cmp dword [ebp + 0xc], 0
jl 0x475968
mov edi, dword [ebp + 8]
jg 0x4758bb
test edi, edi
je 0x475968
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push 5
pop edx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov ecx, edi
sub ecx, esi
sbb eax, ebx
mov dword [ebp - 0x18], eax
js 0x4758e8
jg 0x4758df
cmp ecx, 0x10000
jbe 0x4758e8
mov eax, 0x10000
mov ecx, esi
jmp 0x4758ee
mov ecx, esi
mov eax, edi
sub eax, ecx
cmp edx, 0x2800
jg 0x475957
push 0
push eax
mov eax, dword [ebp - 0x10]
add eax, ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
test ecx, ecx
jg 0x47592f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x47594f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 8]
add edx, edx
mov dword [ebp - 8], edx
jmp 0x47593f
push 5
pop eax
mov dword [ebp - 8], eax
mov eax, ecx
cdq
add esi, eax
adc ebx, edx
mov edx, dword [ebp - 8]
cmp ebx, dword [ebp + 0xc]
jg 0x475962
jl 0x4758c7
cmp esi, edi
jae 0x475962
jmp 0x4758c7
push 0xfffffffffffffffe
pop eax
or edx, 0xffffffff
jmp 0x47596d
push 2
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, esi
mov edx, ebx
jmp 0x47596d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47b77b
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push 0x48
mov eax, 0x615948
call fcn.00524043
mov ebx, ecx
mov eax, 0x10000
push eax
mov dword [ebx + 0x30], eax
call fcn.00522ef7
push 0
mov dword [ebx + 0x2c], eax
call fcn.0052bd9d
pop ecx
pop ecx
and dword [ebp - 0x50], 0
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 0x54], 1
call fcn.0047a89f
mov ecx, eax
test ecx, ecx
je 0x47b835
cmp ecx, 0xfffffffd
jne 0x47b7d6
mov eax, dword [ebx + 0x80]
cmp byte [eax + 0x70], 0
jne 0x47b7bb
call fcn.00523fed
ret
mov esi, dword [ebx + 0x80]
cmp dword [esi + 0x68], 0
jle 0x47b7fa
call fcn.0045fb6d
mov ecx, eax
call fcn.0045fca9
xor edx, edx
mov edi, dword [esi + 0x64]
div dword [esi + 0x68]
add edi, edx
jmp 0x47b7fd
mov edi, dword [esi + 0x64]
xor eax, eax
mov dword [ebp - 0x4c], eax
test edi, edi
jle 0x47b828
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebx + 0x80]
mov ecx, esi
add dword [ebp - 0x4c], 0x64
call fcn.0047a89f
test eax, eax
je 0x47b835
cmp dword [ebp - 0x4c], edi
jl 0x47b806
push 1
push 0
mov ecx, esi
call fcn.00479fdf
jmp 0x47b7b9
mov eax, dword [ebx + 0x80]
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebx + 0x38]
call fcn.00475faf
cmp dword [ebx + 0x48], 1
jg 0x47b861
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47b7a3
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push dword [ebx + 0x44]
push dword [ebx + 0x48]
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x47b7a3
call fcn.0044b8a6
mov edx, dword [ebx + 0x80]
mov ecx, dword [edx + 0x7c]
cmp byte [ecx + 4], 0
je 0x47b8a6
mov eax, dword [ecx]
push dword [edx + 0xa0]
call dword [eax + 8]
test eax, eax
je 0x47b7a3
jmp 0x47b8fc
push 0
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push dword [edx + 0xa0]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x47b8e5
mov esi, dword [ebx + 0x80]
cdq
push edx
push eax
mov ecx, dword [esi + 0x7c]
push dword [ebx + 0x2c]
push dword [esi + 0xa0]
mov edi, dword [ecx]
call dword [edi + 0xc]
test eax, eax
je 0x47b7a3
cmp eax, 0xfffffff7
jmp 0x47b89e
jns 0x47b8f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jmp 0x47b89e
test eax, eax
jne 0x47b7a3
cmp dword [0x6b5ec0], 3
jl 0x47b954
push 0x696d90
lea ecx, [ebp - 0x48]
call fcn.004625ae
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push str.recv_check_error_set_connect_state
call fcn.004624d4
push 3
push 0xc9
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x6b5ec0
push eax
call fcn.00479ab2
lea ecx, [ebp - 0x2c]
call fcn.00462a54
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00462a54
mov eax, dword [ebx + 0x80]
mov byte [eax + 0xa9], 0
jmp 0x47b7a3
Function at 0x48874b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x80], 0
jne 0x488899
cmp dword [esi + 8], 0
je 0x488899
push dword [ebp + 8]
lea ecx, [esi + 0x14]
call fcn.0045d2c1
lea edi, [esi + 0x2c]
push 0x694778
mov ecx, edi
call fcn.0045d2c1
lea ebx, [esi + 0x44]
push 0x694778
mov ecx, ebx
call fcn.0045d2c1
cmp dword [ebp + 0xc], 0
je 0x4887a6
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0045d2c1
jmp 0x4887b2
mov ecx, dword [ebp + 8]
mov edx, edi
push ebx
call fcn.0048898d
pop ecx
mov eax, dword [esi + 0xc]
xor edi, edi
inc edi
xor ebx, ebx
test eax, eax
jne 0x4887d3
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x488899
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x4887e9
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [esi + 0x7c], ebx
call fcn.00488f75
test eax, eax
je 0x48880b
cmp dword [esi + 4], edi
jne 0x48880b
push 0x54
call fcn.00522cb9
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00490496
jmp 0x488838
push 0x2c
call fcn.00522cb9
pop ecx
xor ecx, ecx
mov dword [ebp + 0xc], eax
mov dword [eax], vtable.CWininetFile.0
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], 7
mov word [eax + 0xc], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffd
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.STATIC
push ebx
mov dword [esi + 0x7c], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x488ef2
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x5c], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 4]
mov dword [esi + 0x80], edi
push eax
push ebx
push esi
push 0x488aac
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.0052d8f1
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
jne 0x488890
mov dword [esi + 0x80], ebx
xor eax, eax
test ecx, ecx
setne al
jmp 0x48889b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x48898d
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push esi
push edi
push 0x20a
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.00524e30
push 0x412
lea eax, [ebp - 0x624]
push 0
push eax
call fcn.00524e30
push 0x2f
push esi
call fcn.00524d87
add esp, 0x20
mov esi, 0x105
test eax, eax
je 0x488a09
push 0xffffffffffffffff
add eax, 2
push eax
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00536b5b
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_PathCleanupSpec]
cmp word [ebp - 0x210], 0
jne 0x488a2a
push 0xffffffffffffffff
push str.unknown
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00536b5b
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x624]
push str.Download
push eax
call esi
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x488a71
push eax
lea eax, [ebp - 0x624]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x624]
push eax
call esi
lea eax, [ebp - 0x624]
mov ecx, edi
push eax
call fcn.0045d2c1
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.0045d2c1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522ca8
leave
ret

Function at 0x488e42
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.00524e30
push edi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0052e2a1
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x488eb3
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
add esi, 0x2c
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x488ec0
mov eax, dword [esi]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
cmp dword [ebp + 0xc], ebx
je 0x488edf
cmp dword [esi + 0x14], 8
jb 0x488ed8
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522ca8
leave
ret 8
Function at 0x488f75
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6ad2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00524e30
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x488fe7
cmp dword [ebp - 0x11c], 5
jne 0x488fe1
cmp dword [ebp - 0x118], ecx
jne 0x488fd3
cmp word [ebp - 0xc], cx
jmp 0x488fe1
cmp dword [ebp - 0x118], 0
jne 0x488fe7
cmp word [ebp - 0xc], 3
jae 0x488fe7
xor eax, eax
jmp 0x488fe9
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522ca8
leave
ret
Function at 0x48ab15
Capabilities:
Identify system language via api

Disassembly:
push 0x44
mov eax, 0x616f33
call fcn.00524043
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov bl, byte [0x6b59ae]
mov bh, byte [0x6b59ad]
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
push 0x6b5980
mov byte [0x6b59ae], 0
mov byte [0x6b59ad], 0
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x48abfe
mov byte [0x6b591b], 0
mov byte [0x6b591a], 1
test bl, bl
je 0x48ac44
lea ecx, [ebp - 0x2c]
call fcn.00461f9f
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0044bc39
lea ecx, [ebp - 0x48]
test al, al
je 0x48ab9e
push 0x698658
call fcn.004625ae
mov byte [ebp - 4], 1
jmp 0x48abac
push str.Setup_is_harding_work_it_maybe_make_you_cannt_connect_to_internet_if_you_quit_now._Do_you_sure_to_exit_
call fcn.004625ae
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00465045
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00462a54
mov ecx, esi
call fcn.0048ac4a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x34
cmovae eax, dword [ebp - 0x28]
push str.FBI_Warning
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x48abf4
push ebx
push ebx
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x2c]
call fcn.00462a54
jmp 0x48ac44
push dword [ebp - 0x4c]
push edi
push 0x6b5950
call dword [sym.imp.USER32.dll_PtInRect]
mov byte [0x6b591a], 0
test eax, eax
je 0x48ac2e
mov byte [0x6b591b], 1
test bh, bh
je 0x48ac44
push 6
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48ac44
mov byte [0x6b591b], 0
test bh, bh
jne 0x48ac3d
test bl, bl
je 0x48ac44
mov ecx, esi
call fcn.0048ac4a
call fcn.00523fed
ret