joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e63d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x681c40]
xor eax, esp
mov dword [esp + 0x1c0], eax
cmp byte [0x685658], 0
push ebx
mov ebx, dword [esp + 0x1cc]
mov dword [esp + 0x10], ebx
jne 0x4e6409
call fcn.00505040
test eax, eax
je 0x4e6421
mov byte [0x685658], 1
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.005f582b
add esp, 0x1c4
ret
mov eax, dword [ebx + 0x9cc]
test eax, eax
je 0x4e6442
push 0x400
push eax
call fcn.00505cf0
add esp, 8
call fcn.00505040
test eax, eax
jne 0x4e6409
push ebp
push esi
push edi
nop word [eax + eax]
mov ebx, 2
mov dword [esp + 0x18], 4
lea eax, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
nop dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.004d96c0
push 1
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x28], xmm0
call fcn.004d4770
lea eax, [esp + 0x58]
push eax
call fcn.004d96c0
mov esi, dword [eax + 8]
lea eax, [esp + 0x6c]
push eax
call fcn.004d96c0
add esp, 0x10
lea ebp, [ebx + 1]
mov ecx, eax
mov eax, esi
cdq
push 0
add eax, dword [ecx]
push ebp
adc edx, dword [ecx + 4]
push edx
push eax
call fcn.005f6ac0
movups xmm1, xmmword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, eax
mov ebx, edx
dec esi
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ecx, xmm0
shld ebx, edi, 8
push ecx
push eax
push 0
push esi
shl edi, 8
call fcn.005f6ac0
xor edi, eax
xor ebx, edx
lea eax, [esp + 0x70]
mov dword [esp + 0x20], edi
push eax
mov dword [esp + 0x28], ebx
call fcn.004d96c0
lea esi, [eax + 8]
lea eax, [esp + 0x84]
push eax
call fcn.004d96c0
mov edx, dword [esp + 0x18]
add esp, 8
mov ebx, ebp
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
add ecx, dword [esi]
lea eax, [edx + 2]
imul edx, dword [esp + 0x28]
imul ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 0x10
xor ecx, edx
mov dword [esp + 0x28], ecx
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x4e6470
movsd xmm0, qword [0x606420]
lea eax, [esp + 0x90]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.00504e70
add esp, 0x10
call fcn.00505040
test eax, eax
je 0x4e6450
lea eax, [esp + 0xd0]
mov byte [esp + 0xd0], 0
push 0x100
push eax
call fcn.00505b30
add esp, 8
cmp byte [esp + 0xd0], 0
pop edi
pop esi
pop ebp
je 0x4e65d2
lea eax, [esp + 0xc4]
push 0x400
push eax
call fcn.00505cf0
add esp, 8
call fcn.00505040
test eax, eax
jne 0x4e6409
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [esp + 0x14]
call fcn.004d14b0
add esp, 8
call fcn.00505040
mov ecx, dword [esp + 0x1c4]
neg eax
pop ebx
sbb eax, eax
xor ecx, esp
and eax, 0xffffffdd
add eax, 0x23
call fcn.005f582b
add esp, 0x1c4
ret
Function at 0x4eae60
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.005f69b0
mov eax, dword [0x681c40]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push eax
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x4eaec9
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x4eaec9
lea eax, [esp]
push eax
call dword [0x67e0e4]
add esp, 4
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.005f582b
add esp, 0x1004
ret
mov ecx, dword [esp + 0x1000]
xor eax, eax
xor ecx, esp
call fcn.005f582b
add esp, 0x1004
ret
Function at 0x50f220
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x20
call fcn.005f69b0
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov eax, esi
sub eax, ebx
je 0x50f268
sub eax, 2
je 0x50f268
sub eax, 0x15
je 0x50f268
push 0x293
push str.crypto_bio_b_addr.c
push 0x83
push 0x8f
push 0x20
call fcn.00508420
add esp, 0x14
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
call fcn.0050f040
cmp eax, 1
jne 0x50f260
mov eax, dword [esp + 0x3c]
xor ecx, ecx
push ebp
push edi
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
xor edi, edi
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x50f2a9
or ecx, 0x400
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x3c], 1
jne 0x50f2b7
or ecx, 1
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x48]
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x50f30f
cmp esi, 8
je 0x50f356
mov ecx, dword [esp + 0x10]
test ecx, 0x400
je 0x50f31e
push ebp
lea eax, [esp + 0x14]
and ecx, 0xfffffbff
push eax
push dword [esp + 0x40]
or ecx, 4
mov edi, esi
push dword [esp + 0x40]
mov dword [esp + 0x20], ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x50f2d5
mov ebx, 1
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2d4
push str.crypto_bio_b_addr.c
push 2
push 0x8f
push 0x20
call fcn.00508420
test edi, edi
cmovne esi, edi
push esi
call fcn.0050f760
push eax
push 1
call fcn.00507a60
add esp, 0x20
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2c5
push str.crypto_bio_b_addr.c
push 0x41
push 0x8f
push 0x20
call fcn.00508420
add esp, 0x14
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
Function at 0x55e330
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005f69b0
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x55e374
cmp ecx, edx
jb 0x55e374
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x55e363
pop edi
jmp 0x55e381
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call fcn.00534eb0
add esp, 0x14
pop esi
test eax, eax
je 0x55e3ab
cmp dword [esp], 0x10
jne 0x55e3ab
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x55e4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x55e563
mov edx, dword [esp + 0x10]
test edx, edx
je 0x55e563
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov eax, dword [ebx + 0xc]
cmp edx, eax
mov edi, eax
cmovb edi, edx
test edi, edi
je 0x55e533
push esi
mov esi, ebp
lea ecx, [ebx + 0x10]
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x55e520
mov eax, dword [ebx + 0xc]
pop esi
cmp edx, eax
jbe 0x55e561
sub edx, eax
cmp edx, 0x10
jbe 0x55e545
mov edx, 0x10
jmp 0x55e549
test edx, edx
je 0x55e561
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
add eax, ecx
mov al, byte [eax + ebp]
xor byte [ebx + ecx + 0x30], al
inc ecx
cmp ecx, edx
jb 0x55e550
pop edi
pop ebx
pop ebp
ret
Function at 0x5642d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.005f69b0
mov eax, dword [0x681c40]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
test edi, edi
je 0x56433d
cmp edi, eax
je 0x564331
test ebp, ebp
je 0x5643b0
test ebx, ebx
js 0x5643b0
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x564343
test eax, eax
je 0x5643b0
mov edi, eax
push edi
call fcn.004d9870
add esp, 4
test al, 2
jne 0x5643b0
test ebp, ebp
je 0x5644bb
push edi
mov dword [esp + 0x14], 1
call fcn.004f8e10
add esp, 4
cmp eax, 0x90
jg 0x5643b0
cmp eax, ebx
jge 0x5643cb
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.004ff710
add esp, 0xc
test eax, eax
je 0x5643b0
push ebx
push ebp
push dword [esi + 4]
call fcn.004ff8c0
add esp, 0xc
test eax, eax
je 0x5643b0
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.004ff670
add esp, 0xc
test eax, eax
jne 0x5643e7
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f582b
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x5643b0
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x56440a
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x564410
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.004ff710
add esp, 0xc
test eax, eax
je 0x5644c8
push edi
call fcn.004f8e10
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.004ff8c0
add esp, 0x10
test eax, eax
je 0x5644c8
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x564460
push ebp
push edi
push dword [esi + 0xc]
call fcn.004ff710
add esp, 0xc
test eax, eax
je 0x5644c8
push edi
call fcn.004f8e10
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.004ff8c0
add esp, 0x10
test eax, eax
je 0x5644c8
push dword [esi + 8]
push dword [esi + 4]
call fcn.004ffa50
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x5644ca
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x56449f
jmp 0x56440e
xor ebp, ebp
test ebx, ebx
je 0x5644e0
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.00401320
add esp, 8
mov eax, ebp
jmp 0x5643b2

Function at 0x5a0aa0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x5a0ab4
mov dword [esp + 0x18], fcn.0059f280
jmp fcn.005987e0
mov dword [esp + 0x18], fcn.0059e520
jmp fcn.005984e0
Function at 0x5e55a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.005f69b0
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x18]
inc ebp
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x5e562a
mov edx, dword [esp + 0x24]
lea eax, [edx + ebp]
cmp eax, ecx
ja 0x5e562e
add dword [edi + 0x14], edx
sub ecx, edx
add dword [edi + 0x18], edx
sub dword [edi + 0xc], edx
mov dword [edi + 8], ecx
mov eax, dword [edi + 0x14]
push ebx
push dword [esi + 0x3cc]
mov al, byte [eax + ecx - 1]
movzx ebx, al
mov byte [esp + 0x30], al
mov dword [esp + 0x24], ebx
call fcn.004fd1d0
push eax
call fcn.004f8e20
mov esi, dword [edi + 8]
add esp, 8
mov dword [esp + 0x18], esi
and eax, 0x200000
je 0x5e5637
sub esi, ebx
mov eax, 1
dec esi
pop ebx
mov dword [edi + 8], esi
pop edi
pop esi
pop ebp
add esp, 0xc
ret
cmp ebp, ecx
jbe 0x5e55e2
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
lea ecx, [ebx + ebp]
mov eax, esi
mov ebx, esi
xor eax, ecx
sub ebx, ecx
xor ebx, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
cmovb eax, esi
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x5e56b3
mov edx, dword [esp + 0x20]
dec esi
mov edi, dword [edi + 0x14]
shr edx, 0x1f
add edi, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov eax, esi
lea edi, [edi - 1]
sub eax, ebp
mov ecx, ebp
shr ecx, 0x1f
inc ebp
shr eax, 0x1f
xor al, cl
xor cl, dl
or al, cl
movzx ecx, byte [esp + 0x2c]
dec al
movzx edx, al
movzx eax, byte [edi + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x14]
cmp ebp, dword [esp + 0x10]
jb 0x5e5675
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
not ebx
movzx ecx, bl
inc eax
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub esi, eax
mov dword [edi + 8], esi
mov dword [esp + 0x2c], ecx
not ecx
pop ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
and ecx, 1
pop edi
pop esi
or eax, ecx
pop ebp
add esp, 0xc
ret
Function at 0x5f6c9f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5f6cde
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5f6cde
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5f6cde
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5f6cde
cmp dword [ecx + 0x74], 0xe
jbe 0x5f6cde
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x414100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x414150
cmp edi, esi
jb 0x4141b8
cmp edi, dword [esp + 0x1c]
ja 0x4141cb
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x414152
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x414140
jmp 0x4141af
ja 0x414158
cmp eax, edx
mov esi, edi
jne 0x414113
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x414190
mov ebp, esi
sub ecx, edx
jns 0x4141a7
jmp 0x4141b1
cmp esi, edi
je 0x4141e0
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x4141b1
xor al, 1
cmp ebp, edi
jne 0x414170
jmp 0x4141b1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x43a1e4
call fcn.00436450
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x43a1e4
call fcn.00436330
add esp, 4
ud2
mov ecx, 0x43e1c7
mov edx, 0x2b
push 0x43a1f4
call fcn.004363a0
add esp, 4
ud2
Function at 0x42b570
Capabilities:
Access peb ldr_data
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x434f30
lea eax, [esi + 0x50]
xorps xmm0, xmm0
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
movaps xmmword [esi + 0x30], xmm0
lea eax, [esi + 0x30]
push 2
push 0x10
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jne 0x42b600
mov eax, dword [0x442154]
mov ecx, dword fs:[0x2c]
movaps xmm0, xmmword [esi + 0x30]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0x50]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 1
movups xmmword [eax + 0x10], xmm0
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esi + 8]
lea ecx, [esi + 0x10]
mov dword [esi + 0x18], 0x43f578
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0xc], eax
mov dword [esi + 8], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x10], edx
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x18]
mov edx, 0x43f5a4
mov dword [esi + 0x14], 0x423ff0
mov dword [esi + 0x2c], 1
call fcn.00436290
ud2
Function at 0x430a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
cmp dword [edx], 1
jne 0x430a37
mov esi, dword [edx + 0x30]
cmp dword [edx + 0x24], 0xffffffff
mov edi, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
lea eax, [edx + 8]
mov edx, eax
je 0x430a48
push 0
jmp 0x430a4a
cmp byte [edx + 0xe], 0
je 0x430a5b
mov dword [ecx], 0
add esp, 0xc
jmp 0x430a56
push 1
push ebp
push ebx
push edi
push esi
call fcn.00431500
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebp, dword [edx + 0x30]
mov esi, dword [edx + 0x34]
mov bl, byte [edx + 0xc]
mov edi, dword [edx + 4]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], ebp
jmp 0x430a93
add edi, eax
mov ebp, dword [esp]
mov dword [edx + 4], edi
mov ebx, dword [edx + 0xc]
test ebx, 0xff0000
jne 0x430a3d
mov eax, ebx
xor al, 1
test edi, edi
mov byte [edx + 0xc], al
je 0x430ab6
cmp esi, edi
jbe 0x430ab0
cmp byte [ebp + edi], 0xbf
jg 0x430ab6
jmp 0x430b7f
jne 0x430b7f
cmp edi, esi
je 0x430b5f
movzx eax, byte [ebp + edi]
movzx ebp, al
test al, al
jns 0x430b1e
mov esi, dword [esp]
and ebp, 0x1f
movzx esi, byte [esi + edi + 1]
and esi, 0x3f
cmp al, 0xdf
jbe 0x430b0a
mov ecx, dword [esp]
shl esi, 6
movzx ecx, byte [ecx + edi + 2]
and ecx, 0x3f
or ecx, esi
cmp al, 0xf0
jb 0x430b11
mov eax, dword [esp]
and ebp, 7
shl ecx, 6
shl ebp, 0x12
movzx eax, byte [eax + edi + 3]
and eax, 0x3f
or eax, ecx
or ebp, eax
jmp 0x430b16
shl ebp, 6
or ebp, esi
jmp 0x430b1a
shl ebp, 0xc
or ebp, ecx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 4]
test bl, bl
jne 0x430b6c
cmp ebp, 0x110000
je 0x430b63
mov eax, 1
cmp ebp, 0x80
jb 0x430a80
mov eax, 2
cmp ebp, 0x800
jb 0x430a80
cmp ebp, 0x10000
mov eax, 4
sbb eax, 0
jmp 0x430a80
test bl, bl
jne 0x430b6e
mov byte [edx + 0xe], 1
jmp 0x430a3d
mov esi, edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx], 1
jmp 0x430a43
mov ecx, ebp
mov edx, esi
push 0x43fdfc
push esi
push edi
call fcn.004365e0
add esp, 0xc
ud2
Function at 0xd3e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd3e1a8
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 0xd3e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd3e06a
add dl, dl
jne 0xd3e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd3e0dc
xor eax, eax
add dl, dl
jne 0xd3e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd3e17d
add dl, dl
jne 0xd3e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd3e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd3e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd3e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd3e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd3e075
mov eax, 1
add dl, dl
jne 0xd3e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd3e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd3e0e1
sub eax, ebx
mov ebx, 1
jne 0xd3e128
mov ecx, 1
add dl, dl
jne 0xd3e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd3e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd3e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd3e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd3e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd3e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd3e136
cmp eax, 0x7d00
jae 0xd3e16d
cmp eax, 0x500
jb 0xd3e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd3e075
cmp eax, 0x7f
ja 0xd3e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd3e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd3e19e
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 0xd3e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4018b7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5706f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov dword [esp + 0x14], 0
call dword [eax + 0x14]
mov eax, dword [esi + 8]
test eax, eax
je 0x401916
sub esp, 0x10
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0041e160
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea ecx, [esp + 0x20]
mov bl, al
mov dword [esp + 0x14], 0xffffffff
call fcn.0041e150
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x10
ret 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041e150
mov ecx, dword [esp + 0xc]
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x407820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57109b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], 5
call fcn.004079e0
xor ebx, ebx
push esi
mov byte [esp + 0x34], 6
mov dword [esi], 0x5969d4
mov dword [esi + 8], ebx
call fcn.0040ba30
push 0xb0
mov byte [esp + 0x34], 7
mov dword [esi], 0x596bfc
call fcn.00564fcb
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x40791c
push ecx
mov ecx, dword [esp + 0x70]
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x4078a1
inc dword [eax]
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401ed0
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00401ed0
sub esp, 0x10
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x50], 0xb
call fcn.0041e160
sub esp, 0x10
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x60], 0xc
call fcn.0041ec00
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00401ed0
mov ecx, edi
mov byte [esp + 0x68], 8
call fcn.0041ab10
jmp 0x40791e
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x30], 7
mov dword [esi + 8], eax
je 0x407931
mov dword [eax + 8], 1
push esi
call fcn.0040ba30
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], 4
cmp eax, ebx
je 0x40794e
push eax
lea ecx, [esp + 0x3c]
call fcn.00411610
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x30], 3
call fcn.0041ebf0
lea ecx, [esp + 0x54]
mov byte [esp + 0x30], 2
call fcn.0041e150
mov eax, dword [esp + 0x64]
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x407985
push eax
lea ecx, [esp + 0x68]
call fcn.00411610
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], ebx
cmp eax, ebx
mov byte [esp + 0x30], bl
je 0x40799f
push eax
lea ecx, [esp + 0x6c]
call fcn.00411610
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], ebx
cmp eax, ebx
mov dword [esp + 0x30], 0xffffffff
je 0x4079bd
push eax
lea ecx, [esp + 0x70]
call fcn.00411610
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x38