joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101fb5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x54
call fcn.1006c090
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
xor esi, esi
cmp edi, 0x20
mov dword [esp + 0x10], esi
jle 0x101fb5e7
push str.nkey___EVP_MAX_KEY_LENGTH
push 0x79
push str..cryptoevpevp_key.c
call fcn.100c0af0
add esp, 0xc
cmp ebp, 0x10
jle 0x101fb600
push str.niv___EVP_MAX_IV_LENGTH
push 0x7a
push str..cryptoevpevp_key.c
call fcn.100c0af0
add esp, 0xc
cmp dword [esp + 0x74], esi
jne 0x101fb610
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
lea eax, [esp + 0x14]
push eax
call fcn.100beb20
mov ecx, dword [esp + 0x70]
push esi
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.100beba0
add esp, 0x10
test eax, eax
je 0x101fb773
mov ebx, dword [esp + 0x84]
jmp 0x101fb645
mov esi, dword [esp + 0x84]
mov eax, esi
inc esi
test eax, eax
mov dword [esp + 0x84], esi
je 0x101fb66a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.100bed10
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.100bed10
mov eax, dword [esp + 0x7c]
add esp, 0xc
test eax, eax
je 0x101fb699
push 8
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100bed10
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100bee10
mov esi, dword [esp + 0x88]
add esp, 0xc
cmp esi, 1
jbe 0x101fb6fc
dec esi
mov edx, dword [esp + 0x6c]
push 0
lea eax, [esp + 0x18]
push edx
push eax
call fcn.100beba0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.100bed10
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.100bee10
add esp, 0x24
dec esi
jne 0x101fb6bd
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x101fb732
cmp eax, ecx
je 0x101fb732
mov edx, dword [esp + 0x80]
test edx, edx
je 0x101fb72c
mov esi, dword [esp + 0x80]
mov dl, byte [esp + eax + 0x24]
mov byte [esi], dl
mov edx, esi
inc edx
mov dword [esp + 0x80], edx
dec edi
inc eax
test edi, edi
jne 0x101fb706
test ebp, ebp
je 0x101fb74f
cmp eax, ecx
je 0x101fb74f
cmp eax, ecx
je 0x101fb74f
test ebx, ebx
je 0x101fb749
mov dl, byte [esp + eax + 0x24]
mov byte [ebx], dl
inc ebx
dec ebp
inc eax
test ebp, ebp
jne 0x101fb73a
test edi, edi
jne 0x101fb757
test ebp, ebp
je 0x101fb77d
mov eax, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100beba0
add esp, 0xc
test eax, eax
jne 0x101fb63e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
lea edx, [esp + 0x14]
push edx
call fcn.100bf230
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.100c06a0
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x10208fd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.1006c090
push ebx
push ebp
push esi
lea eax, [esp + 0x2c]
push edi
push eax
mov ebx, 1
call fcn.101d2460
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0x108]
mov ebp, dword [esp + 0x104]
add esp, 4
test esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
jne 0x1020901a
mov dword [esp + 0xf0], esi
jmp 0x10209038
mov eax, dword [esp + 0xf0]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x10209038
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xf0], ecx
test ebp, ebp
je 0x1020915c
jmp 0x1020904d
mov esi, dword [esp + 0xec]
mov ebp, dword [esp + 0x18]
cmp ebp, 0x14
jle 0x10209057
mov ebp, 0x14
mov edx, ebx
mov eax, ebx
mov ecx, ebx
push 0
shr edx, 0x18
shr eax, 0x10
shr ecx, 8
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], al
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], bl
call fcn.100dbdd0
mov edx, dword [esp + 0xf4]
push eax
push edx
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.101d21d0
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.101d23e0
lea ecx, [esp + 0x30]
push 4
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.101d23e0
lea eax, [esp + 0x48]
push 0
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.101d2400
mov edi, dword [esp + 0x4c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x134]
mov ecx, edx
add esp, 0x38
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jle 0x1020913f
lea edi, [eax - 1]
mov edx, dword [esp + 0xf0]
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0x24]
push 0x14
push ecx
push edx
push eax
call fcn.100dbdd0
push eax
call fcn.101d24c0
add esp, 0x1c
test ebp, ebp
jle 0x1020913c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
sub ecx, eax
mov esi, ebp
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x10209133
dec edi
jne 0x102090f7
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, ebp
inc ebx
add edx, ebp
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x14], edx
jne 0x10209042
lea eax, [esp + 0x30]
push eax
call fcn.101d2490
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret
Function at 0x1020d5c0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.1006c090
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov ecx, 0x412
mov esi, 0x1027bc10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x48
jle 0x1020d5ed
mov ecx, 0x48
mov edi, dword [esp + 0x20]
push ebp
mov eax, edi
mov ebp, ebx
lea esi, [ecx + edi]
mov dword [esp + 0x1c], 0x12
xor ecx, ecx
mov cl, byte [eax]
inc eax
cmp eax, esi
jb 0x1020d60c
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x1020d61c
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x1020d62c
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x1020d63c
mov eax, edi
mov edx, dword [ebp]
add ebp, 4
xor edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebp - 4], edx
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x1020d601
xor eax, eax
mov esi, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, 9
pop ebp
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.1020c330
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 8
add esi, 8
dec edi
jne 0x1020d664
lea esi, [ebx + 0x48]
mov edi, 0x200
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.1020c330
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 8
add esi, 8
dec edi
jne 0x1020d68d
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x1020e390
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
cmp esi, 0x80
mov byte [eax], 0
jle 0x1020e3ac
mov esi, 0x80
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x1020e3bc
cmp ecx, 0x400
jle 0x1020e3c1
mov ecx, 0x400
test esi, esi
jle 0x1020e3d8
mov edi, dword [esp + 0x1c]
mov edx, eax
sub edi, eax
mov ebp, esi
mov bl, byte [edi + edx]
mov byte [edx], bl
inc edx
dec ebp
jne 0x1020e3cf
xor edx, edx
cmp esi, 0x80
mov dl, byte [eax + esi - 1]
jge 0x1020e40a
mov edi, eax
sub edi, esi
mov bl, byte [edi + esi]
add ebx, edx
xor edx, edx
and ebx, 0xff
inc esi
cmp esi, 0x80
mov dl, byte [ebx + 0x102dc234]
mov byte [esi + eax - 1], dl
jl 0x1020e3ea
lea esi, [ecx + 7]
mov edx, 0x80
neg ecx
sar esi, 3
and ecx, 7
mov edi, 0xff
sub edx, esi
sar edi, cl
xor ecx, ecx
mov cl, byte [edx + eax]
and edi, ecx
xor ecx, ecx
mov cl, byte [edi + 0x102dc234]
mov edi, edx
mov byte [edx + eax], cl
dec edx
test edi, edi
je 0x1020e45a
lea edi, [edx + eax]
lea ebp, [edx + 1]
xor edx, edx
mov dl, byte [edi + esi]
xor edx, ecx
xor ecx, ecx
dec ebp
dec edi
mov cl, byte [edx + 0x102dc234]
mov byte [edi + 1], cl
test ebp, ebp
ja 0x1020e442
lea esi, [eax + 0xfc]
mov ecx, 0x7f
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx + eax - 1]
mov bh, byte [ecx + eax]
and edx, 0xffff
sub esi, 4
or edx, ebx
sub ecx, 2
mov dword [esi + 4], edx
jns 0x1020e465
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10212a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.1006c090
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
lea ebp, [eax - 1]
push edi
lea ecx, [ebp - 0x29]
cmp esi, ecx
jle 0x10212aaf
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.100bfb70
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp ebp, 0x29
jge 0x10212ad3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.100bfb70
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [esp + 0x28]
push 0
lea edx, [ebx + 1]
mov byte [ebx], 0
mov dword [esp + 0x30], edx
add ebx, 0x15
call fcn.100dbdd0
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push 0
push ebx
push eax
push ecx
call fcn.100bf050
mov ecx, ebp
xor eax, eax
sub ecx, esi
lea edi, [ebx + 0x14]
sub ecx, 0x29
push 0x14
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
mov ecx, esi
sub eax, esi
mov esi, dword [esp + 0x4c]
add eax, ebp
mov edx, ecx
shr ecx, 2
lea edi, [eax - 0x14]
mov byte [eax - 0x15], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x48]
push esi
call fcn.100c7970
add esp, 0x20
test eax, eax
jg 0x10212b56
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
add ebp, 0xffffffec
push 0x48
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.100bf750
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x2c], edi
jne 0x10212b92
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.100bfb70
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
call fcn.100dbdd0
push eax
push 0x14
push esi
push ebp
push edi
call fcn.10212e40
add esp, 0x14
test ebp, ebp
jle 0x10212bbc
mov eax, ebx
sub edi, ebx
mov ecx, ebp
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x10212baf
mov edi, dword [esp + 0x2c]
call fcn.100dbdd0
push eax
push ebp
push ebx
lea eax, [esp + 0x1c]
push 0x14
push eax
call fcn.10212e40
lea ecx, [esp + 0x24]
add esp, 0x14
mov eax, esi
sub ecx, esi
mov esi, 0x14
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x10212be0
push edi
call fcn.100bf9d0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10213320
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, edx
push esi
jne 0x102133f5
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10213343
cmp al, 0x6b
jne 0x102133f5
cmp al, 0x6b
lea esi, [ecx + 1]
jne 0x102133b1
lea eax, [edx - 3]
xor edx, edx
test eax, eax
jle 0x10213365
mov cl, byte [esi]
inc esi
cmp cl, 0xba
je 0x10213365
cmp cl, 0xbb
jne 0x1021338e
inc edx
cmp edx, eax
jl 0x10213353
sub eax, edx
test edx, edx
jne 0x102133b4
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100bfb70
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.100bfb70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
lea eax, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x102133dd
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100bfb70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov ecx, eax
push edi
mov edi, dword [esp + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.100bfb70
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x10215c90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov ecx, dword [eax + 4]
push edi
cmp ecx, dword [ebx + 4]
jge 0x10215ca9
mov edi, ebx
mov ebx, eax
jmp 0x10215cab
mov edi, eax
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [esi + 8]
jg 0x10215cbb
mov eax, esi
jmp 0x10215cc5
push eax
push esi
call fcn.100c7fb0
add esp, 8
test eax, eax
jne 0x10215ccd
pop edi
pop esi
pop ebx
ret
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
jle 0x10215cf1
push ebp
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
mov ebp, dword [ecx + eax*4]
mov ecx, dword [esi]
xor edx, ebp
mov dword [ecx + eax*4], edx
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jl 0x10215cd7
pop ebp
cmp eax, dword [edi + 4]
jge 0x10215d08
mov edx, dword [edi]
mov ecx, dword [esi]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x10215cf6
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x10215d2e
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x10215d2e
mov edx, dword [esi + 4]
dec edx
mov ecx, edx
mov dword [esi + 4], edx
test ecx, ecx
jg 0x10215d18
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x10218520
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xcc
call fcn.1006c090
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
push esi
lea esi, [ecx + 0x14]
lea eax, [ecx + 0x54]
push edi
lea edi, [esp + 0x5c]
mov ecx, dword [esi + 0x3c]
xor ebp, ebp
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x9c]
sub ecx, eax
sub edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
sub esi, eax
mov ebx, dword [esp + 0xe4]
mov edx, dword [eax]
xor ecx, ecx
mov dword [edi + eax - 0x40], edx
mov cl, byte [ebx + ebp]
mov ebx, dword [esp + 0x14]
xor edx, ecx
mov dword [edi + eax], ecx
mov dword [ebx + eax], edx
mov edx, dword [esp + 0x10]
xor ecx, edx
add eax, 4
mov edx, dword [ecx*4 + str._.C]
mov ecx, dword [esi + eax - 4]
xor ecx, edx
inc ebp
mov dword [esi + eax - 4], ecx
cmp ebp, 0x10
mov dword [esp + 0x10], ecx
jl 0x1021855d
xor ecx, ecx
xor esi, esi
lea eax, [esp + 0x20]
mov edx, 6
mov ecx, dword [ecx*4 + str._.C]
mov edi, dword [eax - 4]
xor edi, ecx
mov ecx, edi
mov dword [eax - 4], edi
mov ebp, dword [eax]
add eax, 0x20
mov ecx, dword [ecx*4 + str._.C]
xor ebp, ecx
mov ecx, ebp
mov dword [eax - 0x20], ebp
mov ebx, dword [eax - 0x1c]
mov ecx, dword [ecx*4 + str._.C]
xor ebx, ecx
mov ecx, ebx
mov dword [eax - 0x1c], ebx
mov edi, dword [eax - 0x18]
mov ecx, dword [ecx*4 + str._.C]
xor edi, ecx
mov ecx, edi
mov dword [eax - 0x18], edi
mov ebp, dword [eax - 0x14]
mov ecx, dword [ecx*4 + str._.C]
xor ebp, ecx
mov ecx, ebp
mov dword [eax - 0x14], ebp
mov ebx, dword [eax - 0x10]
mov ecx, dword [ecx*4 + str._.C]
xor ebx, ecx
mov ecx, ebx
mov dword [eax - 0x10], ebx
mov edi, dword [eax - 0xc]
mov ecx, dword [ecx*4 + str._.C]
xor edi, ecx
mov ecx, edi
mov dword [eax - 0xc], edi
mov ebp, dword [eax - 8]
mov ecx, dword [ecx*4 + str._.C]
xor ebp, ecx
dec edx
mov dword [eax - 8], ebp
mov ecx, ebp
jne 0x102185ac
add ecx, esi
and ecx, 0xff
inc esi
cmp esi, 0x12
jl 0x102185a3
mov edi, dword [esp + 0x18]
mov ecx, 0x10
lea esi, [esp + 0x1c]
lea edx, [esp + 0x1c]
push 0xc0
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.100c06a0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
Function at 0x1023b040
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x14
call fcn.1006c090
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], 1
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
lea edx, [esp + 0x14]
movsx eax, byte [edi]
mov ebp, dword [esp + 0x2c]
inc edi
cmp eax, 0x30
jl 0x1023b0a1
cmp eax, 0x39
jg 0x1023b0a1
mov ecx, dword [edx]
mov esi, 1
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2 - 0x30]
cmp eax, 0xff
mov dword [edx], eax
ja 0x1023b16c
jmp 0x1023b072
cmp eax, 0x2e
jne 0x1023b0bf
test esi, esi
je 0x1023b170
cmp ebx, 3
je 0x1023b16c
inc ebx
add edx, 4
xor esi, esi
jmp 0x1023b072
test eax, eax
jne 0x1023b16c
cmp ebx, 3
jne 0x1023b16c
test esi, esi
je 0x1023b16c
mov dl, byte [esp + 0x14]
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x1c]
mov byte [ebp], dl
mov dl, byte [esp + 0x20]
mov byte [ebp + 1], al
mov byte [ebp + 2], cl
mov byte [ebp + 3], dl
mov esi, 1
mov eax, dword [0x102fc830]
test eax, eax
jne 0x1023b18a
mov ecx, 0x64
xor eax, eax
mov edi, 0x102fc6a0
push 0x102fc6a0
rep stosd dword es:[edi], eax
push 0x101
mov dword [0x102fc830], 1
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1023b18a
call sub.WS2_32.dll_WSAGetLastError
push 0x1d8
push str..crypto_bio_b_sock.c
push eax
push 9
push 2
call fcn.100bfb70
push 0x1d9
push str..crypto_bio_b_sock.c
push 0x7a
push 0x70
push 0x20
call fcn.100bfb70
add esp, 0x28
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor esi, esi
jmp 0x1023b0f9
push 0x79
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call fcn.100bfb70
add esp, 0x14
jmp 0x1023b22c
test esi, esi
jg 0x1023b24a
push 0x87
push str..crypto_bio_b_sock.c
push 0x16
push 9
call fcn.100c07a0
mov eax, dword [esp + 0x38]
add esp, 0x10
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x1023b1d0
push 0x8c
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call fcn.100bfb70
add esp, 0x14
jmp 0x1023b20e
cmp word [eax + 8], 2
je 0x1023b1f1
push 0x93
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call fcn.100bfb70
add esp, 0x14
jmp 0x1023b20e
xor ecx, ecx
mov edx, dword [eax + 0xc]
inc ecx
cmp ecx, 4
mov edx, dword [edx]
mov dl, byte [edx + ecx - 1]
mov byte [ecx + ebp - 1], dl
jl 0x1023b1f3
mov dword [esp + 0x10], 0
push 0x9c
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call fcn.100c07a0
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x1023b24a
mov eax, dword [esp + 0x28]
push eax
push 0x10282b04
push 2
call fcn.100c0020
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x1023bbe0
Capabilities:
Set socket configuration

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
push esi
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x18], eax
call sub.WS2_32.dll_ioctlsocket
mov esi, eax
test esi, esi
jge 0x1023bc1f
push 0x21b
push str..crypto_bio_b_sock.c
call sub.WS2_32.dll_WSAGetLastError
push eax
push 5
push 2
call fcn.100bfb70
add esp, 0x14
xor eax, eax
test esi, esi
sete al
pop esi
ret

Function at 0x1023f114
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x1023f144
push edi
call ebx
push eax
call fcn.1023f262
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x1023f16e
test byte [ebp - 4], 1
je 0x1023f16e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1023f16e
push edi
call ebx
push eax
call fcn.1023f262
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x1023f214
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.1023f061
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x1023f1a0
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.1023f061
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x1023f1b6
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.1023f061
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1023f1e0
push 0
call ebx
push eax
call fcn.1023f262
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x1023f1fe
push eax
call ebx
push eax
call fcn.1023f262
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1023f212
push eax
call ebx
push eax
call fcn.1023f262
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x1023f23b
test byte [ebp - 4], 1
jne 0x1023f23b
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1023f23b
push edi
call ebx
push eax
call fcn.1023f262
pop edi
pop ebx
leave
ret 8

Function at 0x1024179f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x102417d7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1023ebb6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1023eb8d
jmp 0x102417e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x44fdc0
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push 0xffffffffffffffff
push 0x64997b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push 0xd40
call fcn.0061c130
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x44fdfd
push eax
call fcn.00483380
jmp 0x44fdff
xor eax, eax
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esi + 0xc4]
push ecx
mov ecx, dword [esi + 0xc0]
push ecx
jmp 0x7ac354

Function at 0x459010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64e2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push edi
lea edi, [esp + 0xc]
mov ebx, ecx
call fcn.00519520
mov dword [esp + 0x30], 0
cmp dword [esi + 0x290], 0xffffffff
je 0x4590a8
cmp dword [esi + 0x88], 0
jle 0x4590a8
mov edi, dword [esp + 0x24]
cmp edi, 0x10
mov dword [esi + 0x318], ebx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
jae 0x459068
lea ecx, [esp + 0x10]
lea edx, [esi + 0x298]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x459070
mov eax, dword [esi + 0x294]
mov ecx, dword [esi + 0x88]
add eax, 0x65
cmp ecx, eax
jge 0x459093
mov eax, ecx
cmp edi, 0x10
mov dword [esi + 0x88], eax
jb 0x4591c8
push ebx
jmp 0x4591c0
mov edi, esi
call fcn.00458fc0
mov ecx, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x4590c2
lea ecx, [esp + 0x10]
lea edx, [esi + 4]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4590c5
cmp ebx, 6
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x290], 0xffffffff
je 0x459190
cmp ebx, 0xc
je 0x459190
cmp ebx, 0x11
je 0x459190
cmp ebx, 0xb
je 0x459190
cmp ebx, 0xa
jne 0x45911b
mov dword [esi + 0x88], 0x1f4
jmp 0x45919a
cmp ebx, 7
je 0x45910c
cmp ebx, 9
je 0x45910c
cmp ebx, 0xd
je 0x45910c
cmp ebx, 1
je 0x45910c
cmp ebx, 3
je 0x45910c
cmp ebx, 4
je 0x45910c
cmp ebx, 8
je 0x459184
cmp ebx, 2
je 0x459184
cmp ebx, 5
je 0x459184
cmp ebx, 0xe
jne 0x459159
mov dword [esi + 0x88], 0xfa
jmp 0x45919a
cmp ebx, 0xf
jne 0x459174
mov dword [esi + 0x88], 0x2ee
mov dword [esi + 0x290], 0x62
jmp 0x45919a
cmp ebx, edi
jne 0x45919a
mov dword [esi + 0x88], 0x2ee
jmp 0x45919a
mov dword [esi + 0x88], 0x2710
jmp 0x45919a
mov dword [esi + 0x88], 0x5dc
cmp dword [esi + 0x290], 0xffffffff
je 0x4591a9
push esi
call fcn.004591e0
cmp dword [esp + 0x24], edi
mov eax, dword [esi + 0x88]
mov dword [esi + 0x84], eax
jb 0x4591c8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0061c19a
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret