Function at 0x41ebb0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x574
xor eax, eax
mov dword [esp + 0x38], eax
push ebx
mov dword [esp + 0x40], eax
push esi
mov dword [esp + 0x48], eax
push edi
mov dword [esp + 0x50], eax
push ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x588]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x58c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, edx
mov esi, dword [eax]
add eax, 4
inc dword [esp + esi*4 + 0x48]
dec ecx
jne 0x41ec12
mov eax, dword [esp + 0x58c]
cmp eax, dword [esp + 0x48]
jne 0x41ec52
mov ecx, dword [esp + 0x59c]
mov ebx, dword [esp + 0x5a0]
xor eax, eax
pop ebp
pop edi
mov dword [ecx], 0
pop esi
mov dword [ebx], 0
pop ebx
add esp, 0x574
ret
mov ebx, dword [esp + 0x5a0]
mov ecx, 1
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
cmp dword [eax], 0
jne 0x41ec7c
add eax, 4
inc ecx
lea esi, [esp + 0x84]
cmp eax, esi
jbe 0x41ec68
mov dword [esp + 0x1c], ecx
mov esi, ecx
cmp dword [esp + 0x10], ecx
jae 0x41ec8c
mov dword [esp + 0x10], esi
mov edi, 0xf
lea eax, [esp + 0x84]
cmp dword [eax], 0
jne 0x41eca9
sub eax, 4
dec edi
lea ebp, [esp + 0x48]
cmp eax, ebp
jne 0x41ec98
mov dword [esp + 0x30], edi
cmp dword [esp + 0x10], edi
jbe 0x41ecb7
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x20], eax
cmp ecx, edi
jae 0x41ecea
lea eax, [esp + ecx*4 + 0x48]
mov ebx, dword [eax]
sub dword [esp + 0x20], ebx
js 0x41ed06
add eax, 4
inc ecx
mov ebx, dword [esp + 0x20]
add ebx, ebx
cmp ecx, edi
mov dword [esp + 0x20], ebx
jb 0x41ecd0
lea ecx, [esp + edi*4 + 0x48]
mov eax, dword [ecx]
sub dword [esp + 0x20], eax
jns 0x41ed16
mov eax, 0xfffffffd
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x574
ret
mov eax, 0xfffffffd
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x574
ret
add eax, dword [esp + 0x20]
lea ebx, [esp + 0x90]
mov dword [ecx], eax
xor eax, eax
lea ecx, [esp + 0x4c]
dec edi
mov dword [esp + 0x8c], eax
je 0x41ed40
add eax, dword [ecx]
add ecx, 4
mov dword [ebx], eax
add ebx, 4
dec edi
jne 0x41ed33
xor edi, edi
mov eax, dword [edx]
add edx, 4
test eax, eax
je 0x41ed5e
lea ecx, [esp + eax*4 + 0x88]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov dword [esp + eax*4 + 0x100], edi
inc edi
cmp dword [esp + 0x58c], edi
ja 0x41ed42
xor edx, edx
lea eax, [esp + 0x104]
mov dword [esp + 0x18], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xc8], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
neg eax
mov dword [esp + 0x14], eax
cmp esi, dword [esp + 0x30]
mov dword [esp + 0x2c], 0xffffffff
jg 0x41f01e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + eax*4 + 0x48]
mov dword [esp + 0x44], ecx
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
dec dword [esp + 0x34]
test eax, eax
je 0x41f00c
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jge 0x41eeec
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
shl esi, 2
inc eax
mov dword [esp + 0x40], eax
add esi, 4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
inc dword [esp + 0x2c]
add dword [esp + 0x14], eax
sub edi, dword [esp + 0x14]
cmp eax, edi
jae 0x41ee08
mov edi, eax
mov ebx, dword [esp + 0x1c]
mov edx, 1
sub ebx, dword [esp + 0x14]
mov cl, bl
shl edx, cl
cmp dword [esp + 0x40], edx
jae 0x41ee46
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
inc eax
sub edx, eax
cmp ebx, edi
jae 0x41ee46
inc ebx
cmp ebx, edi
jae 0x41ee46
mov eax, dword [ecx + 4]
add edx, edx
add ecx, 4
cmp eax, edx
jae 0x41ee46
sub edx, eax
inc ebx
cmp ebx, edi
jb 0x41ee33
mov eax, 1
mov cl, bl
shl eax, cl
mov ecx, dword [esp + 0x5a4]
push 8
mov dword [esp + 0x40], eax
inc eax
push eax
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x5ac]
push edx
call dword [eax + 0x20]
add esp, 0xc
test eax, eax
je 0x41f03c
lea edx, [eax + 8]
mov ecx, dword [esp + 0x59c]
add eax, 4
mov dword [esp + esi + 0xc8], edx
mov dword [ecx], edx
mov dword [esp + 0x59c], eax
mov dword [eax], 0
test esi, esi
je 0x41eeda
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x10]
mov dword [esp + esi + 0x88], eax
mov byte [esp + 0x25], cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x24], bl
mov ebx, dword [esp + 0x18]
sub cl, byte [esp + 0x10]
shr ebx, cl
shl ebx, 3
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x24]
add ebx, dword [esp + esi + 0xc4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jl 0x41edeb
mov bl, byte [esp + 0x14]
mov cl, byte [esp + 0x1c]
sub cl, bl
mov eax, dword [esp + 0x58c]
mov byte [esp + 0x25], cl
lea ebp, [esp + eax*4 + 0x104]
cmp ebp, dword [esp + 0x38]
ja 0x41ef15
mov byte [esp + 0x24], 0xc0
jmp 0x41ef63
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
cmp dword [esp + 0x590], esi
jbe 0x41ef36
mov al, 0
cmp esi, 0x100
adc al, 0xff
and al, 0x60
mov byte [esp + 0x24], al
jmp 0x41ef5a
sub esi, dword [esp + 0x590]
mov eax, dword [esp + 0x598]
shl esi, 2
mov ebp, dword [esp + 0x594]
mov eax, dword [esi + eax]
mov esi, dword [esi + ebp]
add al, 0x50
mov byte [esp + 0x24], al
add dword [esp + 0x38], 4
mov dword [esp + 0x28], esi
mov esi, 1
mov edi, dword [esp + 0x18]
shl esi, cl
mov cl, bl
shr edi, cl
cmp edi, dword [esp + 0x3c]
jae 0x41ef9f
lea ecx, [edx + edi*8]
lea eax, [esi*8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add edi, esi
mov dword [ecx], eax
mov dword [ecx + 4], ebp
add ecx, dword [esp + 0x40]
cmp edi, dword [esp + 0x3c]
jb 0x41ef86
mov eax, 1
mov cl, byte [esp + 0x1c]
dec cl
shl eax, cl
test dword [esp + 0x18], eax
je 0x41efbf
xor dword [esp + 0x18], eax
shr eax, 1
test dword [esp + 0x18], eax
jne 0x41efb2
mov cl, bl
xor dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + eax*4 + 0x88]
mov eax, 1
shl eax, cl
dec eax
and eax, dword [esp + 0x18]
cmp eax, dword [esi]
je 0x41edb9
sub esi, 4
mov eax, dword [esp + 0x10]
dec dword [esp + 0x2c]
sub dword [esp + 0x14], eax
mov eax, 1
mov cl, byte [esp + 0x14]
shl eax, cl
dec eax
and eax, dword [esp + 0x18]
cmp eax, dword [esi]
jne 0x41efe4
jmp 0x41edb9
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jle 0x41eda7
cmp dword [esp + 0x20], 0
je 0x41f06b
cmp dword [esp + 0x30], 1
je 0x41f06b
mov eax, 0xfffffffb
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x574
ret
cmp dword [esp + 0x2c], 0
je 0x41f05b
mov eax, dword [esp + 0x5a4]
mov ecx, dword [esp + 0xc8]
push eax
push ecx
call fcn.0041f2e0
add esp, 8
mov eax, 0xfffffffc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x574
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x574
ret