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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4069fe
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x406add
mov esi, edx
shr esi, 3
push edi
jmp 0x406a20
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445058]
add ecx, 8
sub edx, 8
dec esi
jne 0x406a20
pop edi
test edx, edx
je 0x406afa
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x445058]
inc ecx
dec edx
jne 0x406ae1
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x445058]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x445058]
mov dword [edx + 8], ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [ebp + 0xc]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x445058]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x445058]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x4191f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e90b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44f6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x446324
call fcn.0042a849
push 4
mov dword [ebp - 4], 0
call fcn.0042cc21
mov edi, eax
add esp, 4
test edi, edi
je 0x419270
call fcn.0042a507
mov dword [edi], eax
call fcn.0042a2c6
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0042a1fb
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x419266
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042a223
jmp 0x419272
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ea58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x419f0e
cmp byte [edi + 0x49], bl
je 0x419f0e
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x419f02
push 8
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0042aad0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], 8
jae 0x419e62
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x419e7a
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x419ea3
dec eax
je 0x419ea7
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x419efd
jmp 0x419f09
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x419eb7
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x419ee0
cmp ebx, 0x10
jae 0x419ec6
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042e464
add esp, 0x10
cmp esi, eax
jne 0x419efa
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x419f06
test esi, esi
jne 0x419e6e
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040b340
jmp 0x419e68
lea ecx, [ebp - 0x2c]
call fcn.004053e0
xor al, al
jmp 0x419f10
lea ecx, [ebp - 0x2c]
call fcn.004053e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret
Function at 0x41f1d0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc10]
push eax
xor ebx, ebx
push 0x20019
push ebx
push 0x446738
push 0x80000002
mov dword [ebp - 0xc10], ebx
mov dword [ebp - 0xc0c], ebx
mov dword [ebp - 0xc18], 0xf003f
mov dword [ebp - 0xc08], ebx
call dword [0x461f68]
test eax, eax
jne 0x41f389
mov dword [ebp - 0xc14], ebx
push edi
mov eax, dword [ebp - 0xc14]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xc08]
push ecx
mov ecx, dword [ebp - 0xc10]
lea edx, [ebp - 0xc04]
push edx
push eax
push ecx
mov dword [ebp - 0xc08], 0x400
call dword [0x462094]
mov edi, eax
cmp edi, ebx
jne 0x41f36d
lea edx, [ebp - 0xc04]
push edx
push 0x446738
lea eax, [ebp - 0x804]
push 0x4456bc
push eax
call dword [0x461e94]
add esp, 0x10
lea ecx, [ebp - 0xc0c]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0x804]
push edx
push 0x80000002
call dword [0x461f68]
test eax, eax
jne 0x41f39b
lea eax, [ebp - 0xc08]
push eax
mov eax, dword [ebp - 0xc0c]
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0xc18]
push edx
push ebx
push 0x44672c
push eax
mov dword [ebp - 0xc08], 0x400
call dword [0x461f4c]
test eax, eax
jne 0x41f360
lea ecx, [ebp - 0x404]
push ecx
push esi
call dword [0x462040]
lea edx, [ebp - 0xc08]
push edx
mov edx, dword [ebp - 0xc0c]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0xc18]
push ecx
push ebx
push 0x44671c
push edx
mov dword [ebp - 0xc08], 0x400
call dword [0x461f4c]
test eax, eax
jne 0x41f354
push 0x4458ac
push esi
call dword [0x462040]
lea eax, [ebp - 0x404]
push eax
push esi
call dword [0x462040]
push str.upload.zip
push esi
call dword [0x462040]
push 0x443c64
push esi
call dword [0x462040]
mov ecx, dword [ebp - 0xc0c]
push ecx
call dword [0x461ff0]
inc dword [ebp - 0xc14]
cmp edi, ebx
je 0x41f232
mov ecx, dword [ebp - 0xc10]
push ecx
call dword [0x461ff0]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc0c]
push edx
call dword [0x461ff0]
mov eax, dword [ebp - 0xc10]
push eax
jmp 0x41f382

Function at 0x41f3c0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
push 0
call dword [0x46209c]
push eax
call dword [0x462024]
push 0x40
mov esi, eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042aad0
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x40
call dword [0x4620f8]
cmp eax, 1
jne 0x41f41c
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
jmp 0x41f420
xor ecx, ecx
xor eax, eax
push eax
push ecx
push 0x44676c
push esi
call dword [0x461e94]
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret
Function at 0x41f4b0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xfe
lea eax, [ebp - 0x103]
push 0
push eax
mov dword [ebp - 0x20c], 0xff
mov byte [ebp - 0x104], 0
call fcn.0042aad0
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
push 0x20119
push 0
push 0x446788
push 0x80000002
call dword [0x461f68]
test eax, eax
jne 0x41f530
mov ecx, dword [ebp - 0x208]
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x44677c
push ecx
call dword [0x461f4c]
mov edx, dword [ebp - 0x208]
push edx
call dword [0x461ff0]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [0x461ea4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
lea eax, [ebp - 0x204]
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret
Function at 0x41f950
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f030
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [0x4401a0]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [0x44019c]
lea eax, [ebp - 0x50]
push eax
push 0x447714
push 1
push ebx
push 0x4477e4
mov dword [ebp - 0x50], ebx
call dword [0x440198]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x44]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push 0x446848
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x41fb04
mov ecx, dword [ebp - 0x44]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [0x4401a4]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push 0x20
push str.open
mov dword [ebp - 0x4c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push str.update.zip
push eax
call edx
cmp eax, ebx
jl 0x41fb04
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41fb04
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x54], ebx
je 0x41faf2
lea ecx, [ebp - 0x64]
push ecx
call dword [0x440184]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push 0x4467dc
push eax
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x5c]
push 1
lea eax, [ebp - 0x6c]
push eax
push ecx
call fcn.0041f770
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
call dword [0x4620d4]
call dword [0x46209c]
push 0x104
push ebx
push eax
call dword [0x462024]
movzx ecx, word [ebp - 0x18]
movzx edx, word [ebp - 0x1a]
push ecx
movzx ecx, word [ebp - 0x24]
push edx
movzx edx, word [ebp - 0x22]
mov esi, eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push ecx
push edx
push eax
push 0x4466c0
push esi
call dword [0x461e94]
add esp, 0x20
lea ecx, [ebp - 0x64]
push ecx
call dword [0x440180]
lea ecx, [ebp - 0x40]
call fcn.004053e0
mov eax, esi
jmp 0x41fb09
cmp dword [ebp - 0x2c], 0x10
jb 0x41fb04
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042aa69
add esp, 4
mov eax, 0x446774
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret
Function at 0x41fd20
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x84], 0
call dword [0x461e90]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
test eax, eax
je 0x41fd73
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0042c690
add esp, 4
push eax
lea edx, [ebp - 0x7c]
push edx
jmp 0x41fd86
push 0x446774
call fcn.0042c690
add esp, 4
push eax
push 0x446774
mov ecx, esi
call fcn.00405970
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret 4
Function at 0x41fea0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [0x4401a0]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [0x44019c]
lea eax, [ebp - 0x7c]
push eax
push 0x447714
push 1
push ebx
push 0x4477e4
mov dword [ebp - 0x7c], ebx
call dword [0x440198]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x70]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x70], ebx
mov ecx, dword [eax]
push str._DRIVE_REMOVABLE_
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x42003d
mov ecx, dword [ebp - 0x70]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [0x4401a4]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x78]
push ecx
push ebx
push 0x20
push 0x4468a4
mov dword [ebp - 0x78], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push str.update.zip
push eax
call edx
cmp eax, ebx
jl 0x42003d
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42003d
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x80]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x74], ebx
je 0x42002b
lea ecx, [ebp - 0x90]
push ecx
call dword [0x440184]
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x90]
push ecx
push ebx
push 0x44688c
push eax
mov byte [ebp - 4], 2
call edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041fc20
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x69]
mov byte [ebp - 4], 3
call fcn.004240a0
cmp dword [eax + 0x14], 0x10
jb 0x420000
mov esi, dword [eax]
jmp 0x420002
mov esi, eax
lea ecx, [ebp - 0x68]
call fcn.004053e0
lea ecx, [ebp - 0x4c]
call fcn.0040b1f0
lea eax, [ebp - 0x90]
push eax
call dword [0x440180]
lea ecx, [ebp - 0x30]
call fcn.004053e0
mov eax, esi
jmp 0x420042
cmp dword [ebp - 0x1c], 0x10
jb 0x42003d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0042aa69
add esp, 4
mov eax, 0x446774
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret
Function at 0x420750
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f1d1
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x44f6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
push 0xa8
lea ecx, [ebp - 0xba]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 4], ebx
mov word [ebp - 0xbc], ax
call fcn.0042aad0
add esp, 0xc
push 0x55
lea edx, [ebp - 0xbc]
push edx
call dword [0x461f34]
cmp eax, ebx
jne 0x4207fb
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x446774
mov byte [esi], bl
call fcn.0042c690
add esp, 4
push eax
push 0x446774
mov ecx, esi
call fcn.00405970
jmp 0x4208be
lea edx, [ebp - 0xbc]
xor ecx, ecx
push edx
mov dword [ebp - 0xe0], 7
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], cx
call fcn.0042e770
add esp, 4
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0041fb30
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x111]
mov byte [ebp - 4], 1
call fcn.004240a0
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.00405ab0
cmp dword [ebp - 0xfc], 0x10
jb 0x42087b
mov eax, dword [ebp - 0x110]
push eax
call fcn.0042aa69
add esp, 4
cmp dword [ebp - 0xe0], 8
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0x110], bl
mov byte [ebp - 4], bl
jb 0x4208a8
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.0042aa69
add esp, 4
lea edx, [ebp - 0xd8]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push edx
mov ecx, esi
mov byte [esi], bl
call fcn.00405ab0
cmp dword [ebp - 0xc4], 0x10
jb 0x4208d6
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0042aa69
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ab4a
mov esp, ebp
pop ebp
ret 4
Function at 0x426ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x426ffe
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x4270dd
mov esi, edx
shr esi, 3
push edi
jmp 0x427020
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + str.FALSE]
add ecx, 8
sub edx, 8
dec esi
jne 0x427020
pop edi
test edx, edx
je 0x4270fa
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + str.FALSE]
inc ecx
dec edx
jne 0x4270e1
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.FALSE]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + str.FALSE]
mov dword [edx + 8], ecx
pop ebp
ret
Function at 0x427690
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x42777b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4276c7
cmp dword [esi + 0x40], edi
jae 0x4276c7
push eax
call fcn.0042aa69
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x4276df
lea eax, [edi + edi]
push eax
call fcn.0042cc21
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.0042c0b0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x427778
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + str.FALSE]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + str.FALSE]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x4276f7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4277ba
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x42779f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.0042c0b0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4277dc
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x461f40]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8