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

Disassembly:
push 0xffffffffffffffff
push 0x46f490
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48cc80]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x48f4f0]
push eax
lea ecx, [esp + 0x34]
call 0x4cf45f
lea esi, [esp + 0x34]
mov dword [esp + 0x6c], 0
call fcn.004adfff
push 0x47ba28
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x78], 1
call fcn.004a48ef
add esp, 0xc
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4abd93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call 0x4e0575
mov ebx, dword [esp + 0x74]
lea eax, [ebx + 0x2d8]
push 0x47ba48
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x78], 4
call fcn.004a48ef
add esp, 0xc
lea edx, [esp + 0x50]
mov byte [esp + 0x6c], 5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x38]
call 0x4cf38f
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4abdf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp dword [esp + 0x58], esi
jle 0x4ac2ec

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

Disassembly:
push ecx
js 0x4ac03c
add byte [ebx - 0x3f7af73c], al
Function at 0x4ac4ea
Capabilities:
Packed with generic packer

Disassembly:
mov edx, 0xd8050047
add al, byte [eax]
add byte [eax - 0x73], dl
xchg esp, eax
and al, 0x94
add byte [eax], al
add byte [edx - 0x18], dl
out dx, eax
cmp edi, 0xffffffff
add esp, 0x18
mov byte [esp + 0xc0], 7
mov ecx, dword [esp + 0x3c]
dec esp
and al, 0x3c
mov eax, dword [eax]
push 0x47b168
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call 0x4cf4ff
mov byte [esp + 0xc0], 9
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4acec8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004bf47f
add esp, 8
mov byte [esp + 0xc0], 0xa
mov edx, dword [esp + 0x28]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4ac59f
push esi
lea ecx, [esp + 0x2c]
call fcn.004a4c0f
mov edx, dword [esp + 0x28]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f40fd
add esp, 8
test esi, esi
jl 0x4acfba
mov eax, dword [esp + 0x28]
cmp esi, dword [eax - 8]
invalid

Function at 0x4ac50c
Capabilities:
Packed with generic packer

Disassembly:
mov edx, 0xd8050047
add al, byte [eax]
add byte [eax - 0x73], dl
xchg esp, eax
and al, 0x94
add byte [eax], al
add byte [edx - 0x18], dl
out dx, eax
cmp edi, 0xffffffff
add esp, 0x18
mov byte [esp + 0xc0], 7
mov ecx, dword [esp + 0x3c]
dec esp
and al, 0x3c
mov eax, dword [eax]
push 0x47b168
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call 0x4cf4ff
mov byte [esp + 0xc0], 9
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ac551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4acec8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004bf47f
add esp, 8
mov byte [esp + 0xc0], 0xa
mov edx, dword [esp + 0x28]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4ac59f
push esi
lea ecx, [esp + 0x2c]
call fcn.004a4c0f
mov edx, dword [esp + 0x28]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4f40fd
add esp, 8
test esi, esi
jl 0x4acfba
mov eax, dword [esp + 0x28]
cmp esi, dword [eax - 8]
invalid
Function at 0x4b7ecf
Capabilities:
Encode data using xor

Disassembly:
adc cl, al
lahf
inc ecx
jle 0x4b7f4e
movsd dword es:[edi], dword [esi]
xor byte [0xf811a7eb], ah
xlatb
das
sbb bh, byte [ecx - 0x3b]
pop esi
mov al, byte [0x907c0bec]
in al, dx
push ebx
lds ebp, [edx + ebx*8 + 0x591f590e]
mov dword [ecx + 0x4c], eax
lcall 0x9c29, 0xfcc1b668
pop esp
popfd
nop
lahf
mov esi, 0x735ce6b8
mov al, byte [0xe7dbb6be]
scasd eax, dword es:[edi]
cmc
lcall 0xc67a, 0x8e920232
and byte [edx - 0x36], al
add dl, byte [0x71892b99]
lcall 0xce99, 0xa885ab9c
mov dl, 0x3a
test dword [eax + 0x7f], esi
add eax, 0x182ace31
pop ds
jp 0x4b7f59
mov esi, 0x2595341c
dec ebp
add ah, bh
push ecx
add ecx, dword [edx - 0x51]
mov esp, 0x8bd1e7ba
scasb al, byte es:[edi]
invalid
hlt
jbe 0x4b7f97
jecxz 0x4b7f45
mov bh, 0x72
lodsd eax, dword [esi]
pop dword [ecx]
into
sbb eax, 0x2495b8dc
cmc
loope 0x4b7fb1
xchg esi, eax
and eax, 0x602db15d
in al, dx
adc byte [esi - 0x66], ch
popfd
xchg ah, cl
or dword [ecx - 0x1b68c652], esi
sub dword [edi - 0x20984113], 0xffffff9c
sbb byte [eax + esi*4], dl
dec eax
pop edx
int1
jle 0x4b7f99
jmp 0xe3a91082
xor eax, edi
jge 0x4b7f67
add ebx, eax
sub byte [eax - 0x6dded9fd], al
add esp, dword [esi]
and dword [edx - 0x66f5b07f], edx
pop ecx
sub ch, ah
scasd eax, dword es:[edi]
add byte [edi - 0xb500be7], al
xchg esi, eax
cmp al, 0x1d
call 0x613d0e4
fiadd dword [ecx + 0x1d]
sbb byte [eax - 0x47e8b957], ch
invalid

Function at 0x4bcbc1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c6348
cmp edx, dword [eax]
je 0x4bcbe3
add eax, 8
inc ecx
cmp eax, 0x4c63d8
jl 0x4bcbd4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c6348]
jne 0x4bcd11
mov eax, dword [0x4caccc]
cmp eax, 1
je 0x4bcceb
test eax, eax
jne 0x4bcc14
cmp dword [0x4c6274], 1
je 0x4bcceb
cmp edx, 0xfc
je 0x4bcd11
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bcc4b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bd5a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bda30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bcc8e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bda30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1cf4
push edi
call fcn.004bf900
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bd5a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd5b0
lea eax, [ebp - 0xa0]
push 0x4c1cd4
push eax
call fcn.004bd5b0
push dword [esi + 0x4c634c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd5b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bf874
add esp, 0x2c
pop edi
jmp 0x4bcd11
lea eax, [ebp + 8]
lea esi, [esi + 0x4c634c]
push 0
push eax
push dword [esi]
call fcn.004bda30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401390
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
cmp ecx, 0
je 0x4013c3
mov dl, byte [esi]
lea esi, [esi + 1]
xor dl, byte [edi]
lea edi, [edi + 1]
or al, dl
dec ecx
jne 0x4013ab
neg eax
shr eax, 0x1f
pop edi
pop esi
ret

Function at 0x403740
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x40381b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x4037b6
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00403380
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x403784
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4038d4
call fcn.004037c8
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x403873
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00403380
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x40382c
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4038d4
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00403380
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4038cf
jmp 0x4038d4
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408720
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40873e
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x408780
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40879e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x4087e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x408802
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x408860
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x408882
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x4088e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40890a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret
Function at 0x408970
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40899a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x408a00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x408a5f

Function at 0x408ae0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x408b3f
Function at 0x40b1c0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x40b6e0
test edx, edx
je 0x40b6e0
call fcn.0040b1d7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x40b720
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0040b1c0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x40b791
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x40b756
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x442440
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x44252a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x4424bd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00441c00
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x442483
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4425f3
call fcn.004424cf
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x44258a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00442020
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x44253b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4425f3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00442020
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4425ee
jmp 0x4425f3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x442ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x442f64
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x442f3c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x442f44
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.00442f69

Function at 0x4711d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.007081d0
mov dword [ebp - 4], 0
push 0
push 0
push 0x7640
call fcn.004c3220
add esp, 0xc
test eax, eax
jne 0x4711fd
xor eax, eax
jmp 0x471245
call fcn.004ae8d0
call fcn.004b0bb0
push str.OPENSSL_TEST_LIBCTX
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x471240
push 0x719c20
mov eax, dword [ebp - 4]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x471240
call fcn.004adaa0
test eax, eax
jne 0x471240
xor eax, eax
jmp 0x471245
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x48f370
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.007081d0
call fcn.005b10f0
push eax
call fcn.00521370
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48f39b
xor eax, eax
jmp 0x48f4f1
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x64
mov ecx, dword [ebp - 8]
push ecx
call fcn.005208c0
add esp, 0x10
test eax, eax
jle 0x48f3cc
push 0
push 0x10
push 0x9b
mov edx, dword [ebp - 8]
push edx
call fcn.005208c0
add esp, 0x10
test eax, eax
jg 0x48f3df
mov eax, dword [ebp - 8]
push eax
call fcn.00520de0
add esp, 4
xor eax, eax
jmp 0x48f4f1
cmp dword [ebp + 8], 0
jne 0x48f40f
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b90d0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48f40d
mov edx, dword [ebp - 8]
push edx
call fcn.00520de0
add esp, 4
xor eax, eax
jmp 0x48f4f1
jmp 0x48f421
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ba1f0
add esp, 4
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ba030
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.004b6ed0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x48f4b0
push str.ERROR_n
mov eax, dword [0x7d10f0]
push eax
call fcn.00513860
add esp, 8
cmp dword [0x7cc480], 0
je 0x48f48c
mov ecx, dword [0x7cc480]
push ecx
call fcn.0059d780
add esp, 4
push eax
push str.verify_error:_s_n
mov edx, dword [0x7d10f0]
push edx
call fcn.00513860
add esp, 0xc
jmp 0x48f49a
mov eax, dword [0x7d10f0]
push eax
call fcn.005283a0
add esp, 4
cmp dword [ebp + 8], 0
jne 0x48f4ac
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b7c70
add esp, 4
xor eax, eax
jmp 0x48f4f1
mov edx, 1
mov word [ebp - 0xc], dx
xor eax, eax
mov word [ebp - 0xa], ax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b88b0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x48f4ee
push 4
lea edx, [ebp - 0xc]
push edx
push 0x80
push 0xffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x493080
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.007081d0
cmp dword [ebp + 8], 0
jne 0x49311c
mov dword [0x7d128c], 0
push 0
push 0
push 0
push 0x494540
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x7d1290], eax
cmp dword [0x7d1290], 0
jne 0x4930f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push str.unable_to_CreateThread___lu_
mov ecx, dword [0x7d10f0]
push ecx
call fcn.00513860
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x7d128c], 0
jne 0x493105
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4930f2
mov eax, dword [0x7cc254]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a81e0
add esp, 8
fstp qword [ebp - 0xc]
jmp 0x493157
mov edx, dword [0x7cc254]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a81e0
add esp, 8
fstp qword [ebp - 0xc]
cmp dword [0x7d1280], 0
je 0x49314a
push 0
mov ecx, dword [0x7d1290]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x7d1290]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
fld qword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4a5a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21c
call fcn.007081d0
mov eax, dword [0x7d0e44]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x104
jbe 0x4a5ac0
or eax, 0xffffffff
jmp 0x4a5b73
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4a5b2b
mov dword [ebp - 0x210], 0
jmp 0x4a5b00
mov ecx, dword [ebp - 0x210]
add ecx, 1
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x214]
jae 0x4a5b2b
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x210]
movsx cx, byte [eax]
mov edx, dword [ebp - 0x210]
mov word [ebp + edx*2 - 0x20c], cx
jmp 0x4a5af1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
jne 0x4a5b4c
or eax, 0xffffffff
jmp 0x4a5b73
mov ecx, dword [ebp - 0x218]
and ecx, 0x10
je 0x4a5b63
mov dword [ebp - 0x21c], 1
jmp 0x4a5b6d
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007081b5
mov esp, ebp
pop ebp
ret
Function at 0x4a7410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.007081d0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x7d10f0]
push eax
call fcn.005138e0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [0x7d10f0]
push ecx
call fcn.005283a0
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esp, ebp
pop ebp
ret