joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5364b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x2c
mov eax, dword [0x641030]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, ecx
lea ecx, [esi + 0x28]
call fcn.0051b3b0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x53652a
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x5364e8
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov dword [esi + 0x118], edx
jmp 0x5364f2
mov dword [esi + 0x118], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
lea ecx, [eax + 3]
push ecx
lea edx, [eax + 2]
push edx
lea ecx, [eax + 1]
push ecx
push eax
push str._b._b._b._b
lea edx, [esp + 0x18]
push 0x28
push edx
call fcn.00435fd0
add esp, 0x1c
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0xa0]
call fcn.0042eba0
jmp 0x536535
lea ecx, [esi + 0xa0]
call fcn.0042c960
mov ecx, dword [esp + 0x2c]
mov byte [esi + 0x114], 0
pop esi
xor ecx, esp
call fcn.005550b0
add esp, 0x2c
ret

Function at 0x536590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x582d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x641030]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xc], ecx
lea edi, [esi + 0xbc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [edi], 0
call fcn.0044dd50
mov eax, dword [esi + 0xa4]
push 0
push edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x178], 0
call fcn.0051b3b0
push eax
call fcn.004ad080
add esp, 0x18
lea ecx, [esp + 0x2c]
mov byte [esi + 0xa8], al
mov byte [esi + 0x28], 0
mov dword [esp + 0x164], 0xffffffff
call fcn.0044dd70
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.005550b0
add esp, 0x15c
ret

Function at 0x536790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x577f68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00412750
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.HostnameResolveIpv6.0
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
call fcn.0042d110
mov dword [esi + 0xa4], ebx
mov byte [esi + 0xa8], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x536820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x582d88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.HostnameResolveIpv6.0
xor eax, eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xbc], eax
call fcn.0042d1d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00412770
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x537890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x582e88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x3c]
push str.sspiNext
push ebx
lea ecx, [esp + 0x18]
call fcn.00437740
cmp dword [esi + 0xc], 0
mov dword [esp + 0x24], 0
jge 0x53790f
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.No_SSPI_package_is_selected.
mov ecx, ebx
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004377b0
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x14
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.00446f40
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ebx
push ecx
push eax
mov byte [eax], 1
mov eax, dword [esp + 0x38]
push eax
mov byte [ecx], 0
mov ecx, dword [esi + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.005373d0
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x24], 0xffffffff
call fcn.004377b0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x14

Function at 0x53aaa0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x582ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
je 0x53ab01
lea ecx, [esp + 0xc]
call fcn.00447240
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.0053a850
lea ecx, [esp + 0xc]
test al, al
jne 0x53ab17
mov dword [esp + 0x30], 0xffffffff
call fcn.004479b0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4
call fcn.00446f60
mov esi, eax
lea ecx, [esp + 0xc]
add esi, 2
call fcn.0051d090
mov ecx, dword [esp + 0x38]
sub eax, 2
push eax
push esi
push ecx
call fcn.00494810
add esp, 0xc
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004479b0
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x53b030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x582ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00447240
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x38], 0
call fcn.004978d0
add esp, 8
lea ecx, [esp + 0xc]
call fcn.0051d090
push eax
lea ecx, [esp + 0x10]
call fcn.00446f60
push eax
mov ecx, esi
call fcn.0053aea0
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004479b0
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x53b320
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov ebx, eax
push edi
mov ecx, 0x20
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edx, 0x5eef20
sub edx, ebx
lea esi, [ecx + 0x1f]
mov edi, dword [edx + eax]
add edi, dword [eax]
add eax, 4
add ecx, edi
movzx edi, cl
mov dword [eax - 4], edi
shr ecx, 8
sub esi, 1
jne 0x53b345
sub ecx, 0xffffff80
add dword [ebx + 0x7c], ecx
mov edx, dword [ebx + 0x7c]
shr edx, 7
and edx, 1
lea edi, [esp + 0x10]
lea ebp, [esp + 0x14]
neg edx
xor ecx, ecx
sub edi, ebx
lea eax, [ebx + 8]
sub ebp, ebx
nop
mov esi, dword [eax - 8]
mov ebx, dword [esp + ecx*4 + 0x10]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax - 4]
mov dword [eax - 8], ebx
mov ebx, dword [esp + ecx*4 + 0x14]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax]
mov dword [eax - 4], ebx
mov ebx, dword [edi + eax]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [eax + ebp]
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dword [eax + 4], ebx
add ecx, 4
add eax, 0x10
cmp ecx, 0x20
jb 0x53b380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x53b6a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
sub ebp, edx
push esi
mov esi, ecx
mov dword [esp + 0x14], ebp
mov ebp, esi
sub ebp, edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x30]
sub ebp, edx
dec eax
mov dword [esp + 0xc], eax
lea eax, [edx + 4]
mov edx, dword [esp + 0x2c]
sub edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
push edi
mov edi, dword [esp + 0x34]
mov ebp, edx
sub ebp, esi
lea ecx, [esi + 8]
mov esi, dword [esp + 0x30]
xor ebx, ebx
add edi, 0xc
sub esi, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
lea esp, [esp]
mov esi, dword [eax - 4]
mov edx, dword [ecx - 8]
xor edx, esi
and edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
xor esi, edx
mov dword [ebp + ebx*4], esi
mov esi, dword [ecx - 8]
xor esi, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [edi - 0xc], esi
mov edx, dword [edx + eax]
mov esi, dword [eax]
xor edx, esi
and edx, dword [esp + 0x10]
add ebx, 4
xor esi, edx
mov dword [eax + ebp], esi
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax]
mov ebp, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x1c]
mov dword [edx + eax], esi
mov esi, dword [eax + 4]
mov edx, dword [ecx]
xor edx, esi
and edx, dword [esp + 0x10]
add eax, 0x10
xor esi, edx
mov dword [ecx + ebp], esi
mov esi, dword [ecx]
mov ebp, dword [esp + 0x28]
xor esi, edx
mov edx, dword [esp + 0x24]
mov dword [edx + ecx], esi
mov esi, dword [eax - 8]
mov edx, dword [ecx + 4]
xor edx, esi
and edx, dword [esp + 0x10]
add ecx, 0x10
xor esi, edx
mov dword [edi + ebp], esi
mov esi, dword [ecx - 0xc]
xor esi, edx
mov dword [edi], esi
add edi, 0x10
cmp ebx, 0x40
jb 0x53b700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x53bfd0
Capabilities:
Encrypt data using curve25519

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x641030]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x1a8]
push 0x20
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.00554d40
mov dl, byte [esp + 0x1ab]
and byte [esp + 0x18c], 0xf8
and dl, 0x3f
or dl, 0x40
add esp, 0xc
mov byte [esp + 0x19f], dl
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + edi]
mov dword [esp + eax*4], ecx
inc eax
cmp eax, 0x20
jb 0x53c020
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 4]
push eax
call fcn.0053b7a0
lea ecx, [esp + 0x88]
push ecx
mov eax, ecx
call fcn.0053bbe0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x14]
call fcn.0053b3e0
add esp, 0x14
lea eax, [esp + 0x100]
call fcn.0053b320
xor eax, eax
jmp 0x53c080
mov cl, byte [esp + eax*4 + 0x100]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x20
jb 0x53c080
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
xor eax, eax
call fcn.005550b0
add esp, 0x1a4
ret

Function at 0x53c1c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [edx + 0x7c]
push edi
mov ecx, esi
xor ecx, 0x7f
dec ecx
push ebx
shr ecx, 0x1f
lea eax, [edx + 0x74]
mov edi, 5
push ebp
jmp 0x53c1e0
mov ebx, dword [eax - 0x10]
mov ebp, dword [eax - 0xc]
xor ebp, 0xff
dec ebp
shr ebp, 0x1f
xor ebx, 0xff
dec ebx
shr ebx, 0x1f
and ebx, ebp
mov ebp, dword [eax - 8]
xor ebp, 0xff
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax - 4]
xor ebp, 0xff
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax + 4]
xor ebp, 0xff
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [eax]
xor ebp, 0xff
dec ebp
shr ebp, 0x1f
and ebx, ebp
and ecx, ebx
sub eax, 0x18
sub edi, 1
jne 0x53c1e0
mov eax, dword [edx]
sub eax, 0xed
not eax
shr eax, 0x1f
and eax, ecx
not eax
inc eax
mov ecx, eax
and ecx, 0x7f
sub esi, ecx
mov dword [edx + 0x7c], esi
mov esi, eax
pop ebp
lea ecx, [edi + 0x1e]
and esi, 0xff
pop ebx
lea esp, [esp]
sub dword [edx + ecx*4], esi
dec ecx
test ecx, ecx
jg 0x53c270
and eax, 0xed
sub dword [edx], eax
pop edi
pop esi
ret
Function at 0x53d530
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
add esi, 2
mov eax, ecx
sub edi, ecx
mov ebp, 0x1f
mov dl, byte [edi + eax]
mov bl, byte [eax]
and dl, 3
add dl, dl
add dl, dl
and bl, 3
xor dl, bl
mov byte [esi - 2], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 2
and dl, 3
add dl, dl
add dl, dl
shr ebx, 2
and bl, 3
xor dl, bl
mov byte [esi - 1], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 4
and dl, 3
add dl, dl
add dl, dl
shr ebx, 4
and bl, 3
xor dl, bl
mov byte [esi], dl
mov edx, dword [edi + eax]
mov ebx, dword [eax]
shr edx, 6
and dl, 3
add dl, dl
shr ebx, 6
add dl, dl
and bl, 3
xor dl, bl
mov byte [esi + 1], dl
add eax, 4
add esi, 4
sub ebp, 1
jne 0x53d548
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0x7c]
mov dl, byte [ecx + 0x7c]
mov edi, dword [esp + 0x14]
and al, 3
add al, al
add al, al
and dl, 3
xor al, dl
mov byte [edi + 0x7c], al
mov eax, dword [esi + 0x7c]
mov edx, dword [ecx + 0x7c]
shr eax, 2
and al, 3
add al, al
add al, al
shr edx, 2
and dl, 3
xor al, dl
mov byte [edi + 0x7d], al
mov eax, dword [esi + 0x7c]
mov ecx, dword [ecx + 0x7c]
shr eax, 4
and al, 3
add al, al
shr ecx, 4
add al, al
and cl, 3
xor al, cl
mov byte [edi + 0x7e], al
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x541d70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
lea edi, [ebx + 0x30]
mov ecx, edi
call fcn.0051d090
test eax, eax
jne 0x541d96
push 0x10
push eax
mov ecx, edi
call fcn.00447f70
mov dword [ebx + 0x2c], 0xc
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x52c], 0
je 0x541dbb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Not_in_IV_mode.
call edx
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
mov eax, dword [esi + 0x530]
cmp eax, 0x10
jge 0x541f8e
test eax, eax
jl 0x541f8e
mov ecx, dword [ebx + 0x2c]
add ecx, eax
cmp ecx, 0xc
jbe 0x541de3
or dword [esi + 0x528], 1
push ebp
mov ecx, edi
call fcn.00446f60
xor edi, edi
mov ebp, eax
cmp dword [esi + 0x530], edi
jne 0x541e4d
test dword [ebx + 0x2c], 0xfffffff0
jbe 0x541e4b
lea eax, [esi + 0x4e8]
mov edx, dword [edi + ebp]
xor dword [eax], edx
mov ecx, dword [edi + ebp + 4]
xor dword [eax + 4], ecx
mov edx, dword [edi + ebp + 8]
xor dword [esi + 0x4f0], edx
mov ecx, dword [edi + ebp + 0xc]
xor dword [esi + 0x4f4], ecx
mov edx, esi
call fcn.0053ff60
add dword [esi + 0x538], 0x80
adc dword [esi + 0x53c], 0
mov edx, dword [ebx + 0x2c]
add edi, 0x10
and edx, 0xfffffff0
cmp edi, edx
jb 0x541e06
add ebp, edi
cmp edi, dword [ebx + 0x2c]
jae 0x541f85
jmp 0x541e60
mov eax, dword [esi + 0x530]
mov cl, byte [ebp]
mov byte [eax + esi + 0x518], cl
inc dword [esi + 0x530]
mov eax, dword [esi + 0x530]
inc ebp
cmp eax, 0x10
jne 0x541f7b
movzx edx, byte [esi + 0x518]
xor byte [esi + 0x4e8], dl
movzx ecx, byte [esi + 0x519]
xor byte [esi + 0x4e9], cl
movzx edx, byte [esi + 0x51a]
xor byte [esi + 0x4ea], dl
movzx ecx, byte [esi + 0x51b]
xor byte [esi + 0x4eb], cl
movzx edx, byte [esi + 0x51c]
xor byte [esi + 0x4ec], dl
movzx ecx, byte [esi + 0x51d]
xor byte [esi + 0x4ed], cl
movzx edx, byte [esi + 0x51e]
xor byte [esi + 0x4ee], dl
movzx ecx, byte [esi + 0x51f]
xor byte [esi + 0x4ef], cl
movzx edx, byte [esi + 0x520]
xor byte [esi + 0x4f0], dl
movzx ecx, byte [esi + 0x521]
xor byte [esi + 0x4f1], cl
movzx edx, byte [esi + 0x522]
movzx ecx, byte [esi + 0x523]
xor byte [esi + 0x4f2], dl
movzx edx, byte [esi + 0x524]
xor byte [esi + 0x4f3], cl
movzx ecx, byte [esi + 0x525]
xor byte [esi + 0x4f4], dl
lea eax, [esi + 0x4e8]
movzx edx, byte [esi + 0x526]
xor byte [esi + 0x4f5], cl
movzx ecx, byte [esi + 0x527]
xor byte [esi + 0x4f6], dl
xor byte [esi + 0x4f7], cl
mov edx, esi
call fcn.0053ff60
xor eax, eax
add dword [esi + 0x538], 0x80
mov dword [esi + 0x530], eax
adc dword [esi + 0x53c], eax
inc edi
cmp edi, dword [ebx + 0x2c]
jb 0x541e60
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.buflen_error.
call eax
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
Function at 0x547870
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x63fb38
ret

Function at 0x547880
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x63fb80
ret

Function at 0x54f390
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x54f3ac
pop edi
lea eax, [esi + 1]
pop esi
ret 0xc
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x54f4ac
push ebp
lea ebx, [ebx]
mov eax, ebx
cmp ebx, 0x15b0
jb 0x54f3cf
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jb 0x54f46e
mov edx, eax
shr edx, 4
nop
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub eax, 0x10
sub edx, 1
jne 0x54f3e0
test eax, eax
je 0x54f47f
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x54f472
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x54f3c0
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret 0xc
Function at 0x5501e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
call fcn.00446f60
lea ecx, [esi + 0x20]
mov edi, eax
call fcn.00446f60
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi*4 + 4]
mov ecx, dword [ecx + esi*4]
xor ecx, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [edx]
xor esi, esi
mov ebx, ecx
and ebx, 0xff0000
or ebx, 0x1000000
shr ebx, 0x10
mov ebx, dword [eax + ebx*4]
mov ebp, ecx
shr ebp, 0x18
add ebx, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff00
or ebp, 0x20000
shr ebp, 8
xor ebx, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
or ebp, 0x300
add ebx, dword [eax + ebp*4]
inc esi
xor ebx, dword [edi + esi*4]
inc esi
xor edx, ebx
mov ebx, edx
and ebx, 0xff0000
or ebx, 0x1000000
shr ebx, 0x10
mov ebx, dword [eax + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff00
or ebp, 0x20000
shr ebp, 8
xor ebx, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
or ebp, 0x300
add ebx, dword [eax + ebp*4]
xor ebx, dword [edi + esi*4]
xor ecx, ebx
cmp esi, 0xe
jbe 0x550212
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x1c]
xor eax, edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0xc]
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
pop ecx
ret 8
Function at 0x5502d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor eax, eax
lea edi, [ebx + 4]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0051d090
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
lea ecx, [ebx + 0x20]
mov dword [esp + 0x14], esi
call fcn.0051d090
cdq
and edx, 3
add eax, edx
mov ebp, eax
sar ebp, 2
mov ecx, edi
mov dword [esp + 0x20], ebp
call fcn.00446f60
lea ecx, [ebx + 0x20]
mov dword [esp + 0x18], eax
call fcn.00446f60
xor edi, edi
mov dword [esp + 0x24], eax
test esi, esi
jle 0x550398
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
movzx esi, byte [eax + ebp]
inc eax
cdq
idiv ebx
shl esi, 8
inc edi
movzx ecx, byte [edx + ebp]
lea eax, [edx + 1]
cdq
idiv ebx
or ecx, esi
shl ecx, 8
movzx esi, byte [edx + ebp]
lea eax, [edx + 1]
cdq
idiv ebx
or esi, ecx
shl esi, 8
movzx ecx, byte [edx + ebp]
lea eax, [edx + 1]
cdq
idiv ebx
mov eax, dword [esp + 0x18]
or ecx, esi
xor dword [eax + edi*4 - 4], ecx
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
jl 0x550340
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
xor edi, edi
test esi, esi
jle 0x5503c8
mov edi, edi
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.005501e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edi*4], edx
mov dword [eax + edi*4 + 4], ecx
add edi, 2
cmp edi, esi
jl 0x5503a0
xor esi, esi
test ebp, ebp
jle 0x5503f8
mov edi, edi
push 0
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.005501e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax + esi*4], ecx
mov dword [eax + esi*4 + 4], edx
add esi, 2
cmp esi, ebp
jl 0x5503d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x5550b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x641030]
jne 0x5550ba
repz ret
jmp fcn.0055d8c7

Function at 0x56948d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0055da47
and dword [ebp - 4], 0
cmp dword [0x6469e4], 0
mov ebx, eax
jne 0x56953e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5695ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6130e8
push edi
call esi
test eax, eax
je 0x5695ef
push eax
call fcn.0055d9d5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6469e4], eax
call esi
push eax
call fcn.0055d9d5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6469e8], eax
call esi
push eax
call fcn.0055d9d5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6469ec], eax
call esi
push eax
call fcn.0055d9d5
pop ecx
mov dword [0x6469f4], eax
test eax, eax
je 0x56953e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055d9d5
pop ecx
mov dword [0x6469f0], eax
mov eax, dword [0x6469f0]
cmp eax, ebx
je 0x569596
cmp dword [0x6469f4], ebx
je 0x569596
push eax
call fcn.0055da50
push dword [0x6469f4]
mov esi, eax
call fcn.0055da50
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x569596
test edi, edi
je 0x569596
call esi
test eax, eax
je 0x56958d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x56958d
test byte [ebp - 0xc], 1
jne 0x569596
or dword [ebp + 0x10], 0x200000
jmp 0x5695cf
mov eax, dword [0x6469e8]
cmp eax, ebx
je 0x5695cf
push eax
call fcn.0055da50
pop ecx
test eax, eax
je 0x5695cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5695cf
mov eax, dword [0x6469ec]
cmp eax, ebx
je 0x5695cf
push eax
call fcn.0055da50
pop ecx
test eax, eax
je 0x5695cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6469e4]
call fcn.0055da50
pop ecx
test eax, eax
je 0x5695ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5695f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret