Function at 0xea56e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf3769e
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0xf64014]
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 dword [ebp - 0x320], ecx
push 0
call dword [0xf3e2c4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x220], xmm0
push 0xc8
mov dword [ebp - 0x21c], 0
call fcn.00f0a5a8
add esp, 4
mov esi, eax
mov dword [ebp - 0x31c], esi
push 0xc8
push 0
push esi
call fcn.00f0c780
add esp, 0xc
mov ecx, esi
call fcn.00ecade0
mov edi, eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x318]
push 0xa
push str.d_
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00ea2c60
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x318]
cmp dword [ebp - 0x304], 8
cmovae ebx, dword [ebp - 0x318]
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0xea57c0
sub esi, ecx
mov ecx, edi
sar esi, 1
call fcn.00ecaef0
mov ecx, edi
call fcn.00ecae70
mov edx, dword [edi]
lea eax, [edi + 4]
push eax
sub esp, 0x10
lea eax, [esi + esi]
lea ecx, [ebp - 0x32c]
push eax
push ebx
push edx
call fcn.00ecaa00
mov byte [ebp - 4], 0
add esp, 0x20
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0xea583e
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5834
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea6299
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov edx, dword [edi]
test edx, edx
je 0xea5861
mov edx, dword [edx + 0x10]
test edx, edx
je 0xea5861
mov ecx, dword [edx]
mov eax, edx
shr ecx, 8
sub eax, ecx
mov eax, dword [eax]
lea ecx, [eax - 0x20]
neg eax
sbb eax, eax
test ecx, eax
jne 0xea5863
xor edx, edx
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
push 0x10
mov byte [ebp - 4], 2
call fcn.00f0a5a8
add esp, 4
mov edi, eax
push edi
call dword [0xf3e2cc]
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [0xf3e2c0]
push 0x10
push edi
mov esi, eax
call fcn.00f0a5d8
add esp, 8
test esi, esi
js 0xea58f6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xea58d4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00ea3a00
mov esi, dword [ebp - 0x320]
lea eax, [ebp - 0x250]
lea ecx, [esi + 0x28]
cmp ecx, eax
je 0xea5923
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.00ea3a00
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
push ecx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.00eb6ff0
add esp, 4
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x338]
push eax
call fcn.00ea4320
xor eax, eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2d0], 0xf
mov byte [ebp - 0x2e4], al
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], al
mov byte [ebp - 4], 5
lea eax, [ebp - 0x338]
cmp dword [ebp - 0x324], 0x10
lea ecx, [ebp - 0x2e4]
push dword [ebp - 0x328]
cmovae eax, dword [ebp - 0x338]
push eax
mov dword [ebp - 0x2c0], str.SetFilePointer
mov dword [ebp - 0x2bc], 0x80
mov dword [ebp - 0x2b8], 0xf64d20
mov dword [ebp - 0x2b4], 3
mov dword [ebp - 0x2b0], str.EnterCriticalSection
mov dword [ebp - 0x2ac], 0x80
mov dword [ebp - 0x300], 2
call fcn.00ea1ff0
lea ecx, [ebp - 0x300]
call fcn.00eaf4a0
lea ecx, [ebp - 0x318]
test eax, eax
jne 0xea5b17
lea eax, [ebp - 0x2a8]
push eax
call fcn.00ea4320
lea ecx, [ebp - 0x300]
call fcn.00eabb60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x324]
cmp ecx, 0x10
jb 0xea5ab0
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xea5aa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a3
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
lea eax, [ebp - 0x318]
mov dword [ebp - 0x328], 0
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x324], 0xf
mov byte [ebp - 0x338], 0
call fcn.00ea6740
mov ecx, dword [ebp - 0x304]
cmp ecx, 0x10
jb 0xea5b97
mov edx, dword [ebp - 0x318]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xea5b8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea629e
jmp 0xea5b8d
push 0
push 0xf50cca
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00eabc80
lea ecx, [ebp - 0x300]
call fcn.00eabb60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x324]
cmp ecx, 0x10
jb 0xea5ab0
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xea5aa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a3
jmp 0xea5aa6
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
cmp dword [ebp - 0x254], 0x10
lea ecx, [ebp - 0x268]
lea edx, [ebp - 0x250]
cmovae ecx, dword [ebp - 0x268]
push ecx
call fcn.00eb71a0
add esp, 4
mov dword [ebp - 0x338], 0
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
push 0
push 0xf4ea60
call fcn.00ea2c60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x318]
push 6
push 0xf4fd00
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00ea2c60
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.00eb3de0
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0xea5c7f
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5c75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x324]
cmp ecx, 8
jb 0xea5cc3
mov edx, dword [ebp - 0x338]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5cb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
push 9
push 0xf4fd10
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
call fcn.00ea2c60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x318]
push 0xa
push 0xf4fd24
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00ea2c60
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.00eb3de0
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0xea5d88
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5d7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x324]
cmp ecx, 8
jb 0xea5dcc
mov edx, dword [ebp - 0x338]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5dc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
push 7
push 0xf4fd3c
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
call fcn.00ea2c60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x318]
push 6
push 0xf4fd4c
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00ea2c60
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.00eb3de0
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0xea5e91
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5e87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x324]
cmp ecx, 8
jb 0xea5ed5
mov edx, dword [ebp - 0x338]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5ecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
push 7
push 0xf4f1b4
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00ea2c60
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.00eb3de0
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0xea5f66
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea5f5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x220]
call fcn.00eb3bf0
push 0
push 0xf4ea60
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
call fcn.00ea2c60
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x280]
push dword [ebp - 0x228]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.00ea3a00
mov eax, dword [ebp - 0x228]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x28c], 0xe
mov dword [ebp - 0x288], 0xffff
lea eax, [eax*2 + 2]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00ec0100
test eax, eax
jns 0xea60b9
mov ecx, dword [esi]
push eax
push 0xf4fa80
push 0xf4ea60
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 0x24]
mov ecx, esi
call dword [0xf3e2d4]
call esi
mov ecx, dword [ebp - 0x26c]
add esp, 0x10
cmp ecx, 8
jb 0xea60b5
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea60ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
xor bl, bl
jmp 0xea612e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x26c]
cmp ecx, 8
jb 0xea60fd
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea60f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov eax, dword [esi]
lea edx, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
mov bl, 1
cmovae edx, dword [ebp - 0x238]
mov ecx, dword [eax]
push edx
push 0xf4fd60
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0xf3e2d4]
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0xea616e
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea6164
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp ecx, 0x10
jb 0xea61c5
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xea61bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
cmp ecx, 8
jb 0xea6220
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xea6216
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xea62a8
push ecx
push edx
call fcn.00f0a5d8
add esp, 8
mov esi, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
test esi, esi
je 0xea625c
mov ecx, esi
call fcn.00ecaef0
push 0xc8
push esi
call fcn.00f0a5d8
add esp, 8
mov esi, dword [ebp - 0x220]
test esi, esi
je 0xea627b
mov ecx, esi
call fcn.00ecaef0
push 0xc8
push esi
call fcn.00f0a5d8
add esp, 8
mov al, bl
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.00f0a59a
mov esp, ebp
pop ebp
ret
call fcn.00f1a201
call fcn.00f1a201
call fcn.00f1a201
call fcn.00f1a201
int3