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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

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

Function at 0x4e235e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4e236f
lcall 0x5de5, 0x8b10c483
jmp fcn.00f45524

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4e236f
lcall 0x5de5, 0x8b10c483
jmp fcn.00f45524
Function at 0x40201b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c6810]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov eax, dword [eax + esi*4]
mov edi, dword [eax]
push edi
call fcn.00401b41
cmp dword [edi + 0x18], 0
jne 0x43bef3
mov ecx, dword [0x4c6834]
push 3
pop edx
mov dword [ebp - 4], edx
cld
cmp ecx, edx
jl 0x402101
mov eax, dword [0x4c6824]
mov eax, dword [eax + edx*4]
mov esi, dword [eax]
test esi, esi
je 0x4020f2
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jne 0x4020f2
movzx eax, byte [esi + 0x90]
sub eax, 0xa
je 0x43bf4d
sub eax, 6
je 0x43bf4d
sub eax, 3
je 0x43bf1e
sub eax, 8
jne 0x43bf05
push esi
push edi
call fcn.00401b41
cmp dword [esi + 0x64], 0
jne 0x43bf69
cmp dword [esi + 0x68], 0
jne 0x43bf7b
cmp dword [esi + 0x44], 0
jne 0x43bf8d
cmp dword [esi + 0x50], 0
jne 0x43bf9f
cmp dword [esi], 0
je 0x4020dc
push dword [esi]
call dword [0x48f63c]
and dword [esi], 0
push dword [ebp - 4]
mov ecx, 0x4c67b0
call fcn.0040246d
mov ecx, dword [0x4c6834]
mov edx, dword [ebp - 4]
push 0x558b004c
cld
inc edx
mov dword [ebp - 4], edx
cmp edx, ecx
jle 0x402054
mov esi, dword [ebp + 8]
cmp dword [edi + 0x20], 0
jne 0x43bfb1
cmp dword [edi + 0x24], 0
jne 0x43bfbf
mov edx, dword [0x4c6810]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x402130
push ecx
call fcn.004010f0
mov edx, dword [0x4c6810]
mov eax, dword [edx + esi*4]
and dword [eax], 0
mov edx, dword [0x4c67d0]
dec edx
mov dword [0x4c67d0], edx
cmp esi, dword [0x4c681c]
jne 0x402152
or dword [0x4c681c], 0xffffffff
mov ecx, dword [0x4c6814]
cmp edx, 1
je 0x43bfcd
pop edi
pop esi
test edx, edx
jne 0x402181
push dword [0x4c67d4]
push edx
call dword [0x48f70c]
and dword [0x4c67d4], 0
mov ecx, dword [0x4c6814]
test ecx, ecx
je 0x40219f
mov eax, dword [0x4c6810]
mov eax, dword [eax + ecx*4 - 4]
cmp dword [eax], 0
jne 0x40219f
mov ecx, 0x4c680c
call fcn.00403532
jmp 0x40217b
mov esp, ebp
pop ebp
ret 4
pushal
cld
inc dword [ebx + 0x217502f8]
cmp dword [ebp + 8], 0xffffffff
je 0x43bf0a
mov eax, dword [ecx + 0x60]
add eax, dword [ebp + 8]
add dword [ecx + 0x58], eax
inc ebp
or byte [ecx], al
inc ecx
pop eax
cmp dword [ebp + 0xc], 0xffffffff
je 0x40204b
mov eax, dword [ecx + 0x64]
add eax, dword [ebp + 0xc]
jmp 0x43bf33
or byte [ebx + 0x374fff8], al
add dword [ecx + 0x58], eax
mov eax, dword [ebp + 0xc]
dec esp
clc
dec dword [edi]
test byte [eax], bl
popal
cld
inc dword [ecx]
inc ecx
pop esp
add dword [ecx + 0x5c], eax
jmp 0x40204b
dec eax
dec eax
jne 0x4020ec
push edi
push esi
mov ecx, 0x4c67b0
call fcn.0048a70c
jmp 0x4020ec
add byte [ebp + ecx - 1], dh
jbe 0x43bfa7
call dword [0x48f08c]
and dword [esi + 0x38], 0
cmp dword [esi + 0x3c], 0
cmp al, 0
je 0x4020ec
push dword [esi + 0x3c]
call dword [0x48f08c]
and dword [esi + 0x3c], 0
cmp al, 0
jmp 0x4020ec
push dword [esi + 0x40]
call dword [0x48f08c]
and dword [esi + 0x40], 0
jmp 0x4020ec
add byte [ebx - 0x16ffbf9a], al
cmp esp, dword [ecx - 4]
invalid
push dword [esi + 0x64]
call dword [0x48f0c8]
and dword [esi + 0x64], 0
jmp 0x4020f6
xor esp, dword [ecx - 4]
invalid
push 0xe900
sub esp, dword [ecx - 4]
invalid
Function at 0x405cba
Capabilities:
Encode data using xor

Disassembly:
add dword [eax + 0x105f8b0c], ecx
cdq
sub ebx, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
sbb eax, edx
dec eax
add byte [esi], al
cmp ecx, eax
jl 0x405d29
jg 0x405cb8
cmp esi, dword [ebp - 4]
jb 0x405d29
mov eax, dword [edi + 8]
cdq
mov dword [ebp + 0x10], eax
push esi
call eax
add dword [ebp + 0x10], eax
adc edx, dword [ebp - 0xc]
sub dword [ebp + 0x10], 1
sbb edx, 0
cmp ecx, edx
jg 0x405d29
jl 0x405cda
cmp esi, dword [ebp + 0x10]
ja 0x405d29
call 0x10b7618d
sub ecx, eax
mov al, 1
mov dword [edi + 0x10], ecx
add byte [ebp - 8], cl
mov dword [edi + 0x14], ecx
add eax, 0xc69df2e9
mov dword [esi + 0x6783019c], eax
or byte [ecx], al
and dword [edi - 0x64], 1
sbb dword [eax + 0x75e80000], 0xffffff84
inc ebx
or byte [ebx + 0x6a], dl
add byte [edx + 0x56], dl
int1
dec eax
push esi
push edi
fcomp dword [esi - 9]
dec eax
add bh, cl
mov esi, eax
call 0x5c765d1b
test esi, esi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
invalid
add byte [eax], al
add byte [ebx - 0x3b14f3ab], cl
adc byte [eax + 0x4c], ch
add byte [ebx - 0x74acef14], al
test dword [esi + 0x28], 0x68208000
adc al, 0xfb
je 0x405daa
mov dword [ebp - 8], edi
mov edi, edi
push edi
mov byte [edi + ebx + 4], 0xc6
add al, 0xc6
push eax
push edi
or al, 0xf7
je 0x405d7d
mov ecx, dword [esi - 0x18]
add al, 0xc6
push eax
xor eax, 0x1ff460b
call 0x474f61ee
inc esi
push eax
push edi
sti
jb 0x405d4e
add dword [esi + 0x10], edi
ror byte [ecx + 0x14568346], 0
add dword [eax], 0xffffff8b
or eax, 0x851c
add byte [eax], al
rol byte [ecx], cl
or al, 0
push dword [edi + 4]
cmp dword [edi + 0x64], 0x76
add al, 0x5d
ret 0x34
mov dword [esi + 0x5e], 0xc2c35b5f
mov dword [esi + 0xc], 0x4c00087f
call 0xc6cb61c5
pop esi
pop ecx
adc byte [ecx - 0x7f14ebaa], cl
cmp byte [ecx + 0x14], 0x8b
jnp 0xf928ae9e
push eax
dec esp
add byte [edx], ch
xor dword [esi + 0x57], edx
fcomp dword [esi - 9]
dec eax
add byte [eax - 0x3aaeb85], al
inc esi
sub byte [ecx], al
jne 0x405e3d
push esi
int1
mov dword [esi], 0x3e48f918
jne 0x405dff
mov dword [esi + 0x44], edi
mov dword [esi - 1], edi
cmp dword [esi], 0xffffffff
je 0x405df0
pop ebp
ret 0x34
call 0x251461b3
add byte [eax], al
punpckhbw mm0, qword [ebx + 0x374ff3e]
xor ebx, ebx
inc ebx
retf

Function at 0x42a618
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ah, 0x59
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x42a654
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42a64c
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42a656
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42a63c
xor eax, eax
mov ecx, eax
add dword [ebp - 0x3d], ebx
int3
Function at 0x4593de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
add cl, byte [ebp - 0x1c]
push 0x4b9564
call 0xc1407fad
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call 0x3b9db130
ror byte [ebp - 0x1c], 1
mov bl, al
call fcn.00405ad0
test bl, bl
je 0x459421
mov eax, 0x46b70147
mov dword [ebp - 8], 0xff000148
lea edi, [eax + 2]
jmp 0x45945b
push 0x4b9578
lea ecx, [ebp - 0x1c]
call 0xc1407fad
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call 0x3b9db130
ror byte [ebp - 0x1c], 1
mov bl, al
call fcn.00405ad0
test bl, bl
cmp ax, cx
ja 0x1ce4d08
mov bh, 0x46
mov dword [ebp - 8], 0xff000189
lea edi, [eax + 2]
xor ebx, ebx
push ebx
push ebx
push eax
push dword [esi]
call dword [0xff07eb88]
pop eax
push 0x7d
pop edx
clc
push dword [edx + 0x53]
push eax
push edi
push dword [esi]
call dword [0xff07eb88]
pop edx
clc
push dword [edx + edx*2 + 0x33]
leave
add eax, 0x8450101
mov dword [eax], ecx
pop edx
mov edx, dword [edi]
cld
inc dword [ebx + 0x4d89c874]
xor dword [eax + ecx*8 - 0x77], 0x4d
loopne 0x459509
leave
jnp 0x45948e
jns 0x4594a0
mov edi, eax
push edi
push dword [ebp - 0xc]
inc dword [ebx - 0xc90308]
adc eax, 0xff07eb88
sub byte [ebp + 8], cl
mov dword [ecx + 0x680cf84d], ecx
adc cl, bh
dec eax
add al, ch
fucomi st(0)
cli
invalid
ret

Function at 0x45a59b
Capabilities:
Encode data using xor

Disassembly:
inc esi
mov ecx, dword [ebp + 8]
push 0x3b
pop edx
xchg byte [ebx], cl
or byte [edi], cl
retf 0xa75
push ebp
mov ebp, esp
sub esp, 0x46b70204
push ebx
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push 0x48f910
call 0x74407d98
mov eax, dword [ebx]
or byte [edx + 1], ch
xlatb
cli
jae 0x45a541
add ecx, dword [eax]
push 1
push edi
call 0xc0cbb4e8
call dword [0xff07eb68]
pop eax
sbb eax, 0xffffff93
add byte [esi + 0x15], dl
xor al, 0xf7
dec eax
wait
add edx, dword [esi]
push edi
push eax
call 0xc0cbb531
je 0x45a5b2
je 0x358034f2
push esi
push dword [ebx - 0x3fccff28]
mov ecx, ebx
call 0x88b2f4f
push 0x32047d0
lea eax, [ebp - 0x204]
mov dword [ebx - 0x3fccff2c], edi
push eax
push dword [ebx - 0x3fccff28]
call dword [0x48f748]
lea eax, [ebp - 0x204]
lea esi, [ebx + 0x353a8f0f]
push eax
mov ecx, esi
call 0x74407d98
and dword [ebx + 0x56031524], 0
push ebx
push 0x45a615
push edi
call dword [0xff07eb78]
push dword [ebx + 0x3204724]
lea eax, [ebp - 0x204]
push dword [esi]
push 0x4b968c
push eax
call 0xfec73944
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
mov ecx, dword [ebp + 0xc]
call 0x74407d98
push 0
push edi
call 0xe8d1a3e8
mov al, 1
pop esi
jmp 0x45a679
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45d0ce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x353a8f9c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp - 0x3fccff78]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0x28]
mov dword [esp - 0x3fccff78], eax
mov eax, dword [edi + 0x2c]
mov dword [esp - 0x3fccff74], eax
mov eax, dword [edi + 0x30]
mov dword [esp - 0x3fccff70], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x560394], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.00407cfa
shl byte [esi + 8], 0x8d
dec esp
and al, 0x60
push dword [esp - 0x3fccff78]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
call 0x8a407fad
inc edi
dec edi
cmp al, 0x8d
inc esp
and al, 0x60
push eax
call 0x8a40a029
inc edi
invalid

Function at 0x45f95e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x28]
push edi
call 0x47407833
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push dword [ebx + 4]
mov edi, dword [esi + 4]
mov dword [ebp - 4], edi
call 0x85407be2
mov eax, dword [ebp + 0x10]
adc eax, 0xfe3a7934
sub eax, esi
inc eax
jg 0x45f9fc
call dword [edi + 0x50]
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esi]
call 0x5945f6c4
invalid
inc ebp
fcom dword [eax + 0x5f]
cmp ebp, eax
call fcn.00407cfa
invalid

Function at 0x468add
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c4190]
jne 0x468aef
call 0x36168b7f
mov eax, dword [0x4c7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c7ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0x89ffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468b32
fadd qword [0x4bbac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bbaa0]
mov esp, ebp
pop ebp
ret

Function at 0x47cdcc
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x4bb08c
cmp dword [esi + 8], edi
jbe 0x47cdf6
aas
inc esi
add al, 0xff
xor al, 0xb8
call 0x854210d8
aas
inc esi
add al, 0x59
and dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jb 0x47cddd
push dword [esi + 4]
and dword [esi + 8], 0
call 0x7a4210d8
push es
pop edi
pop esi
ret
Function at 0x48669e
Capabilities:
Encode data using xor

Disassembly:
sar cl, 1
jmp 0x4866cb
pop edi
js 0x4866d6
add byte [esi + 0xc], dh
mov eax, dword [eax + 4]
mov ecx, dword [eax]
sub byte [ebx + 0x3c7fff8], al
push 2
pop eax
cmp eax, 0x10
jge 0x4866e7
or eax, 2
mov ecx, dword [ebp + 0x20]
push esi
mov esi, 0xfd2f8ee8
add al, 0xf9
dec ebp
and byte [esi - 0x42], dl
call 0x545967f
stc
push dword [ebp + 2]
xor eax, eax
push esi
push ebp
and al, 0x83
cli
push dword [ebp + 2]
xor edx, esi
cmp dword [ebp + 0x30], 0
jge 0x4866ff
test bh, bh
jbe 0x486779
push ebx
add byte [ebx], dh
rcl byte [ecx + ecx], 0xfa
test byte [ebx + 0x535e741f], al
push ecx
and dword [edi], 0
push edx
push ecx
and dword [edi], 0x1c
push dword [ebp + 0x18]
push eax
push ebx
push 0x4bb80c
push ebx
push 1
mov ebp, eax
jl 0x4866e8
call 0x7440b20d
int1
dec eax
add byte [ecx + 0x53573846], cl
add byte [eax], al
push eax
call ebx
jmp [eax + 0x67]
add al, 0x8b
or dword [eax + eax], ebp
cmp dword [0x44067b8], 0xffffff8b
xor byte [eax + edi*4], cl
mov ecx, dword [ebx - 0x769917c5]
xchg dl, cl
stc
mov dword [eax + esi*4 + 0x74e0eb01], eax
pop es
push esi
push ecx
cmp dword [ebp + 0x14], 0x6a
mov ebp, esp
inc eax
jne 0x4867f0
and al, 0x10
sub ebp, 0xfffffff8
sub esp, 0x68
jne 0x4867d6
mov eax, 0xfd2f8ee8
mov ebx, dword [ebp + 0x2c]
inc esi
mov edx, dword [ebp + 0x20]
neg esi
sbb esi, esi
and esi, dword [ebp + 0x28]
inc ebx
neg ebx
sbb ebx, ebx
and ebx, dword [ebp + 0x2c]
cmp edx, 0xffffffff
jne 0x4867d0
xor edx, eax
mov ecx, dword [ebp + 0x24]
add al, 0xf9
push dword [ebp + 2]
jne 0x4867da
xor ecx, eax
xor eax, eax
inc eax
mov ax, word [ebp + 0x18]
mov word [edi + 0x244c8d88], ax
mov ax, word [ebp + 0x1c]
mov word [edi + 0x6ac08a], ax
js 0x48683a
shr byte [edx], 0x78
inc ebp
or byte [esi - 0x77], ah
xchg edi, eax
mov eax, es
inc ebp
or byte [ecx - 0x74fe3378], cl
dec eax

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x41e860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
jmp 0x41e87a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e870
mov eax, 1
add ebx, ebx
jne 0x41e893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e888
jne 0x41e8a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e888
xor ecx, ecx
sub eax, 3
jb 0x41e8b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e92a
mov ebp, eax
add ebx, ebx
jne 0x41e8c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e8d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e8f4
inc ecx
add ebx, ebx
jne 0x41e8e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e8d5
jne 0x41e8f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e8d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e914
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e905
jmp 0x41e876
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e914
add edi, ecx
jmp 0x41e876
pop esi
mov edi, esi
mov ecx, 0x94d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e932
cmp byte [edi], 9
jne 0x41e932
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e937
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e9af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f9d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fab8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e964
mov ecx, edi
jns 0x41e993
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fac0]
or eax, eax
je 0x41e9a9
mov dword [ebx], eax
add ebx, 4
jmp 0x41e981
call dword [esi + 0x1fabc]
mov ebp, dword [esi + 0x1fac4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e9e3
sub esp, 0xffffff80
jmp 0x412e1f
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4cb24fed
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x503c490a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf00
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 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
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 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
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 0x41cf28
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 0x41f05c
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], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x1b1654a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
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 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
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 0x1b16551
ret