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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x4d5d90
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00442100
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4d5d53
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x4d5d75
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x4d5deb
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.004d5b9d
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
pop ecx
pop ecx
cmp esi, 3
jb 0x4d5dd7
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x4d5deb
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4d5d14
pop esi
pop ebx
leave
ret
Function at 0x4dacd4
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x4e3a5b
call fcn.0045a302
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x4dacfd
push ebx
push ebx
push 2
xor ecx, ecx
pop eax
call fcn.004dca27
xor al, al
jmp 0x4dae67
call fcn.004da600
or dword [edi + 8], 0xffffffff
or dword [edi + 4], 0xffffffff
push 2
push ebx
push dword [ebp + 0xc]
call fcn.004431a9
push dword [ebp + 0xc]
call fcn.004447c1
push ebx
push ebx
push dword [ebp + 0xc]
mov esi, eax
call fcn.004431a9
add esp, 0x1c
cmp esi, ebx
jg 0x4dad36
push ebx
push ebx
push 0xd
jmp 0x4dacee
mov ebx, 0x54b480
mov dword [ebp - 0x10], ebx
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004db9de
lea eax, [esi + 1]
push eax
call fcn.004406a3
push dword [ebp + 0xc]
mov edi, eax
push 1
push esi
push edi
mov dword [ebp - 0x14], edi
mov byte [edi], 0
call fcn.0044459f
add esp, 0x14
cmp eax, 1
je 0x4dada5
push edi
call fcn.00440526
mov edi, dword [ebp + 8]
pop ecx
push 0
push 0
push 2
xor ecx, ecx
pop eax
call fcn.004dca27
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x4dacf6
push dword [ebp - 0x10]
call fcn.004419a2
pop ecx
jmp 0x4dacf6
mov ebx, edi
mov eax, ebx
mov byte [eax + esi], 0
cmp byte [eax], 0
je 0x4dae0a
mov al, byte [ebx]
cmp al, 0xa
jne 0x4dadca
mov eax, ebx
sub eax, edi
inc eax
push eax
push edi
lea edi, [ebp - 0x10]
call fcn.004dbade
inc ebx
jmp 0x4dae00
cmp al, 0xd
jne 0x4dae04
mov eax, ebx
sub eax, edi
test eax, eax
jle 0x4dade0
push eax
push edi
lea edi, [ebp - 0x10]
call fcn.004dbade
push 1
lea eax, [ebp + 0xc]
push eax
lea edi, [ebp - 0x10]
mov byte [ebp + 0xc], 0xa
call fcn.004dbade
lea eax, [ebx + 1]
cmp byte [eax], 0xa
jne 0x4dadfe
inc ebx
inc ebx
jmp 0x4dae00
mov ebx, eax
mov edi, ebx
jmp 0x4dae05
inc ebx
cmp byte [ebx], 0
jne 0x4dadb2
sub ebx, edi
je 0x4dae18
push ebx
push edi
lea edi, [ebp - 0x10]
call fcn.004dbade
push dword [ebp - 0x14]
call fcn.00440526
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
pop ecx
push 0
push 0
lea ecx, [edi + 8]
push ecx
mov ecx, esi
call dword [eax + 8]
cmp byte [esi + 0x2c], 0
je 0x4dae52
or dword [ebp - 4], 0xffffffff
cmp edi, 0x54b480
je 0x4dacf6
push edi
jmp 0x4dad9a
or dword [ebp - 4], 0xffffffff
cmp edi, 0x54b480
je 0x4dae65
push edi
call fcn.004419a2
pop ecx
mov al, 1
call fcn.0045a3a1
ret 8
Function at 0x4f888f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb3bf
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53f270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push str.StubInit
push eax
call fcn.004e839f
and dword [esp + 0x3c], 0
or dword [esp + 0x3c], 0xffffffff
mov esi, 0x5441f0
call fcn.004ea0cd
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x78]
mov dword [esp + 0x38], 1
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push str.autorun.txt
push eax
call fcn.004e839f
mov byte [esp + 0x3c], 2
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.004ea069
mov byte [esp + 0x40], 3
mov byte [esp + 0x40], 1
lea edi, [esp + 0x20]
call fcn.00466d22
mov byte [esp + 0x40], 4
add esp, 4
mov eax, esp
mov dword [esp + 0x24], esp
mov ecx, edi
push ecx
push eax
call fcn.004ea069
mov byte [esp + 0x3c], 5
mov byte [esp + 0x3c], 4
lea esi, [esp + 0x28]
call fcn.004cd050
mov byte [esp + 0x38], 6
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push 0x50148c
push eax
call fcn.004e839f
mov byte [esp + 0x3c], 7
add ebx, 0x78
mov byte [esp + 0x3c], 6
call fcn.004e8519
mov esi, dword [ebp + 8]
test eax, eax
jne 0x4f8995
push esi
call fcn.004f8099
mov ecx, esi
call fcn.004f7495
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push 0x501d98
push eax
call fcn.004e839f
mov byte [esp + 0x3c], 8
mov byte [esp + 0x3c], 6
call fcn.004e8519
test eax, eax
je 0x4f89e4
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push str.Dev_mode_started.
push eax
call fcn.004e839f
mov byte [esp + 0x3c], 9
push 2
mov byte [esp + 0x40], 6
call fcn.00465347
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.004ea069
mov byte [esp + 0x3c], 0xa
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push 0x501c70
push eax
call fcn.004e839f
mov byte [esp + 0x44], 0xb
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 6
mov eax, dword [esi + 4]
call fcn.004aa80e
test eax, eax
jne 0x4f8a8f
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push str.Engine_configuration_failed_
push eax
call fcn.004e839f
mov byte [esp + 0x3c], 0xc
push 1
mov byte [esp + 0x40], 6
call fcn.00465347
xor esi, esi
mov byte [esp + 0x38], 4
lea ecx, [esp + 0x24]
call fcn.004cd095
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x18]
call fcn.004e8425
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004e8425
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
add eax, 8
push ecx
push eax
call fcn.004ea273
mov byte [esp + 0x38], 0xd
lea edi, [esi + 0x74]
call fcn.004e9792
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x1c]
call fcn.004e8425
xor esi, esi
inc esi
jmp 0x4f8a4e
Function at 0x924058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009241a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x92407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x92406a
add dl, dl
jne 0x924089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9240dc
xor eax, eax
add dl, dl
jne 0x924096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x92417d
add dl, dl
jne 0x9240a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9240b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9240bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9240c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9240d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x924075
mov eax, 1
add dl, dl
jne 0x9240ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9240f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9240e1
sub eax, ebx
mov ebx, 1
jne 0x924128
mov ecx, 1
add dl, dl
jne 0x92410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x924119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x924105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x924075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x92413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x92414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x924136
cmp eax, 0x7d00
jae 0x92416d
cmp eax, 0x500
jb 0x924168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x924075
cmp eax, 0x7f
ja 0x924170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x924075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x92419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x924075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x473529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00473480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x473558
mov eax, 0xea61
jmp 0x4735d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x473568
mov eax, 0xea62
jmp 0x4735d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00473480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x473595
mov eax, 0xea62
jmp 0x4735d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4735ad
mov eax, 0xea65
jmp 0x4735d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4735c2
mov eax, 0xea66
jmp 0x4735d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4735d2
mov eax, 0xea67
jmp 0x4735d6
xor eax, eax
jmp 0x4735d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x930310
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x930316
pop ebp
sub ebp, 6
sub ebp, 0x530310
jmp 0x930374
jmp 0x93037d
mov eax, 0x530310
add eax, ebp
add eax, 0x93
mov ecx, 0x633
mov edx, 0xbbc39dc9
xor byte [eax], dl
inc eax
dec ecx
jne 0x930394
jmp 0x9303a7
mov dword [0xd9c9a189], eax
leave
leave
mov eax, dword [0xc9e505c9]
dec eax
cmp ebx, edx
test edi, edi
imul ecx, dword [eax + 0x39], 0x69ff85d3
cli
or dword [ecx - 0x774ea3ca], ebx
or cl, 0x99
inc edx
add al, 0x42
inc eax
cmc
leave
leave
leave
dec eax
or byte [ecx], dh
leave
leave
leave
retf 0x7104
Function at 0x914058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x91407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x91406a
add dl, dl
jne 0x914089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9140dc
xor eax, eax
add dl, dl
jne 0x914096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x91417d
add dl, dl
jne 0x9140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x914075
mov eax, 1
add dl, dl
jne 0x9140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9140e1
sub eax, ebx
mov ebx, 1
jne 0x914128
mov ecx, 1
add dl, dl
jne 0x91410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x914119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x914105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x914075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x91413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x91414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x914136
cmp eax, 0x7d00
jae 0x91416d
cmp eax, 0x500
jb 0x914168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x914075
cmp eax, 0x7f
ja 0x914170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x914075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x91419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x914075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x56c26805
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x5ad50c0d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x4b1d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.04b1d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x4b1d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4b1d06a
add dl, dl
jne 0x4b1d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4b1d0dc
xor eax, eax
add dl, dl
jne 0x4b1d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4b1d17d
add dl, dl
jne 0x4b1d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4b1d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4b1d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4b1d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x4b1d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x4b1d075
mov eax, 1
add dl, dl
jne 0x4b1d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4b1d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4b1d0e1
sub eax, ebx
mov ebx, 1
jne 0x4b1d128
mov ecx, 1
add dl, dl
jne 0x4b1d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4b1d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4b1d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4b1d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x4b1d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4b1d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4b1d136
cmp eax, 0x7d00
jae 0x4b1d16d
cmp eax, 0x500
jb 0x4b1d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4b1d075
cmp eax, 0x7f
ja 0x4b1d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4b1d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4b1d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x4b1d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10004377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10004386
pop dword [ebp - 0x38]
mov eax, 0x10004386
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xbd6e8653
add dword [ebp - 0x48], 0x90e3bef8
mov dword [ebp - 0x44], 0x75d046ec
add dword [ebp - 0x44], 0xbc630559
mov dword [ebp - 0x40], 0x2790540b
sub dword [ebp - 0x40], 0xdb440fdd
mov dword [ebp - 0x3c], 0xbce3ac91
sub dword [ebp - 0x3c], 0xbce3ac91
lea eax, [ebp - 0x48]
push eax
mov eax, 0x96c2550f
add eax, 0x793dfb49
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x1a83c598
sub dword [ebp - 0x48], 0xa6115c42
mov dword [ebp - 0x44], 0xb0333229
add dword [ebp - 0x44], 0x91392f4c
mov dword [ebp - 0x40], 0x4d92b9ca
sub dword [ebp - 0x40], 0xea234d5e
mov dword [ebp - 0x3c], 0xc0b3f630
sub dword [ebp - 0x3c], 0xc0b3f630
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8fc
push 0
call eax
mov ecx, 0x580d
xor ebx, ebx
add ebx, eax
mov esi, 0xb56aaabc
add esi, 0x5a95fd44
add esi, dword [ebp - 0x38]
mov edx, 0xc71ed8d2
xor dword [ebp - 0x28], edx
mov edi, dword [esi]
xor dword [ebp - 0x14], edx
add edi, edx
add dword [ebp - 0x18], 0x7a5c0829
mov dword [ebx], edi
xor dword [ebp - 0x34], eax
add ebx, 4
add esi, 4
loop 0x10004494
add eax, 0x8b798a7
sub eax, 0x8b645a0
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x60bf603
sub ecx, 0xf60bf603
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4034b0
Capabilities:
Get geographical location
Get system information on windows
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d804
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], 0
call fcn.004082c0
push eax
mov ecx, 0x458660
call fcn.004057f0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403535
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40352b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403719
push edx
push ecx
call fcn.0040d83c
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.004085f0
push eax
mov ecx, 0x458678
call fcn.004057f0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403585
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40357b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40371e
push edx
push ecx
call fcn.0040d83c
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push 2
push 0x44dda0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.004067e0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xa8], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x8c]
cmp ax, 9
je 0x4035e9
cmp ax, 6
je 0x4035e9
cmp ax, 0xc
jne 0x4035fb
push 2
push 0x44dda4
lea ecx, [ebp - 0xa4]
call fcn.004067e0
lea eax, [ebp - 0xa4]
mov ecx, 0x458690
push eax
call fcn.004057f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x40364d
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403643
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403723
push edx
push ecx
call fcn.0040d83c
add esp, 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x55
lea eax, [ebp - 0x68]
push eax
push 0x59
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4036b9
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4036a0
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.004067e0
lea eax, [ebp - 0xa4]
mov ecx, 0x4586a8
push eax
call fcn.004057f0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403700
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4036f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403728
push edx
push ecx
call fcn.0040d83c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d826
mov esp, ebp
pop ebp
ret
call fcn.00428830
call fcn.00428830
call fcn.00428830
call fcn.00428830
int3