joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ac1c7
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 0x100ac110
add ebx, 0
push ecx
call 0x100ac125
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, 0x562c51ed
sub ebx, dword [0x562e4a2c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x562e4a1c
call fcn.100a7bef
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100a70fd
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100ac283
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100ac283
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 0x100ac23a
mov eax, 1
lock xchg dword [0x562e4a28], eax
push 0x3dd1fc71
call 0x100ac1c7
push esi
add esp, 8
cmp eax, 0
jne 0x100ac1b0
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100ac1d6
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100ac1eb
cmp ecx, edx
cmp eax, 0
je 0x100ac210
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 0x100ac1fa
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100ac229
dec eax
loope 0x100ac22c
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x562e4a28], 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 0x100ac260
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100ac275
jmp 0x100ac280
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100ac16e
Function at 0x100b32e8
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 0x100b35be
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x562d16a0
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x562c8666
push 0xffffffffffffffff
call fcn.100aa4e8
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 0x100b3352
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100b336a
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 0x100b35b2
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100b3586
Function at 0x100c2db8
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 0x100c2dda
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c2dda
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c2dda
ret
cmp word [ebx + 4], 0x14c
jne 0x100c2dda
test word [ebx + 0x16], 2
je 0x100c2dda
test word [ebx + 0x16], 0x100
je 0x100c2dda
cmp word [ebx + 0x18], 0x10b
jne 0x100c2dda
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c2dda
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c2e66
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c2dfa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a9d45
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c2dda
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 0x100c2e66
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 0x100c2dda
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c2dda
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c2dda
ret
cmp word [ebx + 4], 0x14c
jne 0x100c2dda
test word [ebx + 0x16], 2
je 0x100c2dda
test word [ebx + 0x16], 0x100
je 0x100c2dda
cmp word [ebx + 0x18], 0x10b
jne 0x100c2dda
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c2dda
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c2e66
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c2dfa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a9d45
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c2dda
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 0x100c2f1d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c2f76
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c2f1d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c2f2c
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 0x104c8bcf
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 0x100c2f7d
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.100a9df3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c301c
add edi, 4
add eax, 2
dec ecx
jne 0x100c2f62
call 0x100c2fc9
loope 0x100c2fbf
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c3019
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 0x100c302a
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 0x100c2fdd
cmp eax, ecx
ja 0x100c2fdd
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c3067
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c305d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100aa2d2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100c2f2c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c2f76
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c2f1d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c2f2c
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 0x104c8bcf
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 0x100c2f7d
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.100a9df3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c301c
add edi, 4
add eax, 2
dec ecx
jne 0x100c2f62
call 0x100c2fc9
loope 0x100c2fbf
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c3019
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 0x100c302a
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 0x100c2fdd
cmp eax, ecx
ja 0x100c2fdd
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c3067
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c305d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100aa2d2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x72f92b2a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x23ac3b38
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40153f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40162d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040153f
test eax, eax
jne 0x4016c7
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40215e
sub eax, 0x4016fc
mov dword [esp], 0x4016fc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c7
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401442
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014c9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e61
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c040
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c0f5
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push 0
push 0
call ebp
add byte [edi + ebx], 0x24
push 0
push 0
call ebp
add byte [edi + ebx], 0xb3
push 0
push 0
call ebp
add byte [edi + ebx], 0x90
push 0
push 0
call ebp
xor byte [edi + ebx], 0x73
push 0
push 0
call ebp
add byte [edi + ebx], 0x50
push 0
push 0
call ebp
add byte [edi + ebx], 0xfe
push 0
push 0
call ebp
add byte [edi + ebx], 0x56
push 0
push 0
call ebp
xor byte [edi + ebx], 0xd3
push 0
push 0
call ebp
add byte [edi + ebx], 0xf2
push 0
push 0
call ebp
add byte [edi + ebx], 0xea
push 0
push 0
call ebp
xor byte [edi + ebx], 8
push 0
push 0
call ebp
add byte [edi + ebx], 0xe9
push 0
push 0
call ebp
xor byte [edi + ebx], 0x71
push 0
push 0
call ebp
add byte [edi + ebx], 0xa6
inc ebx
cmp esi, ebx
jne 0x40c060
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402cc5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c100
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov ebx, eax
jb 0x40c118
mov ebx, dword [eax]
mov esi, dword [esp + 0x40]
xor esi, edi
cmp edi, 4
jae 0x40c127
mov ecx, edi
jmp 0x40c195
mov dword [esp + 0x24], edi
shr edi, 2
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0
call dword [sym.imp.GDI32.dll_ArcTo]
sub esp, 0x24
mov dword [esp + 4], str.Z81xbyuAua
mov dword [esp], 0x4d4860
call fcn.00402d5b
mov dword [esp], eax
call fcn.004060eb
imul eax, dword [ebx + ebp*4], 0x5bd1e991
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e991
imul esi, esi, 0x5bd1e991
xor esi, eax
inc ebp
cmp edi, ebp
jne 0x40c130
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp + 0x24]
and edi, 0xfffffffc
and ecx, 3
xor eax, eax
cmp ecx, 1
je 0x40c1be
cmp ecx, 2
je 0x40c1b4
cmp ecx, 3
jne 0x40c1cc
movsx eax, byte [ebx + edi + 2]
shl eax, 0x10
movsx ecx, byte [ebx + edi + 1]
shl ecx, 8
xor eax, ecx
movsx ecx, byte [ebx + edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4035bc
Capabilities:
Terminate process

Disassembly:
jmp 0x453cc3
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453cd4
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058c1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x406710
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41d9eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4044bc
call fcn.004092a4
push 4
mov dword [esp + 0x18], 0
call fcn.0040a946
mov edi, eax
add esp, 4
test edi, edi
je 0x406784
push ebx
call fcn.0040909f
mov dword [edi], eax
call fcn.00408e5e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409265
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406778
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040928d
pop ebx
jmp 0x406786
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b43e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4213dc]
jne 0x40b448
repz ret
jmp fcn.004113dc
Function at 0x416ad3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f8be
and dword [ebp - 0x14], 0
cmp dword [0x438934], 0
mov dword [ebp - 0x18], eax
jne 0x416b86
push 0x403fe0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416c2e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fd4
push ebx
call edi
test eax, eax
je 0x416c2e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fc4
push ebx
mov dword [0x438934], eax
call edi
push eax
call esi
push 0x403fb0
push ebx
mov dword [0x438938], eax
call edi
push eax
call esi
push 0x403f94
push ebx
mov dword [0x43893c], eax
call edi
push eax
call esi
mov dword [0x438944], eax
test eax, eax
je 0x416b86
push 0x403f7c
push ebx
call edi
push eax
call esi
mov dword [0x438940], eax
mov eax, dword [0x438940]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416bdf
cmp dword [0x438944], ecx
je 0x416bdf
push eax
call esi
push dword [0x438944]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416bdf
test ebx, ebx
je 0x416bdf
call edi
test eax, eax
je 0x416bd6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416bd6
test byte [ebp - 8], 1
jne 0x416bdf
or dword [ebp + 0x10], 0x200000
jmp 0x416c12
mov eax, dword [0x438938]
cmp eax, dword [ebp - 0x18]
je 0x416c12
push eax
call esi
test eax, eax
je 0x416c12
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416c12
mov eax, dword [0x43893c]
cmp eax, dword [ebp - 0x18]
je 0x416c12
push eax
call esi
test eax, eax
je 0x416c12
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438934]
call esi
test eax, eax
je 0x416c2e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416c30
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b43e
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
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 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
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 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4010b5
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push 0
push 0
call ebp
add byte [edi + ebx], 0x38
push 0
push 0
call ebp
add byte [edi + ebx], 0xe6
push 0
push 0
call ebp
add byte [edi + ebx], 0x35
push 0
push 0
call ebp
xor byte [edi + ebx], 0xe5
push 0
push 0
call ebp
add byte [edi + ebx], 0xde
push 0
push 0
call ebp
add byte [edi + ebx], 0x20
push 0
push 0
call ebp
add byte [edi + ebx], 0x11
push 0
push 0
call ebp
xor byte [edi + ebx], 0x84
push 0
push 0
call ebp
add byte [edi + ebx], 0x6b
push 0
push 0
call ebp
add byte [edi + ebx], 6
push 0
push 0
call ebp
xor byte [edi + ebx], 0x97
push 0
push 0
call ebp
add byte [edi + ebx], 0x6a
push 0
push 0
call ebp
xor byte [edi + ebx], 0x65
push 0
push 0
call ebp
add byte [edi + ebx], 0xd9
inc ebx
cmp esi, ebx
jne 0x401020
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4010c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov ebp, eax
jb 0x4010d8
mov ebp, dword [eax]
mov esi, dword [esp + 0x20]
xor esi, edi
cmp edi, 4
jae 0x4010e7
mov ecx, edi
jmp 0x401143
mov dword [esp], edi
shr edi, 2
cmp edi, 2
mov eax, 1
cmovae eax, edi
mov dword [esp + 4], eax
xor ebx, ebx
nop
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, 0x436338
push edi
call fcn.004019e0
imul eax, dword [ebp + ebx*4], 0x5bd1e991
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e991
imul esi, esi, 0x5bd1e991
xor esi, eax
inc ebx
cmp dword [esp + 4], ebx
jne 0x401100
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp]
and edi, 0xfffffffc
and ecx, 3
xor eax, eax
cmp ecx, 1
je 0x40116c
cmp ecx, 2
je 0x401162
cmp ecx, 3
jne 0x40117b
movsx eax, byte [ebp + edi + 2]
shl eax, 0x10
movsx ecx, byte [ebp + edi + 1]
shl ecx, 8
xor eax, ecx
movsx ecx, byte [ebp + edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret