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

Disassembly:
mov eax, 0x1c
call fcn.100c8250
mov ecx, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x34]
cmp esi, 0x10
jb 0x100bf884
mov eax, esi
shr eax, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
sub ebp, dword [esp + 0x10]
mov ebx, edi
sub ebx, dword [esp + 0x10]
mov edx, 4
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x100bf841
push dword [esp + 0x3c]
push edi
push edi
call dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov ebp, edi
add eax, 0x10
add esp, 0xc
sub esi, 0x10
mov dword [esp + 0x10], eax
add edi, 0x10
sub dword [esp + 0x38], 1
jne 0x100bf832
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
jmp 0x100bf88c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
test esi, esi
je 0x100bf9b6
mov esi, edi
mov dword [esp + 0x14], ebp
sub dword [esp + 0x14], eax
lea ecx, [eax + 1]
sub esi, eax
lea ebx, [edi + 2]
mov dword [esp + 0x20], esi
xor edx, edx
mov esi, 1
sub esi, eax
mov dword [esp + 0x24], esi
mov esi, 2
sub esi, eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, edi
not eax
mov dword [esp + 0x1c], eax
cmp edx, esi
jae 0x100bf94b
mov al, byte [ecx - 1]
xor al, byte [edx + ebp]
mov byte [ebx - 2], al
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp eax, esi
jae 0x100bf945
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov al, byte [ecx + eax]
xor al, byte [ecx]
mov byte [ecx + esi], al
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add eax, ecx
cmp eax, esi
jae 0x100bf940
mov eax, dword [esp + 0x18]
mov al, byte [eax + ebx]
xor al, byte [ecx + 1]
mov byte [ebx], al
mov eax, dword [esp + 0x28]
add eax, ecx
cmp eax, esi
jae 0x100bf93b
mov al, byte [ecx + 2]
add ecx, 4
xor al, byte [edx + ebp + 3]
add edx, 4
mov byte [ebx + 1], al
add ebx, 4
cmp edx, 0x10
jb 0x100bf8d6
jmp 0x100bf972
add edx, 3
jmp 0x100bf946
add edx, 2
jmp 0x100bf946
inc edx
cmp edx, 0x10
jae 0x100bf972
mov esi, dword [esp + 0x18]
lea ecx, [edx + edi]
mov ebx, 0x10
sub ebx, edx
nop dword [eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x100bf960
mov esi, dword [esp + 0x38]
push dword [esp + 0x3c]
push edi
push edi
call dword [esp + 0x50]
add esp, 0xc
mov ebp, edi
cmp esi, 0x10
jbe 0x100bf9a3
mov eax, dword [esp + 0x10]
sub esi, 0x10
add eax, 0x10
mov dword [esp + 0x38], esi
add edi, 0x10
mov dword [esp + 0x10], eax
test esi, esi
jne 0x100bf894
movups xmm0, xmmword [ebp]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
pop ebx
add esp, 0x1c
ret
movups xmm0, xmmword [ebp]
pop edi
pop esi
pop ebp
movups xmmword [ecx], xmm0
pop ebx
add esp, 0x1c
ret
Function at 0x100bfaf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.100c8250
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x100bfb39
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x100bfb39
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x100bfb20
mov edx, dword [esp + 0x2c]
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
cmp esi, 0x10
jb 0x100bfc0a
nop dword [eax]
mov eax, esi
mov edx, ecx
shr eax, 4
xor edi, edi
add ecx, eax
cmp ecx, eax
cmovae edi, ecx
neg edx
mov dword [esp + 0x24], edi
cmp ecx, eax
mov edi, dword [esp + 0x2c]
push edi
push dword [esp + 0x2c]
cmovae edx, eax
push edx
push ebx
push ebp
mov dword [esp + 0x28], edx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0x14
mov eax, edx
mov byte [edi + 0xf], dl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xe], al
test edx, edx
jne 0x100bfbe6
mov edx, 0xc
mov eax, 1
nop
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x100bfbd0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, edx
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x100bfb70
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
test esi, esi
je 0x100bfc78
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
push edx
push dword [esp + 0x2c]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x100bfc59
push edx
call fcn.100bfcc0
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x100bfc66
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100c02c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100c8250
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x38]
or eax, dword [ebp + 0x3c]
je 0x100c02df
mov eax, 0xfffffffe
pop ebp
pop ecx
ret
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, esi
add eax, dword [ebp + 0x30]
adc ecx, dword [ebp + 0x34]
cmp ecx, 0x20000000
ja 0x100c03af
jb 0x100c0304
test eax, eax
jne 0x100c03af
push ebx
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x16c]
mov dword [ebp + 0x30], eax
mov dword [esp + 0x14], ecx
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x100c0350
nop
test esi, esi
je 0x100c03a1
mov al, byte [edi]
dec esi
xor byte [ecx + ebp + 0x40], al
inc edi
inc ecx
and ecx, 0xf
mov dword [esp + 0x18], ecx
jne 0x100c0320
lea eax, [ebp + 0x60]
push eax
lea ebx, [ebp + 0x40]
push ebx
call fcn.100c16c0
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x100c0353
lea ebx, [ebp + 0x40]
mov eax, esi
lea ecx, [ebp + 0x60]
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x100c0375
push eax
push edi
push ecx
push ebx
call fcn.100c1490
add edi, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x100c039d
mov ecx, esi
nop dword [eax + eax]
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ebx], al
lea ebx, [ebx + 1]
sub esi, 1
jne 0x100c0380
pop edi
pop ebx
pop esi
mov dword [ebp + 0x16c], ecx
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0x18]
pop edi
pop ebx
pop esi
mov dword [ebp + 0x16c], ecx
xor eax, eax
pop ebp
pop ecx
ret
pop esi
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x100c1f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [esp + 0x50]
mov al, byte [esi]
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov byte [esp + 0x13], al
lea eax, [esi + 0x10]
test byte [esp + 0x13], 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
jne 0x100c1fef
push ecx
push eax
push esi
call ebx
mov edx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esp + 0x13]
mov ebx, 0xf
and eax, 7
xor ecx, ecx
sub ebx, eax
mov byte [esi], al
mov dword [esp + 0x28], ebx
cmp ebx, 0xf
jae 0x100c2023
nop dword [eax + eax]
movzx eax, byte [esi + ebx]
or ecx, eax
mov byte [esi + ebx], 0
inc ebx
shl ecx, 8
cmp ebx, 0xf
jb 0x100c2010
movzx eax, byte [esi + 0xf]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x100c2047
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100c7413
add esp, 0x30
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x100c2083
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x20]
push ebx
push edx
push ebp
call dword [esp + 0x38]
shl ebx, 4
add esp, 0x18
add dword [esp + 0x14], ebx
add ebp, ebx
sub edi, ebx
je 0x100c20dd
shr ebx, 4
push ebx
push esi
call fcn.100c28c0
mov ebx, dword [esp + 0x1c]
add esp, 8
jmp 0x100c208d
mov ebx, dword [esp + 0x14]
mov eax, edi
test eax, eax
je 0x100c20dd
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test edi, edi
je 0x100c20c8
lea ecx, [esp + 0x2c]
mov eax, ecx
lea edx, [esi + 0x10]
sub ebp, eax
sub ebx, eax
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [ebx + ecx - 1], al
xor byte [edx - 1], al
sub edi, 1
jne 0x100c20b0
mov ebp, dword [esp + 0x18]
lea ebx, [esi + 0x10]
mov edi, dword [esp + 0x1c]
push ebp
push ebx
push ebx
call edi
add esp, 0xc
jmp 0x100c20e8
mov edi, dword [esp + 0x1c]
lea ebx, [esi + 0x10]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jae 0x100c2107
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.100c95b0
add esp, 0xc
push ebp
lea eax, [esp + 0x30]
push eax
push esi
call edi
mov eax, dword [esp + 0x38]
add esp, 0xc
xor dword [ebx], eax
mov eax, dword [esp + 0x30]
xor dword [ebx + 4], eax
mov eax, dword [esp + 0x34]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c7413
add esp, 0x30
ret
Function at 0x100e2ad1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100e2947

Function at 0x100eaf82
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100eaad5

Function at 0x100f6d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae edx, edi
test eax, eax
js 0x100f6d4c
push ebx
push esi
lea ebx, [ebp + 0xc]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x100f6d28
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
ret

Function at 0x100fad30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, 0x1505
test edi, edi
jne 0x100fad49
pop edi
xor eax, eax
pop esi
pop ebp
ret
push ebx
mov bl, byte [edi]
test bl, bl
je 0x100fad70
mov eax, ecx
lea edi, [edi + 1]
mov edx, esi
shld esi, ecx, 5
shl ecx, 5
add ecx, eax
movzx eax, bl
mov bl, byte [edi]
adc esi, edx
cdq
add ecx, eax
adc esi, edx
test bl, bl
jne 0x100fad50
pop ebx
pop edi
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100fda00
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x18], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
jb 0x100fdac8
ja 0x100fda24
cmp dword [ebp + 0x14], 0
jbe 0x100fdac8
mov eax, dword [ebp - 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x10]
push edi
movzx ecx, word [ebx + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
nop word [eax + eax]
mov eax, dword [ebp + 0x10]
mov al, byte [esi + eax]
test edi, edi
je 0x100fda60
movzx edx, cx
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor al, cl
mov byte [esi + edi], al
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push 1
push eax
mov eax, dword [ebx]
not eax
push eax
call fcn.100fe830
not eax
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 8]
not eax
push eax
call fcn.100fe830
mov edx, dword [ebp - 8]
add esp, 0x18
add esi, 1
not eax
mov dword [ebx + 8], eax
adc edx, 0
movzx ecx, ax
mov dword [ebp - 8], edx
cmp edx, dword [ebp + 0x18]
jb 0x100fda40
ja 0x100fdac5
cmp esi, dword [ebp + 0x14]
jb 0x100fda40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100fdad0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x18], 0
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movlpd qword [ebp - 0xc], xmm0
jb 0x100fdc25
push ebx
mov ebx, dword [ebp + 0x14]
ja 0x100fdafa
test ebx, ebx
je 0x100fdc24
cmp dword [ebp + 0xc], 0
push edi
je 0x100fdbae
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push 1
mov bl, byte [eax + ecx]
mov ax, word [esi + 8]
or ax, 2
mov byte [ebp - 4], bl
movzx edi, ax
lea eax, [ebp - 4]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.100fe830
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.100fe830
mov edx, dword [ebp + 0xc]
not eax
mov dword [esi + 8], eax
add esp, 0x18
mov eax, edi
mov ecx, edi
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 8]
shr ecx, 8
xor cl, bl
mov byte [eax + edx], cl
add eax, 1
mov ecx, dword [ebp - 0x10]
adc ecx, 0
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp + 0x18]
jb 0x100fdb11
ja 0x100fdc23
cmp eax, dword [ebp + 0x14]
jb 0x100fdb11
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov eax, dword [ebp + 0x10]
push 1
mov al, byte [edi + eax]
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.100fe830
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.100fe830
not eax
add esp, 0x18
mov dword [esi + 8], eax
add edi, 1
mov eax, dword [ebp - 0x10]
adc eax, 0
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp + 0x18]
jb 0x100fdbc0
ja 0x100fdc23
cmp edi, ebx
jb 0x100fdbc0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100fe0a0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push 2
push eax
push dword [ebp + 8]
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
setns al
pop ebp
ret

Function at 0x100fe830
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x100fe83c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.100fe850
Function at 0x10100540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x101006d3
cmp dword [esi + 0x20], 0
je 0x101006d3
cmp dword [esi + 0x24], 0
je 0x101006d3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101006d3
cmp dword [eax], esi
jne 0x101006d3
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x101005a8
cmp eax, 0x39
je 0x101005a8
cmp eax, 0x45
je 0x101005a8
cmp eax, 0x49
je 0x101005a8
cmp eax, 0x5b
je 0x101005a8
cmp eax, 0x67
je 0x101005a8
cmp eax, 0x71
je 0x101005a8
cmp eax, 0x29a
jne 0x101006d3
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x101005e1
neg ecx
mov dword [edi + 0x18], ecx
push 0
push 0
push 0
cmp ecx, 2
jne 0x101005fa
mov dword [edi + 4], 0x39
call fcn.100fe830
jmp 0x10100611
test ecx, ecx
mov edx, 0x2a
mov eax, 0x71
cmovne eax, edx
mov dword [edi + 4], eax
call fcn.10104740
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0
push edi
call fcn.10103200
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.100c95b0
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x10141fe2]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x10141fe0]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x10141fe4]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x10141fe6]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
pop ebp
ret
pop esi
mov eax, 0xfffffffe
pop ebx
pop ebp
ret
Function at 0x10104740
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10104750

Function at 0x101054a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101054cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101054cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xb964d0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b96620
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 0xb964f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb964e2
add dl, dl
jne 0xb96501
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb96554
xor eax, eax
add dl, dl
jne 0xb9650e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb965f5
add dl, dl
jne 0xb9651d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb96528
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb96533
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb9653e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb9654a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb964ed
mov eax, 1
add dl, dl
jne 0xb96562
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb9656d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb96559
sub eax, ebx
mov ebx, 1
jne 0xb965a0
mov ecx, 1
add dl, dl
jne 0xb96586
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb96591
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb9657d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb964ed
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb965b7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb965c2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb965ae
cmp eax, 0x7d00
jae 0xb965e5
cmp eax, 0x500
jb 0xb965e0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb964ed
cmp eax, 0x7f
ja 0xb965e8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb964ed
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb96616
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 0xb964ed
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x637008], 0x8088405
inc edx
mov dword [ebx + 0x637008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
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 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61ea63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ea6a
ret