joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x497ec3
call fcn.0048945c
sub esp, 0x448
and dword [ebp - 0x24], 0
push ebx
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0040b4f8
push 1
lea eax, [ebp - 0x18]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040b5b7
and word [ebp - 0x454], 0
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x452]
rep stosd dword es:[edi], eax
push 0x207
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
stosw word es:[edi], ax
lea eax, [ebp - 0x454]
push eax
call fcn.0048a126
push dword [ebp - 0x20]
lea eax, [ebp - 0x454]
push eax
call fcn.0048a0cc
add esp, 0x1c
lea eax, [ebp - 0x454]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00401631
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.0040b67b
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov eax, dword [eax - 8]
test eax, eax
jne 0x40b3cf
mov ecx, dword [ebp + 8]
push 0x4ce788
call fcn.00401631
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401605
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401605
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00401605
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401605
mov eax, dword [ebp + 8]
jmp 0x40b4ea
push esi
push 0xf
cmp eax, 0x20
mov word [ebp - 0x44], 0x30
mov word [ebp - 0x42], 0x31
mov word [ebp - 0x40], 0x32
mov word [ebp - 0x3e], 0x33
mov word [ebp - 0x3c], 0x34
mov word [ebp - 0x3a], 0x35
mov word [ebp - 0x38], 0x36
mov word [ebp - 0x36], 0x37
mov word [ebp - 0x34], 0x38
mov word [ebp - 0x32], 0x39
mov word [ebp - 0x30], 0x41
mov word [ebp - 0x2e], 0x42
mov word [ebp - 0x2c], 0x43
mov word [ebp - 0x2a], 0x44
mov word [ebp - 0x28], 0x45
mov word [ebp - 0x26], 0x46
pop esi
jge 0x40b486
mov eax, dword [0x4be1a0]
mov di, word [ebp + esi*2 - 0x44]
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0040168a
test eax, eax
je 0x40b458
mov eax, dword [ebp - 0x14]
mov word [eax], di
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
push dword [eax - 8]
call fcn.00403dba
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00401605
dec esi
jns 0x40b47d
push 0xf
pop esi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0x20
jl 0x40b438
lea ecx, [ebp - 0x10]
call fcn.00401916
push dword [ebp - 0x10]
call fcn.0048a274
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401916
push dword [ebp - 0x10]
call dword [0x4a55fc]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00401978
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 3
call fcn.00401605
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401605
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00401605
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401605
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x410175
Capabilities:
Terminate process

Disassembly:
mov eax, 0x498cd8
call fcn.0048945c
sub esp, 0x28
push ebx
push esi
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.00413fda
lea eax, [ebp - 0x34]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0045dbf0
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00422718
test eax, eax
je 0x4101c1
lea eax, [ebp - 0x20]
push esi
push eax
push esi
push 0x59
mov dword [ebp - 0x20], esi
call dword [0x4a570c]
cmp eax, esi
jne 0x4101ca
or dword [ebp - 4], 0xffffffff
jmp 0x410300
mov eax, dword [0x4be1a0]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push 6
lea ecx, [ebp - 0x14]
pop edi
mov byte [ebp - 4], 1
push edi
call fcn.00401885
test eax, eax
je 0x4101f9
mov eax, dword [ebp - 0x14]
mov dword [eax - 8], edi
mov eax, dword [ebp - 0x14]
mov word [eax + 0xc], si
mov eax, dword [ebp - 0x14]
push edi
push eax
movzx eax, bx
push 0x59
push eax
call dword [0x4a5338]
or edi, 0xffffffff
lea ecx, [ebp - 0x14]
push edi
call fcn.004018ed
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
jne 0x41022c
call fcn.0046fda4
mov ecx, eax
call fcn.00470124
jmp 0x4102f1
lea eax, [ebp - 0x1c]
push eax
call fcn.0045ea66
push dword [eax]
push dword [ebp - 0x14]
call fcn.00489955
mov ebx, eax
add esp, 0xc
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
call fcn.00401605
test bl, bl
jne 0x4102f1
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
je 0x4102f1
mov ebx, dword [esi]
lea eax, [ebp - 0x24]
push eax
call fcn.004161ab
pop ecx
push ebx
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.00403cf2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00401605
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0045fb3f
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
call fcn.00489955
add esp, 0x10
test eax, eax
je 0x4102ca
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401605
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401605
add esi, 4
jmp 0x41025d
call fcn.0046fda4
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00471a46
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401605
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401605
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401605
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00403b8b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416c86
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x499b74
call fcn.0048945c
sub esp, 0x41c
lea eax, [ebp - 0x10]
push esi
push eax
mov al, byte [ebp + 8]
xor esi, esi
push 1
neg al
sbb eax, eax
push esi
add eax, reloc.OLEAUT32.dll_SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push eax
mov dword [ebp - 0x10], esi
call dword [0x4a502c]
test eax, eax
jne 0x416d04
push edi
mov ecx, 0x104
lea edi, [ebp - 0x426]
mov word [ebp - 0x428], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x208
push eax
lea eax, [ebp - 0x428]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [0x4a5028]
push dword [ebp - 0x10]
mov edi, eax
call dword [0x4a5024]
cmp edi, esi
pop edi
je 0x416d08
xor al, al
jmp 0x416d3b
lea eax, [ebp - 0x428]
push ebx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00416e0f
push dword [ebp + 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.00416d48
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp + 8]
mov bl, al
call fcn.00401605
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x416d94
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push ebx
push eax
mov al, byte [ebp + 8]
xor ebx, ebx
push 0xf003f
neg al
sbb eax, eax
push ebx
add eax, reloc.OLEAUT32.dll_SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push eax
mov dword [ebp - 4], ebx
call dword [0x4a502c]
test eax, eax
je 0x416dc8
xor al, al
jmp 0x416e0c
cmp byte [ebp + 0xc], bl
jne 0x416ddb
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [0x4a5034]
jmp 0x416df9
push dword [ebp + 0x14]
call fcn.00489a75
pop ecx
shl eax, 1
push eax
push dword [ebp + 0x14]
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [0x4a5030]
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [0x4a5024]
mov al, bl
pop ebx
leave
ret
Function at 0x43569f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x49d35c
call fcn.0048945c
sub esp, 0x34
push ebx
push esi
push edi
push 0x421
push dword [ecx + 4]
call dword [0x4a560c]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047160e
push dword [eax]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00415c02
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401605
lea eax, [ebp - 0x18]
push eax
call fcn.0047012f
mov eax, dword [0x4be1a0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push 0x43
push eax
mov byte [ebp - 4], 4
call fcn.00460425
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004016cb
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00401605
lea eax, [ebp - 0x14]
push eax
call fcn.0047061b
push dword [ebp - 0x14]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.00476cae
mov ebx, eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call fcn.00476cae
add esp, 0x14
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x38]
push 0x4be314
push eax
call fcn.00403d56
mov esi, 0x4be468
mov byte [ebp - 4], 9
push esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403cf2
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403c45
push esi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
call fcn.00403cf2
push ebx
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.00403c45
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xd
push dword [eax - 8]
call fcn.00403dba
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00401605
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.00401605
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00401605
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00401605
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00401605
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.00401605
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00401605
push dword [ebp - 0x10]
push edi
call dword [0x4a572c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00401605
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401605
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00401605
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401605
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x437bf1
Capabilities:
Terminate process

Disassembly:
mov eax, 0x49d6fc
call fcn.0048945c
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x30]
je 0x437cb7
lea eax, [ebp + 8]
xor edi, edi
push eax
push ebx
mov dword [ebp + 8], edi
call dword [0x4a56a8]
cmp dword [ebp + 8], edi
je 0x437cb7
call dword [0x4a5354]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x437cb7
cmp ecx, dword [esi + 0x34]
je 0x437cb7
push ecx
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0047611e
add esp, 0xc
mov dword [ebp - 4], edi
lea edi, [esi + 0x38]
push eax
mov ecx, edi
call fcn.004016cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401605
mov eax, dword [ebp + 8]
push 0x433
push dword [esi + 4]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
call dword [0x4a560c]
push dword [edi]
push eax
call dword [0x4a572c]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x437c92
push eax
call fcn.00476358
pop ecx
push dword [esi + 0x30]
call fcn.004763d3
push dword [edi]
call fcn.00476224
pop ecx
pop ecx
mov ecx, dword [esi + 0xb4]
push eax
call fcn.0047656e
push 1
call fcn.00475a13
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x438a9a
Capabilities:
Terminate process

Disassembly:
mov eax, 0x49d920
call fcn.0048945c
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x84]
call dword [0x4a5668]
xor ebx, ebx
cmp eax, ebx
jne 0x438ac4
push 0x400
push dword [esi + 4]
call dword [0x4a560c]
mov dword [esi + 0x84], eax
call fcn.0040a282
mov edi, dword [0x4a5664]
cmp eax, ebx
je 0x438adf
push ebx
push eax
push 0x30
push dword [esi + 0x84]
call edi
push ebx
push ebx
push 0x146
push dword [esi + 0x84]
call edi
cmp eax, ebx
je 0x438af9
mov ecx, esi
call fcn.00438a57
push 0x4ce788
lea ecx, [ebp - 0x20]
call fcn.00401631
push str.English__Embedded__UNICODE__EN__
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00401631
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004389a1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
call fcn.00401605
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401605
push ebx
mov ebx, 0x14e
push dword [ebp - 0x28]
push ebx
push dword [esi + 0x84]
call edi
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x38]
push eax
call fcn.00413fda
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
push eax
call fcn.0045dbf0
mov eax, dword [ebp - 0x34]
pop ecx
test eax, eax
je 0x438c3c
mov ecx, dword [ebp - 0x30]
sub ecx, eax
test ecx, 0xfffffffc
je 0x438c3c
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x30]
je 0x438c3c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00401978
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.00415c02
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
call fcn.00438c57
add esp, 0x10
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.004389a1
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x28], eax
call fcn.00470245
push dword [eax]
push dword [ebp - 0x18]
call fcn.00489955
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp - 0xe], al
je 0x438c0c
push 0
push dword [ebp - 0x28]
push ebx
push dword [esi + 0x84]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00401605
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401605
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401605
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
jmp 0x438b92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00403b8b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x454115
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x454f6c
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x49fe43
call fcn.0048945c
sub esp, 0xb4
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call fcn.00489a75
pop ecx
add eax, eax
push eax
lea ecx, [ebp - 0xc0]
push dword [ebp + 0xc]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xc0], 0x67452301
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
call fcn.0045506d
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004570a4
pop ecx
pop ecx
mov eax, dword [eax + 4]
push 1
pop esi
cmp eax, ebx
mov dword [ebp - 4], esi
jne 0x454ff0
mov eax, 0x4a5d2c
push eax
lea ecx, [ebp - 0x10]
call fcn.00401631
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0042b365
lea eax, [ebp - 0x10]
push 0x4e3
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004573c6
add esp, 0xc
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x24]
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
mov byte [edi], al
call fcn.0042b365
push dword [0x4a60ac]
lea eax, [ebp - 0x24]
mov ecx, edi
push ebx
push eax
call fcn.0045572b
mov dword [ebp - 0x14], esi
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0042b365
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00401605
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x455e84
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x49ff7b
call fcn.0048945c
sub esp, 0x20
mov al, byte [ebp + 0xf]
push ebx
push esi
xor esi, esi
push edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], al
call fcn.00422f44
mov eax, dword [ebp + 0x10]
push 1
mov ecx, eax
pop edi
dec eax
mov dword [ebp - 4], edi
test ecx, ecx
je 0x455ff5
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
inc esi
inc dword [ebp + 0xc]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi + 0xf], al
mov bl, byte [ebp + 0x11]
jne 0x455f3d
mov al, byte [ebp + 0x10]
mov cl, bl
shr al, 2
mov byte [ebp - 0x10], al
mov al, byte [ebp + 0x10]
and al, 3
shl al, 4
shr cl, 4
add al, cl
mov cl, byte [ebp + 0x12]
mov byte [ebp - 0xf], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0xe], al
mov al, byte [ebp + 0x12]
and al, 0x3f
xor esi, esi
mov byte [ebp - 0xd], al
mov ecx, dword [0x4ced4c]
test ecx, ecx
jne 0x455f1d
mov eax, 0x4a5cb4
jmp 0x455f24
movzx eax, byte [ebp + esi - 0x10]
add eax, ecx
mov al, byte [eax]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x18], al
push dword [ebp - 0x18]
push edi
call fcn.004554ec
inc esi
cmp esi, 4
jl 0x455f0c
xor esi, esi
dec dword [ebp - 0x14]
jne 0x455ec0
test esi, esi
je 0x455ff5
cmp esi, 3
jge 0x455f6f
push 3
lea edi, [ebp + esi + 0x10]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov bl, byte [ebp + 0x11]
mov al, byte [ebp + 0x10]
xor edi, edi
mov cl, al
and al, 3
shr cl, 2
mov byte [ebp - 0x10], cl
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
and bl, 0xf
mov byte [ebp - 0xf], al
mov al, byte [ebp + 0x12]
mov cl, al
and al, 0x3f
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0xd], al
mov byte [ebp - 0xe], bl
lea ebx, [esi + 1]
test ebx, ebx
jle 0x455fd9
mov ecx, dword [0x4ced4c]
test ecx, ecx
jne 0x455fbb
mov eax, 0x4a5cb4
jmp 0x455fc2
movzx eax, byte [ebp + edi - 0x10]
add eax, ecx
mov al, byte [eax]
lea ecx, [ebp - 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
push 1
call fcn.004554ec
inc edi
cmp edi, ebx
jl 0x455faa
cmp esi, 3
jge 0x455ff2
push 4
pop esi
sub esi, ebx
push 0x3d
push 1
lea ecx, [ebp - 0x2c]
call fcn.004554ec
dec esi
jne 0x455fe3
push 1
pop edi
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x2c]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00422f44
push dword [0x4a60b0]
lea eax, [ebp - 0x2c]
mov ecx, esi
push 0
push eax
call fcn.00455545
mov dword [ebp - 0x1c], edi
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.00422f44
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45e7fa
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4a08d8
call fcn.0048945c
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045e8fb
mov esi, eax
push esi
call fcn.0045dbf0
pop ecx
call fcn.0045e6e1
call fcn.0046fda4
mov ecx, eax
call fcn.00470245
push eax
lea ecx, [ebp - 0x20]
call fcn.00401978
xor ebx, ebx
mov edi, 0x9c72
mov dword [ebp - 4], ebx
push ebx
push edi
push dword [ebp + 8]
call dword [0x4a5704]
inc edi
cmp eax, ebx
jne 0x45e83c
mov edi, dword [esi + 8]
mov esi, dword [esi + 4]
cmp esi, edi
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], ebx
je 0x45e8c2
push dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.00415c02
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp dword [eax - 8], ebx
jne 0x45e87b
mov byte [ebp - 0x1c], bl
jmp 0x45e894
push dword [ebp - 0x14]
push eax
call fcn.00489955
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp - 0x1c], al
je 0x45e894
mov byte [ebp - 0xd], bl
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0045e499
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00401605
add esi, 4
inc dword [ebp - 0x18]
cmp esi, edi
jne 0x45e85d
cmp byte [ebp - 0xd], bl
je 0x45e8e0
push dword [ebp + 8]
mov esi, 0x9c4b
push esi
push 1
call fcn.004696a7
add esp, 0xc
push ebx
push esi
push dword [ebp + 8]
call dword [0x4a551c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401605
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47d75d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x47d76b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x47d84c
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4a7c74]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a7c74]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a7c74]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a7c74]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a7c74]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a7c74]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a7c74]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4a7c74]
xor eax, esi
inc edx
dec edi
jne 0x47d788
pop ebx
cmp dword [ebp + 0x10], 0
je 0x47d86d
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4a7c74]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x47d852
pop edi
pop esi
not eax
pop ebp
ret

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

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x4a7c74]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x4a7c74]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4812ba
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4a3c71
call fcn.0048945c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 0xf
call fcn.00401605
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.00401605
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.00401605
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.00401605
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.00401605
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00401605
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.00401605
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.00401605
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.00401605
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.00401605
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.00401605
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.00401605
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.00401605
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.00401605
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.00401605
and byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.00401605
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00401605
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x481c8e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 8]
call fcn.00481c7d
mov edi, eax
pop ecx
test edi, edi
je 0x481cc7
and byte [ebp - 1], 0
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 1]
push eax
push edi
mov ecx, esi
call fcn.00481cd8
mov esi, dword [esi + 4]
push edi
push esi
push dword [ebp + 8]
call fcn.00481c11
add esp, 0xc
pop esi
pop edi
leave
ret