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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x844
mov bl, byte [esp + 0x85c]
mov ecx, dword [esp + 0x858]
mov eax, dword [0x4c1074]
xor eax, esp
mov dword [esp + 0x840], eax
push 0x40a27b
push 0x30
push ecx
mov edi, ecx
call fcn.0040ca42
add esp, 0xc
mov ebp, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
mov esi, 0x4b68fd
push esi
call fcn.0045ac2f
add esp, 4
mov dword [ebp + 0x2c], eax
mov byte [ebp + 0x28], bl
push esi
push esi
push esi
push edi
call fcn.0040c953
add esp, 0x10
mov edi, eax
sub esp, 0x1c
mov eax, 0x14
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x497890]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
call fcn.0040cace
add esp, 0x1c
push ebp
call fcn.0040c650
add esp, 4
mov dword [esp + 0x834], eax
xor eax, eax
push eax
call fcn.0040c650
add esp, 4
mov dword [esp + 0x830], eax
mov eax, str.Apply
mov ecx, str.Open
test bl, bl
cmovne ecx, eax
mov eax, dword [esp + 0x834]
mov edx, dword [esp + 0x830]
mov esi, 0x61
mov ebx, 0x6f
cmovne ebx, esi
mov esi, 0
push eax
mov eax, 0x40a29f
push eax
push edx
push ebx
push ecx
push edi
call fcn.0040ce06
add esp, 0x18
mov dword [ebp + 0x14], eax
mov bl, 1
mov byte [eax + 0x21], bl
mov eax, dword [ebp + 0x14]
mov dword [eax + 0xc], 3
push ebp
call fcn.0040c650
add esp, 4
mov dword [esp + 0x82c], eax
push esi
call fcn.0040c650
add esp, 4
mov dword [esp + 0x828], eax
mov eax, dword [esp + 0x82c]
mov ecx, dword [esp + 0x828]
push eax
mov eax, 0x40a29f
push eax
push ecx
push 0x63
push 0x4ac54b
push edi
call fcn.0040ce06
add esp, 0x18
mov dword [ebp + 0x18], eax
mov byte [eax + 0x22], bl
mov ebx, dword [esp + 0x858]
mov eax, dword [ebp + 0x18]
mov dword [eax + 0xc], 4
mov eax, dword [0x497058]
push eax
push str.Basic_options_for_your__s_session
call fcn.0045abe5
add esp, 8
mov edi, eax
push eax
push 0x4abb98
push ebx
call fcn.0040c8ba
add esp, 0xc
push edi
call fcn.00411645
add esp, 4
mov eax, str.Save_the_current_session_settings
cmp byte [esp + 0x85c], 0
jne 0x4047aa
mov dword [esp + 4], ebp
push 0x14
push ebx
call fcn.0040cab3
add esp, 8
mov ecx, ebx
invalid

Function at 0x40fd4b
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
mov edi, edx
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
jne 0x40fd65
push esi
call fcn.0040f8c3
add esp, 4
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, 2
je 0x40fd83
cmp eax, 1
jne 0x40fddc
add esi, 8
push ebx
push edi
push esi
call fcn.0045b272
add esp, 0xc
jmp 0x40fddc
mov eax, dword [esi]
test eax, eax
jne 0x40fd9f
push 0x2f
push str..._logging.c
push str.ctx__lgfp
call fcn.00481fcd
add esp, 0xc
mov eax, dword [esi]
push eax
push ebx
push 1
push edi
call fcn.00484395
add esp, 0x10
cmp eax, ebx
jae 0x40fddc
mov eax, dword [esi]
test eax, eax
je 0x40fdc5
push eax
call fcn.00483a8b
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 3
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push str.Disabled_writing_session_log_due_to_error_while_writing
push eax
call dword [ecx]
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x413c02
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp eax, dword [esi]
je 0x413c31
push 0x9a
push str..._mpint.c
push str.x0__nw__x1__nw
call fcn.00481fcd
add esp, 0xc
mov eax, dword [edi]
and ebx, 1
neg ebx
mov dword [esp], ebx
test eax, eax
je 0x413c61
xor eax, eax
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esp]
and ecx, edx
mov edx, dword [edi + 4]
xor dword [edx + eax*4], ecx
mov edx, dword [esi + 4]
xor dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi]
jb 0x413c3f
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x413e8b
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
cmp eax, 0x40000000
jb 0x413eb8
push 0xfa
push str..._mpint.c
push str.hex.len_____size_t_0____4
mov esi, eax
call fcn.00481fcd
mov eax, esi
add esp, 0xc
mov esi, eax
lea eax, [eax*4 + 0x1f]
shr eax, 5
xor ecx, ecx
inc ecx
test eax, eax
cmovne ecx, eax
push ecx
call fcn.00413a58
add esp, 4
mov edi, eax
test esi, esi
je 0x413f4e
mov dword [esp], 0
xor eax, eax
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x1c]
movsx ecx, byte [ecx + esi - 1]
lea ebp, [ecx - 0x61]
mov edx, edi
mov edi, 0x66
sub edi, ecx
or edi, ebp
sar edi, 0x1f
lea ebp, [ecx - 0x41]
mov esi, 0x46
sub esi, ecx
or esi, ebp
lea ebp, [ecx - 0x30]
lea ebx, [ecx - 0x57]
xor ebp, ebx
and ebp, edi
mov edi, edx
add ecx, 0xffffffc9
xor ebx, ecx
xor ebx, ebp
sar esi, 0x1f
and ebx, esi
xor ebx, ecx
and ebx, 0xf
mov esi, eax
shr esi, 3
mov edx, dword [esp]
mov ecx, edx
and cl, 0x1c
shl ebx, cl
mov ecx, dword [edi + 4]
or dword [ecx + esi*4], ebx
mov esi, dword [esp + 4]
inc eax
add edx, 4
mov dword [esp], edx
dec esi
jne 0x413ee4
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x414011
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x414078
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
xor edx, edx
dec edx
mov dword [esp + 4], ecx
mov dword [esp], edx
xor ebx, ebx
xor ebp, ebp
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + ebp*4]
mov ecx, esi
shr ecx, 1
mov eax, dword [esp + 8]
mov edi, eax
or edi, esi
and esi, 1
or esi, ecx
cmovne edx, edi
cmovne ebx, eax
mov eax, dword [esp]
cmovne eax, ebp
mov dword [esp], eax
inc ebp
cmp dword [esp + 4], ebp
jne 0x41403f
mov eax, dword [esp]
shl eax, 5
or eax, 1
jmp 0x414080
xor edx, edx
dec edx
mov eax, 0xffffffe1
mov ecx, 0x10
xor esi, esi
mov edi, edx
shr edi, cl
xor ebx, ebx
test edi, edi
setg bl
neg ebx
xor edi, edx
and edi, ebx
xor edx, edi
and ebx, ecx
add esi, ebx
shr ecx, 1
jne 0x414087
add eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x414400
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41442a
lea eax, [esi - 1]
movzx edi, byte [ecx + eax]
xor edi, 0x30
dec edi
sar edi, 0x1f
xor esi, eax
and esi, edi
xor esi, eax
add eax, 0xffffffff
jb 0x414412
jmp 0x41442c
xor esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
test edx, edx
je 0x41448c
xor ecx, ecx
mov dword [esp], edx
mov esi, dword [esp + 8]
xor ebp, ebp
inc ebp
shl ebp, cl
cmp ebp, edx
jae 0x414480
mov eax, dword [esp + 4]
shr eax, cl
and al, 1
neg al
mov dword [esp + 0xc], eax
mov ebx, dword [esp]
sub ebx, ebp
add ebp, esi
xor edi, edi
mov al, byte [esi + edi]
mov dl, byte [ebp + edi]
mov ah, dl
xor ah, al
and ah, byte [esp + 0xc]
xor al, ah
mov byte [esi + edi], al
xor ah, dl
mov byte [ebp + edi], ah
inc edi
cmp ebx, edi
jne 0x414461
inc ecx
mov edx, dword [esp]
mov eax, edx
shr eax, cl
test eax, eax
jne 0x414441
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41b282
Capabilities:
Get session user name

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x37
push esi
call fcn.00403342
add esp, 8
cmp byte [eax], 0
je 0x41b2a2
push eax
call fcn.0045ac2f
add esp, 4
jmp 0x41b2b9
push 0x38
push esi
call fcn.0040315d
add esp, 8
test al, al
je 0x41b2b7
pop esi
jmp fcn.0046c999
xor eax, eax
pop esi
ret
Function at 0x4353a9
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x100
mov esi, edx
mov eax, dword [0x4c1074]
xor eax, esp
mov dword [esp + 0xfc], eax
lea eax, [edx*4]
mov ebp, eax
add ebp, 0x1c
je 0x435487
neg eax
add eax, esp
add eax, 0xc
mov dword [esp + 8], eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 4], ecx
mov dword [esp], ebp
cmp ebx, esi
jae 0x4353f7
mov edi, dword [ecx + ebx*4]
jmp 0x43547a
mov ebp, edx
mov edi, dword [esp + ebx*4 + 8]
mov eax, ebx
xor edx, edx
div esi
test edx, edx
je 0x43542d
cmp esi, 8
jne 0x435429
mov eax, ebx
and eax, 7
cmp eax, 4
jne 0x435429
movd xmm0, edi
pshufd xmm0, xmm0, 0x51
aeskeygenassist xmm0, xmm0, 0
movd edi, xmm0
mov edx, ebp
jmp 0x435470
mov edx, ebp
cmp ebp, 0xa
jb 0x435451
push 0x556
push str..._sshaes.c
push str.rconpos___lenof_key_setup_round_constants_
call fcn.00481fcd
mov edx, ebp
mov ecx, dword [esp + 0x10]
add esp, 0xc
movd xmm0, edi
pshufd xmm0, xmm0, 0x51
aeskeygenassist xmm0, xmm0, 0
pextrd eax, xmm0, 1
movzx edi, byte [edx + 0x49b48c]
inc edx
xor edi, eax
mov ebp, dword [esp]
mov eax, dword [esp + 8]
xor edi, dword [eax + ebx*4]
mov dword [esp + ebx*4 + 0xc], edi
inc ebx
cmp ebp, ebx
jne 0x4353eb
mov edi, dword [esp + 0x118]
mov ebx, dword [esp + 0x114]
add esi, 6
xor eax, eax
xor ecx, ecx
movdqu xmm0, xmmword [esp + eax + 0xc]
movdqa xmmword [ebx + eax], xmm0
inc ecx
add eax, 0x10
cmp ecx, esi
jbe 0x43549c
lea eax, [esp + 0xc]
push 0xf0
push eax
call fcn.0046d0f4
add esp, 8
mov eax, esi
shl eax, 4
add edi, eax
xor eax, eax
movdqa xmm0, xmmword [ebx]
test eax, eax
je 0x4354db
cmp esi, eax
je 0x4354db
aesimc xmm0, xmm0
movdqa xmmword [edi], xmm0
inc eax
add ebx, 0x10
add edi, 0xfffffff0
cmp esi, eax
jae 0x4354ca
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.00475526
add esp, 0x100
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x435667
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [esp + 0x1c]
mov al, byte [ecx]
mov ah, byte [ecx + 1]
mov dword [esp], esi
test esi, esi
jle 0x4356c5
neg dword [esp]
xor edi, edi
inc edi
mov dword [esp + 4], edx
inc al
movzx ebp, al
movzx ebx, byte [ecx + ebp + 2]
add ah, bl
movzx esi, ah
mov dl, byte [ecx + esi + 2]
mov byte [ecx + ebp + 2], dl
mov byte [ecx + esi + 2], bl
movzx edx, byte [ecx + ebp + 2]
add edx, ebx
movzx edx, dl
mov dl, byte [ecx + edx + 2]
mov esi, dword [esp + 4]
xor byte [esi + edi - 1], dl
mov edx, dword [esp]
add edx, edi
inc edx
inc edi
cmp edx, 1
jne 0x435688
mov byte [ecx], al
mov byte [ecx + 1], ah
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4360fe
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebp, dword [esp + 0x54]
imul eax, dword [esp + 0x24], 0x3e8
mov ecx, 0x10624dd3
mul ecx
shr edx, 6
mov dword [esp], edx
xor esi, esi
inc esi
mov ebx, esi
mov dword [esp + 4], ebx
mov ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
push ebp
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ebx
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.00435781
add esp, 0x38
call esi
mov esi, dword [esp + 4]
add esi, ebx
jb 0x43618f
sub eax, edi
cmp eax, dword [esp]
jae 0x43618f
push 0
mov ebp, dword [esp + 0x58]
push ebp
call fcn.0045ae7d
add esp, 8
jmp 0x436123
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43619d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc08
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x4c1074]
xor ecx, ebp
mov dword [esp + 0xc00], ecx
xor ecx, ecx
mov edi, dword [eax + ecx*8]
mov ebx, dword [eax + ecx*8 + 4]
xor edi, dword [edx + ecx*8]
xor ebx, dword [edx + ecx*8 + 4]
mov dword [esp + ecx*8 + 0x804], ebx
mov dword [esp + ecx*8 + 0x800], edi
inc ecx
cmp ecx, 0x80
jne 0x4361c2
xor edi, edi
lea eax, [esp + edi]
add eax, 0x800
lea ecx, [esp + edi + 0x400]
mov edx, 2
push 2
push eax
call fcn.004362aa
add esp, 8
sub edi, 0xffffff80
cmp edi, 0x400
jne 0x4361e9
xor edi, edi
lea eax, [esp + edi]
add eax, 0x400
lea ecx, [esp + edi]
mov edx, 0x10
push 0x10
push eax
call fcn.004362aa
add esp, 8
add edi, 0x10
cmp edi, 0x80
jne 0x436215
xor eax, eax
mov ecx, dword [esp + eax*8]
mov edx, dword [esp + eax*8 + 4]
xor edx, dword [esp + eax*8 + 0x804]
xor ecx, dword [esp + eax*8 + 0x800]
xor dword [esi + eax*8], ecx
xor dword [esi + eax*8 + 4], edx
inc eax
cmp eax, 0x80
jne 0x43623d
mov esi, 0x400
lea eax, [esp + 0x800]
push esi
push eax
call fcn.0046d0f4
add esp, 8
lea eax, [esp + 0x400]
push esi
push eax
call fcn.0046d0f4
add esp, 8
mov eax, esp
push esi
push eax
call fcn.0046d0f4
add esp, 8
mov ecx, dword [esp + 0xc00]
xor ecx, ebp
call fcn.00475526
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43a19f
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 1]
cmp eax, 0x15
jae 0x43a1b9
mov edx, 0x18007f
bt edx, eax
jb 0x43a313
mov edx, dword [esp + 4]
cmp edx, 1
jne 0x43a1cd
mov eax, str.SSH2_MSG_KEXDH_INIT
cmp ecx, 0x1e
jne 0x43a1cd
ret
cmp edx, 1
jne 0x43a1dc
mov eax, str.SSH2_MSG_KEXDH_REPLY
cmp ecx, 0x1f
je 0x43a1cc
cmp edx, 2
jne 0x43a1eb
mov eax, str.SSH2_MSG_KEX_DH_GEX_REQUEST_OLD
cmp ecx, 0x1e
je 0x43a1cc
cmp edx, 2
jne 0x43a1fa
mov eax, str.SSH2_MSG_KEX_DH_GEX_REQUEST
cmp ecx, 0x22
je 0x43a1cc
cmp edx, 2
jne 0x43a209
mov eax, str.SSH2_MSG_KEX_DH_GEX_GROUP
cmp ecx, 0x1f
je 0x43a1cc
cmp edx, 2
jne 0x43a218
mov eax, str.SSH2_MSG_KEX_DH_GEX_INIT
cmp ecx, 0x20
je 0x43a1cc
cmp edx, 2
jne 0x43a227
mov eax, str.SSH2_MSG_KEX_DH_GEX_REPLY
cmp ecx, 0x21
je 0x43a1cc
cmp edx, 4
jne 0x43a236
mov eax, str.SSH2_MSG_KEXGSS_INIT
cmp ecx, 0x1e
je 0x43a1cc
cmp edx, 4
jne 0x43a245
mov eax, str.SSH2_MSG_KEXGSS_CONTINUE
cmp ecx, 0x1f
je 0x43a1cc
cmp edx, 4
jne 0x43a258
mov eax, str.SSH2_MSG_KEXGSS_COMPLETE
cmp ecx, 0x20
je 0x43a1cc
cmp edx, 4
jne 0x43a26b
mov eax, str.SSH2_MSG_KEXGSS_HOSTKEY
cmp ecx, 0x21
je 0x43a1cc
cmp edx, 4
jne 0x43a27e
mov eax, str.SSH2_MSG_KEXGSS_ERROR
cmp ecx, 0x22
je 0x43a1cc
cmp edx, 4
jne 0x43a291
mov eax, str.SSH2_MSG_KEXGSS_GROUPREQ
cmp ecx, 0x28
je 0x43a1cc
cmp edx, 4
jne 0x43a2a4
mov eax, str.SSH2_MSG_KEXGSS_GROUP
cmp ecx, 0x29
je 0x43a1cc
cmp edx, 5
jne 0x43a2b7
mov eax, str.SSH2_MSG_KEXRSA_PUBKEY
cmp ecx, 0x1e
je 0x43a1cc
cmp edx, 5
jne 0x43a2ca
mov eax, str.SSH2_MSG_KEXRSA_SECRET
cmp ecx, 0x1f
je 0x43a1cc
cmp edx, 5
jne 0x43a2dd
mov eax, str.SSH2_MSG_KEXRSA_DONE
cmp ecx, 0x20
je 0x43a1cc
cmp edx, 3
jne 0x43a2f0
mov eax, str.SSH2_MSG_KEX_ECDH_INIT
cmp ecx, 0x1e
je 0x43a1cc
cmp edx, 3
jne 0x43a303
mov eax, str.SSH2_MSG_KEX_ECDH_REPLY
cmp ecx, 0x1f
je 0x43a1cc
lea eax, [ecx - 0x32]
cmp eax, 4
jae 0x43a31b
mov eax, dword [ecx*4 + 0x49ce0c]
ret
mov eax, dword [ecx*4 + 0x49ce7c]
ret
mov edx, dword [esp + 8]
cmp edx, 1
jne 0x43a332
mov eax, str.SSH2_MSG_USERAUTH_PK_OK
cmp ecx, 0x3c
je 0x43a1cc
cmp edx, 2
jne 0x43a345
mov eax, str.SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ
cmp ecx, 0x3c
je 0x43a1cc
cmp edx, 4
jne 0x43a358
mov eax, str.SSH2_MSG_USERAUTH_INFO_REQUEST
cmp ecx, 0x3c
je 0x43a1cc
cmp edx, 4
jne 0x43a36b
mov eax, str.SSH2_MSG_USERAUTH_INFO_RESPONSE
cmp ecx, 0x3d
je 0x43a1cc
cmp edx, 3
jne 0x43a37e
mov eax, str.SSH2_MSG_USERAUTH_GSSAPI_RESPONSE
cmp ecx, 0x3c
je 0x43a1cc
cmp edx, 3
jne 0x43a391
mov eax, str.SSH2_MSG_USERAUTH_GSSAPI_TOKEN
cmp ecx, 0x3d
je 0x43a1cc
cmp edx, 3
jne 0x43a3a4
mov eax, str.SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE
cmp ecx, 0x3f
je 0x43a1cc
cmp edx, 3
jne 0x43a3b7
mov eax, str.SSH2_MSG_USERAUTH_GSSAPI_ERROR
cmp ecx, 0x40
je 0x43a1cc
cmp edx, 3
jne 0x43a3ca
mov eax, str.SSH2_MSG_USERAUTH_GSSAPI_ERRTOK
cmp ecx, 0x41
je 0x43a1cc
cmp edx, 3
jne 0x43a3dd
mov eax, str.SSH2_MSG_USERAUTH_GSSAPI_MIC
cmp ecx, 0x42
je 0x43a1cc
lea edx, [ecx - 0x50]
mov eax, str.unknown
cmp edx, 0x15
jae 0x43a1cc
mov eax, dword [ecx*4 + 0x49cda4]
ret
Function at 0x43a9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x43aa0f
mov edx, dword [esp + 0x18]
xor esi, esi
movzx edi, byte [edx + esi]
xor edi, eax
mov eax, edi
and eax, 0xf
shr edi, 4
imul ebx, eax, 0x11111044
xor ebx, edi
imul edi, eax, 0x8840020
imul ebp, eax, 0x4220000
xor ebp, edi
xor ebp, ebx
and ebx, 0xf
shr ebp, 4
imul eax, ebx, 0x11111044
imul edi, ebx, 0x8840020
xor edi, eax
imul eax, ebx, 0x4220000
xor eax, ebp
xor eax, edi
inc esi
cmp ecx, esi
jne 0x43a9c6
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43ac7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
je 0x43acc5
mov edx, dword [edi]
xor edx, dword [ecx]
mov ebp, dword [edi + 4]
xor ebp, dword [ecx + 4]
or ebp, edx
jne 0x43acc5
mov ebp, 4
push ebp
push 0x49cf38
push 0
call fcn.0043a9b0
add esp, 0xc
push ebp
push 0x49cf3c
push eax
call fcn.0043a9b0
add esp, 0xc
test ebx, ebx
jle 0x43ad0a
add ebx, esi
mov ebp, 4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
xor ecx, dword [esi]
xor edx, dword [esi + 4]
or edx, ecx
mov ecx, 0x49cf3c
mov edx, 0x49cf38
cmove ecx, edx
push ebp
push ecx
push eax
call fcn.0043a9b0
add esp, 0xc
push ebp
push 0x49cf3c
push eax
call fcn.0043a9b0
add esp, 0xc
add esi, 8
cmp esi, ebx
jb 0x43acd0
test eax, eax
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43beae
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + eax*4]
xor edi, edx
mov dword [esp + 0x20], edx
rol ebx, 4
xor ebx, dword [ecx + eax*4 + 0x40]
mov eax, 0xfc00fc
mov esi, ebx
and esi, eax
shr ebx, 8
and ebx, eax
mov ecx, edi
and ecx, eax
shr edi, 8
and edi, eax
mov eax, 0xff00ff00
or esi, eax
or ebx, eax
or ecx, eax
or edi, eax
mov dword [esp + 8], 0
mov ebp, 0x49d15c
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], 0
xor eax, eax
mov dword [esp + 0x18], edi
mov edx, edi
mov dword [esp + 0x10], ecx
mov edi, ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp]
and ecx, esi
xor eax, ecx
mov ecx, dword [ebp + 4]
and ecx, ebx
xor dword [esp], ecx
mov ecx, dword [ebp + 8]
and ecx, edi
xor dword [esp + 4], ecx
mov ecx, dword [ebp + 0xc]
and ecx, edx
xor dword [esp + 8], ecx
mov ecx, 0x80008
add esi, ecx
add ebx, ecx
add edi, ecx
add edx, ecx
add ebp, 0x10
cmp ebp, 0x49d35c
jb 0x43bf29
mov ecx, 0x100
mov ebx, dword [esp + 0x10]
add ebx, ecx
mov ebp, dword [esp + 0xc]
add ebp, ecx
mov edx, dword [esp + 0x14]
add edx, ecx
mov edi, dword [esp + 0x18]
add edi, ecx
mov ecx, eax
shl ecx, 4
mov esi, 0x40004
and ebp, esi
imul ebp, ebp, 0x3c00
and ebp, ecx
xor ebp, eax
mov ecx, dword [esp]
mov eax, ecx
shl eax, 4
and edx, esi
imul edx, edx, 0x3c00
and edx, eax
xor edx, ecx
mov esi, dword [esp + 4]
mov ecx, esi
shl ecx, 4
mov eax, 0x40004
and ebx, eax
imul eax, ebx, 0x3c00
and eax, ecx
xor eax, esi
mov ecx, 0x40004
and edi, ecx
mov ebx, dword [esp + 8]
mov ecx, ebx
shl ecx, 4
imul esi, edi, 0x3c00
and esi, ecx
xor esi, ebx
shr edx, 4
and edx, 0xf000f00
shr eax, 8
and eax, 0xf000f0
or eax, edx
and esi, 0xf000f000
shr ebp, 0xc
and ebp, 0xf000f
or eax, esi
or ebp, eax
shr eax, 4
xor eax, ebp
and eax, 0x7030702
xor ebp, eax
shl eax, 4
xor eax, ebp
mov ecx, eax
shr ecx, 8
xor ecx, ebp
and ecx, 0x4e009e
xor eax, ecx
shl ecx, 8
xor ecx, eax
mov edx, ecx
shr edx, 0x10
xor edx, ecx
and edx, 0xd9d3
xor ecx, edx
shl edx, 0x10
xor edx, ecx
mov eax, edx
shr eax, 4
xor eax, edx
and eax, 0x5040004
mov ecx, eax
shl eax, 4
xor eax, dword [esp + 0x1c]
xor ecx, edx
shr edx, 1
xor edx, ecx
xor eax, ecx
and edx, 0x4045015
xor eax, edx
add edx, edx
xor edx, eax
mov eax, dword [esp + 0x20]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44051f
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 0
mov edx, dword [edi + 8]
test edx, edx
je 0x44057f
xor ecx, ecx
sub edx, ecx
add ecx, dword [edi]
push ebx
push edx
push 1
push ecx
call fcn.00484182
add esp, 0x10
mov esi, eax
push ebx
call fcn.00483b7a
add esp, 4
test eax, eax
jne 0x44056f
mov ecx, dword [edi + 4]
test esi, esi
je 0x440576
add ecx, esi
mov dword [edi + 4], ecx
mov edx, dword [edi + 8]
cmp edx, ecx
ja 0x44053a
jmp 0x440579
mov eax, 2
jmp 0x4405ab
mov edx, dword [edi + 8]
xor eax, eax
cmp ecx, edx
jne 0x440595
push ebx
call fcn.00483ec9
add esp, 4
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
setne al
mov ecx, dword [edi + 4]
mov edx, dword [edi]
lea esi, [edi + 0xc]
mov dword [edi + 0xc], edx
mov dword [edi + 0x14], ecx
xor ecx, ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], esi
pop esi
pop edi
pop ebx
ret

Function at 0x444189
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov dword [esp + 8], edx
mov esi, dword [esp + 0xa8]
mov eax, dword [0x4c1074]
xor eax, esp
mov dword [esp + 0x88], eax
push ecx
mov dword [esp + 8], ecx
call dword [ecx]
add esp, 4
mov edi, eax
test eax, eax
je 0x4441c5
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
mov dword [esp], edi
test esi, esi
jle 0x44426d
mov eax, esi
mov esi, dword [esp + 0xa4]
xor ebp, ebp
mov edi, dword [esp]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 4]
mov ebx, dword [ebp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], eax
cmovbe ebx, eax
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
cmp dword [ebp + 0x14], 0x73
jb 0x444218
push 0x393
push str..._sshrsa.c
push str.h__hlen___MAX_HASH_LEN
call fcn.00481fcd
add esp, 0xc
push dword [esp + 0xa0]
push dword [esp + 0xc]
push dword [edi + 4]
call fcn.00410fb0
add esp, 0xc
mov ebp, dword [esp + 0xc]
push ebp
push dword [edi + 4]
call fcn.004110b6
add esp, 8
mov eax, dword [edi]
lea ecx, [esp + 0x16]
push ecx
push edi
call dword [eax + 0xc]
add esp, 8
test ebx, ebx
jle 0x44425e
xor eax, eax
mov cl, byte [esp + eax + 0x16]
xor byte [esi + eax], cl
inc eax
cmp ebx, eax
jne 0x444252
inc ebp
add esi, ebx
mov eax, dword [esp + 0x10]
sub eax, ebx
jg 0x4441de
mov ecx, dword [esp]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00475526
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret