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

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1b4c8e65
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1b4c8e76
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1b4c8eb7
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1b4cb223
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1b4cb16c
add ebx, 0
push ecx
call 0x1b4cb181
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1004a2e1
sub ebx, dword [0x10069b20]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x10069b10
call fcn.1b4c6c4b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1b4c6159
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1b4cb2df
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1b4cb2df
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1b4cb296
mov eax, 1
lock xchg dword [0x10069b1c], eax
push 0x3dd1fc71
call 0x1b4cb223
push esi
add esp, 8
cmp eax, 0
jne 0x1b4cb20c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1b4cb232
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1b4cb247
cmp ecx, edx
cmp eax, 0
je 0x1b4cb26c
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1b4cb256
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1b4cb285
dec eax
loope 0x1b4cb288
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x10069b1c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1b4cb2bc
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1b4cb2d1
jmp 0x1b4cb2dc
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1b4cb1ca
Function at 0x1b4d2344
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1b4d261a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10056794
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1004d75a
push 0xffffffffffffffff
call fcn.1b4c9544
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1b4d23ae
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1b4d23c6
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1b4d260e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1b4d25e2
Function at 0x1b4e1e14
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1b4e1e36
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1b4e1e36
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1b4e1e36
ret
cmp word [ebx + 4], 0x14c
jne 0x1b4e1e36
test word [ebx + 0x16], 2
je 0x1b4e1e36
test word [ebx + 0x16], 0x100
je 0x1b4e1e36
cmp word [ebx + 0x18], 0x10b
jne 0x1b4e1e36
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1b4e1e36
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1b4e1ec2
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1b4e1e56
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1b4c8da1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1b4e1e36
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1b4e1ec2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1b4e1e36
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1b4e1e36
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1b4e1e36
ret
cmp word [ebx + 4], 0x14c
jne 0x1b4e1e36
test word [ebx + 0x16], 2
je 0x1b4e1e36
test word [ebx + 0x16], 0x100
je 0x1b4e1e36
cmp word [ebx + 0x18], 0x10b
jne 0x1b4e1e36
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1b4e1e36
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1b4e1ec2
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1b4e1e56
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1b4c8da1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1b4e1e36
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1b4e1f79
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1b4e1fd2
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1b4e1f79
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1b4e1f88
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1b8e7c2b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1b4e1fd9
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1b4c8e4f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1b4e2078
add edi, 4
add eax, 2
dec ecx
jne 0x1b4e1fbe
call 0x1b4e2025
loope 0x1b4e201b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1b4e2075
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1b4e2086
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1b4e2039
cmp eax, ecx
ja 0x1b4e2039
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1b4e20c3
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1b4e20b9
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1b4c932e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1b4e1f88
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1b4e1fd2
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1b4e1f79
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1b4e1f88
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1b8e7c2b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1b4e1fd9
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1b4c8e4f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1b4e2078
add edi, 4
add eax, 2
dec ecx
jne 0x1b4e1fbe
call 0x1b4e2025
loope 0x1b4e201b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1b4e2075
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1b4e2086
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1b4e2039
cmp eax, ecx
ja 0x1b4e2039
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1b4e20c3
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1b4e20b9
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1b4c932e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10032df
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [0x1005024], ebx
je 0x100334e
push esi
push edi
mov edi, 0x1005024
mov esi, 0x1005028
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push dword [esi - 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1003342
push dword [esi]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
shl eax, 1
push eax
push dword [esi]
push 1
push ebx
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
lea edi, [esi - 4]
cmp dword [edi], ebx
jne 0x10032fd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003a01
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push 2
push edi
push edi
push edi
push 0x1001698
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1003b75
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.01003886
mov esi, 0x1001254
push esi
call fcn.010035c3
push 1
call fcn.010035de
push edi
call fcn.0100362f
push 2
call fcn.0100364a
push edi
call fcn.01003665
push esi
call fcn.01003680
push 1
call fcn.0100369b
push 0x7f
call fcn.010036b6
push edi
call fcn.010036ec
push 0xb4
call fcn.01003707
lea eax, [ebp - 8]
push eax
call fcn.0100347f
test eax, eax
jne 0x1003b3d
cmp dword [ebp - 8], edi
je 0x1003b3d
push esi
call fcn.01003557
push esi
call fcn.01003572
lea eax, [ebp - 0xc]
push eax
call fcn.01003371
test eax, eax
jne 0x1003ad0
test byte [ebp - 0xc], 0x80
je 0x1003ad0
push 1
jmp 0x1003ad1
push edi
call fcn.01003665
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push 0x1001630
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003b68
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
mov esi, 0x100199c
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x1003b32
cmp dword [ebp - 0x14], 4
jne 0x1003b32
push dword [ebp - 0x18]
call fcn.0100364a
push 1
call fcn.0100362f
push esi
push dword [ebp - 4]
call dword [entry0]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003b68
push esi
call fcn.01003557
push esi
call fcn.01003572
push 0x1001990
call fcn.0100358d
push 0x7e
call fcn.010035a8
push 5
call fcn.010035f9
push 0x78
call fcn.01003614
push 1
call fcn.010038aa
call fcn.01003866
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2a853e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x2a853e9b
pop dword [ebp - 0x28]
mov eax, 0xf34c6d3c
sub eax, 0xc8c72ea1
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x5b324c5a
add dword [ebp - 0x38], 0xf31ff8f1
mov dword [ebp - 0x34], 0xfc77f231
add dword [ebp - 0x34], 0x35bb5a14
mov dword [ebp - 0x30], 0x28675ccc
add dword [ebp - 0x30], 0x23e4e762
mov dword [ebp - 0x2c], 0xbf91b10d
sub dword [ebp - 0x2c], 0xbf91b10d
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x95ec8e30
add dword [ebp - 0x38], 0xde85db26
mov dword [ebp - 0x34], 0x18e8c1b
add dword [ebp - 0x34], 0x3fddd55a
mov dword [ebp - 0x30], 0x84d32591
sub dword [ebp - 0x30], 0x2163b925
mov dword [ebp - 0x2c], 0xcbdeff6
add dword [ebp - 0x2c], 0xf342100a
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x4c658
push 0
call eax
mov ecx, 0x4f14
mov ebx, eax
mov esi, 0x2a41f902
add esi, 0x6070fe
add esi, dword [ebp - 0x28]
mov edx, 0x8f74c8e1
sub dword [ebp - 0x24], esi
mov edi, dword [esi]
sub dword [ebp - 0x1c], 0x28f0b509
add edi, edx
mov dword [ebp - 4], 0xb7d5c966
mov dword [ebx], edi
xor dword [ebp - 0xc], 0x193b0268
add ebx, 4
add esi, 4
loop 0x2a853fa7
add eax, 0x12f23
mov ebx, eax
add eax, 0x24044afe
sub eax, 0x24044af9
mov ecx, 0x5a0199fb
add ecx, 0xd07e6605
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x2a855722
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
shr esi, 4
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
sub eax, esi
cmp eax, 0xc
jbe 0x2a85572e
pop esi
ret
Function at 0x6e664058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.6e6641a8
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 0x6e66407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6e66406a
add dl, dl
jne 0x6e664089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6e6640dc
xor eax, eax
add dl, dl
jne 0x6e664096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6e66417d
add dl, dl
jne 0x6e6640a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e6640b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e6640bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e6640c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6e6640d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x6e664075
mov eax, 1
add dl, dl
jne 0x6e6640ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6e6640f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6e6640e1
sub eax, ebx
mov ebx, 1
jne 0x6e664128
mov ecx, 1
add dl, dl
jne 0x6e66410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6e664119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6e664105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6e664075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6e66413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6e66414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6e664136
cmp eax, 0x7d00
jae 0x6e66416d
cmp eax, 0x500
jb 0x6e664168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6e664075
cmp eax, 0x7f
ja 0x6e664170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6e664075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x6e66419e
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 0x6e664075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x8c7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8c71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8c707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8c706a
add dl, dl
jne 0x8c7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8c70dc
xor eax, eax
add dl, dl
jne 0x8c7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8c717d
add dl, dl
jne 0x8c70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8c70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8c7075
mov eax, 1
add dl, dl
jne 0x8c70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8c70e1
sub eax, ebx
mov ebx, 1
jne 0x8c7128
mov ecx, 1
add dl, dl
jne 0x8c710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8c7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8c7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8c7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8c713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8c714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8c7136
cmp eax, 0x7d00
jae 0x8c716d
cmp eax, 0x500
jb 0x8c7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8c7075
cmp eax, 0x7f
ja 0x8c7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8c7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8c719e
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 0x8c7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403e50
Capabilities:
Check os version

Disassembly:
push edi
push esi
push ebx
sub esp, 0x140
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004bfc00
sub esp, 4
call fcn.004bf8e0
lea edi, [esp + 0x24]
mov ecx, 0x47
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], 0x11c
lea edi, [esp + 0x24]
mov dword [esp], edi
call sub.KERNEL32.dll_GetVersionExW
sub esp, 4
test eax, eax
je 0x404080
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
cmp eax, 2
jne 0x403eb6
cmp edx, 6
je 0x403fa0
mov dword [esp + 0x10], edx
sar edx, 0x1f
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
sar eax, 0x1f
mov dword [esp + 0x1c], eax
mov edi, esi
sar edi, 0x1f
call fcn.004bfa70
mov dword [esp], str.Windows
call fcn.004bfbb0
sub esp, 4
call fcn.004bfa70
call fcn.004bfa70
call fcn.004bf9a0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004bd520
sub esp, 0xc
call fcn.004bf9a0
mov dword [esp], 0x598f60
call fcn.004bfbb0
sub esp, 4
call fcn.004bfa70
call fcn.004bfa70
call fcn.004bf9a0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004bd520
sub esp, 0xc
call fcn.004bf9a0
mov dword [esp], 0x598f60
call fcn.004bfbb0
sub esp, 4
call fcn.004bfa70
call fcn.004bfa70
call fcn.004bf9a0
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.004bd520
sub esp, 0xc
call fcn.004bf9a0
call fcn.004bfa40
add esp, 0x140
pop ebx
pop esi
pop edi
ret 4
mov dword [esp + 4], str.ntdll.dll
mov dword [esp], 0xffffffff
call fcn.0049847e
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x403ff0
mov edi, esi
sar edi, 0x1f
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 6
mov dword [esp + 0x14], 0
jmp 0x403ed1
mov dword [esp + 4], str.RtlGetVersion
mov dword [esp], eax
call fcn.004984d4
sub esp, 8
test eax, eax
jne 0x404030
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 6
mov dword [esp + 0x14], 0
jmp 0x404065
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0049852e
sub esp, 8
test eax, eax
jne 0x404007
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], edx
sar edx, 0x1f
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
sar eax, 0x1f
mov dword [esp + 0x1c], eax
mov dword [esp], ebx
call fcn.00498539
sub esp, 4
mov edi, esi
sar edi, 0x1f
jmp 0x403ed1
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x403ed1
Function at 0x44c750
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44c78f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44c78f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44c78f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44c78f
cmp dword [ecx + 0x74], 0xe
jbe 0x44c78f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x450e7c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x55be8c
push str.FlsAlloc
push 0x1f
call fcn.00450cc4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450eb0
push dword [ebp + 8]
mov ecx, esi
call dword [0x55a824]
call esi
jmp 0x450eb6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x450efa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x55beb0
push str.FlsGetValue
push 0x21
call fcn.00450cc4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450f31
push dword [ebp + 8]
mov ecx, esi
call dword [0x55a824]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x450f39
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x55bec4
push str.FlsSetValue
push 0x22
call fcn.00450cc4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450f73
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x55a824]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]