joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x523833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0041e996
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x5401c4
mov ebx, dword [esp + 0x2c]
mov dword [esi], 0x540148
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x41b4f1
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x58]
test ebx, ebx
jne 0x41b493
xor eax, eax
jmp 0x41b496
mov eax, dword [ebx + 4]
push eax
nop
call 0x77f15fe0
push eax
mov ecx, esi
call fcn.0041e990
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
nop
call 0x77f1700a
push eax
mov ecx, ebp
call fcn.0041e98a
test ebp, ebp
je 0x41b4cf
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0041e984
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041e97e
jmp 0x41b503
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x41b540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52385b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x540148
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x41b5d0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x41b597
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
nop
call 0x77f16f79
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x41b5c1
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0041e984
jmp 0x41b5d6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0041e984
jmp 0x41b5d6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x5401d8
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0041e9a2
mov ecx, esi
mov dword [edi], 0x53f080
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041e978
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41f2c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x523c07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0041e36c
xor ebx, ebx
lea ecx, [edi + 4]
mov dword [esp + 0x1c], ebx
call fcn.0041e36c
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x24]
mov byte [edi + 0xc], al
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], cl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], ebx
mov eax, 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 0x320
mov dword [esi + 0x48], 0x258
mov dword [esi + 0x4c], 0x64
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
lea ecx, [esi + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esi + 0x58], eax
call fcn.0041e36c
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 2
call fcn.0041e36c
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 3
call fcn.0042cb80
mov edi, dword [0x53e1a4]
lea edx, [esi + 0x74]
mov eax, 0xe7e7e7
push edx
mov byte [esp + 0x20], 4
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi], 0x54073c
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
call edi
lea eax, [esi + 0x60]
push eax
call edi
mov ecx, 6
xor eax, eax
lea edi, [esi + 0x84]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041f5e0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x427a76
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x524718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.0041e36c
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x18], 0
call fcn.0041e600
mov esi, dword [esp + 0x1c]
push 1
mov ecx, esi
call fcn.0041e9c6
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 8]
mov edx, dword [esi]
lea edi, [esp + 0x20]
push 0x24
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041e354
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x428466
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5247e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.0041e36c
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x18], 0
call fcn.0041e600
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x38]
mov eax, dword [esp + 8]
mov edx, dword [esi]
lea edi, [esp + 0x20]
push 0x24
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041e354
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x42afe0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x524b48
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea eax, [esp + 0x10]
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [edi + 0x20]
push ecx
nop
call 0x7e4290b4
mov edx, dword [edi + 0x20]
push edx
nop
call 0x7e42910f
push eax
call fcn.0041e38a
test eax, eax
je 0x42b02b
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0041e618
lea ecx, [esp + 8]
call fcn.0041e36c
lea edx, [esp + 8]
mov ecx, edi
push edx
mov dword [esp + 0x34], 0
call fcn.0041e600
mov eax, dword [edi + 0x20]
push eax
nop
call 0x7e4186c7
push eax
call fcn.0051e8d0
mov esi, eax
test esi, esi
jne 0x42b080
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041e354
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [esi]
push ebx
lea eax, [edi + 0xa4]
push ebp
push eax
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
nop
call 0x77f1ef1c
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
cmp ebx, 0xa
jl 0x42b0be
cmp ebp, 0xa
jge 0x42b0da
mov ebx, dword [edi + 0xb4]
mov ecx, dword [edi + 0xac]
mov ebp, dword [edi + 0xb8]
mov eax, dword [edi + 0xb0]
sub ebx, ecx
sub ebp, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x20]
push ecx
push edx
nop
call 0x7e41869d
mov ecx, edi
call fcn.0041e9cc
mov esi, dword [0x53e180]
mov dword [esp + 0x14], eax
test ah, 2
je 0x42b135
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub eax, edx
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea eax, [esp + 0x24]
push 0
push eax
call esi
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
jmp 0x42b13f
mov edx, dword [esp + 0x24]
add ebp, edx
mov dword [esp + 0x2c], ebp
test al, 1
je 0x42b172
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, ebx
push 0
sub eax, edx
lea ecx, [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push ecx
call esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
jmp 0x42b18f
test al, 2
je 0x42b184
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x20], eax
jmp 0x42b18f
mov eax, dword [esp + 0x20]
lea ecx, [ebx + eax]
mov dword [esp + 0x28], ecx
lea esi, [edi + 0xac]
push 4
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
sub ecx, eax
mov dword [esi + 0xc], ebp
sub ebp, edx
push ebp
push ecx
push edx
push eax
push 0
mov ecx, edi
call fcn.0051ea14
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041e354
mov ecx, dword [esp + 0x30]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4323e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov eax, dword [ebx + 8]
mov esi, eax
and esi, 7
je 0x432413
cmp eax, esi
jge 0x432401
push ebx
call fcn.00431c50
add esp, 4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov ecx, esi
shr edx, cl
sub eax, esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
jle 0x432442
mov esi, 0xfffffff8
mov edx, ecx
mov cl, byte [ebx + 0xc]
mov ebp, dword [ebx + 0xc]
mov byte [esp + eax + 0xc], cl
add edx, esi
inc eax
shr ebp, 8
test edx, edx
mov dword [ebx + 0xc], ebp
jg 0x432423
cmp eax, 4
mov dword [ebx + 8], edx
jge 0x432460
mov esi, dword [ebx + 4]
mov edx, dword [ebx]
cmp edx, esi
jb 0x43244f
xor ecx, ecx
jmp 0x432456
xor ecx, ecx
mov cl, byte [edx]
inc edx
mov dword [ebx], edx
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 4
jl 0x432445
mov ebp, dword [esp + 0xd]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xf]
mov ecx, dword [esp + 0xe]
and ebp, 0xff
and edx, 0xff
shl ebp, 8
add ebp, edx
and eax, 0xff
shl eax, 8
and ecx, 0xff
mov edx, ebp
add eax, ecx
xor edx, 0xffff
cmp eax, edx
je 0x4324b1
push 0x5cef3c
call fcn.0042f150
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add eax, ebp
cmp eax, ecx
jbe 0x4324d0
push 0x5cef28
call fcn.0042f150
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
mov ecx, ebp
add ecx, edx
cmp ecx, eax
jbe 0x4324f3
push ebp
push ebx
call fcn.00431fe0
add esp, 8
test eax, eax
jne 0x4324f3
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov esi, dword [ebx]
mov ecx, ebp
mov edx, ecx
push edi
mov edi, dword [ebx + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
add ecx, ebp
add eax, ebp
pop edi
pop esi
mov dword [ebx], ecx
mov dword [ebx + 0x10], eax
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x438eb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp ebx, 1
push edi
jl 0x438ecb
cmp ebx, 8
jg 0x438ecb
mov eax, 1
jmp 0x438ecd
xor eax, eax
mov esi, dword [esp + 0x14]
push 0x5cf4fc
push eax
push esi
call fcn.00437730
mov eax, dword [esi + 0x6af70]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af78], ebp
jne 0x438f04
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
mov ecx, 0x7fff
xor eax, eax
lea edi, [esi + 0x4af70]
mov dword [esi + 0x6af6c], ebp
rep stosd dword es:[edi], eax
mov ax, word [ebx*8 + 0x542192]
xor ecx, ecx
mov dword [esi + 0x6af98], eax
mov cx, word [ebx*8 + 0x542190]
xor edx, edx
mov dword [esi + 0x6af9c], ecx
mov dx, word [ebx*8 + 0x542194]
xor eax, eax
mov dword [esi + 0x6afa0], edx
mov ax, word [ebx*8 + 0x542196]
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x438f65
mov eax, dword [esp + 0x1c]
or byte [eax], 4
jmp 0x438f71
cmp ebx, 8
jl 0x438f71
mov eax, dword [esp + 0x1c]
or byte [eax], 2
lea edi, [esi + 0x1af70]
push 0x10000
push edi
push esi
mov dword [esi + 0x6af84], ebp
mov dword [esi + 0x6af74], ebp
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af90], eax
je 0x438fea
cmp eax, 0xffffffff
je 0x438fea
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebp
jae 0x438fb5
push esi
call fcn.00439200
add esp, 4
mov dword [esi + 0x6af7c], ebp
xor eax, eax
mov edx, dword [esi + 0x6af7c]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x3ff
and ecx, 0x7fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0x6af7c], ecx
jb 0x438fbd
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x439350
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x439594
push ebx
cmp eax, 3
jb 0x4393cb
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
xor eax, eax
and edx, 0x3ff
mov al, byte [ecx + esi + 0x1af72]
and eax, 0x7fff
shl edx, 5
xor eax, edx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x43940d
mov edx, dword [esi + 0x6af84]
sub edx, ebp
cmp edx, 0x7efa
ja 0x43940d
mov eax, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6afa0]
cmp ecx, eax
jbe 0x4393f5
mov dword [esi + 0x6afa0], eax
push ebp
push esi
call fcn.00439000
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x43940d
mov edi, eax
cmp edi, 3
jb 0x439506
mov ecx, dword [esi + 0x6af84]
mov ebx, dword [esi + 0x6af88]
lea eax, [edi - 3]
sub ecx, ebx
push eax
push ecx
push esi
call fcn.00438700
mov edx, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6af98]
add esp, 0xc
sub edx, edi
mov ebx, eax
cmp edi, ecx
mov dword [esi + 0x6af90], edx
mov eax, edx
ja 0x4394b4
cmp eax, 3
jb 0x4394b4
dec edi
mov ebp, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
inc ebp
xor eax, eax
mov ecx, ebp
mov dword [esi + 0x6af84], ebp
and edx, 0x3ff
mov al, byte [esi + ecx + 0x1af72]
and ecx, 0x7fff
and eax, 0x7fff
shl edx, 5
xor eax, edx
dec edi
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x439454
jmp 0x439530
mov edx, dword [esi + 0x6af84]
xor eax, eax
add edx, edi
push 0x5cf558
mov dword [esi + 0x6af84], edx
push 1
mov al, byte [edx + esi + 0x1af70]
lea ecx, [edx + esi]
xor edx, edx
mov dword [esi + 0x6af7c], eax
mov dl, byte [ecx + 0x1af71]
and eax, 0x3ff
and edx, 0x7fff
push esi
shl eax, 5
xor edx, eax
xor edi, edi
mov dword [esi + 0x6af7c], edx
call fcn.00437730
add esp, 0xc
jmp 0x439536
mov eax, dword [esi + 0x6af84]
xor ecx, ecx
mov cl, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.00438700
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
dec ecx
mov ebx, eax
mov dword [esi + 0x6af90], ecx
inc dword [esi + 0x6af84]
test ebx, ebx
je 0x439570
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x43954d
lea ecx, [eax + esi + 0x1af70]
jmp 0x43954f
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004384c0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x439585
push esi
call fcn.00439200
add esp, 4
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x439374
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x4395a7
lea ecx, [eax + esi + 0x1af70]
jmp 0x4395a9
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.004384c0
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x43a280
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43a28b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x43a38e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x5421e0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5421e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5421e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5421e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5421e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5421e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5421e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5421e0]
xor eax, edx
inc ecx
dec edi
jne 0x43a2a6
pop edi
test esi, esi
je 0x43a3b0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5421e0]
xor eax, edx
inc ecx
dec esi
jne 0x43a392
pop esi
pop ebx
not eax
ret

Function at 0x43a3c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x5421e0]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x5421e0]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x43a5d0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x44
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x4c]
push eax
push esi
nop
call 0x7c810d0d
test eax, eax
jne 0x43a5f2
mov eax, 0x200
pop esi
add esp, 0x44
ret
mov eax, dword [esp + 0x14]
push ebp
mov edx, eax
xor ebp, ebp
and edx, 1
je 0x43a605
mov ebp, 1
test al, 2
je 0x43a60c
or ebp, 2
test al, 4
je 0x43a613
or ebp, 4
mov ecx, eax
and ecx, 0x10
je 0x43a61d
or ebp, 0x10
test al, 0x20
je 0x43a624
or ebp, 0x20
test ecx, ecx
je 0x43a630
or ebp, 0x40000000
jmp 0x43a636
or ebp, 0x80000000
or ebp, 0x1000000
test edx, edx
jne 0x43a646
or ebp, 0x800000
push ebx
push edi
push 0
push esi
nop
call 0x7c810b17
cmp eax, 0x28
mov dword [esp + 0x14], eax
jbe 0x43a6f5
mov edi, dword [0x53d120]
push 0
push 0
push 0
push esi
call edi
mov ebx, dword [0x53d114]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x60]
push 2
push edx
push esi
call ebx
push 0
push 0
push 0x24
push esi
call edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push esi
call ebx
cmp word [esp + 0x58], 0x54ad
jne 0x43a6f5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [eax + 0x34]
cmp ecx, edx
jbe 0x43a6f5
push 0
push 0
push eax
push esi
call edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x24]
push 4
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, 0x5a4d
je 0x43a6ef
cmp eax, 0x454e
je 0x43a6ef
cmp eax, 0x454c
je 0x43a6ef
cmp eax, 0x4550
jne 0x43a6f5
or ebp, 0x400000
mov eax, dword [esp + 0x5c]
pop edi
test eax, eax
pop ebx
je 0x43a701
mov dword [eax], ebp
mov eax, dword [esp + 0x58]
pop ebp
test eax, eax
je 0x43a710
mov edx, dword [esp + 8]
mov dword [eax], edx
mov esi, dword [esp + 0x58]
test esi, esi
je 0x43a759
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0043a530
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x34]
push edx
push eax
call fcn.0043a530
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.0043a530
mov dword [esi + 0x10], eax
add esp, 0x18
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x43a798
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0043a560
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
add esp, 0x10
or ecx, edx
mov dword [esi], ecx
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x43d970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43d97b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x43da7e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x5421e0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5421e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5421e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5421e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5421e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5421e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5421e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5421e0]
xor eax, edx
inc ecx
dec edi
jne 0x43d996
pop edi
test esi, esi
je 0x43daa0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5421e0]
xor eax, edx
inc ecx
dec esi
jne 0x43da82
pop esi
pop ebx
not eax
ret

Function at 0x43dab0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x5421e0]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x5421e0]
xor eax, edx
mov dword [ecx + 8], eax
ret