Function at 0x42b5a0
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x80
add eax, 2
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x94]
mov esi, 4
mov ecx, edi
xor edx, edx
xor ebx, ebx
mov dl, byte [eax - 2]
mov bl, byte [eax - 1]
shl edx, 8
add edx, ebx
xor ebx, ebx
mov bl, byte [eax]
add eax, 4
shl edx, 8
add edx, ebx
xor ebx, ebx
mov bl, byte [eax - 3]
add ecx, 4
shl edx, 8
add edx, ebx
dec esi
mov dword [ecx - 4], edx
jne 0x42b5bf
mov ebx, 4
mov esi, edi
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0xc]
test bl, 3
jne 0x42b666
mov eax, ecx
xor edx, edx
shr eax, 0x18
shl ecx, 8
or eax, ecx
xor ecx, ecx
mov dword [esp + 0x88], eax
xor ebx, ebx
mov dl, byte [esp + 0x8a]
mov cl, byte [edx + 0x4af25c]
mov edx, eax
shr edx, 0x18
mov ch, byte [edx + 0x4af25c]
xor edx, edx
mov dl, ah
and eax, 0xff
shl ecx, 8
mov bl, byte [edx + 0x4af25c]
xor edx, edx
mov dl, byte [eax + 0x4af25c]
or ecx, ebx
mov ebx, dword [esp + 0x40]
shl ecx, 8
mov eax, ebx
or ecx, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
xor ecx, dword [eax*4 + 0x4af45c]
mov eax, dword [esi]
add esi, 4
xor eax, ecx
inc ebx
mov dword [esi + 0xc], eax
cmp ebx, 0x2c
mov dword [esp + 0x40], ebx
jl 0x42b5f8
lea esi, [edi + 0x10]
mov dword [esp + 0x88], 9
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 4
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 0x18
mov ebx, eax
mov byte [esp + 0x18], cl
shr edx, 0x10
shr ebx, 8
and cl, 0x80
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x14], dl
mov byte [esp + 0x40], bl
mov byte [esp + 0x12], cl
je 0x42b6df
and eax, 0xff
mov dword [esp + 0x54], eax
add eax, eax
mov dword [esp + 0x30], eax
xor al, 0x1b
jmp 0x42b6ee
and eax, 0xff
mov dword [esp + 0x54], eax
add eax, eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x1c], al
test al, 0x80
mov eax, dword [esp + 0x1c]
je 0x42b709
and eax, 0xff
mov dword [esp + 0x7c], eax
shl al, 1
xor al, 0x1b
jmp 0x42b714
and eax, 0xff
mov dword [esp + 0x7c], eax
shl al, 1
mov byte [esp + 0x20], al
test al, 0x80
mov eax, dword [esp + 0x20]
je 0x42b72f
and eax, 0xff
mov dword [esp + 0x78], eax
shl al, 1
xor al, 0x1b
jmp 0x42b73a
and eax, 0xff
mov dword [esp + 0x78], eax
shl al, 1
and dl, 0x80
mov byte [esp + 0x64], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], dl
je 0x42b75d
and eax, 0xff
mov dword [esp + 0x74], eax
lea ecx, [eax + eax]
mov al, cl
xor al, 0x1b
jmp 0x42b76b
and eax, 0xff
mov dword [esp + 0x74], eax
lea ecx, [eax + eax]
mov al, cl
mov byte [esp + 0x24], al
test al, 0x80
mov eax, dword [esp + 0x24]
je 0x42b786
and eax, 0xff
mov dword [esp + 0x70], eax
shl al, 1
xor al, 0x1b
jmp 0x42b791
and eax, 0xff
mov dword [esp + 0x70], eax
shl al, 1
test al, 0x80
je 0x42b79b
shl al, 1
xor al, 0x1b
jmp 0x42b79d
shl al, 1
mov ebp, dword [esp + 0x40]
and bl, 0x80
mov byte [esp + 0x60], al
mov edi, ebp
je 0x42b7bb
and edi, 0xff
lea edx, [edi + edi]
mov al, dl
xor al, 0x1b
jmp 0x42b7c6
and edi, 0xff
lea edx, [edi + edi]
mov al, dl
test al, 0x80
je 0x42b7d0
shl al, 1
xor al, 0x1b
jmp 0x42b7d2
shl al, 1
mov byte [esp + 0x28], al
test al, 0x80
mov eax, dword [esp + 0x28]
je 0x42b7ed
and eax, 0xff
mov dword [esp + 0x6c], eax
shl al, 1
xor al, 0x1b
jmp 0x42b7f8
and eax, 0xff
mov dword [esp + 0x6c], eax
shl al, 1
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x5c], al
test byte [esp + 0x2c], 0x80
mov eax, esi
je 0x42b818
and eax, 0xff
mov dword [esp + 0x68], eax
shl al, 1
xor al, 0x1b
jmp 0x42b823
and eax, 0xff
mov dword [esp + 0x68], eax
shl al, 1
test al, 0x80
je 0x42b82d
shl al, 1
xor al, 0x1b
jmp 0x42b82f
shl al, 1
test al, 0x80
je 0x42b839
shl al, 1
xor al, 0x1b
jmp 0x42b83b
shl al, 1
mov byte [esp + 0x58], al
mov al, byte [esp + 0x12]
test al, al
mov al, byte [esp + 0x30]
je 0x42b84d
xor al, 0x1b
test al, 0x80
je 0x42b857
shl al, 1
xor al, 0x1b
jmp 0x42b859
shl al, 1
test al, 0x80
je 0x42b863
shl al, 1
xor al, 0x1b
jmp 0x42b865
shl al, 1
mov byte [esp + 0x4c], al
mov al, byte [esp + 0x13]
test al, al
je 0x42b874
xor cl, 0x1b
mov al, cl
mov byte [esp + 0x34], al
test al, 0x80
mov eax, dword [esp + 0x34]
je 0x42b891
and eax, 0xff
mov dword [esp + 0x50], eax
shl al, 1
xor al, 0x1b
jmp 0x42b89c
and eax, 0xff
mov dword [esp + 0x50], eax
shl al, 1
mov byte [esp + 0x38], al
test al, 0x80
mov eax, dword [esp + 0x38]
je 0x42b8b7
and eax, 0xff
mov dword [esp + 0x30], eax
shl al, 1
xor al, 0x1b
jmp 0x42b8c2
and eax, 0xff
mov dword [esp + 0x30], eax
shl al, 1
test bl, bl
mov byte [esp + 0x48], al
je 0x42b8cd
xor dl, 0x1b
mov al, dl
mov byte [esp + 0x3c], al
mov ebx, dword [esp + 0x3c]
test al, 0x80
je 0x42b8e9
and ebx, 0xff
mov al, bl
shl al, 1
xor al, 0x1b
jmp 0x42b8f3
and ebx, 0xff
mov al, bl
shl al, 1
test al, 0x80
je 0x42b8fd
shl al, 1
xor al, 0x1b
jmp 0x42b8ff
shl al, 1
push esi
mov byte [esp + 0x48], al
call fcn.0042bb10
mov dl, al
push ebp
and edx, 0xff
mov dword [esp + 0x94], edx
call fcn.0042bbd0
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x1c]
and eax, 0xff
push ecx
xor edx, eax
mov dword [esp + 0x98], edx
call fcn.0042bad0
mov edx, dword [esp + 0x98]
and eax, 0xff
xor edx, eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x9c], edx
call fcn.0042bb70
mov edx, dword [esp + 0x9c]
and eax, 0xff
xor edx, eax
push esi
mov dword [esp + 0xa0], edx
call fcn.0042bb70
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
and eax, 0xff
and ecx, 0xff
mov ebp, dword [esp + 0x44]
xor eax, ecx
mov ecx, dword [esp + 0x60]
and edx, 0xff
xor eax, edx
and ecx, 0xff
xor eax, ecx
mov ecx, dword [esp + 0x68]
xor eax, ebx
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
xor eax, ebp
xor eax, ebx
and edx, 0xff
xor eax, edi
mov ebx, dword [esp + 0x7c]
xor eax, ecx
mov ecx, dword [esp + 0x70]
and ecx, 0xff
mov ebp, dword [esp + 0x90]
xor edx, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff
push esi
xor edx, ecx
mov ecx, dword [esp + 0x7c]
and ecx, 0xff
xor edx, ecx
mov ecx, dword [esp + 0x84]
xor edx, ebx
mov ebx, dword [esp + 0x88]
xor edx, ecx
mov ecx, dword [esp + 0x90]
xor edx, edi
mov edi, dword [esp + 0x8c]
xor edx, ebx
mov ebx, dword [esp + 0xa4]
xor edx, edi
xor edx, ecx
xor edx, ebp
shl edx, 8
or eax, edx
shl eax, 8
or ebx, eax
shl ebx, 8
call fcn.0042bbd0
mov dword [esp + 0xa4], ebx
mov bl, al
and ebx, 0xff
mov edx, dword [esp + 0x58]
push edx
call fcn.0042bad0
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x30]
push eax
call fcn.0042bb70
mov ecx, dword [esp + 0x38]
and eax, 0xff
push ecx
xor ebx, eax
call fcn.0042bb10
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa4]
and eax, 0xff
add esp, 0x24
xor ebx, eax
mov eax, dword [esp + 0x84]
or edx, ebx
mov dword [esi], edx
add esi, 4
dec eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
jne 0x42b69e
mov eax, dword [esp + 0x88]
dec eax
mov dword [esp + 0x88], eax
jne 0x42b68c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret