joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da0e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4da0e9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4da2af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004da444
xor eax, eax
push ebp
push 0x4da280
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4da139
call fcn.00404d48
jmp 0x4da287
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4da20e
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4da18e
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4da18e
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004d9fb4
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406804
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4da1cd
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004d9fb4
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406804
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.004062d8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4da26a
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004d9fb4
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4da2cc
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406804
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004d9fd4
jmp 0x4da26a
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4da231
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4da231
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4da247
mov eax, ebx
call fcn.004062d8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4da26a
lea eax, [ebp - 0x28]
mov ecx, 0x4da2cc
mov edx, ebx
call fcn.00406720
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004d9fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da287
mov eax, dword [ebp - 4]
call fcn.004da44c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da2b6
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00406244
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406244
ret
Function at 0x4de618
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x4de62c
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4de62b
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.00405da0
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4de790
inc ebx
mov eax, edi
call fcn.00405d34
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4de749
inc ebx
mov eax, edi
call fcn.00405d34
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4de718
inc ebx
mov eax, edi
call fcn.00405d34
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405d34
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x4de784
inc ebx
mov eax, edi
call fcn.00405d34
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405d34
mov byte [eax + ebx - 1], 0x3d
jmp 0x4de784
inc ebx
mov eax, edi
call fcn.00405d34
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405d34
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00405d34
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x4de660
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e2c34
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x552704
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4e2c53
mov esi, 1
mov edx, 0x55280c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4e2ccc
dec ebx
je 0x4e2cee
dec ebx
je 0x4e2d10
dec ebx
je 0x4e2d31
jmp 0x4e2d4b
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4e2d4b
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4e2d4b
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4e2d4b
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4e2cbc
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4e2c6f
mov esi, 0x20
mov eax, 0x552734
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4e2d70
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e2dac
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x5527bb]
test bl, bl
jbe 0x4e2ddd
lea eax, [esi + 0x3e0]
call fcn.004e2d88
lea eax, [esi + 0x3fc]
call fcn.004e2d88
dec bl
jne 0x4e2dc3
mov cl, 0x30
mov edi, 0x55278c
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x4e2dfe
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4e2e0b
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4e2de7
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4e2e18
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004e2bcc
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4e2e34
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004e2bcc
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004e2bcc
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4e2e50
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004e2dac
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4e2e7a
mov bl, 1
mov eax, 0x552684
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4e2eb3
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4e2ec0
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4e2e9f
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4e2eea
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004e2c34
jmp 0x4e2f11
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004e2c34
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4e2f19
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4e2ed2
mov bl, 0x40
mov esi, 0x5526c4
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4e2f7f
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4e2f8c
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4e2f68
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004e2bf4
inc ebx
inc esi
cmp bl, 0x41
jne 0x4e2f9a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e3138
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4e31e9
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x4e31e4
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00405da0
push 1
mov eax, edi
call fcn.00405d34
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004e2e18
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ea5a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x4ea5c9
inc edi
mov eax, esi
call fcn.004058c0
cmp edi, eax
jg 0x4ea5db
cmp byte [esi + edi - 1], 0x20
je 0x4ea5c8
mov eax, esi
test eax, eax
je 0x4ea5e6
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4ea6a8
cmp byte [esi + edi - 1], 0x2e
je 0x4ea6cc
jmp 0x4ea6a8
cmp byte [esi + edi - 1], 0x2e
jne 0x4ea650
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4ea6cc
cmp dword [esp + 8], 0xff
jg 0x4ea6cc
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4ea634
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4ea63c
mov bl, 1
jmp 0x4ea64a
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4ea6cc
jmp 0x4ea6a7
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4ea675
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4ea6a7
inc edi
mov eax, esi
call fcn.004058c0
cmp edi, eax
jg 0x4ea687
cmp byte [esi + edi - 1], 0x20
je 0x4ea674
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4ea69f
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4ea6cc
jmp 0x4ea6b7
inc edi
mov eax, esi
call fcn.004058c0
cmp edi, eax
jle 0x4ea5fe
cmp dword [esp + 4], 3
jne 0x4ea6cc
cmp dword [esp + 8], 0xff
jg 0x4ea6cc
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x504ac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x504bd3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x69c], 0
je 0x504b1b
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x504b1b
inc eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
lea esi, [ecx + edx]
movzx ecx, byte [ebx + 0x69c]
xor byte [esi], cl
inc edx
dec eax
jne 0x504b08
lea edx, [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xd8]
mov esi, eax
mov dl, 9
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x94]
test al, al
je 0x504bb5
inc dword [0x552bac]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x44]
mov edx, 8
mov eax, ebx
call fcn.0040d4d0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0x11
mov eax, dword [ebx + 0x4b4]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], 0
mov eax, dword [0x552bac]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x40]
mov ecx, 5
mov eax, 0x504bf0
call fcn.0040ea8c
mov ecx, dword [ebp - 0x10]
mov dl, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504bda
lea eax, [ebp - 0x44]
call fcn.0040623c
lea eax, [ebp - 0x10]
call fcn.0040623c
ret
Function at 0x531b1c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x531c44
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00531a08
mov eax, dword [esi]
call fcn.00407a9c
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40aedc]
call fcn.00407c64
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.0040322c
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.0040322c
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00407a9c
mov dword [ebp - 0xc], eax
mov eax, dword [0x554b90]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.005235a0
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.0040367c
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00407a9c
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.00523448
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.00523444
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00523598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531c4b
lea eax, [ebp - 4]
mov edx, dword [0x40aedc]
call fcn.00407c70
ret

Function at 0x533dd8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x533df2
add esp, 0xfffffff0
call fcn.004042a0
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x533eb1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x28]
xor edx, edx
call fcn.0040624c
lea eax, [ebx + 0x2c]
xor edx, edx
call fcn.0040624c
mov word [ebx + 0x30], 0
xor eax, eax
mov dword [ebx + 0x10], eax
mov dl, 1
mov eax, dword [0x423038]
call fcn.00403d8c
mov dword [ebx + 4], eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0053410c
mov edx, dword [ebp - 8]
lea eax, [ebx + 8]
call fcn.0040624c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x511c5c]
call fcn.00512120
mov dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x533e86
cmp dword [esi + 0x6c], 0
je 0x533e86
mov eax, dword [0x554338]
cmp byte [eax], 0
je 0x533e86
mov edi, dword [esi + 0x6c]
movzx eax, byte [edi + 0x566]
or al, byte [0x533ed8]
mov byte [edi + 0x566], al
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, 0x16c
mov edx, 0x533ee8
call fcn.00406720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533eb8
lea eax, [ebp - 8]
call fcn.0040623c
ret
Function at 0x534230
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406234
xor eax, eax
push ebp
push 0x5343ee
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x40
call fcn.0040367c
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 8]
lea edx, [ebp - 0x48]
mov ecx, 0x20
call fcn.0040644c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x40
call fcn.0040367c
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x53440c
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x20
call fcn.0040644c
push dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406804
cmp dword [ebx + 0xc], 0
je 0x5343c6
test esi, esi
je 0x5343c6
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0xc]
mov eax, esi
mov dword [edx + 0x1a0], eax
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040c6e8
mov edx, dword [ebp - 0x50]
mov eax, 0x53441c
call fcn.00406d10
test eax, eax
jle 0x534359
cmp dword [ebx + 0x10], 0
jne 0x53434e
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4e78a4]
call fcn.004f99dc
mov esi, eax
mov dword [ebx + 0x10], esi
mov eax, esi
call fcn.004fddcc
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.005161cc
mov eax, dword [ebx + 0xc]
add eax, 0x118
mov edx, dword [ebp - 8]
call fcn.0040624c
mov eax, dword [ebx + 0xc]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.0040624c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x188], edx
mov dword [eax + 0x304], ebx
mov dword [eax + 0x300], 0x5340d4
mov dword [eax + 0x374], ebx
mov dword [eax + 0x370], 0x533f74
cmp byte [ebp + 8], 0
je 0x5343b5
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00533c90
mov eax, dword [ebx + 0xc]
call fcn.00515ee8
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x12c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5343f5
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00406244
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406244
ret
Function at 0x53455c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff99c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406234
xor eax, eax
push ebp
push 0x534695
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov ecx, 0x1ff
mov edx, dword [ebp - 4]
call fcn.0040e5d4
lea edx, [ebp - 8]
xor eax, eax
call fcn.00406d5c
lea eax, [ebp - 0x60e]
mov ecx, 0xfe
mov edx, dword [ebp - 8]
call fcn.0040e5d4
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.0040367c
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
xor eax, eax
mov dword [ebp - 0x664], eax
xor eax, eax
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x53462b
mov dword [ebp - 0xc], 0xffffffff
jmp 0x53467a
test esi, esi
je 0x534644
imul eax, esi, 0x3e8
push eax
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x534652
push 0xffffffffffffffff
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x660]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53469c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406244
ret

Function at 0x534f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53503a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x534fc9
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x534fd3
cmp eax, 0
jne 0x534fd3
mov eax, dword [ebp - 8]
call fcn.004054fc
jmp 0x535024
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
dec ecx
test ecx, ecx
jl 0x535002
inc ecx
xor esi, esi
mov eax, esi
mov edi, 0x16
cdq
idiv edi
movzx eax, byte [edx + str.vkj8ze67dpa9wx3my2h5gu]
xor byte [ebx], al
inc ebx
inc esi
dec ecx
jne 0x534fea
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004de618
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004087d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535041
lea eax, [ebp - 0xc]
call fcn.004054fc
ret