joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425e19
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, ecx
call fcn.00424efd
mov cl, byte [edi]
cmp cl, 1
je 0x425ec4
cmp cl, 2
je 0x425e71
lea eax, [ecx - 3]
cmp al, 4
ja 0x425ef1
cmp cl, 3
jne 0x425e65
mov ecx, dword [edi + 8]
call fcn.00413316
push 0x18
push dword [edi + 8]
call fcn.0041498a
and dword [edi + 8], 0
pop ecx
pop ecx
mov ecx, edi
mov byte [edi], 0
call fcn.00421f66
jmp 0x425ee8
mov esi, dword [edi + 8]
mov ecx, dword [ebp + 0x14]
add esi, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
mov edi, dword [esi]
lea eax, [ecx + 0x10]
cmp eax, edi
je 0x425eb1
mov esi, ecx
mov ebx, eax
sub esp, 0x10
mov ecx, esp
push ebx
call fcn.00421ee5
mov ecx, esi
call fcn.004225b6
add ebx, 0x10
add esi, 0x10
cmp ebx, edi
jne 0x425e8d
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov edi, dword [esi]
lea ecx, [edi - 0x10]
call fcn.00421b3e
add dword [esi], 0xfffffff0
mov eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
jmp 0x425ee8
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [ebp + 8], esi
call fcn.004226e2
mov ecx, dword [edi + 8]
push esi
call fcn.00427601
mov edx, eax
call fcn.004278b4
mov ecx, dword [ebp + 8]
mov dword [ebx + 4], ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
push 0x1d50
call fcn.004455bb
int3
Function at 0x427cdf
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x467c41
call fcn.004662d0
sub esp, 0xcc
push ebx
mov ebx, dword [0x46a15c]
push esi
push edi
mov esi, edx
mov dword [ebp - 0x14], ecx
push esi
call ebx
test eax, eax
je 0x427e80
push dword [ebp + 8]
call ebx
test eax, eax
je 0x427e80
mov ebx, dword [0x46a2dc]
mov edi, esi
push 7
push 0x47b5dc
push esi
call ebx
test eax, eax
jne 0x427d2e
lea edi, [esi + 0xe]
push 0x12
push 0x47b5ec
push esi
call ebx
test eax, eax
jne 0x427d3f
add edi, 0x24
push 6
push 0x47b614
push edi
call ebx
test eax, eax
jne 0x427e80
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0xe]
mov cl, 0x53
mov byte [ebp - 0xd], 0
mov al, 0x59
mov byte [ebp - 0xf], cl
xor al, cl
mov byte [ebp - 0xd], 0
push 1
mov ecx, ebx
mov byte [ebp - 0xe], al
call fcn.004333d1
mov esi, dword [0x46a15c]
pop ecx
push edi
call esi
push eax
mov edx, edi
mov ecx, ebx
call fcn.00433314
pop ecx
mov cl, 0x11
mov byte [ebp - 0xd], 0
mov al, 0x1b
mov byte [ebp - 0xf], cl
xor al, cl
mov byte [ebp - 0xd], 0
push 1
lea edx, [ebp - 0xe]
mov byte [ebp - 0xe], al
mov ecx, ebx
call fcn.004333d1
pop ecx
push dword [ebp + 8]
call esi
mov edx, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.00433314
lea ecx, [ebp - 0xd8]
call fcn.00411bcb
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, ebx
movaps xmm0, xmmword [0x47cdf0]
movups xmmword [ebp - 0x25], xmm0
mov byte [ebp - 0x15], bl
mov al, byte [ebp - 0x25]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xf
jb 0x427dda
mov byte [ebp - 0x15], bl
call fcn.00433561
push ecx
push ecx
lea edx, [ebp - 0x24]
mov ecx, eax
call fcn.004330c8
push eax
lea ecx, [ebp - 0xd8]
call fcn.00411b3b
mov ecx, edi
call fcn.00433458
mov edx, eax
lea ecx, [ebp - 0xd8]
call fcn.00413db9
mov cl, 0x5a
mov byte [ebp - 0xd], bl
mov al, 0x50
mov byte [ebp - 0xf], cl
xor al, cl
lea edx, [ebp - 0xe]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0xe], al
call fcn.00413db9
mov ecx, dword [ebp + 8]
call fcn.00433458
mov edx, eax
lea ecx, [ebp - 0xd8]
call fcn.00413db9
mov cl, 0x6e
mov byte [ebp - 0x11], bl
mov al, 0x64
mov byte [ebp - 0x13], cl
xor al, cl
lea edx, [ebp - 0x12]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x12], al
call fcn.00413db9
lea ecx, [ebp - 0xd8]
call fcn.00411b0b
lea ecx, [ebp - 0xd8]
call fcn.00410c97
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x427e8f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x467c61
call fcn.004662d0
sub esp, 0x194
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edx - 1]
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.00411bcb
and dword [ebp - 4], 0
mov ebx, 0x47734b
sub esi, 3
je 0x427f6e
sub esi, 1
je 0x427f5b
sub esi, 1
jne 0x4280a2
mov ecx, dword [ebp + 0x14]
call fcn.00433458
mov ecx, dword [ebp + 0xc]
mov edi, eax
call fcn.00433458
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.00433458
push edi
mov edx, esi
mov ecx, eax
call fcn.004338bf
movaps xmm0, xmmword [0x47d150]
mov esi, eax
movups xmmword [ebp - 0x3c], xmm0
pop ecx
movaps xmm0, xmmword [0x47cb60]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x1e
jb 0x427f18
mov edi, 0x48b9b8
mov byte [ebp - 0x1d], 0
lea edx, [ebp - 0x3b]
mov ecx, edi
call fcn.00413db9
mov edx, 0x4882ec
mov ecx, eax
call fcn.00414107
mov edx, esi
mov ecx, edi
call fcn.00413db9
inc dword [0x48b97c]
push esi
call fcn.0043e260
jmp 0x427f68
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00427cdf
pop ecx
jmp 0x4280a2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
add eax, esi
mov edx, dword [ecx + 4]
add eax, edx
cmp dword [ebp + 0x10], eax
jb 0x4280a2
mov edi, dword [ecx + 0x14]
lea eax, [ecx + 0x24]
mov dword [ebp - 0x18], eax
lea eax, [esi + edx]
add eax, ecx
shr edi, 1
mov dword [ebp - 0x1c], eax
je 0x4280a2
mov ecx, dword [ebp + 8]
call fcn.00433458
mov edx, eax
mov ecx, ebx
call fcn.004330c8
mov dl, 0x5c
mov byte [ebp - 0x11], 0
mov cl, 0x56
mov byte [ebp - 0x13], dl
xor cl, dl
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], cl
lea edx, [ebp - 0x12]
mov ecx, eax
call fcn.004330c8
mov ebx, dword [ebp - 0x18]
mov esi, eax
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x1c]
call fcn.00433458
mov edx, eax
mov ecx, esi
call fcn.004330c8
add ebx, 0x20
mov dword [ebp - 0x10], 0x74747e
mov esi, eax
mov dword [ebp - 0x18], ebx
mov dl, 0x7e
xor ecx, ecx
xor byte [ebp + ecx - 0xf], dl
inc ecx
cmp ecx, 2
jae 0x428008
mov dl, byte [ebp - 0x10]
jmp 0x427ff9
lea edx, [ebp - 0xf]
mov byte [ebp - 0xd], 0
mov ecx, esi
call fcn.004330c8
push ecx
lea ecx, [ebp - 0xf0]
mov ebx, eax
call fcn.00411bcb
mov byte [ebp - 4], 1
xor edx, edx
movaps xmm0, xmmword [0x47ce50]
movups xmmword [ebp - 0x2d], xmm0
mov byte [ebp - 0x1d], 0
mov cl, byte [ebp - 0x2d]
xor cl, byte [ebp + edx - 0x2c]
mov byte [ebp + edx - 0x2c], cl
inc edx
cmp edx, 0xf
jb 0x428039
mov byte [ebp - 0x1d], 0
call fcn.00433561
push ecx
push ecx
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.004330c8
push eax
lea ecx, [ebp - 0xf0]
call fcn.00411b3b
mov edx, ebx
lea ecx, [ebp - 0xf0]
call fcn.00413db9
push ebx
call fcn.0043e260
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.00411b0b
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.00410c97
sub edi, 1
jne 0x427f9f
lea ecx, [ebp - 0x1a0]
call fcn.00410c97
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4323ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x11], 0xe5e2c16e
push edi
mov edi, ecx
mov dword [ebp - 0xd], 0xf2f4e3fe
mov al, 0x6e
mov dword [ebp - 9], 0xfdfdf5bf
mov byte [ebp - 5], bl
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 0xb
jae 0x432429
mov al, byte [ebp - 0x11]
jmp 0x432418
lea eax, [ebp - 0x10]
mov byte [ebp - 5], bl
push eax
call dword [0x46a1b0]
mov esi, eax
test esi, esi
je 0x4324a7
movaps xmm0, xmmword [0x47d5a0]
mov ecx, ebx
movups xmmword [ebp - 0x27], xmm0
mov dword [ebp - 0x17], 0xa4a9a6b3
mov word [ebp - 0x13], 0xa2
mov al, byte [ebp - 0x27]
not al
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 0x14
jb 0x432456
lea eax, [ebp - 0x26]
mov byte [ebp - 0x12], bl
push eax
push esi
call dword [0x46a1a8]
test eax, eax
je 0x4324a0
push ebx
push ebx
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push ecx
call eax
test eax, eax
js 0x4324a0
mov edx, dword [ebp - 4]
test edx, edx
je 0x4324a0
push ecx
mov ecx, edi
call fcn.004322f2
mov eax, dword [ebp - 4]
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [0x46a19c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433561
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
xor ebx, ebx
mov dword [ebp - 0xd], 0xd4c2c46e
mov al, 0x6e
mov dword [ebp - 9], 0xdec3c1c3
mov dword [ebp - 5], 0xd4ddd8d7
mov ecx, ebx
mov byte [ebp - 1], bl
not al
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 0xb
jae 0x43359a
mov al, byte [ebp - 0xd]
jmp 0x433589
push 0x104
lea eax, [ebp - 0x120]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0xc]
push eax
call dword [0x46a088]
movaps xmm0, xmmword [0x47d4f0]
xor ecx, ecx
cmp ecx, eax
mov dword [ebp - 4], 0x87acb4
lea eax, [ebp - 0x120]
mov edx, ebx
sbb ecx, ecx
and ecx, eax
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
not al
xor byte [ebp + edx - 0x13], al
inc edx
cmp edx, 0x12
jb 0x4335d5
lea edx, [ebp - 0x13]
mov byte [ebp - 1], bl
call fcn.004330c8
pop ebx
leave
ret
Function at 0x4363fd
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x46886d
call fcn.004662d0
sub esp, 0xbc
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], bl
xor eax, eax
mov edx, ebx
inc eax
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x47d780]
movups xmmword [ebp - 0x85], xmm0
mov dword [ebp - 0x24], 0x40
movaps xmm0, xmmword [0x47d700]
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x75], xmm0
mov byte [ebp - 0x65], bl
mov cl, byte [ebp - 0x85]
not cl
xor byte [ebp + edx - 0x84], cl
inc edx
cmp edx, 0x1f
jb 0x436454
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 0x65], bl
push eax
push 0x20119
push ebx
lea eax, [ebp - 0x84]
push eax
push 0x80000002
call dword [0x46a01c]
mov edi, eax
mov dword [ebp - 0x19], 0xc7c5e95b
mov cl, 0x5b
mov dword [ebp - 0x15], 0xc1cacdcc
mov dword [ebp - 0x11], 0xc0cdd1e3
mov edx, ebx
mov byte [ebp - 0xd], bl
not cl
xor byte [ebp + edx - 0x18], cl
inc edx
cmp edx, 0xb
jae 0x4364b8
mov cl, byte [ebp - 0x19]
jmp 0x4364a7
lea eax, [ebp - 0x24]
mov byte [ebp - 0xd], bl
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call dword [0x46a00c]
test edi, edi
pop edi
jne 0x4364f0
test eax, eax
jne 0x4364f0
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x64]
call fcn.00413487
push dword [ebp - 0x20]
call dword [0x46a030]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], ebx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
call fcn.0041355c
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
push 0x47734b
mov byte [esi], bl
call fcn.00413487
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
cmp byte [eax + ebx], 0
je 0x436565
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
movsx eax, byte [eax + ebx]
push eax
call fcn.0044fae4
pop ecx
mov byte [ebp - 0x30], al
mov ecx, esi
push dword [ebp - 0x30]
call fcn.00413366
inc ebx
jmp 0x43652e
lea ecx, [ebp - 0x48]
call fcn.00413316
lea ecx, [ebp - 0x64]
call fcn.00413316
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x436972
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x39c
push ebx
push edi
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.004413a0
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
push eax
push ebx
call dword [0x46a0bc]
movaps xmm0, xmmword [0x47d490]
mov ecx, ebx
movups xmmword [ebp - 0x3a], xmm0
mov dword [ebp - 0xa], 0x85dbd492
movaps xmm0, xmmword [0x47d570]
movups xmmword [ebp - 0x2a], xmm0
mov dword [ebp - 6], 0x87d1d6d4
movaps xmm0, xmmword [0x47d6b0]
movups xmmword [ebp - 0x1a], xmm0
mov word [ebp - 2], 0xd6
mov al, byte [ebp - 0x3a]
not al
xor byte [ebp + ecx - 0x39], al
inc ecx
cmp ecx, 0x38
jb 0x4369e4
lea eax, [ebp - 0x194]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0x39]
push eax
lea eax, [ebp - 0x39c]
push 0x208
push eax
call fcn.00433067
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x39c]
push eax
push ebx
call dword [0x46a108]
push dword [ebp - 0x48]
call dword [0x46a16c]
push dword [ebp - 0x4c]
call dword [0x46a16c]
pop edi
pop ebx
leave
ret

Function at 0x438911
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, edx
lea eax, [ecx - 1]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov esi, edi
sar eax, 1
mov dword [ebp - 8], eax
cmp edi, eax
jge 0x43896c
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x18
add ecx, ebx
lea edx, [ecx - 0x18]
call fcn.00427a3e
movzx eax, al
xor eax, 1
imul ecx, edi, 0x18
inc eax
add esi, eax
imul eax, esi, 0x18
add ecx, ebx
add eax, ebx
push eax
call fcn.0041299f
mov eax, dword [ebp - 8]
mov edi, esi
cmp esi, eax
jl 0x438935
mov ecx, dword [ebp + 8]
cmp esi, eax
jne 0x43898b
test cl, 1
jne 0x43898b
imul eax, ecx, 0x18
imul ecx, edi, 0x18
add eax, 0xffffffe8
add eax, ebx
add ecx, ebx
push eax
call fcn.0041299f
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jge 0x4389bf
mov edx, dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
imul eax, esi, 0x18
add eax, ebx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.00427a3e
test al, al
je 0x4389bf
push dword [ebp + 8]
imul ecx, edi, 0x18
add ecx, ebx
call fcn.0041299f
mov edi, esi
cmp dword [ebp - 4], esi
jl 0x438990
push dword [ebp + 0xc]
imul ecx, edi, 0x18
add ecx, ebx
call fcn.0041299f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439e32
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
push esi
push edi
mov esi, ecx
lea eax, [ebx - 1]
cmp eax, 7
jbe 0x439e4e
mov dword [esi + 0x6afa4], 0x47ca4c
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x439e72
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.004413a0
movzx eax, word [ebx*8 + 0x479cea]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x479ce8]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x479cec]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x479cee]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x439ed5
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x439ee0
cmp ebx, 8
jl 0x439ee0
mov eax, dword [ebp + 8]
or word [eax], cx
mov eax, dword [esi + 0xc]
lea ebx, [esi + 0x1af70]
push 0x10000
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call eax
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x439f49
cmp eax, 0xffffffff
je 0x439f49
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x439f24
mov ecx, esi
call fcn.0043a118
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x439f2c
jmp 0x439f59
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43a261
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
jmp 0x43a473
cmp eax, 3
jb 0x43a2e0
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43a31d
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x43a31d
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x43a307
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.00439f5e
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x43a3fd
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.0043987e
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x43a3c7
cmp ecx, 3
jb 0x43a3c7
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x43a35f
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
jmp 0x43a3f8
mov edx, dword [esi + 0x6af84]
add edx, edi
mov edi, ebx
mov dword [esi + 0x6af84], edx
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
mov eax, dword [ebp - 8]
jmp 0x43a422
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.0043987e
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
pop ecx
test eax, eax
je 0x43a456
mov eax, dword [esi + 0x6af74]
sub edx, eax
test eax, eax
js 0x43a43b
add eax, 0x1af70
add eax, esi
jmp 0x43a43d
mov eax, ebx
push ebx
push edx
mov edx, eax
mov ecx, esi
call fcn.00439689
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
mov eax, dword [esi + 0x6af90]
cmp eax, 0x106
jae 0x43a470
mov ecx, esi
call fcn.0043a118
mov eax, dword [esi + 0x6af90]
mov ecx, dword [ebp - 4]
test eax, eax
jne 0x43a289
mov eax, dword [esi + 0x6af74]
mov ecx, dword [esi + 0x6af84]
sub ecx, eax
test eax, eax
js 0x43a495
lea ebx, [esi + 0x1af70]
add ebx, eax
push 1
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00439689
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b092
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43b09d
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x43b159
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
sub edi, 1
jne 0x43b0b2
pop edi
test esi, esi
je 0x43b175
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
inc edx
sub esi, 1
jne 0x43b15d
not ecx
mov eax, ecx
pop esi
pop ebp
ret

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

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x4797a8]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x43b2f9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], edx
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [0x46a210]
test eax, eax
jne 0x43b321
mov eax, 0x200
jmp 0x43b4dd
mov ebx, dword [ebp - 0x48]
mov edi, 0x41000000
mov esi, ebx
mov eax, ebx
and esi, 1
mov ecx, esi
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, ebx
and ecx, 0x10
mov eax, edx
or eax, 0x10
mov dword [ebp - 8], ecx
test ecx, ecx
cmove eax, edx
mov edx, 0x81000000
mov ecx, eax
or ecx, 0x20
and bl, 0x20
cmove ecx, eax
mov eax, dword [ebp - 8]
test eax, eax
cmove edi, edx
or edi, ecx
test esi, esi
jne 0x43b387
test eax, eax
mov edi, 0x41800000
mov edx, 0x81800000
cmove edi, edx
or edi, ecx
mov ebx, dword [ebp - 4]
push 0
push ebx
call dword [0x46a14c]
mov esi, eax
cmp esi, 0x28
jbe 0x43b436
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [0x46a180]
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push ebx
call dword [0x46a18c]
push 0
push 0
push 0x24
push ebx
call dword [0x46a180]
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call dword [0x46a18c]
mov eax, 0x54ad
cmp word [ebp - 4], ax
jne 0x43b436
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x34]
cmp esi, eax
jbe 0x43b436
push 0
push 0
push ecx
push ebx
call dword [0x46a180]
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [0x46a18c]
mov eax, dword [ebp - 0x10]
cmp eax, 0x5a4d
je 0x43b430
cmp eax, 0x454e
je 0x43b430
cmp eax, 0x454c
je 0x43b430
cmp eax, 0x4550
jne 0x43b436
or edi, 0x400000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43b43f
mov dword [eax], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x43b448
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b4b2
mov ecx, dword [ebp - 0x3c]
mov ebx, 0x19db1de
mov eax, dword [ebp - 0x38]
sub ecx, 0xd53e8000
push 0
mov edi, 0x989680
sbb eax, ebx
push edi
push eax
push ecx
call fcn.00465b30
mov ecx, dword [ebp - 0x34]
mov dword [esi], eax
sub ecx, 0xd53e8000
mov eax, dword [ebp - 0x30]
push 0
push edi
sbb eax, ebx
mov dword [esi + 4], edx
push eax
push ecx
call fcn.00465b30
mov ecx, dword [ebp - 0x44]
mov dword [esi + 8], eax
sub ecx, 0xd53e8000
mov eax, dword [ebp - 0x40]
push 0
push edi
sbb eax, ebx
mov dword [esi + 0xc], edx
push eax
push ecx
call fcn.00465b30
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x43b4db
push dword [ebp - 0x30]
lea edx, [ebp - 8]
push dword [ebp - 0x34]
lea ecx, [ebp - 4]
call fcn.0043b29c
movzx eax, word [ebp - 8]
pop ecx
pop ecx
movzx ecx, word [ebp - 4]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret