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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x35
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x25
jl 0x40920c
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409312
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 6
jl 0x409320
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409341
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0xe
jl 0x40934f
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409370
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0xb
jl 0x40937e
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40939f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0xa
jl 0x4093ad
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4093ce
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0xc
jl 0x4093dc
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4093fd
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x1a
jl 0x40940b
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40942c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 7
jl 0x40943a
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40945b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 8
jl 0x409469
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40948a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 3
jl 0x409498
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4094b9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 9
jl 0x4094c7
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4094e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x36
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 5
jl 0x4094f6
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4098ae
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x37
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x18
jl 0x4098bc
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4098dd
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x37
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 4
jl 0x4098eb
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40990c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x37
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 8
jl 0x40991a
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40993b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x37
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 9
jl 0x409949
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4099d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x3b
jl 0x4099de
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4099ff
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 4
jl 0x409a0d
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409a2e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0xb
jl 0x409a3c
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409a5d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x21
jl 0x409a6b
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409a8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x16
jl 0x409a9a
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409abb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x2c
jl 0x409ac9
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409aea
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x4f
jl 0x409af8
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409b19
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x24
jl 0x409b27
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x409b48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x18
jl 0x409b56
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409b77
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 6
jl 0x409b85
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409ba6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x2a
jl 0x409bb4
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409bd5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 9
jl 0x409be3
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409c04
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x32
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 0x1e
jl 0x409c12
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409d95
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x36
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 3
jl 0x409da3
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409dc4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x36
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 5
jl 0x409dd2
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x409df3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
xor ecx, ecx
sub edi, ebx
xor edx, edx
lea esi, [ecx + ebx]
push 0x38
mov eax, ecx
pop ebp
div ebp
add dl, 0x36
xor dl, byte [edi + esi]
inc ecx
mov byte [esi], dl
cmp ecx, 4
jl 0x409e01
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40ae80
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40aebf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40aebf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40aebf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40aebf
cmp dword [ecx + 0x74], 0xe
jbe 0x40aebf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4134d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x433c20
push 0x433c18
push str.FlsAlloc
push 0x1f
call fcn.004133ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413506
push dword [ebp + 8]
mov ecx, esi
call dword [0x432108]
call esi
jmp 0x41350c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x413550
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x433c30
push 0x433c28
push str.FlsGetValue
push 0x21
call fcn.004133ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413587
push dword [ebp + 8]
mov ecx, esi
call dword [0x432108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41358f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x433c38
push 0x433c30
push str.FlsSetValue
push 0x22
call fcn.004133ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4135c9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x432108]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x415246
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x43e01c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], edx
cmp ecx, edi
je 0x415293
mov al, byte [ecx]
cmp al, 0x2f
je 0x41528d
cmp al, 0x5c
je 0x41528d
cmp al, 0x3a
je 0x41528d
push ecx
push edi
call fcn.0041a3c0
pop ecx
pop ecx
mov ecx, eax
cmp ecx, edi
jne 0x415270
mov edx, dword [ebp - 0x25c]
mov al, byte [ecx]
mov byte [ebp - 0x255], al
cmp al, 0x3a
jne 0x4152bf
lea eax, [edi + 1]
cmp ecx, eax
je 0x4152b9
push edx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00415195
add esp, 0x10
jmp 0x4154bd
mov al, byte [ebp - 0x255]
xor ebx, ebx
cmp al, 0x2f
je 0x4152cf
cmp al, 0x5c
je 0x4152cf
cmp al, 0x3a
mov al, bl
jne 0x4152d1
mov al, 1
sub ecx, edi
movzx eax, al
inc ecx
mov dword [ebp - 0x28c], ebx
neg eax
mov dword [ebp - 0x288], ebx
push esi
sbb eax, eax
mov dword [ebp - 0x284], ebx
and eax, ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 0x278], bl
call fcn.0040f054
push eax
lea eax, [ebp - 0x28c]
push eax
Function at 0x416191
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41622e
push ebx
push esi
call fcn.0041615a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004160ee
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4161db
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41622d
push edi
push eax
call fcn.004131c5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4161fb
call fcn.0041318b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41622c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004160ee
add esp, 0x20
test eax, eax
jne 0x41621a
push edi
call fcn.0041318b
jmp 0x416222
push ebx
call fcn.0041318b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41d570
Capabilities:
Parse pe header

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

Function at 0x421d98
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x430822
call fcn.0042f9c8
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x1c], edi
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
call fcn.00402110
and dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x18], 1
call fcn.00404fde
mov ebx, eax
xor edx, edx
push 3
pop ecx
lea eax, [ebx + 2]
div ecx
mov ecx, edi
shl eax, 2
push eax
call fcn.004050e2
test ebx, ebx
je 0x421ec8
push 2
pop esi
mov ecx, dword [ebp - 0x14]
lea eax, [esi - 1]
cmp eax, ebx
jae 0x421e07
push eax
call fcn.00404fd5
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
jmp 0x421e0b
and dword [ebp - 0x10], 0
cmp esi, ebx
jae 0x421e1a
push esi
call fcn.00404fd5
movzx edx, byte [eax]
jmp 0x421e1c
xor edx, edx
lea eax, [esi - 2]
push eax
call fcn.00404fd5
mov ecx, 0x43fa40
movzx eax, byte [eax]
shl eax, 8
add eax, dword [ebp - 0x10]
shl eax, 8
add eax, edx
mov dword [ebp - 0x10], eax
shr eax, 0x12
push eax
call fcn.00402f80
mov ecx, edi
movzx eax, byte [eax]
push eax
call fcn.004031b6
mov eax, dword [ebp - 0x10]
mov ecx, 0x43fa40
shr eax, 0xc
and eax, 0x3f
push eax
call fcn.00402f80
mov ecx, edi
movzx eax, byte [eax]
push eax
call fcn.004031b6
lea eax, [esi - 1]
cmp eax, ebx
jae 0x421e8d
mov eax, dword [ebp - 0x10]
mov ecx, 0x43fa40
shr eax, 6
and eax, 0x3f
push eax
call fcn.00402f80
mov al, byte [eax]
jmp 0x421e8f
mov al, 0x3d
push eax
mov ecx, edi
call fcn.004031b6
cmp esi, ebx
jae 0x421eb0
mov eax, dword [ebp - 0x10]
mov ecx, 0x43fa40
and eax, 0x3f
push eax
call fcn.00402f80
mov al, byte [eax]
jmp 0x421eb2
mov al, 0x3d
push eax
mov ecx, edi
call fcn.004031b6
add esi, 3
lea eax, [esi - 2]
cmp eax, ebx
jb 0x421def
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42cf24
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x20], edx
mov ebp, ecx
push eax
push ebp
call fcn.00409f0d
call eax
test eax, eax
jne 0x42cf4c
mov eax, 0x200
jmp 0x42d0f0
mov ebx, dword [esp + 0x24]
mov edi, 0x41000000
mov esi, ebx
and esi, 1
mov ecx, esi
or ecx, 2
test bl, 2
cmove ecx, esi
mov edx, ecx
or edx, 4
test bl, 4
cmove edx, ecx
mov ecx, ebx
and ecx, 0x10
mov eax, edx
or eax, 0x10
mov dword [esp + 0x14], ecx
test ecx, ecx
cmove eax, edx
mov edx, 0x81000000
mov ecx, eax
or ecx, 0x20
test bl, 0x20
cmove ecx, eax
mov eax, dword [esp + 0x14]
test eax, eax
cmove edi, edx
or edi, ecx
test esi, esi
jne 0x42cfb3
test eax, eax
mov edi, 0x41800000
mov edx, 0x81800000
cmove edi, edx
or edi, ecx
xor ebx, ebx
push ebx
push ebp
call fcn.00408704
call eax
mov esi, eax
cmp esi, 0x28
jbe 0x42d067
push ebx
push ebx
push ebx
push ebp
call fcn.00409f15
call eax
push ebx
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.00405612
call eax
push ebx
push ebx
push 0x24
push ebp
call fcn.00409f15
call eax
push ebx
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.00405612
call eax
mov eax, 0x54ad
cmp word [esp + 0x10], ax
jne 0x42d067
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x34]
cmp esi, eax
jbe 0x42d067
push ebx
push ebx
push ecx
push ebp
call fcn.00409f15
call eax
push ebx
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00405612
call eax
mov eax, dword [esp + 0x1c]
cmp eax, 0x5a4d
je 0x42d061
cmp eax, 0x454e
je 0x42d061
cmp eax, 0x454c
je 0x42d061
cmp eax, 0x4550
jne 0x42d067
or edi, 0x400000
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42d071
mov dword [eax], edi
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x42d07b
mov dword [eax], esi
mov esi, dword [esp + 0x60]
test esi, esi
je 0x42d0be
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.0042d154
push dword [esp + 0x44]
mov dword [esi], eax
push dword [esp + 0x44]
mov dword [esi + 4], edx
call fcn.0042d154
push dword [esp + 0x3c]
mov dword [esi + 8], eax
push dword [esp + 0x3c]
mov dword [esi + 0xc], edx
call fcn.0042d154
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x42d0ee
push dword [esp + 0x3c]
lea edx, [esp + 0x18]
push dword [esp + 0x3c]
lea ecx, [esp + 0x18]
call fcn.0042d0f8
movzx eax, word [esp + 0x1c]
pop ecx
pop ecx
movzx ecx, word [esp + 0x10]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret

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

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x42d3cf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x42d3d6
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x42d493
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 + 0x437b50]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
sub edi, 1
jne 0x42d3ec
pop edi
test esi, esi
je 0x42d4af
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x437b50]
inc edx
sub esi, 1
jne 0x42d497
not ecx
mov eax, ecx
pop esi
ret
Function at 0x42e541
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
xor edi, edi
inc ebp
mov ebx, edx
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x42e56c
mov dword [esi + 0x6af78], ebp
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.0040bb80
movzx eax, word [ebx*8 + 0x43809a]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x438098]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x43809c]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x43809e]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x42e5d0
mov eax, dword [esp + 0x14]
or word [eax], 4
jmp 0x42e5dc
cmp ebx, 8
jl 0x42e5dc
mov eax, dword [esp + 0x14]
or word [eax], cx
push 0x10000
lea ebx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push ebx
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x42e643
cmp eax, 0xffffffff
je 0x42e643
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x42e61e
mov ecx, esi
call fcn.0042e2b0
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 0x42e626
jmp 0x42e64f
mov dword [esi + 0x6af8c], ebp
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebp
pop ebx
ret